This is the mail archive of the gdb-patches@sources.redhat.com 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/testsuite: Make signals test more specific


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


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