aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-12-13 08:47:07 +0000
committerRandolph Chung <tausq@debian.org>2004-12-13 08:47:07 +0000
commit61aff869b912a1b28b9c058b62cc90791ba5497d (patch)
tree86d3acae6c14933a134a293607bbab7e3d13ccbc
parent4bb7a26649cfedce46d62920370d838755c2b9fa (diff)
downloadgdb-61aff869b912a1b28b9c058b62cc90791ba5497d.zip
gdb-61aff869b912a1b28b9c058b62cc90791ba5497d.tar.gz
gdb-61aff869b912a1b28b9c058b62cc90791ba5497d.tar.bz2
2004-12-13 Randolph Chung <tausq@debian.org>
* 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.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/hppa-hpux-tdep.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d8cc52..2b3c362 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c
index 4f16bb1..24d2be0 100644
--- a/gdb/hppa-hpux-tdep.c
+++ b/gdb/hppa-hpux-tdep.c
@@ -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