This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Revise REGISTER_SIM_REGNO()


> +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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]