This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite patch] Fix testsuite regression by: Do not skip prologue for asm (.S) files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]