From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5895 invoked by alias); 5 Jul 2004 00:40:21 -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 5888 invoked from network); 5 Jul 2004 00:40:20 -0000 Received: from unknown (HELO mproxy.gmail.com) (64.233.170.203) by sourceware.org with SMTP; 5 Jul 2004 00:40:20 -0000 Received: by mproxy.gmail.com with SMTP id 73so34665rne for ; Sun, 04 Jul 2004 17:40:03 -0700 (PDT) Received: by 10.38.89.31 with SMTP id m31mr2108rnb; Sun, 04 Jul 2004 17:40:03 -0700 (PDT) Message-ID: <3e59910004070417407ad2bdf8@mail.gmail.com> Date: Mon, 05 Jul 2004 00:40:00 -0000 From: Nagender Telkar To: gdb@sources.redhat.com Subject: Adding backtrace to an arm-based on-target debugger Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00029.txt.bz2 Hello All, I am working on developing an on-target debugger for applications on an arm-based target. I need to add a backtrace feature to it. Can someone tell me where to look for the gdb serial protocol? When I do a "bt" on the gdb prompt I get only the current frame. It does not go beyond the current frame. It is as shown below. #0 Test_Func(nValue=525, psValueBuf=0xb00f0c, Sending packet: $mb00ee0,4#89...Ack Packet received: 14000000 nValueBufSize=20) at et_amountctl.c:390 #1 0x00d4b9e4 in ?? () Can you tell me what do I need to do in the target-side stub? In my target, the application I am debugging is compiled in arm-elf-gcc but the enviornment it is running is compiled in armcc mode. Is it a matter of concern to the gdb? Thanks in advance. regards, Nagender