From: Randolph Chung Date: Mon, 13 Dec 2004 08:47:07 +0000 (+0000) Subject: 2004-12-13 Randolph Chung X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61aff869b912a1b28b9c058b62cc90791ba5497d;p=binutils-gdb.git 2004-12-13 Randolph Chung * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4d8cc525643..2b3c3629e84 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 diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index 4f16bb1ac86..24d2be0c4fd 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