This is the mail archive of the gdb@sources.redhat.com 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]

Testcase for c++/1267


I don't have it all expectified yet, but here's a testcase for c++/1267. 

This is a shared library debugging bug triggered possibly by the new i386
unwind code... when using "next", we get to the first instruction of a
shared library's PLT stub, prologue analysis gets messed up, and we set a
breakpoint at our caller's caller's PC instead of at our caller's PC.  Then
we lose control of the inferior because the frames are out of sync.

It's quite easy to reproduce but I don't have time to dig right now.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Attachment: shlibs.tar
Description: Unix tar archive


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