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]

[Bug gdb/10819] gdb 7.0 crashes on Solaris 8 when reading symbols from the program being debugged


------- 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.


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