mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
Fix compilation for target gdbserver on CRISv32 platform.
One misspelled function call, and one superfluous typedef. The latter causes an error of the following type when building: linux-crisv32-low.c:372: error: conflicting types for 'elf_gregset_t' /.../target/include/asm/elf.h:36: error: previous declaration of 'elf_gregset_t' was here 2013-09-06 Ricard Wanderlof <ricardw@axis.com> * linux-crisv32-low.c (elf_gregset_t): Delete typedef. (initialize_low_arch): Call init_registers_crisv32 rather than init_register_crisv32.
This commit is contained in:
parent
253a4c9811
commit
eddddb9d52
@ -1,3 +1,9 @@
|
|||||||
|
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
|
||||||
|
|
||||||
|
* linux-crisv32-low.c (elf_gregset_t): Delete typedef.
|
||||||
|
(initialize_low_arch): Call init_registers_crisv32 rather than
|
||||||
|
init_register_crisv32.
|
||||||
|
|
||||||
2013-09-05 Pedro Alves <palves@redhat.com>
|
2013-09-05 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* server.h (handle_vFile, hostio_last_error_from_errno): Move
|
* server.h (handle_vFile, hostio_last_error_from_errno): Move
|
||||||
|
@ -369,8 +369,6 @@ cris_arch_setup (void)
|
|||||||
current_process ()->tdesc = tdesc_crisv32;
|
current_process ()->tdesc = tdesc_crisv32;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef unsigned long elf_gregset_t[cris_num_regs];
|
|
||||||
|
|
||||||
static struct regset_info cris_regsets[] = {
|
static struct regset_info cris_regsets[] = {
|
||||||
{ PTRACE_GETREGS, PTRACE_SETREGS, 0, cris_num_regs * 4,
|
{ PTRACE_GETREGS, PTRACE_SETREGS, 0, cris_num_regs * 4,
|
||||||
GENERAL_REGS, cris_fill_gregset, cris_store_gregset },
|
GENERAL_REGS, cris_fill_gregset, cris_store_gregset },
|
||||||
@ -426,7 +424,7 @@ struct linux_target_ops the_low_target = {
|
|||||||
void
|
void
|
||||||
initialize_low_arch (void)
|
initialize_low_arch (void)
|
||||||
{
|
{
|
||||||
init_register_crisv32 ();
|
init_registers_crisv32 ();
|
||||||
|
|
||||||
initialize_regsets_info (&cris_regsets_info);
|
initialize_regsets_info (&cris_regsets_info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user