From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9516 invoked by alias); 18 Jul 2002 06:27:18 -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 9469 invoked from network); 18 Jul 2002 06:27:15 -0000 Received: from unknown (HELO web13502.mail.yahoo.com) (216.136.175.81) by sources.redhat.com with SMTP; 18 Jul 2002 06:27:15 -0000 Message-ID: <20020718062715.6968.qmail@web13502.mail.yahoo.com> Received: from [65.177.233.228] by web13502.mail.yahoo.com via HTTP; Wed, 17 Jul 2002 23:27:15 PDT Date: Wed, 17 Jul 2002 23:27:00 -0000 From: Alexei Minayev Subject: gdb-h8-stub To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00176.txt.bz2 Dear GDb knights, I'm confused. My gdb stub does not support binary downloads, but the gdb acts like it does. It starts downloading the program as usual: (gdb) set remotedebug 1 (gdb) load Loading section .text, size 0x160 lma 0x200000 Sending packet: $X200000,0:#10...Ack Packet received: binary downloading NOT suppported by target note here, the program starts at 0x200000, the gdb sends an 'X' packet with that address, but receives nothing back. It concludes there, that since the responce to 'X' is empty, binary download is not supported by target. But then, it sends a bunch of 'M' commands, which have addresses relative to the 0x200000 one. But the 0x200000 was sent to target with 'X', and the 'X' failed... Sending packet: $M0,28:01006df60ff67a370000001401006fe0fffc01006fe1fff81aa201006fe2fff41aa28a0201006fe2#74...Ack Packet received: OK Sending packet: $M28,28:fff01aa28a0501006fe2ffec01006f62fff401006f63fff00ab201006fe2ffec1a8088015e2000e4#54...Ack The question is, am I supposed to support the 'X' command anyway, and maintain a global "base" memory pointer, which would be set by the 'X' command? Just curious... Thanks Regards -- Alexei __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com