2004-12-13 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Mon, 13 Dec 2004 08:47:07 +0000 (08:47 +0000)
committerRandolph Chung <tausq@debian.org>
Mon, 13 Dec 2004 08:47:07 +0000 (08:47 +0000)
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
solib_get_solib_by_pc method through target vector.
(hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
method through target vector.

gdb/ChangeLog
gdb/hppa-hpux-tdep.c

index 4d8cc525643c2d6dca320f8a03be38ba22b6de24..2b3c3629e8451846e87abc82f32a905a2dee52c5 100644 (file)
@@ -2,6 +2,8 @@
 
        * hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
        solib_get_solib_by_pc method through target vector.
+       (hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
+       method through target vector.
 
 2004-12-13  Joel Brobecker  <brobecker@gnat.com>
 
index 4f16bb1ac86218f8c94c8de45b6b41d1888cfe37..24d2be0c4fdd997a9b29071bc224e256f74271be 100644 (file)
@@ -1248,7 +1248,7 @@ hppa_hpux_som_find_global_pointer (struct value *function)
        return extract_unsigned_integer (buf, sizeof (buf));
     }
 
-  return som_solib_get_got_by_pc (faddr);
+  return gdbarch_tdep (current_gdbarch)->solib_get_got_by_pc (faddr);
 }
 
 static CORE_ADDR