From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19513 invoked by alias); 3 Jun 2003 12:35:46 -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 19428 invoked from network); 3 Jun 2003 12:35:44 -0000 Received: from unknown (HELO smtp2.infineon.com) (194.175.117.77) by sources.redhat.com with SMTP; 3 Jun 2003 12:35:44 -0000 Received: from mucse011.eu.infineon.com (mucse011.ifx-mail1.com [172.29.27.228]) by smtp2.infineon.com (8.12.9/8.12.9) with ESMTP id h53CZDGL009151 for ; Tue, 3 Jun 2003 14:35:13 +0200 (MEST) Received: by mucse011.eu.infineon.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jun 2003 14:35:42 +0200 Message-ID: From: Amit.Lubovsky@infineon.com To: gdb@sources.redhat.com Subject: gdb-5.3 on mips Date: Tue, 03 Jun 2003 12:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" X-SW-Source: 2003-06/txt/msg00026.txt.bz2 Hi, I need some help in order to guide me where to start..., my target is mips running uClinux I have compiled gdb-5.3, gdbserver and gdb for the host, follows the output when I run gdb on the host, what happens is that I can't control the target process like setting breakpoints getting info and so on. any help will be appreciated. [test@dragun usr]$ /home/test/gdb/download/gdb-5.3/gdb/gdb demo.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=mipseb-linux-elf"... (gdb) set debug remote 1 (gdb) target remote 192.168.1.90:2345 Remote debugging using 192.168.1.90:2345 Sending packet: $Hc-1#09...Ack Packet received: OK Sending packet: $qC#b4...Ack Packet received: Sending packet: $qOffsets#4b...Ack Packet received: Sending packet: $?#3f...Ack Packet received: T0525:81190060;1d:8119ffa4; Sending packet: $Hg0#df...Ack Packet received: OK Sending packet: $g#67...Ack Packet received: 0000000081174790000000008117ff8c8117ffb88117ff848117ff8c00000000000001008117 47b000000000000000038116f820000002688114fc58000152688117ff848117ffb88117ffb8 000000038117ff7c811bff9c83f8fc0800000000000017708116dd8000000000000000028116 f8208119ffa4811ffe988116cae40000000000000000000000008010782c0080002081190060 7ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff8 00007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff80000 7ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff8 00007ff800007ff800007ff80000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000 0xffffffff81190060 in ?? () (gdb) b main Sending packet: $m400220,4#f5...Ack Packet received: 00000000 Breakpoint 1 at 0x400220 (gdb) n Cannot find bounds of current function (gdb) p The history is empty. (gdb) cont Continuing. ### remote_insert_breakpoint Sending packet: $Z0,400220,4#3e...Ack Packet received: Packet Z0 (software-breakpoint) is NOT supported Sending packet: $m400220,4#f5...Ack Packet received: 00000000 Sending packet: $X400220,0:#16...Ack Packet received: binary downloading NOT suppported by target Sending packet: $M400220,4:0005000d#c8...Ack Packet received: OK ### remote_resume Sending packet: $Hc0#db...Ack Packet received: OK Sending packet: $c#63...Ack from this poing the target process starts running. Thanks, Amit.