From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14907 invoked by alias); 31 Oct 2003 08:03:44 -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 14709 invoked from network); 31 Oct 2003 08:03:42 -0000 Received: from unknown (HELO tmpsmtp709.honeywell.com) (199.64.7.109) by sources.redhat.com with SMTP; 31 Oct 2003 08:03:42 -0000 Received: from tmpcn683.honeywell.com ([131.127.249.99]) by 199.64.7.109 with InterScan Messaging Security Suite; Fri, 31 Oct 2003 01:03:41 -0700 Received: from az18hb522.honeywell.com (az18hb522.allied.com [131.127.249.91]) by tmpcn683.honeywell.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id V9GT02NX; Fri, 31 Oct 2003 01:03:41 -0700 Received: by az18hb522.allied.com with Internet Mail Service (5.5.2657.72) id ; Fri, 31 Oct 2003 01:03:41 -0700 Message-ID: <77ED2BF75D59D1439F90412CC5B109740373EAEF@ie10-sahara.hiso.honeywell.com> From: "Kiran Chandrashekaran, Nair (IE10)" To: gdb@sources.redhat.com Subject: GDB Remote Debugging Problem Date: Fri, 31 Oct 2003 08:03:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-10/txt/msg00343.txt.bz2 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