diff options
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r-- | gdb/infrun.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h index c5b201f..33e7294 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -23,6 +23,7 @@ struct target_waitstatus; struct frame_info; struct address_space; +struct return_value_info; /* True if we are debugging run control. */ extern unsigned int debug_infrun; @@ -148,7 +149,18 @@ extern void print_exited_reason (struct ui_out *uiout, int exitstatus); inferior has stopped. */ extern void print_no_history_reason (struct ui_out *uiout); -extern void print_stop_event (struct target_waitstatus *ws); +/* Print the result of a function at the end of a 'finish' command. + RV points at an object representing the captured return value/type + and its position in the value history. */ + +extern void print_return_value (struct ui_out *uiout, + struct return_value_info *rv); + +/* Print current location without a level number, if we have changed + functions or hit a breakpoint. Print source line if we have one. + If the execution command captured a return value, print it. */ + +extern void print_stop_event (struct ui_out *uiout); /* Pretty print the results of target_wait, for debugging purposes. */ |