GDB bug: target.c (target_signal_from_host): unrecognized real -time signal on arm

Daniel Jacobowitz drow@mvista.com
Tue Jun 25 08:03:00 GMT 2002


You're using snapshots from the 5.2 branch.  You need to look for
snapshots from the trunk if you want to debug an application using
threads or realtime signals.  Get snapshots from current/ insteaad of
from branch/.

On Tue, Jun 25, 2002 at 10:51:39AM -0400, todd.kallam@acterna.com wrote:
> 
> 
> 
> Hi,
> 
> I have had the same problem with each of the following versions:
> 
>    insight+dejagnu-5.2.0_20020624.tar.bz2
>    gdb+dejagnu-weekly-CVS-5.2.0_20020618.tar.bz2
>    gdb-5.2.tar.gz
> 
> I configure gdb with the following command:
> 
>      ./configure --target=arm-linux
> 
> I configured gdbserver with the following command:
> 
>    ./configure arm-linux
> 
> The following insight+dejagnu-5.2.0_20020624.tar.bz2 code in
> gdb/signals/signals.c reports the problem:
> 
> #if defined (SIGRTMIN)
>   if (hostsig >= SIGRTMIN && hostsig <= SIGRTMAX)
>     {
>       /* This block of TARGET_SIGNAL_REALTIME value is in order.  */
>       if (33 <= hostsig && hostsig <= 63)
>      return (enum target_signal)
>        (hostsig - 33 + (int) TARGET_SIGNAL_REALTIME_33);
>       else if (hostsig == 64)
>      return TARGET_SIGNAL_REALTIME_64;
>       else
>      error ("GDB bug: target.c (target_signal_from_host): unrecognized real-time
>  signal");
>     }
> #endif
> 
> Regards,
> 
> Todd
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Daniel Jacobowitz <drow@mvista.com> on 06/24/2002 06:04:58 PM
> 
> To:   Todd Kallam/Engineering/TTC/US@Global
> cc:   gdb@sources.redhat.com
> 
> Subject:  Re: GDB bug: target.c (target_signal_from_host): unrecognized real
>       -time signal on arm
> 
> 
> 
> I committed a fix for this problem at the same time I committed the
> multithread support.  Could you be more specific about which snapshot
> you are using?
> 
> On Mon, Jun 24, 2002 at 05:33:44PM -0400, todd.kallam@acterna.com wrote:
> >
> >
> >
> > Hi,
> >
> > I am trying to use the latest snapshot of gdb to do remote debugging
> > of a multithreaded Qt application on a strongarm processor running
> > linux.  I get the following message shown by gdbserver on the target:
> >
> > GDB bug: target.c (target_signal_from_host): unrecognized real-time signal
> >
> > The hostsig value is 32, but this value is not handled by the code.
> >
> > Has any one else had this problem?
> >
> > I am using gcc 2.95.3 for arm-linux and kernel version 2.4.18 with arm
> patches.
> > Thanks for any help.
> >
> > Regards,
> >
> > Todd
> >
> >
> >
> >
> >
> 
> --
> Daniel Jacobowitz                           Carnegie Mellon University
> MontaVista Software                         Debian GNU/Linux Developer
> 
> 
> 
> 
> 

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list