This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/10819] gdb 7.0 crashes on Solaris 8 when reading symbols from the program being debugged
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 22 Oct 2009 04:40:57 -0000
- Subject: [Bug gdb/10819] gdb 7.0 crashes on Solaris 8 when reading symbols from the program being debugged
- References: <20091021083925.10819.stevee@zuken.co.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ppluzhnikov at google dot com 2009-10-22 04:40 -------
Created an attachment (id=4308)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4308&action=view)
proposed fix
Hard as it is to believe, bsearch appears to in fact be broken:
(top-gdb) p *cie_table
$1 = {num_entries = 0, entries = 0x0}
Apparently calling bsearch on a table with zero elements is unsafe on Solaris
8.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10819
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.