From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13315 invoked by alias); 15 May 2003 19:21:05 -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 13230 invoked from network); 15 May 2003 19:21:04 -0000 Received: from unknown (HELO ftpbox.mot.com) (129.188.136.101) by sources.redhat.com with SMTP; 15 May 2003 19:21:04 -0000 Received: from il06exr02.mot.com (il06exr02.mot.com [129.188.137.132]) by ftpbox.mot.com (Motorola/Ftpbox) with ESMTP id h4FJL3of017278 for ; Thu, 15 May 2003 12:21:03 -0700 (MST) Received: from udc.urbana.css.mot.com (udc.urbana.css.mot.com [192.88.153.21]) by il06exr02.mot.com (Motorola/il06exr02) with ESMTP id h4FJL02J016549 for ; Thu, 15 May 2003 14:21:00 -0500 Received: from tmclinux.urbana.css.mot.com (tmclinux.urbana.css.mot.com [192.88.153.36]) by udc.urbana.css.mot.com (8.11.7+Sun/8.11.6) with ESMTP id h4FJKxA04352; Thu, 15 May 2003 14:20:59 -0500 (CDT) X-POPI: The contents of this message are Motorola Internal Use Only (MIUO) unless indicated otherwise in the message. Received: (from tcombs@localhost) by tmclinux.urbana.css.mot.com (8.11.6/8.11.6) id h4FJKxe15887; Thu, 15 May 2003 14:20:59 -0500 Date: Thu, 15 May 2003 19:21:00 -0000 From: Tim Combs To: Smita Cc: gdb@sources.redhat.com Subject: Re: Program received signal SIGTRAP, Trace/breakpoint trap Message-ID: <20030515142059.D14626@urbana.css.mot.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from smita@cse.ucsc.edu on Thu, May 15, 2003 at 11:44:35AM -0700 X-SW-Source: 2003-05/txt/msg00239.txt.bz2 Sometimes this happens when the instruction you are trying to execute is a breakpoint. Do a x/i 0x0183ac7c and see what instruction you are trying to execute. Tim On Thu, May 15, 2003 at 11:44:35AM -0700, Smita wrote: > Hi, > I am trying to debug a program with gdb5.3 > But, I keep getting this message: > Program received signal SIGTRAP, Trace/breakpoint trap > 0x0183ac7c in _sys_select () > > I keep getting this even if i continue. > Why am I seeing this? What is the solution to this? > > Thanks a lot. > Smita >