2004-10-26 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Tue, 26 Oct 2004 14:44:00 +0000 (14:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 26 Oct 2004 14:44:00 +0000 (14:44 +0000)
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
* mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
(mips_gdbarch_init): Update.
(mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.

gdb/ChangeLog
gdb/config/mips/tm-linux.h
gdb/mips-tdep.c

index f2f97294d4d768ec3c7c7c1d2a89fbcdf8cb5021..164db5d0b4e9e8a9af475245734eb4cf72e535c6 100644 (file)
@@ -1,5 +1,10 @@
 2004-10-26  Andrew Cagney  <cagney@gnu.org>
 
+       * config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
+       * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
+       (mips_gdbarch_init): Update.
+       (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
+
        * config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
        * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
        IN_SOLIB_RETURN_TRAMPOLINE.
index 9ee002470e892fbc5fdb722d15ff69166cb853c5..8ef4ce533482aa3671565b2c75d5ba94a786c159 100644 (file)
@@ -26,7 +26,6 @@
 
 /* We don't want to inherit tm-mips.h's shared library trampoline code.  */
 
-#undef SKIP_TRAMPOLINE_CODE
 #undef IGNORE_HELPER_CALL
 
 /* GNU/Linux MIPS has __SIGRTMAX == 127.  */
index 4deb31d46bcdadf564da8e41a449ecce57a6378d..f20cd7d3aa6929d186869eb09b909c4ac83a0cd9 100644 (file)
@@ -5289,13 +5289,10 @@ mips_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
    a return stub and the target PC is in $18.
 
    See the source code for the stubs in gcc/config/mips/mips16.S for
-   gory details.
-
-   This function implements the SKIP_TRAMPOLINE_CODE macro.
- */
+   gory details.  */
 
 static CORE_ADDR
-mips_skip_stub (CORE_ADDR pc)
+mips_skip_trampoline_code (CORE_ADDR pc)
 {
   char *name;
   CORE_ADDR start_addr;
@@ -5960,7 +5957,7 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
      is sitting on?  */
   set_gdbarch_have_nonsteppable_watchpoint (gdbarch, 1);
 
-  set_gdbarch_skip_trampoline_code (gdbarch, mips_skip_stub);
+  set_gdbarch_skip_trampoline_code (gdbarch, mips_skip_trampoline_code);
 
   /* NOTE drow/2004-02-11: We overload the core solib trampoline code
      to support MIPS16.  This is a bad thing.  Make sure not to do it
@@ -6184,9 +6181,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
   fprintf_unfiltered (file,
                      "mips_dump_tdep: SETUP_ARBITRARY_FRAME # %s\n",
                      XSTRING (SETUP_ARBITRARY_FRAME (NUMARGS, ARGS)));
-  fprintf_unfiltered (file,
-                     "mips_dump_tdep: SKIP_TRAMPOLINE_CODE # %s\n",
-                     XSTRING (SKIP_TRAMPOLINE_CODE (PC)));
   fprintf_unfiltered (file,
                      "mips_dump_tdep: SOFTWARE_SINGLE_STEP # %s\n",
                      XSTRING (SOFTWARE_SINGLE_STEP (SIG, BP_P)));
This page took 0.035632 seconds and 4 git commands to generate.