This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid creation of DOS-console when running gdb in X11-xemacs


On Wednesday, February 26, 2003 at 16:52:51, I wrote:
[...]
> PS: Is there a way to teach GDB opening the program-file to debug
>     read-only, in order to be able to rebuilt it without
>     calling the "file" command twice, i.e.
>     "file", "make", "file myprog.exe"

If I am not the only-one suffering from this others might be
interested in my ~/.gdbinit, this is not the way I want to
have it, since only in Emacs-*compliation* buffer I can
directly jump to an error, but it is better than what I did
before as long as GDB is ignoring "set write off" ...

****************************************************************************
set confirm off

define remake
   file
   make $arg0
   file $arg0
   end
****************************************************************************


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]