Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@cygnus.com>
To: Andrew Volkov <Andrew.Volkov@transas.com>
Cc: Elena Zannoni <ezannoni@cygnus.com>,
	gdb-patches@sources.redhat.com, kazu@hxi.com
Subject: Re: [RFC/patch 5.1] change NUM_REALREGS to NUM_REGS
Date: Wed, 02 Jan 2002 08:58:00 -0000	[thread overview]
Message-ID: <15411.12546.359568.836560@localhost.localdomain> (raw)
In-Reply-To: <2E74F312D6980D459F3A05492BA40F8D61DB38@clue.transas.com>

Andrew Volkov writes:
 > The attached patch replace NUM_REALREGS macro to NUM_REGS, 
 > and NUM_REGS to NUM_REGS + NUM_PSEUDO_REGS.
 > 
 > I need this for H8300 maltiarching.
 > 
 > Any suggestions/comments ?
 > 
 > Andrey Volkov
 > 

Andrey,
You should also eliminate the definitions of the NUM_REALREGS macro.

One definition of that macro is in config/h8300/tm-h8300.h (defined to
10). Hmm, h8300-tdep.c defines NUM_REGS to 11, instead. Oh, and look(!)
config/tm-h8300.h defines NUM_REGS to 13.

You also compile remote-e7000.c when the target triplet is one of
sh-*-hms, sh-*-coff*, sh-*-elf*, sh-*-linux*. The definition of
NUM_REALREGS then comes from config/sh/tm-sh.h (in this case is 59).

Pretty messy. Maybe Kazu has some more insights on the h8300
definitions of NUM_REGS.

Elena


  reply	other threads:[~2002-01-02 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-27  9:02 Andrew Volkov
2002-01-02  8:58 ` Elena Zannoni [this message]
2002-01-10  6:03 Andrew Volkov

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=15411.12546.359568.836560@localhost.localdomain \
    --to=ezannoni@cygnus.com \
    --cc=Andrew.Volkov@transas.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kazu@hxi.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