Implement 'set print frame-info|frame-arguments presence'.
[deliverable/binutils-gdb.git] / gdb / stack.h
index 9ac77c06179346e1c9b395c01f1aaff60b8f7095..dda4fc9f6629674b07f0203e7e33144ae7ad3383 100644 (file)
@@ -42,6 +42,18 @@ void iterate_over_block_local_vars (const struct block *block,
                                    iterate_over_block_arg_local_vars_cb cb,
                                    void *cb_data);
 
+/* Initialize *WHAT to be a copy of the user desired print what frame info.
+   If !WHAT.has_value (), the printing function chooses a default set of
+   information to print, otherwise the printing function should print
+   the relevant information.  */
+
+void get_user_print_what_frame_info (gdb::optional<enum print_what> *what);
+
+/* Return 1 if we should display the address in addition to the location,
+   because we are in the middle of a statement.  */
+
+int frame_show_address (struct frame_info *frame, struct symtab_and_line sal);
+
 /* Get or set the last displayed symtab and line, which is, e.g. where we set a
  * breakpoint when `break' is supplied with no arguments.  */
 void clear_last_displayed_sal (void);
This page took 0.026068 seconds and 4 git commands to generate.