From 029a67e44a62a6048ff821161544a14e536c3f7d Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 21 Aug 2008 20:13:08 +0000 Subject: * frame.h (frame_map_regnum_to_name): Remove prototype. (frame_map_name_to_regnum): Remove prototype. * frame.c (frame_map_regnum_to_name): Remove. (frame_map_name_to_regnum): Remove. (frame_unwind_register_value): Use user_reg_map_regnum_to_name instead of frame_map_regnum_to_name. * ax-gdb.c: Include "user-regs.h". (gen_expr): Use user_reg_map_name_to_regnum instead of frame_map_name_to_regnum. * eval.c: Include "user-regs.h". (evaluate_subexp_standard): Use user_reg_map_name_to_regnum instead of frame_map_name_to_regnum. * infcmd.c (registers_info): Likewise. * parse.c: Include "user-regs.h". (write_dollar_variable): Use user_reg_map_name_to_regnum instead of frame_map_name_to_regnum. * tracepoint.c: Include "user-regs.h". (encode_actions): Use user_reg_map_name_to_regnum instead of frame_map_name_to_regnum. * valops.c: Include "user-regs.h". (value_fetch_lazy): Use user_reg_map_regnum_to_name instead of frame_map_regnum_to_name. --- gdb/frame.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gdb/frame.h') diff --git a/gdb/frame.h b/gdb/frame.h index 3e8f023..1441e12 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -501,16 +501,6 @@ extern void put_frame_register_bytes (struct frame_info *frame, int regnum, CORE_ADDR offset, int len, const gdb_byte *myaddr); -/* Map between a frame register number and its name. A frame register - space is a superset of the cooked register space --- it also - includes builtin registers. If NAMELEN is negative, use the NAME's - length when doing the comparison. */ - -extern int frame_map_name_to_regnum (struct frame_info *frame, - const char *name, int namelen); -extern const char *frame_map_regnum_to_name (struct frame_info *frame, - int regnum); - /* Unwind the PC. Strictly speaking return the resume address of the calling frame. For GDB, `pc' is the resume address and not a specific register. */ -- cgit v1.1