From: Andreas Schwab Date: Sun, 1 Apr 2007 18:24:59 +0000 (+0000) Subject: * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f68ac277bc7bb2c01b9adf972ca2397413bc555;p=binutils-gdb.git * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter gdbarch instead of current_gdbarch. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20f2a2d50f5..d11535d921b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-04-01 Andreas Schwab + + * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter + gdbarch instead of current_gdbarch. + 2007-04-01 Vladimir Prus * varobj.c (varobj_create): Keep varobj value diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 507b22faf33..6e1716796e5 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2390,7 +2390,7 @@ rs6000_convert_from_func_ptr_addr (struct gdbarch *gdbarch, return addr; /* ADDR is in the data space, so it's a special function pointer. */ - return read_memory_addr (addr, gdbarch_tdep (current_gdbarch)->wordsize); + return read_memory_addr (addr, gdbarch_tdep (gdbarch)->wordsize); }