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 | 56c1341390c4e2aa65f80daeab1038a2cece6acb (patch) | |
tree | 2e65c5aaf3aebf7e9c294bba2438be9eac220576 /gdb/dummy-frame.h | |
parent | d4245fb38b87bfbdff476295937479ee7c481dd5 (diff) | |
download | gdb-56c1341390c4e2aa65f80daeab1038a2cece6acb.tar.gz |
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 6bdebee8878..bd4e199c758 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) */ |