From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3064 invoked by alias); 10 Feb 2003 19:25:49 -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 3057 invoked from network); 10 Feb 2003 19:25:49 -0000 Received: from unknown (HELO hotmail.com) (65.54.245.25) by 172.16.49.205 with SMTP; 10 Feb 2003 19:25:49 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 10 Feb 2003 11:25:48 -0800 Received: from 134.134.136.3 by by1fd.bay1.hotmail.msn.com with HTTP; Mon, 10 Feb 2003 19:25:48 GMT X-Originating-IP: [134.134.136.3] From: "Imtiaz Sajwani" To: drow@mvista.com Cc: gdb@sources.redhat.com Bcc: Subject: Configuring gdb for arm Date: Mon, 10 Feb 2003 19:25:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Feb 2003 19:25:48.0390 (UTC) FILETIME=[372E8860:01C2D13A] X-SW-Source: 2003-02/txt/msg00180.txt.bz2 Daniel thanks for the help with gdbserver, I got it running on my target board with strong arm Have also build the gdb with --target=arm-unknown-linux, gdb seems to have no idea about a symbol table. Is there anything I need to do while building/running gdb for arm. Do I need my arm app on the host side?? Here is the host side [root@localhost gdb]# ./gdb GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-unknown-linux". Setting up the environment for debugging gdb. .gdbinit:5: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) target remote 134.134.19.66:2345 Remote debugging using 134.134.19.66:2345 0x40001af0 in ?? () (gdb) b main No symbol table is loaded. Use the "file" command. (gdb) Target side # ./gdbserver 134.134.19.228:2345 testapp & Process testapp created; pid = 211 # Remote debugging from host 134.134.19.228 [1] 210 Exit 0 ./gdbserver 134.134.19.228:2345 testapp # # ./gdbserver 134.134.19.228:2345 testapp & # Process testapp created; pid = 214 # Remote debugging from host 134.134.19.228 Thanks once again for your help _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail