We find test failures in gdb.dwarf2/dw2-ref-missing-frame.exp when test cases are compiled as thumb. https://bugs.launchpad.net/gdb-linaro/+bug/615997 In dw2-ref-missing-frame-func.c, it is assumed that address of label 'func_loopfb_start' is equal to address of function func_loopfb. However, in thumb, the label is 16-bit aligned, while function is 32-bit aligned, so label address may not be equal to function address. Patch below is to set labels 32-bit aligned. Tested this patch on both x86 and armel. OK to apply? -- Yao Qi CodeSourcery yao@codesourcery.com (650) 331-3385 x739