This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [rfc] PowerPC ABI detection and overrides


Daniel Jacobowitz wrote:

> Ignoring abfd is deliberate; we should be able to construct the same
> arch with or without a BFD.  But ignoring things derived from abfd is
> a bug indeed.  The MIPS target stashes ELF flags in its tdep structure
> for this reason.  PowerPC may not need that heavyweight check, but it
> does need some other things, e.g., sysv_abi.  Actually that's the only
> one that I see that ought to be checked.  Maybe that will fix the bug?

Yes, the bug I had was related to sysv_abi.  And in fact, sysv_abi should
be fully detectable simply from looking at info.osabi, it should IMO not
be computed independently from the BFD.  That's why I thought the proper
way to fix this problem was to stop looking directly at the BFD ...

Bye,
Ulrich


-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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