PR gdb/13596:
authorTom Tromey <tromey@redhat.com>
Fri, 3 Feb 2012 15:19:37 +0000 (15:19 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 3 Feb 2012 15:19:37 +0000 (15:19 +0000)
* 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.

gdb/ChangeLog
gdb/solib-pa64.c
gdb/solib.h

index a2151e5e2b176987e582269d67dd7fe9a9cf4602..ddef913a4f9d8752ecbcd334fd8760d8429388ec 100644 (file)
@@ -1,3 +1,11 @@
+2012-02-03  Tom Tromey  <tromey@redhat.com>
+
+       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.
+
 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
 
        * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
index c3a0b31c97246212174557c0ae5694f3ad38d10e..2b8d06156025893b063aeba131112e14b9c3b5a2 100644 (file)
@@ -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.  */
index 2c7f4d9256ddda931281c309d6caf40f0f3bc9eb..7a2ff84f2cbcd999041befc0746e4ceb695e642a 100644 (file)
@@ -86,9 +86,9 @@ extern CORE_ADDR gdb_bfd_lookup_symbol (bfd *abfd,
 
 /* Look up symbol from symbol table.  */
 
-extern CORE_ADDR bfd_lookup_symbol_from_symtab (bfd *abfd,
-                                               int (*match_sym) (asymbol *,
-                                                                 void *),
-                                               void *data);
+extern CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd,
+                                                   int (*match_sym) (asymbol *,
+                                                                     void *),
+                                                   void *data);
 
 #endif /* SOLIB_H */