This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA/testsuite: Make signals test more specific
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 27 Apr 2003 20:51:09 -0400
- Subject: Re: RFA/testsuite: Make signals test more specific
- References: <20021030220510.GA13861@nevyn.them.org>
On Wed, Oct 30, 2002 at 05:05:10PM -0500, Daniel Jacobowitz wrote:
> Signal frame backtraces in the presence of a stripped libc.so.6 have been
> broken for a while now on i386 GNU/Linux. The test didn't catch it,
> however. We would get a backtrace that looked like:
>
> handler
> sigaction
> __libc_start_main
>
> instead of:
> handler
> <signal handler called>
> main
> __libc_start_main
>
> (purely by coincidences in the stack frame layout, as far as I can tell).
> This makes the test a little more sensitive: it looks for " main " instead
> of "main", and it looks for "signal handler" in the next-to-top frame. OK?
I have belatedly checked this in; the patch to fix the problem went in
some time ago. I updated the copyright date in signals.exp, too.
> 2002-10-30 Daniel Jacobowitz <drow at mvista dot com>
>
> * gdb.base/signals.exp: Make backtrace tests more specific.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer