[PATCH] aarch64-newlib-tdep patch
Pedro Alves
palves@redhat.com
Fri Feb 1 19:39:00 GMT 2013
On 01/22/2013 06:03 PM, Marcus Shawcroft wrote:
> Pedro also commented that we need to update the documentation w.r.t the AArch64 port. There will be a separate patch for documentation shortly...
Thanks for that. Note you'll also need a NEWS entry
mentioning the new port.
> 2013-01-22 Jim MacArthur <jim.macarthur@arm.com>
> Marcus Shawcroft <marcus.shawcroft@arm.com>
> Nigel Stephens <nigel.stephens@arm.com>
> Yufeng Zhang <yufeng.zhang@arm.com>
>
> * aarch64-newlib-tdep.c: New file.
> * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
> aarch64*-*-elf.
* configure.tgt (aarch64*-*-elf): Add aarch64-newlib-tdep.o to
gdb_target_obs.
> * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
> * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
> (ALLDEPFILES): Add aarch64-newlib-tdep.c.
> * osabi.c (gdb_osabi_names): Add "Newlib".
This is OK. A sniffer would indeed by nice... Something like
looking for impure_ptr or some such internal newlib symbol would
probably be all one can do, I think. But we'll want to make
sure that cases like Cygwin, which use Newlib, don't end up
selecting GDB_OSABI_NEWLIB.
--
Pedro Alves
More information about the Gdb-patches
mailing list