diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-13 21:29:50 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-13 21:29:50 +0000 |
commit | e03e627963812c6dd7819d7f446c0fcf67d43493 (patch) | |
tree | dc7285d062efc5767e2579c91ad88c8fe5de8e63 | |
parent | 5ca5bb354599855357bd35d99dfa07a729f91095 (diff) | |
download | gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.zip gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.tar.gz gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.tar.bz2 |
* solib-svr4.c (enable_break): Use SECT_OFF_TEXT.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/solib-svr4.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65ee189..891f6e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2012-12-13 Tom Tromey <tromey@redhat.com> + * solib-svr4.c (enable_break): Use SECT_OFF_TEXT. + +2012-12-13 Tom Tromey <tromey@redhat.com> + * acinclude.m4 (CY_AC_C_WORKS): Remove. 2012-12-13 Pierre Muller <muller@sourceware.org> diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 316c1b7..2b89277 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1504,7 +1504,7 @@ enable_break (struct svr4_info *info, int from_tty) tmp_bfd = os->objfile->obfd; load_addr = ANOFFSET (os->objfile->section_offsets, - os->objfile->sect_index_text); + SECT_OFF_TEXT (os->objfile)); interp_sect = bfd_get_section_by_name (tmp_bfd, ".text"); if (interp_sect) |