From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3569 invoked by alias); 20 Feb 2007 20:43:36 -0000 Received: (qmail 3552 invoked by uid 22791); 20 Feb 2007 20:43:34 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 20 Feb 2007 20:43:23 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HJbpZ-0007u4-0I; Tue, 20 Feb 2007 15:43:21 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HJbpY-0005Hp-FI; Tue, 20 Feb 2007 15:43:20 -0500 Date: Tue, 20 Feb 2007 23:13:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb@sourceware.org Subject: Re: [BUG] MI: -target-download Message-ID: <20070220204320.GA19991@caradoc.them.org> Mail-Followup-To: Nick Roberts , gdb@sourceware.org References: <17883.21118.186472.960228@kahikatea.snap.net.nz> <20070220200445.GA17693@caradoc.them.org> <17883.22670.460918.432930@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17883.22670.460918.432930@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00215.txt.bz2 On Wed, Feb 21, 2007 at 09:22:38AM +1300, Nick Roberts wrote: > All of it. I just get the CLI output. I should say this is GDB 6.6. Hmm. I tested several versions from GDB 6.3.90 through CVS HEAD and they all worked. I was using gdbserver, though - load works just well enough with it to test GDB, though don't try to run the result. This looks specific to the simulator. Take a look at sim/common/sim-load.c: if (verbose_p) { xprintf (callback, "Loading section %s, size 0x%lx %s ", bfd_get_section_name (result_bfd, s), (unsigned long) size, (lma_p ? "lma" : "vma")); xprintf_bfd_vma (callback, lma); xprintf (callback, "\n"); } Whoops. It's got its own copy, it isn't using the GDB load routine at all. -- Daniel Jacobowitz CodeSourcery