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: [PATCH 1/4] Fix ppc64 single step over atomic sequence testcase


> gdb/
> 2014-03-28  Anton Blanchard  <anton@samba.org>
> 
> 	* gdb.arch/ppc64-atomic-inst.c: Remove.
> 	* gdb.arch/ppc64-atomic-inst.s: New file.
> 	* gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.

OK to commit.

>  set testfile "ppc64-atomic-inst"
> -set srcfile ${testfile}.c
> +set srcfile ${testfile}.s
>  set binfile ${objdir}/${subdir}/${testfile}
>  set compile_flags {debug quiet}

As a followup patch, you might want to adapt it to use standard_testfile
+ prepare_for_testing.

See: https://sourceware.org/gdb/wiki/GDBTestcaseCookbook

-- 
Joel


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