aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-pa64.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-03 15:19:37 +0000
committerTom Tromey <tromey@redhat.com>2012-02-03 15:19:37 +0000
commite009ee7132fd0e378399e2f957078e822c34439a (patch)
tree9b40d9dec66573acb818bf0b0637d029e7894a55 /gdb/solib-pa64.c
parentf7e44f6574a59496a4635c91080d635d095f81c8 (diff)
downloadgdb-e009ee7132fd0e378399e2f957078e822c34439a.zip
gdb-e009ee7132fd0e378399e2f957078e822c34439a.tar.gz
gdb-e009ee7132fd0e378399e2f957078e822c34439a.tar.bz2
PR gdb/13596:
* solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from bfd_lookup_symbol_from_symtab. * solib-pa64.c (pa64_solib_create_inferior_hook): Use gdb_bfd_lookup_symbol_from_symtab.
Diffstat (limited to 'gdb/solib-pa64.c')
-rw-r--r--gdb/solib-pa64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-pa64.c b/gdb/solib-pa64.c
index c3a0b31..2b8d061 100644
--- a/gdb/solib-pa64.c
+++ b/gdb/solib-pa64.c
@@ -383,8 +383,8 @@ manpage for methods to privately map shared library text."));
routine. */
load_addr = regcache_read_pc (get_current_regcache ())
- tmp_bfd->start_address;
- sym_addr = bfd_lookup_symbol_from_symtab (tmp_bfd, cmp_name,
- "__dld_break");
+ sym_addr = gdb_bfd_lookup_symbol_from_symtab (tmp_bfd, cmp_name,
+ "__dld_break");
sym_addr = load_addr + sym_addr + 4;
/* Create the shared library breakpoint. */