2003-09-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 22 Sep 2003 17:45:02 +0000 (17:45 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 22 Sep 2003 17:45:02 +0000 (17:45 +0000)
* arch-utils.h (init_frame_pc_noop): Delete declaration.
* arch-utils.c (init_frame_pc_noop): Delete function.
* mn10300-tdep.c (mn10300_gdbarch_init): Do not set
"init_frame_pc".
* mips-tdep.c (mips_gdbarch_init): Ditto.
* i386-interix-tdep.c (i386_interix_init_abi): Ditto.
* config/sparc/tm-sparc.h (init_frame_pc_noop): Delete
declaration.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete
declaration.
(DEPRECATED_INIT_FRAME_PC): Delete macro.

gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/config/rs6000/tm-rs6000.h
gdb/config/sparc/tm-sparc.h
gdb/i386-interix-tdep.c
gdb/mips-tdep.c
gdb/mn10300-tdep.c

index 7f780b8dd0a10846b39c7f36a1457cb22d982f15..4a080e9425591e6f65726358f2241fac19165560 100644 (file)
@@ -1,3 +1,18 @@
+2003-09-22  Andrew Cagney  <cagney@redhat.com>
+
+       * arch-utils.h (init_frame_pc_noop): Delete declaration.
+       * arch-utils.c (init_frame_pc_noop): Delete function.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
+       "init_frame_pc".
+       * mips-tdep.c (mips_gdbarch_init): Ditto.
+       * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
+       * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete
+       declaration.
+       (DEPRECATED_INIT_FRAME_PC): Delete macro.
+       * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete
+       declaration.
+       (DEPRECATED_INIT_FRAME_PC): Delete macro.
+
 2003-09-22  Anthony Green  <green@redhat.com>
 
        * monitor.c (monitor_expect): Delete unused conflicting targ_ops
index 9289e7adeaff1c0e985363fbc2873b1061448ca2..db3bae115fcd118e2a5a3f628dba3ec1b87f637e 100644 (file)
@@ -227,13 +227,6 @@ no_op_reg_to_regnum (int reg)
   return reg;
 }
 
-CORE_ADDR
-init_frame_pc_noop (int fromleaf, struct frame_info *prev)
-{
-  /* Do nothing, implies return the same PC value.  */
-  return get_frame_pc (prev);
-}
-
 CORE_ADDR
 init_frame_pc_default (int fromleaf, struct frame_info *prev)
 {
index 06f7bf30bda5fea674192faaccb6dc85ee97ec0a..68de221babea778170b960b948683531d2236224 100644 (file)
@@ -85,8 +85,6 @@ extern int no_op_reg_to_regnum (int reg);
 
 /* Versions of init_frame_pc().  Do nothing; do the default. */
 
-extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
-
 extern CORE_ADDR init_frame_pc_default (int fromleaf, struct frame_info *prev);
 
 /* Do nothing version of elf_make_msymbol_special. */
index 66b2f28d4e1d38b26ad3c67c7b540179400434d3..003b5b95caa3ee905c96c886878003bb28e3b962 100644 (file)
@@ -83,12 +83,6 @@ extern void aix_process_linenos (void);
 #define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) \
   (fromleaf ? DEPRECATED_SAVED_PC_AFTER_CALL (prev->next) : \
              prev->next ? DEPRECATED_FRAME_SAVED_PC (prev->next) : read_pc ())
-/* NOTE: cagney/2002-12-08: Add local declaration of
-   init_frame_pc_noop() because it isn't possible to include
-   "arch-utils.h" here.  Not too bad as this entire file is going away
-   anyway.  */
-extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
-#define DEPRECATED_INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev))
 
 /* RS6000/AIX does not support PT_STEP.  Has to be simulated.  */
 
index a18e20317d50e1149236347f60603dbefed1f2ad..1567d0d518e36ddf9e4419a2ed25ae7eca54a492 100644 (file)
@@ -211,11 +211,6 @@ extern void sparc_print_extra_frame_info (struct frame_info *);
 /* DEPRECATED_INIT_EXTRA_FRAME_INFO needs the PC to detect flat
    frames.  */
 
-/* NOTE: cagney/2002-12-08: Add local declaration of
-   init_frame_pc_noop() because it isn't possible to include
-   "arch-utils.h" here.  */
-extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
-#define        DEPRECATED_INIT_FRAME_PC(FROMLEAF, PREV)        (init_frame_pc_noop (FROMLEAF, PREV))
 #define DEPRECATED_INIT_FRAME_PC_FIRST(FROMLEAF, PREV) \
   ((FROMLEAF) ? DEPRECATED_SAVED_PC_AFTER_CALL ((PREV)->next) : \
              (PREV)->next ? DEPRECATED_FRAME_SAVED_PC ((PREV)->next) : read_pc ())
index 69024045aec6445a3e3ee3b32aa59ceea2d4575c..ea9f8c43e86a64ee6608e8cb78dd9d78f60d8a15 100644 (file)
@@ -332,7 +332,6 @@ i386_interix_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_skip_trampoline_code (gdbarch,
                                     i386_interix_skip_trampoline_code);
   set_gdbarch_deprecated_init_extra_frame_info (gdbarch, i386_interix_back_one_frame);
-  set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_noop);
   set_gdbarch_deprecated_frame_chain_valid (gdbarch, i386_interix_frame_chain_valid);
   set_gdbarch_deprecated_frame_saved_pc (gdbarch, i386_interix_frame_saved_pc);
   set_gdbarch_name_of_malloc (gdbarch, "_malloc");
index 0ead243ca9cdc3b77dfe4093f6d4fedee6b19b03..027cf44562cc8e93bbff598b31958c9d19eed559 100644 (file)
@@ -6056,7 +6056,6 @@ mips_gdbarch_init (struct gdbarch_info info,
   /* There's a mess in stack frame creation.  See comments in
      blockframe.c near reference to DEPRECATED_INIT_FRAME_PC_FIRST.  */
   set_gdbarch_deprecated_init_frame_pc_first (gdbarch, mips_init_frame_pc_first);
-  set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_noop);
 
   /* Map debug register numbers onto internal register numbers.  */
   set_gdbarch_stab_reg_to_regnum (gdbarch, mips_stab_reg_to_regnum);
index 2385d376294653013b63d7c2a5a57821331d95ee..d6011c22ffa7a3a09c03e4160aa9a93eec8d1bac 100644 (file)
@@ -1189,7 +1189,6 @@ mn10300_gdbarch_init (struct gdbarch_info info,
   set_gdbarch_inner_than (gdbarch, core_addr_lessthan);
   set_gdbarch_deprecated_saved_pc_after_call (gdbarch, mn10300_saved_pc_after_call);
   set_gdbarch_deprecated_init_extra_frame_info (gdbarch, mn10300_init_extra_frame_info);
-  set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_noop);
   set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, mn10300_frame_init_saved_regs);
   set_gdbarch_deprecated_frame_chain (gdbarch, mn10300_frame_chain);
   set_gdbarch_deprecated_frame_saved_pc (gdbarch, mn10300_frame_saved_pc);
This page took 0.033287 seconds and 4 git commands to generate.