diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 971187f..a75d3bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-05-28 Kyle Huey <me@kylehuey.com> (tiny patch) + + * gdb/arm-tdep.c (arm_gdbarch_init): Perform arm_abi detection on + ELFOSABI_GNU binaries. + 2015-05-27 Doug Evans <dje@google.com> * dwarf2read.c (lnp_state_machine): New typedef. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 638855b..750749d 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -9950,7 +9950,7 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) anyway, so assume APCS. */ arm_abi = ARM_ABI_APCS; } - else if (ei_osabi == ELFOSABI_NONE) + else if (ei_osabi == ELFOSABI_NONE || ei_osabi == ELFOSABI_GNU) { int eabi_ver = EF_ARM_EABI_VERSION (e_flags); int attr_arch, attr_profile; |