aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog14
-rw-r--r--gdb/amd64-tdep.c5
-rw-r--r--gdb/arm-linux-tdep.c1
-rw-r--r--gdb/i386-nto-tdep.c1
-rw-r--r--gdb/i386-tdep.c1
-rw-r--r--gdb/m68klinux-tdep.c1
-rw-r--r--gdb/ppc-linux-tdep.c1
-rw-r--r--gdb/s390-tdep.c1
-rw-r--r--gdb/sparc-sol2-tdep.c1
-rw-r--r--gdb/sparc64-sol2-tdep.c1
-rw-r--r--gdb/sparc64nbsd-tdep.c1
-rw-r--r--gdb/sparc64obsd-tdep.c1
12 files changed, 14 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 789699b..f9dbe9c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,19 @@
2004-10-31 Andrew Cagney <cagney@gnu.org>
+ * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Do not set
+ in_solib_call_trampoline to in_plt_entry, IN_SOLIB_CALL_TRAMPOLINE
+ isn't used by this architecture.
+ * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto.
+ * sparc64obsd-tdep.c (sparc64obsd_init_abi): Ditto.
+ * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Ditto.
+ * s390-tdep.c (s390_gdbarch_init): Ditto.
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
+ * m68klinux-tdep.c (m68k_linux_init_abi): Ditto.
+ * i386-tdep.c (i386_svr4_init_abi): Ditto.
+ * i386-nto-tdep.c (i386nto_init_abi): Ditto.
+ * arm-linux-tdep.c (arm_linux_init_abi): Ditto.
+ * amd64-tdep.c (amd64_init_abi): Ditto.
+
* vaxnbsd-tdep.c (vaxnbsd_elf_init_abi): Do not set
in_solib_call_trampoline to its default value of
generic_in_solib_call_trampoline.
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 613022b..4b4bb5f 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1169,11 +1169,6 @@ amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_unwind_dummy_id (gdbarch, amd64_unwind_dummy_id);
- /* FIXME: kettenis/20021026: This is ELF-specific. Fine for now,
- since all supported AMD64 targets are ELF, but that might change
- in the future. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
-
frame_unwind_append_sniffer (gdbarch, amd64_sigtramp_frame_sniffer);
frame_unwind_append_sniffer (gdbarch, amd64_frame_sniffer);
frame_base_set_default (gdbarch, &amd64_frame_base);
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 98dacca..7fa71d4 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -481,7 +481,6 @@ arm_linux_init_abi (struct gdbarch_info info,
set_gdbarch_deprecated_push_arguments (gdbarch, arm_linux_push_arguments);
/* Shared library handling. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver);
}
diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c
index eed66a9..30f6238 100644
--- a/gdb/i386-nto-tdep.c
+++ b/gdb/i386-nto-tdep.c
@@ -282,7 +282,6 @@ i386nto_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_decr_pc_after_break (gdbarch, 0);
/* NTO has shared libraries. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
tdep->sigtramp_p = i386nto_sigtramp_p;
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index e001c3e..0d066a9 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -1962,7 +1962,6 @@ i386_svr4_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
i386_elf_init_abi (info, gdbarch);
/* System V Release 4 has shared libraries. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
tdep->sigtramp_p = i386_svr4_sigtramp_p;
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index e385dba..8221a92 100644
--- a/gdb/m68klinux-tdep.c
+++ b/gdb/m68klinux-tdep.c
@@ -295,7 +295,6 @@ m68k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
frame_unwind_append_sniffer (gdbarch, m68k_linux_sigtramp_frame_sniffer);
/* Shared library handling. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
}
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 206b78a..96753b6 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -1086,7 +1086,6 @@ ppc_linux_init_abi (struct gdbarch_info info,
ppc_linux_memory_remove_breakpoint);
/* Shared library handling. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch,
ppc_linux_skip_trampoline_code);
set_solib_svr4_fetch_link_map_offsets
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 8245fa4..19dff19 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -2953,7 +2953,6 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_return_value (gdbarch, s390_return_value);
/* Frame handling. */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
dwarf2_frame_set_init_reg (gdbarch, s390_dwarf2_frame_init_reg);
frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c
index 84a23e2..13a4b54 100644
--- a/gdb/sparc-sol2-tdep.c
+++ b/gdb/sparc-sol2-tdep.c
@@ -176,7 +176,6 @@ sparc32_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
/* Solaris has SVR4-style shared libraries... */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c
index d22232a..12fa023 100644
--- a/gdb/sparc64-sol2-tdep.c
+++ b/gdb/sparc64-sol2-tdep.c
@@ -159,7 +159,6 @@ sparc64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
sparc64_init_abi (info, gdbarch);
/* Solaris has SVR4-style shared libraries... */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
diff --git a/gdb/sparc64nbsd-tdep.c b/gdb/sparc64nbsd-tdep.c
index aa665da..e02ee3a 100644
--- a/gdb/sparc64nbsd-tdep.c
+++ b/gdb/sparc64nbsd-tdep.c
@@ -238,7 +238,6 @@ sparc64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
sparc64_init_abi (info, gdbarch);
/* NetBSD/sparc64 has SVR4-style shared libraries... */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index fdd5e81..18e0416 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -202,7 +202,6 @@ sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
sparc64_init_abi (info, gdbarch);
/* OpenBSD/sparc64 has SVR4-style shared libraries... */
- set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);