This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH]: Fix gdb.mi/mi-regs.exp
> > Should there be similar tests for other architectures? If they are only
> > intended for sparc, shouldn't this file be called mi-sparc-regs.exp?
>
> There are "XXX" style comments in there suggesting that strings
> for other platforms should be added.
>
> It is a similar situation to gdb.base/float.exp, knowledgable people
> just have to get around to adding the per-target strings.
But these tests are for the MI interface. Register tests for specific
architectures could presumably go in gdb.base/regs.exp and tests in mi-regs.exp
could be more general e.g just check -data-list-register-names returns a list
of values, count them and use this information for tests on
-data-list-register-values.
Anyway, Daniel will approve your patch, I'm just thinking aloud.
--
Nick http://www.inet.net.nz/~nickrob