From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22881 invoked by alias); 14 Jul 2002 05:58:09 -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 22867 invoked from network); 14 Jul 2002 05:58:03 -0000 Received: from unknown (HELO web13505.mail.yahoo.com) (216.136.175.84) by sources.redhat.com with SMTP; 14 Jul 2002 05:58:03 -0000 Message-ID: <20020714055803.62733.qmail@web13505.mail.yahoo.com> Received: from [63.184.9.211] by web13505.mail.yahoo.com via HTTP; Sat, 13 Jul 2002 22:58:03 PDT Date: Sat, 13 Jul 2002 22:58:00 -0000 From: Alexei Minayev Subject: gdb-h8-stub... please help. To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00147.txt.bz2 Dear GDB gurus, I'm new to this list, and I'd appreciate your expertise. I'm developing a gdb-stub for a Hitachi platform. I'm done with the hardware part, but my stub and the gdb have problem understanding each other. I compile my test program and fire up the gdb... (gdb) set remotedebug 1 (gdb) load ... Start address 0x200144 , load size 352 Sending packet: $P9=00200144#51...Ack Packet received: OK Transfer rate: 2816 bits in <1 sec. (gdb) b main Sending packet: $m0,2#fb...Ack Packet received: 0000 Sending packet: $m0,2#fb...Ack Packet received: 0000 Breakpoint 1 at 0x200018: file hello.c, line 10. (gdb) step Cannot find bounds of current function (gdb) cont Continuing. Sending packet: $m18,2#34...Ack Packet received: 0000 binary downloading NOT suppported by target Sending packet: $M18,2:5730#1d...Ack Packet received: OK Sending packet: $Hc0#db...Ack Packet received: Sending packet: $c#63...putpkt: Junk: @ Timed out. Packet received: S05 Sending packet: $c#63...putpkt: Junk: Timed out. end quote. I would appreciate any light that you can shine on this. Do I need to patch GDB? Do I need to process binary downloading (I don't do it now)? Add extra cases to my command switch? Thanks a lot! Regards -- Alexei __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com