diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-03-26 08:29:48 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-03-26 08:29:48 +0000 |
commit | 2898689ba3a36451779ec526e14783c2aba9316b (patch) | |
tree | 843525348d0363f0767371ac083e013f53cbe47e /gdb/gdb-gdb.py | |
parent | 8518049884947da598e2f585bf9a4589df7096e9 (diff) | |
download | gdb-2898689ba3a36451779ec526e14783c2aba9316b.zip gdb-2898689ba3a36451779ec526e14783c2aba9316b.tar.gz gdb-2898689ba3a36451779ec526e14783c2aba9316b.tar.bz2 |
Remove some hard-coded stuff in tests
There are some hard-coded stuff in .s files, such as .int 0 and
address offset, which isn't portable. This patch is to replace
".int 0" with nop and address offset with labels.
gdb/testsuite:
2015-03-26 Yao Qi <yao.qi@linaro.org>
* gdb.linespec/break-asm-file0.s (func2): Use nop instead of
.int 0.
(func): Likewise. Add .Lfunc_1 label.
Use .Lfunc_1 label.
* gdb.linespec/break-asm-file1.s (func3): Use nop instead of
.int 0.
(func): Likewise.
Use .Lfunc_1 label.
Diffstat (limited to 'gdb/gdb-gdb.py')
0 files changed, 0 insertions, 0 deletions