summaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-08 23:12:52 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-08 23:12:52 +0000
commit56c1341390c4e2aa65f80daeab1038a2cece6acb (patch)
tree2e65c5aaf3aebf7e9c294bba2438be9eac220576 /gdb/dummy-frame.h
parentd4245fb38b87bfbdff476295937479ee7c481dd5 (diff)
downloadgdb-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.h17
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) */