mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
gdb: add arc-newlib-tdep.c to ALL_TARGET_OBS
This file is currently not compiled in an --enable-targets=all build, but it should be. Add it to ALL_TARGET_OBS. Update the gdbarch_tdep call that commit 345bd07cce33 ("gdb: fix gdbarch_tdep ODR violation") forgot to update. Change-Id: I86248a01493eea5e70186e9c46a298ad3994b034
This commit is contained in:
@ -724,6 +724,7 @@ ALL_64_TARGET_OBS = \
|
||||
ALL_TARGET_OBS = \
|
||||
aarch32-tdep.o \
|
||||
arc-linux-tdep.o \
|
||||
arc-newlib-tdep.o \
|
||||
arc-tdep.o \
|
||||
arch/aarch32.o \
|
||||
arch/arc.o \
|
||||
|
@ -36,7 +36,7 @@ arc_newlib_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||
{
|
||||
arc_newlib_debug_printf ("Initialization.");
|
||||
|
||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||
arc_gdbarch_tdep *tdep = (arc_gdbarch_tdep *) gdbarch_tdep (gdbarch);
|
||||
|
||||
/* Offset of original PC in longjmp jump buffer (in registers). Value of PC
|
||||
offset can be found in newlib/libc/machine/arc/setjmp.S. */
|
||||
|
Reference in New Issue
Block a user