Subject: GDB crash
From: [email-masked] (Adam Nowak)

3 Dec 1997 01:58:38 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

Hi,

Here is the problem wiht GDB on Win95.

This is my system and part of AUTOEXEC.BAT:

Windows 95, v4.00.950 B
Pentium 166 MMX, 32Mb RAM

Part of my AUTOEXEC.BAT setting GNUWIN32 environment variables:

SET GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
SET
PATH=%PATH%;C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin
SET PATH=%PATH%;C:\tools\vim46
SET TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6
SET GDBTK_LIBRARY=C:/gnuwin32/b18/share/gdbtcl

As you can see above this is GNUWIN32 version B18.
C++ compiler, bash shell, other tools seem to work correctly.

See below GDB: can not stop at the break point.
The problem does not depend on whether I use GUI or command line
interface.

Best Regards,

Adam Nowak
[email-masked]
-------------------------------------------

C:\users\adam>gdb -nw t.exe
GNU gdb 4.16.1
Copyright 1997 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-cygwin32"...
(gdb) list
1       #include <ostream.h>
2
3       main()
4       {
5               cout << "Hallo world" << endl;
6       }
(gdb) stop at 5
(gdb) run
Starting program: /users/adam/t.exe
bff30000:/WINDOWS/SYSTEM/GDI32.DLL
bff60000:/WINDOWS/SYSTEM/USER32.DLL
7c6c0000:/WINDOWS/SYSTEM/WSOCK32.DLL
bfec0000:/WINDOWS/SYSTEM/ADVAPI32.DLL
bff70000:/WINDOWS/SYSTEM/KERNEL32.DLL

[failed reading symbols from DLL]
"/WINDOWS/SYSTEM/COMCTL32.DLL": error reading line numbers

7fdc0000:/WINDOWS/SYSTEM/SHELL32.DLL

[failed reading symbols from DLL]
"/WINDOWS/SYSTEM/SHLWAPI.DLL": error reading line numbers

7cbb0000:/WINDOWS/SYSTEM/URL.DLL
Hallo world

Program exited normally.
(gdb)

DB caused an invalid page fault in
module CW3215.DLL at 0137:005e3f66.
Registers:
EAX=0280fffc CS=0137 EIP=005e3f66 EFLGS=00010203
EBX=0492fc08 SS=013f ESP=0492fbfc EBP=0492fc28
ECX=00000001 DS=013f ESI=00000000 FS=2b6f
EDX=00000020 ES=013f EDI=0060002c GS=0000
Bytes at CS:EIP:
8b 00 89 43 1c 64 67 a1 00 00 89 03 64 67 89 1e 
Stack dump:
02820bd8 005fbccc 00602e58 00602f71 005e32df
006039c0 0492fc04 00000000 00000000 00602f71
0492fc3c 0492fc3c 005e2547 02820bd8 00000003
005f6b8c
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".