From: Yao Qi Date: Thu, 26 Aug 2010 08:30:38 +0000 (+0000) Subject: 2010-08-26 Yao Qi X-Git-Tag: gdb_7_2-2010-09-02-release~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f87d2ef9214ab91c590694889045dbc9fe8c0a5;p=thirdparty%2Fbinutils-gdb.git 2010-08-26 Yao Qi * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels func_nofb_start and func_loopfb_start, so that address of functions is equal to these labels on Thumb. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e9808a0589f..8f81444b620 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-08-26 Yao Qi + + * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels + func_nofb_start and func_loopfb_start, so that address of functions + is equal to these labels on Thumb. + 2010-08-26 Yao Qi * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c index 5f77883c4ed..e6fa680c8b0 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c @@ -19,6 +19,7 @@ asm (".globl cu_text_start"); asm ("cu_text_start:"); asm (".globl func_nofb_start"); +asm (".p2align 4"); asm ("func_nofb_start:"); void @@ -31,6 +32,7 @@ asm (".globl func_nofb_end"); asm ("func_nofb_end:"); asm (".globl func_loopfb_start"); +asm (".p2align 4"); asm ("func_loopfb_start:"); void