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/solib-svr4.h | |
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/solib-svr4.h')
-rw-r--r-- | gdb/solib-svr4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index 98a14fa..b48a951 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -37,6 +37,9 @@ struct link_map_offsets /* Offset of r_debug.r_map. */ int r_map_offset; + /* Offset of r_debug.r_brk. */ + int r_brk_offset; + /* Offset of r_debug.r_ldsomap. */ int r_ldsomap_offset; |