This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4] Fix ppc64 single step over atomic sequence testcase
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Anton Blanchard <anton at samba dot org>
- Cc: gdb-patches at sourceware dot org, emachado at linux dot vnet dot ibm dot com, luis_gustavo at mentor dot com, ulrich dot weigand at de dot ibm dot com
- Date: Fri, 28 Mar 2014 06:05:44 -0700
- Subject: Re: [PATCH 1/4] Fix ppc64 single step over atomic sequence testcase
- Authentication-results: sourceware.org; auth=none
- References: <1395978111-30706-1-git-send-email-anton at samba dot org>
> 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