diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-18 19:33:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-18 19:33:39 +0000 |
commit | 479fdd26ee1390b558509aec8e5f8a6a4d7074df (patch) | |
tree | 033bf7a1877e86b157805ad11f46f0f9fa6f8d78 /gdb/frame.h | |
parent | e56ac0ba86b473dfa9a227f06d903970345e513d (diff) | |
download | gdb-479fdd26ee1390b558509aec8e5f8a6a4d7074df.zip gdb-479fdd26ee1390b558509aec8e5f8a6a4d7074df.tar.gz gdb-479fdd26ee1390b558509aec8e5f8a6a4d7074df.tar.bz2 |
* blockframe.c (block_innermost_frame): Uncomment.
Return NULL if passed NULL.
* frame.h: Declare it.
* expression.h (union exp_element): Add field block.
* parse.c (write_exp_elt_block): New function.
* expression.h (OP_VAR_VALUE): Now takes additional struct block *.
* *-exp.y: Write block for OP_VAR_VALUE.
* eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
* valops.c, value.h (value_of_variable), callers:
Add second argument, for block.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 89df843..042eb0b 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -223,34 +223,27 @@ get_frame_pc PARAMS ((FRAME)); extern CORE_ADDR get_pc_function_start PARAMS ((CORE_ADDR)); -extern struct block * -block_for_pc PARAMS ((CORE_ADDR)); +extern struct block * block_for_pc PARAMS ((CORE_ADDR)); -extern int -frameless_look_for_prologue PARAMS ((FRAME)); +extern int frameless_look_for_prologue PARAMS ((FRAME)); -extern void -print_frame_args PARAMS ((struct symbol *, struct frame_info *, int, FILE *)); +extern void print_frame_args PARAMS ((struct symbol *, struct frame_info *, + int, FILE *)); -extern FRAME -find_relative_frame PARAMS ((FRAME, int*)); +extern FRAME find_relative_frame PARAMS ((FRAME, int*)); -extern void -print_stack_frame PARAMS ((FRAME, int, int)); +extern void print_stack_frame PARAMS ((FRAME, int, int)); -extern void -select_frame PARAMS ((FRAME, int)); +extern void select_frame PARAMS ((FRAME, int)); -extern void -record_selected_frame PARAMS ((FRAME_ADDR *, int *)); +extern void record_selected_frame PARAMS ((FRAME_ADDR *, int *)); -extern void -print_frame_info PARAMS ((struct frame_info *, int, int, int)); +extern void print_frame_info PARAMS ((struct frame_info *, int, int, int)); -extern CORE_ADDR -find_saved_register PARAMS ((FRAME, int)); +extern CORE_ADDR find_saved_register PARAMS ((FRAME, int)); -extern CORE_ADDR -sigtramp_saved_pc PARAMS ((FRAME)); +extern FRAME block_innermost_frame PARAMS ((struct block *)); + +extern CORE_ADDR sigtramp_saved_pc PARAMS ((FRAME)); #endif /* !defined (FRAME_H) */ |