diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-11 18:47:27 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-11 18:47:27 +0000 |
commit | 6de918a6f50f6f9dbc8ae3628dcee80d0f8e2f64 (patch) | |
tree | 57d2a3dba3f5301c979c1ec2901808828bad6c64 /gdb/config | |
parent | 87b3ede8aff95551e9bc26afbfb143c4c0941095 (diff) | |
download | gdb-6de918a6f50f6f9dbc8ae3628dcee80d0f8e2f64.zip gdb-6de918a6f50f6f9dbc8ae3628dcee80d0f8e2f64.tar.gz gdb-6de918a6f50f6f9dbc8ae3628dcee80d0f8e2f64.tar.bz2 |
* mips-linux-tdep.c: Include "frame.h".
(mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
(mips_linux_skip_resolver): New functions.
(mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
and set_gdbarch_in_solib_call_trampoline.
* mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
to after set_gdbarch_in_solib_return_trampoline. Only set the
solib hooks to mips16 functions if the OS ABI is unknown.
* config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
including "config/tm-linux.h".
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
* Makefile.in (mips-linux-tdep.o): Update.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-linux.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h index c049c29..fc32707 100644 --- a/gdb/config/mips/tm-linux.h +++ b/gdb/config/mips/tm-linux.h @@ -1,6 +1,6 @@ /* Target-dependent definitions for GNU/Linux MIPS. - Copyright 2001, 2002 Free Software Foundation, Inc. + Copyright 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -26,7 +26,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 IGNORE_HELPER_CALL @@ -50,4 +49,14 @@ #undef IN_SIGTRAMP #define IN_SIGTRAMP(pc, name) (0) +#undef IN_SOLIB_DYNSYM_RESOLVE_CODE +#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC) +int mips_linux_in_dynsym_resolve_code (CORE_ADDR pc); + +/* We don't want all of tm-sysv4.h's shared library trampoline code either. + Note that by undefining IN_SOLIB_CALL_TRAMPOLINE here we will use the + gdbarch vector's version instead. */ + +#undef IN_SOLIB_CALL_TRAMPOLINE + #endif /* TM_MIPSLINUX_H */ |