New test failures - observer.exp, sigaltstack.exp, siginfo.exp

Daniel Jacobowitz drow@false.org
Fri Apr 23 18:35:00 GMT 2004


On Fri, Apr 23, 2004 at 02:02:30PM -0400, Andrew Cagney wrote:
> >These new tests are all failing on my i686-pc-linux-gnu system.
> >
> >sigaltstack.exp fails like this:
> >
> >finish
> >Run till exit from #0  catcher (signal=26) at 
> >/opt/src/gdb/src/gdb/testsuite/gdb.base/sigaltstack.c:71
> >Warning:
> >Cannot insert breakpoint 0.
> >Error accessing memory address 0xffffe420: Input/output error.
> >(gdb) FAIL: gdb.base/sigaltstack.exp: finish from catch LEAF
> >
> >The problem is that the signal trampoline is read-only.  We can't set
> >software breakpoints there.  I suspect there is no way to do this portably.
> >Should we skip it instead, i.e. finish right to the place where the signal
> >was raised?
> 
> Which exact kernel version?  As I mentioned in another post, this works 
> for me ....

2.6.5.  If you're using a 2.4-era kernel, it probably does not place
the sigreturn trampoline in the vsyscall DSO area.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list