This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: GDB Problem
- To: gnu-win32 at cygnus dot com
- Subject: Re: GDB Problem
- From: cgf at bbc dot com (Chris Faylor)
- Date: Thu, 30 Oct 1997 13:47:58 GMT
- Organization: Boston Business Computing, Ltd.
- References: <1.5.4.32.19971030121858.00667664@pop.ncf.carleton.ca>
- Reply-To: cgf at bbc dot com
In article <1.5.4.32.19971030121858.00667664@pop.ncf.carleton.ca>,
Sudhakar Ganti <an469@freenet.carleton.ca> wrote:
>Hi,
>
>I recently intalled the GNU-Win32 package the beta 18 version. I installed
>everything as outlined (from the binaries). I have a problem with the
>gdb, both command line (-nw option) or the windows version.
>
>Specifically when I load a file and run it, the gdb says that
>it has failed reading the symbols from DLLs: shlwapi.dll and comctl32.dll.
>Then the programs runs OK. But when I quit gdb, the DOS window is not closed
>and the Windows95 reports an error message "GDB casued an invalid
>page fault in cw3215.dll". At this point I cannot even close the DOS
>window, as well I cannot shut down Windows95. This is all from commandline
>with -nw option. If I run the gdb with the windows (no -nw option) it shows
>the windows, but when I try to load any file and run, it hangs.
>
>I looked in the mail archives and did not find any queries
>regarding this. Any help will be appreciated.
I have roughly the same problem on Windows NT and Windows 95. It is a real
pain when the entire machine hangs and you have to power cycle to continue.
This is obviously a Windows design bug but it is annoying that GDB exercises
it.
The only way I've found around this problem is to always let the debugged
process run to completion and to never use 'q' in gdb. Always kill the
gdb process from another process or from the Task Manager. If you can't
let the debugged process run to completion then you can kill it also.
This seems to work 80% of the time at least.
--
http://www.bbc.com/ cgf@bbc.com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".