This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: remote/2198: GDB remote debugging seems to be broken.
- From: "Jacob, Samuel \(STSD\)" <samuel dot j2 at hp dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 15 Nov 2006 07:38:02 -0000
- Subject: Re: remote/2198: GDB remote debugging seems to be broken.
- Reply-to: "Jacob, Samuel \(STSD\)" <samuel dot j2 at hp dot com>
The following reply was made to PR remote/2198; it has been noted by GNATS.
From: "Jacob, Samuel (STSD)" <samuel.j2@hp.com>
To: <gdb-gnats@sources.redhat.com>, <nobody@sources.redhat.com>,
<gdb-prs@sources.redhat.com>
Cc:
Subject: Re: remote/2198: GDB remote debugging seems to be broken.
Date: Wed, 15 Nov 2006 13:01:30 +0530
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&da=
t
abase=3Dgdb&pr=3D2198
Hi,
Here is output of latest gdb crash. Note - gdb crashes only after
establishing connection with the remote program.
$ gdb
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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 "i686-pc-cygwin".
(gdb) set remotebaud 9600
(gdb) set remoteaddresssize 8
(gdb) target remote /dev/com4
Remote debugging using /dev/com4
17876 [main] gdb 3488 _cygtls::handle_exceptions: Error while dumping
state (p
robably corrupted stack)
Segmentation fault (core dumped)
-----------------------------gdb.exe.stackdump--------------------------
----------------
Exception: STATUS_ACCESS_VIOLATION at eip=3D610C2E0C
eax=3D100C2000 ebx=3D100C2010 ecx=3D00000000 edx=3D312D2010 =
esi=3D00000188
edi=3D61147080
ebp=3D00000010 esp=3D0022C5E0 program=3DC:\cygwin\bin\gdb.exe, pid 3488,
thread main
cs=3D001B ds=3D0023 es=3D0023 fs=3D003B gs=3D0000 ss=3D0023
Stack trace:
Frame Function Args
17876 [main] gdb 3488 _cygtls::handle_exceptions: Error while dumping
state (probably corrupted stack)
------------------------------------------------------------------------
----------------