Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] pass more than one command to gdb on startup

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] pass more than one command to gdb on startup


Chronological Thread 
  • From: "Kale, Laxmikant V" <kale AT illinois.edu>
  • To: "Bohm, Eric J" <ebohm AT illinois.edu>, "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] pass more than one command to gdb on startup
  • Date: Mon, 9 Sep 2013 22:01:59 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

BTW: have you tried using charmdebug? Its a gui  based tool, and its really useful. :-)
(downloadable from the software page)

-- 
-- 
Laxmikant (Sanjay) Kale         http://charm.cs.uiuc.edu
Professor, Computer Science     kale AT illinois.edu
201 N. Goodwin Avenue           Ph:  (217) 244-0094
Urbana, IL  61801-2302          FAX: (217) 265-6582


On 9/9/13 4:55 PM, "Eric Bohm" <ebohm AT illinois.edu> wrote:

Currently we just write the debug-commands string in unparsed form.  GDB doesn't recognize a linebreak character (so ; won't work by default).  We could introduce a minimal parsing scheme to interpret something as a linebreak.  As far as I can tell, semi-colon is not part of any recognized GDB command syntax, so we could implement that without introducing obvious bugs.  

On 09/09/2013 11:12 AM, Nicolas Bock wrote:
Hi,

how do I use ++debug-commands correctly for more than one command? Say I would like to set two break points, A and B, i.e. "break A" and "break B". How do I have to separate those two commands? I have tried

++debug-commands "break A\nbreak B"
++debug-commands "break A; break B"

but neither worked.

Thanks,

nick



_______________________________________________
charm mailing list
charm AT cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/charm




Archive powered by MHonArc 2.6.16.

Top of Page