From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30284 invoked by alias); 31 Oct 2003 22:27:51 -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 30277 invoked from network); 31 Oct 2003 22:27:51 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 31 Oct 2003 22:27:51 -0000 Received: by zenia.home (Postfix, from userid 5433) id D77FC207AF; Fri, 31 Oct 2003 17:27:42 -0500 (EST) To: "Kiran Chandrashekaran, Nair (IE10)" Cc: gdb@sources.redhat.com Subject: Re: GDB Remote Debugging Problem References: <77ED2BF75D59D1439F90412CC5B109740373EAEF@ie10-sahara.hiso.honeywell.com> From: Jim Blandy Date: Fri, 31 Oct 2003 22:27:00 -0000 In-Reply-To: <77ED2BF75D59D1439F90412CC5B109740373EAEF@ie10-sahara.hiso.honeywell.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00355.txt.bz2 That certainly doesn't sound like normal behavior. But unless we can reproduce the problem ourselves, we can't do much about it. I suspect there's some problem with your stub. When you say "set debug remote 1", does it seem to be doing all the right things? "Kiran Chandrashekaran, Nair (IE10)" writes: > Hi all, > > I have a gdb stub,running on my target. > I am able to connect to the target through TCP and debug > my debug from the host. > > My Problem is > 1. I get a SIGTRAP received message for every function call, > even if I am not stepping into the function or have not set a breakpoint > in > the function. > I get the SRC_AND_LOC message always,when ideally I should only the > the SRC_LINE displayed. > eg: When I step through a function foo() in function xyz() I get > > xyx () at xyz.c:78 > > 2. Also when a breakpoint is hit ,The don't get the Breakpoint number > displayed. > I get the SRC_AND_LOC displayed,but no breakpoint info. > > What could be the problem. > I am using gdb 6.0 configured for i386-elf on cygwin > > Could anything be possibily wrong with my gdb stub,which is > derived from the basic gdb stub. > > Thanks > Kiran