* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
authorDaniel Jacobowitz <drow@false.org>
Thu, 21 Feb 2008 01:47:32 +0000 (01:47 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 21 Feb 2008 01:47:32 +0000 (01:47 +0000)
commit7cd25cfc877fb4176d8fa8cba74c2e90c91ce9a5
treef56ac391ecc2b8ca99d886e9915c6643a59829b5
parenta4e3cafb29a4ad81df0dc071cc2881fbd869ceec
* 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.
gdb/ChangeLog
gdb/mipsnbsd-tdep.c
gdb/solib-svr4.c
gdb/solib-svr4.h