From e03e627963812c6dd7819d7f446c0fcf67d43493 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 13 Dec 2012 21:29:50 +0000 Subject: * solib-svr4.c (enable_break): Use SECT_OFF_TEXT. --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * solib-svr4.c (enable_break): Use SECT_OFF_TEXT. + +2012-12-13 Tom Tromey + * acinclude.m4 (CY_AC_C_WORKS): Remove. 2012-12-13 Pierre Muller 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) -- cgit v1.1