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: [RFA] ARI fix: Remove asprintf in breakpoint.c


 The main problem was
gdb.base/sigstep.exp
that took about 2 hours and 20 min to complete alone :(
  The main reason is that this is just a huge list of timeouts
related to the fact that cygin only accepts
ITIMER_REAL as first arg of setitimer.
  I will send a patch to fix this, by checking the return
value of setitimer.

Pierre

> -----Original Message-----
> From: Pedro Alves [mailto:alves.ped@gmail.com] On Behalf Of Pedro Alves
> Sent: Monday, October 08, 2007 9:34 PM
> To: Pierre Muller
> Cc: 'Joel Brobecker'; gdb-patches@sourceware.org
> Subject: Re: [RFA] ARI fix: Remove asprintf in breakpoint.c
> 
> Pierre Muller wrote:
> > No, sorry, but the testsuite on cygwin is really a pain,
> > it has some signal problems that makes the testsuite
> > horribly slow, with tons of timeouts...
> > and no I have no easy linux access.
> >
> 
> I know what you mean ...
> 
> I use these patches to be able to test on Cygwin less painfully:
> 
>   [PATCH] i386_skip_prologue
>   http://sources.redhat.com/ml/gdb-patches/2006-12/msg00140.html
> 
>   [[PATCH] Line info in the presence of __main, and
> NOTE_INSN_FUNCTION_BEG after
> scheduling:]
>   http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00633.html
> 
> The gcc patch is really outdated, and doesn't apply to
> current gcc svn, so I still have a gcc build from 20061123
> to test gdb.  Far from ideal, but otherwise, many testcases timeout
> and go untested.
> 
> I keep wanting to fix this correctly, but I never get around to it.
>  From the last discussion on the subject, the idea was to teach the
> i386 (and any other arch that cares) prologue reader about
> __main as a first step.  I don't think that's hard.
> 
> Cheers,
> Pedro Alves
> 
> 




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