From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26099 invoked by alias); 25 Jun 2002 15:03:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26082 invoked from network); 25 Jun 2002 15:03:23 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 25 Jun 2002 15:03:23 -0000 Received: from cs2876-108.austin.rr.com ([24.28.76.108] helo=branoic) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17Mrqd-0001HC-00; Tue, 25 Jun 2002 10:03:15 -0500 Received: from drow by branoic with local (Exim 3.35 #1 (Debian)) id 17Mrq9-0004FX-00; Tue, 25 Jun 2002 11:02:45 -0400 Date: Tue, 25 Jun 2002 08:03:00 -0000 From: Daniel Jacobowitz To: todd.kallam@acterna.com Cc: gdb@sources.redhat.com Subject: Re: GDB bug: target.c (target_signal_from_host): unrecognized real -time signal on arm Message-ID: <20020625150245.GA16178@branoic.them.org> Mail-Followup-To: todd.kallam@acterna.com, gdb@sources.redhat.com References: <85256BE3.0051C5EF.00@wg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85256BE3.0051C5EF.00@wg.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-06/txt/msg00241.txt.bz2 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 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