public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "David Mc Kenna" <mckennad@esatclear.ie>
To: Andrew Cagney <ac131313@cygnus.com>,
	mckennad@esatclear.ie, Keith Seitz <keiths@redhat.com>,
	insight@sources.redhat.com
Subject: Re: Adding Registers
Date: Thu, 14 Feb 2002 04:32:00 -0000	[thread overview]
Message-ID: <3c948824.1980.0@esatclear.ie> (raw)

Thanks for the help.

A few more questions. Andrew refers to the internal number of each register.
I am dealing with a memory mapped register and as such it has no number, how
is this dealt with in the functions.

Also I have not found were the registers are written, I have gotten as far as


void
gdbarch_register_write (struct gdbarch *gdbarch, int regnum, char *buf)
{
  if (gdbarch->register_write == 0)
    internal_error (__FILE__, __LINE__,
                    "gdbarch: gdbarch_register_write invalid");
  if (gdbarch_debug >= 2)
    fprintf_unfiltered (gdb_stdlog, "gdbarch_register_write called\n");
  gdbarch->register_write (gdbarch, regnum, buf);
}

from gdbarch.c .

Were do I go from here?

Any help is greatly appreciated,
Dave Mc Kenna
--
http://www.iol.ie

             reply	other threads:[~2002-02-14 12:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14  4:32 David Mc Kenna [this message]
2002-02-14  7:03 ` Duane Ellis
2002-02-14  7:39   ` Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2002-02-13  3:40 David Mc Kenna
2002-02-13  6:49 ` Duane Ellis
2002-02-13 10:05 ` Andrew Cagney
2002-02-12  6:27 David Mc Kenna
2002-02-12  7:17 ` Duane Ellis
2002-02-12  8:58   ` Keith Seitz
2002-02-12 19:26     ` 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=3c948824.1980.0@esatclear.ie \
    --to=mckennad@esatclear.ie \
    --cc=ac131313@cygnus.com \
    --cc=insight@sources.redhat.com \
    --cc=keiths@redhat.com \
    /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).