diff options
Diffstat (limited to 'gdb/stack.h')
-rw-r--r-- | gdb/stack.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/stack.h b/gdb/stack.h index 618783d..5e874b4 100644 --- a/gdb/stack.h +++ b/gdb/stack.h @@ -27,4 +27,16 @@ void select_frame_command (char *level_exp, int from_tty); void find_frame_funname (struct frame_info *frame, char **funname, enum language *funlang); +typedef void (*iterate_over_block_arg_local_vars_cb) (const char *symbol_print_name, + struct symbol *sym, + void *cb_data); + +void iterate_over_block_arg_vars (struct block *block, + iterate_over_block_arg_local_vars_cb cb, + void *cb_data); + +void iterate_over_block_local_vars (struct block *block, + iterate_over_block_arg_local_vars_cb cb, + void *cb_data); + #endif /* #ifndef STACK_H */ |