aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asmsrc1.s
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2015-07-10 15:04:51 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2015-07-10 15:04:51 +0200
commit218a5a11a07268228484af88666739852ba36552 (patch)
tree5086e6b75bf20125dd7346431c5ce820818a1ced /gdb/testsuite/gdb.asm/asmsrc1.s
parent421530db90312b605ce05d7cf883123a084f9af3 (diff)
downloadgdb-218a5a11a07268228484af88666739852ba36552.zip
gdb-218a5a11a07268228484af88666739852ba36552.tar.gz
gdb-218a5a11a07268228484af88666739852ba36552.tar.bz2
Fix testsuite regression by: Do not skip prologue for asm (.S) files
I have somehow missed gdb.asm/asm-source.exp PASS->FAIL even on x86_64. It has no longer valid assumption that "break" breaks after the prologue even in assembler. So I have changed this assumption of the testfile. gdb/testsuite/ChangeLog 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter. (n at main): New. * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
Diffstat (limited to 'gdb/testsuite/gdb.asm/asmsrc1.s')
-rw-r--r--gdb/testsuite/gdb.asm/asmsrc1.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asmsrc1.s b/gdb/testsuite/gdb.asm/asmsrc1.s
index 8235205..ddf8790 100644
--- a/gdb/testsuite/gdb.asm/asmsrc1.s
+++ b/gdb/testsuite/gdb.asm/asmsrc1.s
@@ -34,6 +34,7 @@
.global main
gdbasm_declare main
+ comment "mark: main enter"
gdbasm_enter
comment "Call a macro that consists of several lines of assembler code."