This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [testsuite patch] Fix testsuite regression by: Do not skip prologue for asm (.S) files
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 10 Jul 2015 13:47:43 +0200
- Subject: Re: [testsuite patch] Fix testsuite regression by: Do not skip prologue for asm (.S) files
- Authentication-results: sourceware.org; auth=none
- References: <20150629163708 dot GA28795 at host1 dot jankratochvil dot net> <86lheol7wz dot fsf at gmail dot com>
On Fri, 10 Jul 2015 10:43:24 +0200, Yao Qi wrote:
> Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> > * 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".
>
> What does "f at main" and "n at main" in parenthesises mean here?
Names of the testcases involved, it was always written this way for whatever
reason, unless it has changed:
+gdb_test "f" "asmsrc1\[.\]s:$line_enter.*gdbasm_enter" "f at main"
+
+# Execute the `n' command.
+gdb_test "n" "$line_main\[ \]*.*several_nops" "n at main"
So I guess it is still OK for check-in with this ChangeLog.
Thanks,
Jan