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

bfinish writes to random addresses.


Hi list,

When doing a 'finish' command when EBP contains bad values such that gdb gets confused about a function's return address, it writes a breakpoint into an essentially random point in the inferior's address space.

Should I report a bug, or do we consider it the user's own stupid fault if he/she tries to do a 'finish' command when the frame-pointer is invalid?


Cheers,


Greg

--
Greg Law, Undo Software                       http://undo-software.com/


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