This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore.
On Nov 29, 4:45pm, Andrew Cagney wrote:
> I suspect a few more targets could do with the same treatment.
> Eliminating that hardwired regmap[] would probably help a few more targets.
Perhaps. But, I think each target better have good reasons for doing
so before undertaking such a transformation. Replacing the hardwired
regmap[] with a function with the same constants hardwired into it
doesn't accomplish much (aside from slowing things somewhat).
Kevin