unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs+GDB: recompile while keep the breakpoints?
@ 2007-09-08  0:47 Michael Chen
  2007-09-08 11:14 ` Peter Dyballa
  2007-09-08 11:40 ` Nick Roberts
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Chen @ 2007-09-08  0:47 UTC (permalink / raw)
  To: help-gnu-emacs

dear there,

Before I recompile a source, I have to issue "q" to terminate GDB,
otherwise I got compilation error. However once I terminate GDB,
recompile the source, and come back to debugging, I lost all my
breakpoints!! This makes my debugging cycle tedious. What can I do?

Thanks.

-- 
Michael Chen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs+GDB: recompile while keep the breakpoints?
  2007-09-08  0:47 Emacs+GDB: recompile while keep the breakpoints? Michael Chen
@ 2007-09-08 11:14 ` Peter Dyballa
  2007-09-08 11:40 ` Nick Roberts
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2007-09-08 11:14 UTC (permalink / raw)
  To: Michael Chen; +Cc: help-gnu-emacs


Am 08.09.2007 um 02:47 schrieb Michael Chen:

> What can I do?

Save your breakpoints in .gdbinit! For example:

	break x_error_quitter

--
Greetings

   Pete

If all else fails read the instructions.
                                          - Donald Knuth

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs+GDB: recompile while keep the breakpoints?
  2007-09-08  0:47 Emacs+GDB: recompile while keep the breakpoints? Michael Chen
  2007-09-08 11:14 ` Peter Dyballa
@ 2007-09-08 11:40 ` Nick Roberts
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Roberts @ 2007-09-08 11:40 UTC (permalink / raw)
  To: Michael Chen; +Cc: help-gnu-emacs

 > Before I recompile a source, I have to issue "q" to terminate GDB,
 > otherwise I got compilation error. However once I terminate GDB,
 > recompile the source, and come back to debugging, I lost all my
 > breakpoints!! This makes my debugging cycle tedious. What can I do?

What version of Emacs are you using?  What configuration?  Please use
M-x report-emacs-bug.

What version of GDB are you using?  I presume you're running GDB and
compiling in Emacs but you don't fully explain this.

What compilation error do you get?

Please read "Checklist for Bug Reports" in the Emacs info manual.


-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-08 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-08  0:47 Emacs+GDB: recompile while keep the breakpoints? Michael Chen
2007-09-08 11:14 ` Peter Dyballa
2007-09-08 11:40 ` Nick Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).