diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-04-22 19:06:23 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-04-22 19:06:23 +0000 |
commit | a33e488c68c19fc82446133521f8c1f419ab7599 (patch) | |
tree | c88e1589b928ca5bcac0dd9934cbc595478fc466 /gdb/sparc64-linux-tdep.c | |
parent | d34a2b1dc9d8e59c41f630002ffa70c4de1100f9 (diff) | |
download | ppe42-binutils-a33e488c68c19fc82446133521f8c1f419ab7599.tar.gz ppe42-binutils-a33e488c68c19fc82446133521f8c1f419ab7599.zip |
* 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.
Diffstat (limited to 'gdb/sparc64-linux-tdep.c')
-rw-r--r-- | gdb/sparc64-linux-tdep.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/sparc64-linux-tdep.c b/gdb/sparc64-linux-tdep.c index 3401d2b4fc..ea1f263a09 100644 --- a/gdb/sparc64-linux-tdep.c +++ b/gdb/sparc64-linux-tdep.c @@ -1,6 +1,6 @@ /* 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. @@ -106,11 +106,14 @@ sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tramp_frame_prepend_unwinder (gdbarch, &sparc64_linux_rt_sigframe); - /* GNU/Linux is very similar to Solaris ... */ - sparc64_sol2_init_abi (info, gdbarch); + /* GNU/Linux has SVR4-style shared libraries... */ + 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. */ - set_gdbarch_software_single_step (gdbarch, sparc_software_single_step); + /* ...which means that we need some special handling when doing + prologue analysis. */ + tdep->plt_entry_size = 16; /* Enable TLS support. */ set_gdbarch_fetch_tls_load_module_address (gdbarch, |