From 03145bf42d8f668161585e815fe75eead4ff7822 Mon Sep 17 00:00:00 2001 From: Jonathan Larmour Date: Fri, 20 Apr 2012 23:39:58 +0000 Subject: [PATCH] * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. --- gdb/ChangeLog | 5 +++++ gdb/arm-tdep.c | 2 +- gdb/features/Makefile | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5e94db..41ab7df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-21 Jonathan Larmour + + * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. + * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. + 2012-04-20 Nigel Stephens Maciej W. Rozycki diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 08c5ed4..b14b944 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -9686,7 +9686,7 @@ arm_register_g_packet_guesses (struct gdbarch *gdbarch) cater for remote targets whose register set layout is the same as the FPA layout. */ register_remote_g_packet_guess (gdbarch, - /* r0-r12,sp,lr,pc; f0-f7; fps,cpsr */ + /* r0-r12,sp,lr,pc; f0-f7; fps,xpsr */ (16 * INT_REGISTER_SIZE) + (8 * FP_REGISTER_SIZE) + (2 * INT_REGISTER_SIZE), diff --git a/gdb/features/Makefile b/gdb/features/Makefile index 873ed85..83f5077 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -31,6 +31,7 @@ # make GDB=/path/to/gdb XMLTOC="xml files" cfiles WHICH = arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \ + arm-with-m arm-with-m-fpa-layout \ i386/i386 i386/i386-linux \ i386/i386-mmx i386/i386-mmx-linux \ i386/amd64 i386/amd64-linux \ -- 2.7.4