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] Single stepping over atomic instruction sets for GDB 6.6


Jan,

I've sent a version for CVS HEAD, but it seems it didn't make its way to
the list. I re-submitted it now. You should have access to it through
this url:

http://sourceware.org/ml/gdb-patches/2007-04/msg00386.html

I'd like to better understand your patch. So please, if you could go
through the modifications, that would be nice.

Thanks for the update!

Best Regards,
Luis


On Sat, 2007-04-28 at 19:56 +0200, Jan Kratochvil wrote:
> On Mon, 23 Apr 2007 20:19:31 +0200, Luis Machado wrote:
> ...
> > This is the patch for handling the sigle stepping of atomic instruction
> > sets previously posted on this list refreshed for the stable version 6.6
> > of GDB, in case users of this version would like to use it.
> 
> It fails for me on the attached testcase on gdb-6.6.ppc64 in 99% cases with
> 	infrun.c:1567: internal-error: handle_inferior_event: Assertion `SOFTWARE_SINGLE_STEP_P () && singlestep_breakpoints_inserted_p' failed.
> 	(tested on 4x CPU POWER5+, kernel-2.6.18-8.1.1.el5.ppc64)
> 
> The attached patch ON TOP OF YOURS fixes this problem (mostly, see below).
> 
> This patch has not been ported to HEAD as the last CVS version of your patch
> I found is
> 	http://sourceware.org/ml/gdb-patches/2007-03/msg00145.html
> which is no longer applicable to HEAD, please update it.
> 
> --
> 
> This fix is not 100%, though, it now passes only in 93% cases, in the remaining
> 7% of cases it will prematurely FAIL due to (missed breakpoint)
> 	Program exited normally.
> 
> I believe it is not a failure of this fix but some unrelated PPC port problem.
> Unfortunately this "Program exited normally." FAIL becomes unreproducible while
> trying to debug it (`set debug infrun 1'), there is some race.
> 
> 
> Regards,
> Jan


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