old-cross-binutils/gdb/testsuite/lib
Yao Qi 03eddd80d7 Dwarf assembler: handle one instruction function
On aarch64, we got the following fail:

(gdb) disassemble func
Dump of assembler code for function func:
   0x0000000000400730 <+0>:     ret
End of assembler dump.^M
(gdb) x/2i func+0^M
   0x400730 <func>:     ret^M
   0x400734 <main>:     stp     x29, x30, [sp,#-16]!^M
(gdb) FAIL: gdb.dwarf2/dw2-ifort-parameter.exp: x/2i func+0

the pattern in proc function_range expects to match <func+0>, however,
GDB doesn't display the offset when it is zero.  This patch is to
adjust the pattern when $func_length is zero.

gdb/testsuite:

2015-02-26  Yao Qi  <yao.qi@linaro.org>

	* lib/dwarf.exp (function_range): Adjust pattern when $func_length
	is zero.
2015-02-26 14:21:19 +00:00
..
ada.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
append_gdb_boards_dir.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cache.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cell.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cl_util.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cl_util.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compiler.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compiler.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cp-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
d-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dtrace.exp Simple testsuite for DTrace USDT probes. 2015-02-17 16:41:16 +01:00
dwarf.exp Dwarf assembler: handle one instruction function 2015-02-26 14:21:19 +00:00
fortran.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
future.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-guile.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-python.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-utils.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb.exp delete_breakpoints: Rewrite using gdb_test_multiple 2015-02-23 17:35:09 +00:00
gdbserver-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
go.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
java.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mi-support.exp Introduce gdb_interact in testsuite 2015-01-22 15:49:08 -05:00
objc.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl_hostapp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl_kernel.cl
pascal.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pdtrace.in Simple testsuite for DTrace USDT probes. 2015-02-17 16:41:16 +01:00
perftest.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
prelink-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
prompt.exp Introduce gdb_interact in testsuite 2015-01-22 15:49:08 -05:00
range-stepping-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
read1.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
selftest-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
set_unbuffered_mode.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
trace-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00