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] Fix BSD build regression on core file's PID


On Wed, May 11, 2011 at 11:56:36PM +0200, Jan Kratochvil wrote:
> 	(HAVE_ELFCORE_PSINFO_T_PR_PID, HAVE_ELFCORE_PSINFO32_T_PR_PID): Set
> 	them if appropriate.

I think the code would be clearer without these two new macros.
ie. Keep with existing practice in elfcore_grok_psinfo and use
#if defined (HAVE_PSINFO_T_PR_PID) || defined (HAVE_PRPSINFO_T_PR_PID)
and
#if defined (HAVE_PSINFO32_T_PR_PID) || defined (HAVE_PRPSINFO32_T_PR_PID)
instead.  OK with that change.

-- 
Alan Modra
Australia Development Lab, IBM


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