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 /gdb/solib-svr4.c | |
parent | 5ca5bb354599855357bd35d99dfa07a729f91095 (diff) | |
download | gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.zip gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.tar.gz gdb-e03e627963812c6dd7819d7f446c0fcf67d43493.tar.bz2 |
* solib-svr4.c (enable_break): Use SECT_OFF_TEXT.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |