This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2][CRIS/CRISv32] Consistent names for cris/crisv32_elf_greg_t
- 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: Tue, 03 Sep 2013 15:55:05 +0100
- Subject: Re: [PATCH 2/2][CRIS/CRISv32] Consistent names for cris/crisv32_elf_greg_t
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 00 dot 1309031617060 dot 10770 at lnxricardw dot se dot axis dot com>
On 09/03/2013 03:17 PM, Ricard Wanderlof wrote:
>
> This is just a cosmetic change to get consistent names for
> elf_greg_t/crisv32_elf_greg_t in cris-tdep.c . Compile-time tested, then
> tested the result by running the resulting gdb against gdbserver running
> on a target system.
Thanks. It'll allow putting these types in a header too, if
ever necessary (otherwise, they'd possibly conflict with
asm/elf.h, like in the gdbserver patch).
> 2013-09-03 Ricard Wanderlof <ricardw@axis.com>
>
> * cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
Mention cris_elf_gregset_t, crisv32_elf_gregset_t, and all
the functions that were adjusted. E.g.:
* cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
(cris_elf_gregset_t): Rename from elf_gregset_t.
(crisv32_elf_gregset_t): Adjust.
(cris_supply_gregset, fetch_core_registers): Adjust.
OK with that change.
--
Pedro Alves