This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][CRISv32] Extract Linux-specific portions from cris-tdep.c
- From: Pedro Alves <palves at redhat dot com>
- To: Ricard Wanderlof <ricard dot wanderlof at axis dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 06 Sep 2013 10:54:56 +0100
- Subject: Re: [PATCH][CRISv32] Extract Linux-specific portions from cris-tdep.c
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 00 dot 1309050850180 dot 10770 at lnxricardw dot se dot axis dot com>
On 09/05/2013 08:51 AM, Ricard Wanderlof wrote:
> 2013-09-04 Ricard Wanderlof <ricardw@axis.com>
>
> * Makefile.in (ALL_TARGET_OBS): Add cris-linux-tdep.o.
> * configure.tgt: Add cris-linux-tdep.o and cris-tdep.o to
s/cris-tdep.o/linux-tdep.o/
> gdb_target_obs for cris target.
> * cris-tdep.c (struct gdbarch_tdep): Move to cris-tdep.h.
> (cris_gdbarch_init): Move calls to
> set_gdbarch_fetch_tls_load_module_address and
> set_solib_svr4_fetch_link_map_offsets to cris-linux-tdep.c.
> Add call to gdbarch_init_osabi.
> * cris-linux-tdep.c: New file.
> * cris-tdep.h: New file.
Looks great to me. Thanks for doing this.
--
Pedro Alves