From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sourceware.org
Subject: Re: [BUG] MI: -target-download
Date: Tue, 20 Feb 2007 20:43:00 -0000 [thread overview]
Message-ID: <20070220200445.GA17693@caradoc.them.org> (raw)
In-Reply-To: <17883.21118.186472.960228@kahikatea.snap.net.nz>
On Wed, Feb 21, 2007 at 08:56:46AM +1300, Nick Roberts wrote:
>
> In current GDB, the MI command, -target-download, doesn't generate th MI
> ouptut as described in the manual. I think this is due to the change
> in load_progress (symfile.c) from 2006-09-21:
>
> if (bytes == 0 && args->section_sent == 0)
> {
> /* The write is just starting. Let the user know we've started
> this section. */
> ui_out_message (uiout, 0, "Loading section %s, size 0x%s lma 0x%s\n",
> args->section_name, paddr_nz (args->section_size),
> paddr_nz (args->lma));
> return;
> }
>
> where GDB returns before getting to deprecated_show_load_progress.
Which output, specifically, are you expecting and not getting? I
think I was careful not to change the output, but that it already
didn't match the manual, and there was something tricky about fixing
it (I don't remember quite what). Looking at it now, though, I don't
see anything wrong with the output.
+download,{section=".interp",section-size="19",total-size="76849"}
+download,{section=".interp",section-sent="19",section-size="19",total-sent="19",total-size="76849"}
+download,{section=".note.ABI-tag",section-size="32",total-size="76849"}
+download,{section=".hash",section-size="828",total-size="76849"}
+download,{section=".dynsym",section-size="1728",total-size="76849"}
...
+download,{section=".data",section-size="268",total-size="76849"}
^done,address="0x8049ae0",load-size="75777",transfer-rate="5051800",write-rate="459"
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-02-20 20:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 20:22 Nick Roberts
2007-02-20 20:43 ` Daniel Jacobowitz [this message]
2007-02-20 21:15 ` Nick Roberts
2007-02-20 23:13 ` Daniel Jacobowitz
2007-02-21 0:54 ` Nick Roberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070220200445.GA17693@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox