diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-02-21 01:47:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-02-21 01:47:32 +0000 |
commit | 7cd25cfc877fb4176d8fa8cba74c2e90c91ce9a5 (patch) | |
tree | f56ac391ecc2b8ca99d886e9915c6643a59829b5 /gdb/mipsnbsd-tdep.c | |
parent | a4e3cafb29a4ad81df0dc071cc2881fbd869ceec (diff) | |
download | gdb-7cd25cfc877fb4176d8fa8cba74c2e90c91ce9a5.zip gdb-7cd25cfc877fb4176d8fa8cba74c2e90c91ce9a5.tar.gz gdb-7cd25cfc877fb4176d8fa8cba74c2e90c91ce9a5.tar.bz2 |
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
r_brk_offset.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* solib-svr4.c (solib_svr4_r_brk): New.
(open_symbol_file_object, svr4_current_sos): Always check the
debug base.
(svr4_fetch_objfile_link_map): Do not set debug_base.
(enable_break): Use r_brk if it is set.
(svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
Diffstat (limited to 'gdb/mipsnbsd-tdep.c')
-rw-r--r-- | gdb/mipsnbsd-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c index 1aa5166..1a2592a 100644 --- a/gdb/mipsnbsd-tdep.c +++ b/gdb/mipsnbsd-tdep.c @@ -341,6 +341,7 @@ mipsnbsd_ilp32_fetch_link_map_offsets (void) lmo.r_version_offset = 0; lmo.r_version_size = 4; lmo.r_map_offset = 4; + lmo.r_brk_offset = 8; lmo.r_ldsomap_offset = -1; /* Everything we need is in the first 24 bytes. */ @@ -368,6 +369,7 @@ mipsnbsd_lp64_fetch_link_map_offsets (void) lmo.r_version_offset = 0; lmo.r_version_size = 4; lmo.r_map_offset = 8; + lmo.r_brk_offset = 16; lmo.r_ldsomap_offset = -1; /* Everything we need is in the first 40 bytes. */ |