public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Duane Ellis <duane@topaz.franklin.com>
To: mckennad@esatclear.ie
Cc: gdb@sources.redhat.com, insight@sources.redhat.com
Subject: Re: Writing to Memory and Page Alignment
Date: Thu, 07 Aug 2003 12:06:00 -0000	[thread overview]
Message-ID: <200308071206.h77C6q010103@europa.franklin.com> (raw)
In-Reply-To: <3f322bad.5564.0@esatclear.ie> (mckennad@esatclear.ie)


>> Is it possible to force gdb to write data to a target in a page
   aligned ( boundary ) manner?

Yes - Use the Source Luke.

Not sure what you mean by $MF0,40 .. and $MF0,10

But -- ignoring that.

I presume you are using GDB remote in some form.

Look at the low level target read/write memory functions.

Example: "gdb/target.c - look at target_xfer_memory()"

Make your changes there - or what ever is the appropriate
target file(s) for your target. & build.

-Duane.

  reply	other threads:[~2003-08-07 12:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-07 10:36 David Mc Kenna
2003-08-07 12:06 ` Duane Ellis [this message]
2003-08-07 13:53 ` Daniel Jacobowitz
2003-08-07 12:19 David Mc Kenna

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=200308071206.h77C6q010103@europa.franklin.com \
    --to=duane@topaz.franklin.com \
    --cc=gdb@sources.redhat.com \
    --cc=insight@sources.redhat.com \
    --cc=mckennad@esatclear.ie \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).