* arm-tdep.c (arm_gdbarch_init): Enfore correct register number
for "fpscr" in target description.
This commit is contained in:
parent
c5f5c3c232
commit
2b9e5ea604
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||
|
||||
* arm-tdep.c (arm_gdbarch_init): Enfore correct register number
|
||||
for "fpscr" in target description.
|
||||
|
||||
2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* dwarf2read.c (find_slot_in_mapped_hash): New variable back_to,
|
||||
|
|
|
@ -8387,8 +8387,13 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
if (!valid_p)
|
||||
break;
|
||||
}
|
||||
if (!valid_p && i == 16)
|
||||
valid_p = 1;
|
||||
|
||||
if (!valid_p && i != 16)
|
||||
/* Also require FPSCR. */
|
||||
valid_p &= tdesc_numbered_register (feature, tdesc_data,
|
||||
ARM_FPSCR_REGNUM, "fpscr");
|
||||
if (!valid_p)
|
||||
{
|
||||
tdesc_data_cleanup (tdesc_data);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue