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 | 37d0dbc70360ed97b4445d435d844fe02471bac4 (patch) | |
tree | 5af9a77f285c06035a58b565bdc576890f054c0f /gdb/solib-svr4.c | |
parent | ee9af627f04dbb1060c4cfa36810beb9c68e1966 (diff) | |
download | gdb-37d0dbc70360ed97b4445d435d844fe02471bac4.tar.gz |
* 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 316c1b706a0..2b892773fb4 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) |