This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/2102: gdb coredumps in cplus_demangle_type while trying to demangle non-mangled identifier


>Number:         2102
>Category:       gdb
>Synopsis:       gdb coredumps in cplus_demangle_type while trying to demangle non-mangled identifier
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 17 14:18:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexok
>Release:        gdb 6.4
>Organization:
>Environment:
gdb "sparc-sun-solaris2.8" + gcc v3.4.3
also reproduced on 
gdb "i386-redhat-linux-gnu" + gcc v4.0.0
>Description:
gdb coredups during loading symbols from simple C-application, which contains "_Zs" identifier. This simple application is attached.
>How-To-Repeat:
compile attached file with gcc including debug information and open resulted executable with gdb

gcc -g gdb_bug.c -o gdb_bug
gdb gdb_bug

gdb should coredump on loading symbols from gdb_bug
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gdb_bug.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gdb_bug.c"

c3RhdGljIGludCBfWnNbXSA9IHsgMSwyLDMgfTsKdHlwZWRlZiBzdHJ1Y3QgIHsKICAgaW50ICog
YTsKfSBiOwpzdGF0aWMgYiBjYXRlW10gPSB7CiAgIHsgX1pzIH0KfTsKCmludCBtYWluKCkgewog
ICByZXR1cm4gMDsKfQo=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]