Re: [RFA] ARI fix: Remove asprintf in breakpoint.c

Pedro Alves
2007-10-08T19:35:05Z

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