Hi!

"xb function_name" command is supposed to set up a break at the end of the
named function.  However, the breaking address of this command is wrong
such that the program will break in the next command line in the same file
following the exit of this named function.  In other words, this break can
be inside another function right after the specific function needing break
such that this break may be useless at all.

In order to fix this bug, the breaking address should be substracted 4 in
order for the break to be located exactly at the end of the function
needing break.

Peter L.





_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to