* gdbarch.sh (gcore_bfd_target): New gdbarch callback.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:48:26 +0000 (18:48 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:48:26 +0000 (18:48 +0000)
commita78c2d625ffe6bf34934991e815db484d3393a76
tree41b36b94ddb5c674e832c0297b24550ec4c7d606
parent3b7538c0317072d430eca4e808b183dac5bd5e45
* gdbarch.sh (gcore_bfd_target): New gdbarch callback.
* gdbarch.h, gdbarch.c: Regenerate.

* gcore.c (default_gcore_target): Make return value const.
Call gdbarch_gcore_bfd_target if present.
(default_gcore_arch, default_gcore_mach): Use target_gdbarch.

* corelow.c (core_read_description): Call gdbarch_core_read_description
on core_gdbarch instead of current_gdbarch.

* ppc-linux-tdep.c (ppc_linux_init_abi): Install gcore_bfd_target.
gdb/ChangeLog
gdb/corelow.c
gdb/gcore.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/ppc-linux-tdep.c