This is the mail archive of the
mailing list for the Cygwin project.
running GDB under Emacs on NT
- To: gnu-win32 at cygnus dot com
- Subject: running GDB under Emacs on NT
- From: Chris Firth <cfirth at neonetllc dot com>
- Date: Mon, 17 Mar 1997 15:13:11 -0500
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
gnu-win32 17.1 (beta)
These are binary images loaded from the web, I have not built them
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
Thanks in advance.
For help on using this list, send a message to
"firstname.lastname@example.org" with one line of text: "help".