This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Remove default_gcore_mach from gcore.c
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: deuling at de dot ibm dot com (Markus Deuling)
- Cc: gdb-patches at sourceware dot org (GDB Patches)
- Date: Thu, 17 Jan 2008 15:46:44 +0100 (CET)
- Subject: Re: [rfc] Remove default_gcore_mach from gcore.c
Markus Deuling wrote:
> bfd_set_format (obfd, bfd_core);
> - bfd_set_arch_mach (obfd, default_gcore_arch (), default_gcore_mach ());
This doesn't look right -- you're removing the whole call, which means
that not even the *arch* is now set in the generated core file ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com