Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: [BUG] MI: -target-download
Date: Tue, 20 Feb 2007 21:15:00 -0000	[thread overview]
Message-ID: <17883.22670.460918.432930@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20070220200445.GA17693@caradoc.them.org>

 > Which output, specifically, are you expecting and not getting?

All of it.  I just get the CLI output.  I should say this is GDB 6.6.

 >                                                                 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"

I don't get this at all.  I was testing cross-debugging (target=arm-elf,
host=i386-redhat-linux-gnu) and used the builtin simulator:

install/bin/arm-elf-gdb -i=mi hello1
~"GNU gdb 6.6\n"
~"Copyright (C) 2006 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n "
~"welcome to change it and/or distribute copies of it under certain conditions.\ n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\ n"
~"This GDB was configured as \"--host=i686-pc-linux-gnu --target=arm-elf\"...\n"
(gdb)
-target-select sim
~"Connected to the simulator.\n"
^connected
(gdb)
-target-download
~"Loading section .init, size 0x20 vma 0x8000\n"
~"Loading section .text, size 0x8c18 vma 0x8020\n"
~"Loading section .fini, size 0x1c vma 0x10c38\n"
~"Loading section .rodata, size 0x238 vma 0x10c54\n"
~"Loading section .eh_frame, size 0x4 vma 0x10e8c\n"
~"Loading section .ctors, size 0x8 vma 0x10f90\n"
~"Loading section .dtors, size 0x8 vma 0x10f98\n"
~"Loading section .jcr, size 0x4 vma 0x10fa0\n"
~"Loading section .data, size 0x948 vma 0x10fa4\n"
~"Start address 0x8100\n"
~"Transfer rate: 311136 bits in <1 sec.\n"
^done
(gdb)



-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2007-02-20 20:22 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
2007-02-20 21:15   ` Nick Roberts [this message]
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=17883.22670.460918.432930@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /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