Bug #10509 2007-02-27 17:49

jascha

Step Out does'nt call the correct GDB command

Instead of invoking the "finish" command (which is implemented, but not used), Step Out looks for the next '}' in the source code, sets a temporary breakpoint there and invokes "cont".

the result is not the same as with the finish command. besides that, simply invoking "finish" is simpler, too.

the wrong code is in debuggergdb.cpp, the finish command is implemented in gdb_driver.cpp

Category
Debugger
Group
 
Status
Closed
Close date
2007-03-19 14:45
Assigned to
 
mandrav 2007-03-19 14:45

This bug is now fixed in HEAD.

Thank you for reporting it.