+2011-05-04 Yao Qi <yao@codesourcery.com>
+
+ * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
+ and __thumb2__.
+
2011-05-03 Marek Polacek <mpolacek@redhat.com>
* gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
.syntax unified
.text
.type main,%function
-#if defined (__thumb__) || defined (__thumb2__)
+#if defined (__thumb__)
.code 16
.thumb_func
#endif
bl test_ldr_pc
/* Test ldm/stm only in ARM mode */
-#if !defined (__thumb__) && !defined (__thumb2__)
+#if !defined (__thumb__)
bl test_ldm_stm_pc
#endif
.size main, .-main
.global test_call_subr
-#if defined (__thumb__) || defined (__thumb2__)
+#if defined (__thumb__)
.code 16
.thumb_func
#endif
.global test_branch
-#if defined (__thumb__) || defined (__thumb2__)
+#if defined (__thumb__)
.code 16
.thumb_func
#endif
.size test_branch, .-test_branch
.global test_ldr_pc
-#if defined (__thumb__) || defined (__thumb2__)
+#if defined (__thumb__)
.code 16
.thumb_func
#endif
bx lr
.size test_ldr_pc, .-test_ldr_pc
-#if !defined (__thumb__) && !defined (__thumb2__)
+#if !defined (__thumb__)
.global test_ldm_stm_pc
.type test_ldm_stm_pc, %function
test_ldm_stm_pc: