diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-08 23:12:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-08 23:12:52 +0000 |
commit | 8779790c2eedc1baa70047c61d1fdcb5033aa0d7 (patch) | |
tree | 1cf6e86c3ff1d6057f25f0ad836bd22fa27c58a7 /gdb/dummy-frame.h | |
parent | 34f524690006a0420cb0edfc5464a9e95a18a130 (diff) | |
download | gdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.zip gdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.tar.gz gdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.tar.bz2 |
2002-11-08 Andrew Cagney <ac131313@redhat.com>
* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
* dummy-frame.c (find_dummy_frame): Rename
generic_find_dummy_frame, make static. Return the dummy frame
instead of the regcache.
(generic_find_dummy_frame): Re-implement using find_dummy_frame,
(cached_find_dummy_frame): New function. Use find_dummy_frame.
(dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind. Use cached_find_dummy_frame.
* dummy-frame.h (dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind.
Diffstat (limited to 'gdb/dummy-frame.h')
-rw-r--r-- | gdb/dummy-frame.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h index 6bdebee..bd4e199 100644 --- a/gdb/dummy-frame.h +++ b/gdb/dummy-frame.h @@ -45,14 +45,14 @@ struct regcache; /* Assuming that FRAME is a dummy, return a register value for the previous frame. */ -extern void generic_call_dummy_register_unwind (struct frame_info *frame, - void **unwind_cache, - int regnum, - int *optimized, - enum lval_type *lvalp, - CORE_ADDR *addrp, - int *realnump, - void *valuep); +extern void dummy_frame_register_unwind (struct frame_info *frame, + void **unwind_cache, + int regnum, + int *optimized, + enum lval_type *lvalp, + CORE_ADDR *addrp, + int *realnump, + void *valuep); /* Return the regcache that belongs to the dummy-frame identifed by PC and FP, or NULL if no such frame exists. */ @@ -62,5 +62,4 @@ extern void generic_call_dummy_register_unwind (struct frame_info *frame, extern struct regcache *generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp); - #endif /* !defined (DUMMY_FRAME_H) */ |