* sparc-linux-tdep.c: Update copyright year.
(sparc32_linux_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size. Don't set software_single_step and don't call sparc32_sol2_init_abi. * sparc64-linux-tdep.c: Update copyright year. (sparc64_linux_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size. Don't set software_single_step and don't call sparc64_sol2_init_abi.
This commit is contained in:
parent
d34a2b1dc9
commit
a33e488c68
3 changed files with 31 additions and 10 deletions
|
@ -1,3 +1,16 @@
|
||||||
|
2005-04-22 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* sparc-linux-tdep.c: Update copyright year.
|
||||||
|
(sparc32_linux_init_abi): Set skip_trampoline_code and
|
||||||
|
solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
|
||||||
|
Don't set software_single_step and don't call
|
||||||
|
sparc32_sol2_init_abi.
|
||||||
|
* sparc64-linux-tdep.c: Update copyright year.
|
||||||
|
(sparc64_linux_init_abi): Set skip_trampoline_code and
|
||||||
|
solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
|
||||||
|
Don't set software_single_step and don't call
|
||||||
|
sparc64_sol2_init_abi.
|
||||||
|
|
||||||
2005-04-22 Eli Zaretskii <eliz@gnu.org>
|
2005-04-22 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* remote-st.c (_initialize_remote_st2000): Remove the extraneous
|
* remote-st.c (_initialize_remote_st2000): Remove the extraneous
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Target-dependent code for GNU/Linux SPARC.
|
/* Target-dependent code for GNU/Linux SPARC.
|
||||||
|
|
||||||
Copyright 2003, 2004 Free Software Foundation, Inc.
|
Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -144,14 +144,19 @@ sparc32_linux_sigframe_init (const struct tramp_frame *self,
|
||||||
static void
|
static void
|
||||||
sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||||
{
|
{
|
||||||
|
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||||
|
|
||||||
tramp_frame_prepend_unwinder (gdbarch, &sparc32_linux_sigframe);
|
tramp_frame_prepend_unwinder (gdbarch, &sparc32_linux_sigframe);
|
||||||
tramp_frame_prepend_unwinder (gdbarch, &sparc32_linux_rt_sigframe);
|
tramp_frame_prepend_unwinder (gdbarch, &sparc32_linux_rt_sigframe);
|
||||||
|
|
||||||
/* GNU/Linux is very similar to Solaris ... */
|
/* GNU/Linux has SVR4-style shared libraries... */
|
||||||
sparc32_sol2_init_abi (info, gdbarch);
|
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
|
||||||
|
set_solib_svr4_fetch_link_map_offsets
|
||||||
|
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
|
||||||
|
|
||||||
/* ... but doesn't have kernel-assisted single-stepping support. */
|
/* ...which means that we need some special handling when doing
|
||||||
set_gdbarch_software_single_step (gdbarch, sparc_software_single_step);
|
prologue analysis. */
|
||||||
|
tdep->plt_entry_size = 12;
|
||||||
|
|
||||||
/* GNU/Linux doesn't support the 128-bit `long double' from the psABI. */
|
/* GNU/Linux doesn't support the 128-bit `long double' from the psABI. */
|
||||||
set_gdbarch_long_double_bit (gdbarch, 64);
|
set_gdbarch_long_double_bit (gdbarch, 64);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Target-dependent code for GNU/Linux UltraSPARC.
|
/* Target-dependent code for GNU/Linux UltraSPARC.
|
||||||
|
|
||||||
Copyright 2003, 2004 Free Software Foundation, Inc.
|
Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -106,11 +106,14 @@ sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||||
|
|
||||||
tramp_frame_prepend_unwinder (gdbarch, &sparc64_linux_rt_sigframe);
|
tramp_frame_prepend_unwinder (gdbarch, &sparc64_linux_rt_sigframe);
|
||||||
|
|
||||||
/* GNU/Linux is very similar to Solaris ... */
|
/* GNU/Linux has SVR4-style shared libraries... */
|
||||||
sparc64_sol2_init_abi (info, gdbarch);
|
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
|
||||||
|
set_solib_svr4_fetch_link_map_offsets
|
||||||
|
(gdbarch, svr4_lp64_fetch_link_map_offsets);
|
||||||
|
|
||||||
/* ... but doesn't have kernel-assisted single-stepping support. */
|
/* ...which means that we need some special handling when doing
|
||||||
set_gdbarch_software_single_step (gdbarch, sparc_software_single_step);
|
prologue analysis. */
|
||||||
|
tdep->plt_entry_size = 16;
|
||||||
|
|
||||||
/* Enable TLS support. */
|
/* Enable TLS support. */
|
||||||
set_gdbarch_fetch_tls_load_module_address (gdbarch,
|
set_gdbarch_fetch_tls_load_module_address (gdbarch,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue