This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Add missing cortex-m features/Makefile entries and comment fix
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 21 Apr 2012 00:37:26 +0100
- Subject: [PATCH] Add missing cortex-m features/Makefile entries and comment fix
Trivial changes. Pre-approved by Pedro Alves. Committed.
2012-04-21 Jonathan Larmour <jifl@eCosCentric.com>
* features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout.
* arm-tdep.c (arm_register_g_packet_guesses): Fix comment.
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.360
diff -u -5 -p -r1.360 arm-tdep.c
--- arm-tdep.c 27 Mar 2012 15:46:33 -0000 1.360
+++ arm-tdep.c 20 Apr 2012 23:28:53 -0000
@@ -9684,11 +9684,11 @@ arm_register_g_packet_guesses (struct gd
{
/* If we know from the executable this is an M-profile target,
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),
tdesc_arm_with_m_fpa_layout);
Index: features/Makefile
===================================================================
RCS file: /cvs/src/src/gdb/features/Makefile,v
retrieving revision 1.26
diff -u -5 -p -r1.26 Makefile
--- features/Makefile 10 Apr 2012 15:44:23 -0000 1.26
+++ features/Makefile 20 Apr 2012 23:28:53 -0000
@@ -29,10 +29,11 @@
# configured for the correct architecture, so the files are again kept
# in the GDB repository. To generate C files:
# 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 \
i386/i386-avx i386/i386-avx-linux \
i386/amd64-avx i386/amd64-avx-linux \