Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: "Hylla, Kai" <hylla.k@atlas.de>
Cc: gdb@sources.redhat.com
Subject: Re: Problems with load
Date: Thu, 28 Aug 2003 20:12:00 -0000	[thread overview]
Message-ID: <3F4E6220.1000908@redhat.com> (raw)
In-Reply-To: <E3DFC065C0C04D40BFD9DE229C77A1DC1C0E25@mssrv03.atlas.de>

> Hi!
> 
> The sections are loaded. The error is not, that a hole section isn't
> loaded. Instead contain the loaded sections byte errors. It seems that
> some bytes aren't written. The debug messages are all OK.
> 
> As I said before <set *(char*)> and <set *(short*)> aren't working
> either. 
> 
> One of the load debug messages is :
> 
> Sending packed: $x14000d4,314:8\000[snip] where
> X14000d4   is the address where the data is written to and
> 314        is the size of the block which will be written, right?
> 
> Is there a possibility to change the minimum block size? I.e. limit it
> to 4 bytes? I think that this will solve the problem...

Not really.  You could combinations of:

(gdb) set remote X-packet off
(gdb) set download-write-size <something>

> It seems that the target can't handle packages who write data where the
> data isn't 4 Byte aligned.

Ah.  That doesn't leave GDB with much it can do :-(

I'm not sure how complete the "mem" command is.

Andrew



  reply	other threads:[~2003-08-28 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27 15:00 Hylla, Kai
2003-08-28 20:12 ` Andrew Cagney [this message]
2003-08-29  1:59   ` Peter Reilley
  -- strict thread matches above, loose matches on Subject: below --
2003-08-27  7:19 Hylla, Kai
2003-08-27 14:32 ` Andrew Cagney

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=3F4E6220.1000908@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=hylla.k@atlas.de \
    /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