From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32142 invoked by alias); 9 Jul 2004 00:59: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 32124 invoked from network); 9 Jul 2004 00:59:23 -0000 Received: from unknown (HELO mproxy.gmail.com) (64.233.170.192) by sourceware.org with SMTP; 9 Jul 2004 00:59:23 -0000 Received: by mproxy.gmail.com with SMTP id 72so65652rnf for ; Thu, 08 Jul 2004 17:59:20 -0700 (PDT) Received: by 10.38.79.62 with SMTP id c62mr99583rnb; Thu, 08 Jul 2004 17:59:19 -0700 (PDT) Message-ID: <3e59910004070817595b87eea5@mail.gmail.com> Date: Fri, 09 Jul 2004 00:59:00 -0000 From: Nagender Telkar To: Atul Talesara Subject: Re: Adding backtrace to an arm-based on-target debugger Cc: gdb@sources.redhat.com In-Reply-To: <36993D449C7FA647BF43568E0793AB3E8C79F9@nevis_pune_xchg.pune.nevisnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <36993D449C7FA647BF43568E0793AB3E8C79F9@nevis_pune_xchg.pune.nevisnetworks.com> X-SW-Source: 2004-07/txt/msg00087.txt.bz2 Hi Atul, The type of applications I am trying to debug using my arm-based stub are compiled with arm-elf-gcc. But these applications make certain system calls to an underlying module, which happens to be compiled using armcc. Another important point is that the application(compiled in arm-elf-gcc) and the underlying module(compiled in armcc) make use of the same stack. So, when I do a "bt" on the gdb prompt, the gdb has to parse the stack that contains symbols of both the arm-elf-gcc compiled code and the arm-cc compiled code. Can the gdb do that? Regarding the gdb documentation, I find only description of the symbols(c, n, g etc) that are used but not the actual protocol or the actual handshaking mechanism, that is, I want to know what happens after you do a bt, s or a c on the gdb prompt. Is the series of requests that the gdb makes to the stub documented? Thanks in advance, Nagender On Thu, 8 Jul 2004 10:54:42 +0530, Atul Talesara wrote: > Thought this might help you ... > http://www.embedded.com/1999/9911/9911feat3.htm > > Regards, > Atul P Talesara > ---------------------------------------------------------- > Be not afraid of life. Believe that life is worth living, > and your belief will help create the fact." > - Henry James > ---------------------------------------------------------- > > -----Original Message----- > From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] > On Behalf Of Nagender Telkar > Sent: Thursday, July 08, 2004 1:55 AM > To: Ramana Radhakrishnan > Cc: gdb@sources.redhat.com > Subject: Re: Adding backtrace to an arm-based on-target debugger >