This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Revise REGISTER_SIM_REGNO()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 20 May 2002 00:35:24 -0400
- Subject: Re: [patch/rfc] Revise REGISTER_SIM_REGNO()
- References: <3CE19430.8030201@cygnus.com>
> +enum {
> + /* Normal sane architecture. The corresponding register cache
> + entry is zero filled and the register is marked as unavailable. */
> + SIM_REGNO_UNAVAILABLE = -1,
Does:
SIM_REGNO_DNE = -1,
sound better?
For the moment remote-sim.c would mark the register as unavailable
(fixme comment). At least, though, the name is right.
> + /* For possible backward compatibility. The register cache doesn't
> + have a corresponding name. Skip the register entirely. */
> + LEGACY_SIM_REGNO_IGNORE = -2
> +};
Andrew