diff options
Diffstat (limited to 'gdb/stack.h')
-rw-r--r-- | gdb/stack.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/stack.h b/gdb/stack.h index 3cce623..312e8ff 100644 --- a/gdb/stack.h +++ b/gdb/stack.h @@ -38,4 +38,14 @@ void iterate_over_block_local_vars (struct block *block, iterate_over_block_arg_local_vars_cb cb, void *cb_data); +/* 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); +int last_displayed_sal_is_valid (void); +struct program_space* get_last_displayed_pspace (void); +CORE_ADDR get_last_displayed_addr (void); +struct symtab* get_last_displayed_symtab (void); +int get_last_displayed_line (void); +void get_last_displayed_sal (struct symtab_and_line *sal); + #endif /* #ifndef STACK_H */ |