This is the mail archive of the gdb-patches@sourceware.org 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]: Fix gdb.mi/mi-regs.exp


On Mon, Apr 10, 2006 at 12:20:41AM -0700, David S. Miller wrote:
> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Mon, 10 Apr 2006 19:05:07 +1200
> 
> > 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.
> 
> In the long term that's probably a good idea.

mi-regs.exp should check "the registers are internally consistent
and sane".  It could encode knowledge of which registers must be
present, or not; it works either way...

This will definitely need a refresh if my XML-based description work is
merged to trunk, since the register ordering may then be up to the
target.

-- 
Daniel Jacobowitz
CodeSourcery


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