Bug in mips:3900 arch ?
Markus Deuling
deuling@de.ibm.com
Thu Feb 14 06:14:00 GMT 2008
Hi Daniel,
Daniel Jacobowitz schrieb:
> On Mon, Jan 28, 2008 at 03:46:02PM +0100, Markus Deuling wrote:
> Yes, this looks like a bug. It is caused by the special case in
> mips_gdbarch_init, by the comment:
>
> /* Try the architecture for any hint of the correct ABI. */
>
> I think replacing the internal error by "return" or "break" would be
> safe. No real Linux application will ever have the EABI32 or EABI64
> ABIs.
sorry for the late response. This patch simply removes the internal error. Maybe it would be a
good idea to add a warning instead? But as you say no Linux application will ever run into this
so the warning might be unnecessary.
Is this patch ok?
ChangeLog:
* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-mips
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080214/d0ee52d4/attachment.ksh>
More information about the Gdb-patches
mailing list