running GDB under Emacs on NT
Chris Firth
cfirth@neonetllc.com
Mon Mar 17 12:14:00 GMT 1997
I want to run gdb under Emacs so I can view the source code as I hit
breakpoints, single-step, etc. Has anyone tried this on NT? I have the
following versions:
gnu-win32 17.1 (beta)
gcc 2.7.2-96-10-23
gdb 4.16.1
Emacs 19.34.1
These are binary images loaded from the web, I have not built them
locally.
I have compiled the infamous "hello world" program with the "-g" option.
In Emacs, I invoke the command "gdb hello.exe". A "gud-hello.exe"
window opens. From there I enter "target exec hello.exe" and then "run"
on the command like and it runs OK (I do get a bunch of messages
complaining about not being able to read line numbers in some .dll files
but I assume that's because I don't have the source for these files).
If I try to run the same thing with a breakpoint set at "main" then a
line is displayed that indicates the breakpoint is reached at main but
the Emacs hangs. The gdb prompt never appears and the source code does
not show up in another window. ^X^C does not free things up. I have to
kill the gdb.exe task from the NT Task Manager to get Emacs to work
again.
Thanks in advance.
-- Chris
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list