diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-04-26 03:37:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-04-26 03:37:42 +0000 |
commit | 6096c27ac0ed55998d2c8d887254c75a19afca0d (patch) | |
tree | d431257effc3773805733fe0f21ba5598e061a2f /gdb/frame.h | |
parent | eba91044963246c0246346b7ccd1242a49bd6737 (diff) | |
download | gdb-6096c27ac0ed55998d2c8d887254c75a19afca0d.zip gdb-6096c27ac0ed55998d2c8d887254c75a19afca0d.tar.gz gdb-6096c27ac0ed55998d2c8d887254c75a19afca0d.tar.bz2 |
* valops.c (hand_function_call): Call
generic_save_call_dummy_addr.
* frame.h (generic_save_call_dummy_addr): Declare.
* blockframe.c (struct dummy_frame): Add fields call_lo and
call_hi.
(generic_find_dummy_frame): Check for PC in range call_lo to
call_hi instead of entry_point_address.
(generic_pc_in_call_dummy): Search the dummy frames for a PC in
the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK.
(generic_save_call_dummy_addr): New function.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 2b7bf41..aca2e25 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -285,6 +285,8 @@ extern void generic_get_saved_register (char *, int *, CORE_ADDR *, struct frame_info *, int, enum lval_type *); +extern void generic_save_call_dummy_addr (CORE_ADDR lo, CORE_ADDR hi); + extern void get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR * addrp, struct frame_info *frame, |