This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] PowerPC ABI detection and overrides
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Oct 2007 20:24:12 +0100 (CET)
- Subject: 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