2004-10-26 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Tue, 26 Oct 2004 14:24:38 +0000 (14:24 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 26 Oct 2004 14:24:38 +0000 (14:24 +0000)
* 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.
* mips-tdep.c (mips_dump_tdep): Do not print
IN_SOLIB_RETURN_TRAMPOLINE.
(mips_in_solib_return_trampoline): Rename mips_in_return_stub.
(mips_gdbarch_init): Update.

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

index 6fab098fe2e02b770e27192e206ca692e978f1fc..f2f97294d4d768ec3c7c7c1d2a89fbcdf8cb5021 100644 (file)
@@ -1,5 +1,13 @@
 2004-10-26  Andrew Cagney  <cagney@gnu.org>
 
+       * 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.
+       * mips-tdep.c (mips_dump_tdep): Do not print
+       IN_SOLIB_RETURN_TRAMPOLINE.
+       (mips_in_solib_return_trampoline): Rename mips_in_return_stub.
+       (mips_gdbarch_init): Update.
+
        * mips-tdep.h (mips_software_single_step): Move to here ...
        * config/mips/tm-mips.h: ... from here.
        * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) 
index 9ae6e9f8e998fe6cdfda200f0831da1005ea7899..3cc4692a40d184c3a069ddc4c2d69a50dd72bb2b 100644 (file)
 /* We've multi-arched this.  */
 #undef IN_SOLIB_CALL_TRAMPOLINE
 
-/* On ARM GNU/Linux, a call to a library routine does not have to go
-   through any trampoline code.  */
-#define IN_SOLIB_RETURN_TRAMPOLINE(pc, name)   0
-
 /* We've multi-arched this.  */
 #undef SKIP_TRAMPOLINE_CODE
 
index 2012fec824b4c4497024019053e17b66455b5927..9ee002470e892fbc5fdb722d15ff69166cb853c5 100644 (file)
@@ -26,7 +26,6 @@
 
 /* We don't want to inherit tm-mips.h's shared library trampoline code.  */
 
-#undef IN_SOLIB_RETURN_TRAMPOLINE
 #undef SKIP_TRAMPOLINE_CODE
 #undef IGNORE_HELPER_CALL
 
index 209e28e6116507eb41cc61e4d9cb4298c03cff46..90909dda0eea7ea73f1a75122565125f51ac0323 100644 (file)
@@ -27,7 +27,6 @@
 
 /* We don't want to inherit tm-mips.h's shared library trampoline code.  */
 #undef IN_SOLIB_CALL_TRAMPOLINE
-#undef IN_SOLIB_RETURN_TRAMPOLINE
 #undef SKIP_TRAMPOLINE_CODE
 #undef DEPRECATED_IGNORE_HELPER_CALL
 
index 4f249b8e439c6d0503da7aa5739d8e485d747616..4deb31d46bcdadf564da8e41a449ecce57a6378d 100644 (file)
@@ -5404,11 +5404,11 @@ mips_in_call_stub (CORE_ADDR pc, char *name)
 }
 
 
-/* Return non-zero if the PC is inside a return thunk (aka stub or trampoline).
-   This implements the IN_SOLIB_RETURN_TRAMPOLINE macro.  */
+/* Return non-zero if the PC is inside a return thunk (aka stub or
+   trampoline).  */
 
 static int
-mips_in_return_stub (CORE_ADDR pc, char *name)
+mips_in_solib_return_trampoline (CORE_ADDR pc, char *name)
 {
   CORE_ADDR start_addr;
 
@@ -5971,7 +5971,7 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   if (info.osabi == GDB_OSABI_UNKNOWN)
     {
       set_gdbarch_in_solib_call_trampoline (gdbarch, mips_in_call_stub);
-      set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_return_stub);
+      set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_solib_return_trampoline);
     }
 
   /* Hook in OS ABI-specific overrides, if they have been registered.  */
@@ -6119,9 +6119,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
   fprintf_unfiltered (file,
                      "mips_dump_tdep: IN_SOLIB_CALL_TRAMPOLINE # %s\n",
                      XSTRING (IN_SOLIB_CALL_TRAMPOLINE (PC, NAME)));
-  fprintf_unfiltered (file,
-                     "mips_dump_tdep: IN_SOLIB_RETURN_TRAMPOLINE # %s\n",
-                     XSTRING (IN_SOLIB_RETURN_TRAMPOLINE (PC, NAME)));
   fprintf_unfiltered (file,
                      "mips_dump_tdep: LAST_EMBED_REGNUM = %d\n",
                      LAST_EMBED_REGNUM);
This page took 0.041381 seconds and 4 git commands to generate.