This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add a bfd interface to get@a core file's PID


Pedro Alves wrote:
> [updated patch below]

This patch broke m68k-aout because bfd/cisco-core.c was not updated.

Since I converted gas for m68k-aout to a bfd assembler recently, I
should have noticed that before. Actually I did, but I assumed a
configure mistake by myself and started over. Unfortunately then I
configured a binutils-2.20 tree with the same gas change and thus
the build succeeded. It is a bit embarrassing that I didn't noticed
my mistake at that time :-(

Regards,
Gunther Nikl


2010-08-29  Gunther Nikl  <gnikl@users.sourceforge.net>

	* cisco-core.c (cisco_core_file_pid): New define.

Index: cisco-core.c
===================================================================
RCS file: /cvs/src/src/bfd/cisco-core.c,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 cisco-core.c
--- cisco-core.c	2 Sep 2009 07:18:35 -0000	1.17
+++ cisco-core.c	29 Aug 2010 17:32:53 -0000
@@ -77,6 +77,7 @@ static const bfd_target *cisco_core_file
 char *cisco_core_file_failing_command PARAMS ((bfd *));
 int cisco_core_file_failing_signal PARAMS ((bfd *));
 #define cisco_core_file_matches_executable_p generic_core_file_matches_executable_p
+#define cisco_core_file_pid _bfd_nocore_core_file_pid
 
 /* Examine the file for a crash info struct at the offset given by
    CRASH_INFO_LOC.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]