This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MDI: testsuite support
On Tue, 26 Feb 2008, Daniel Jacobowitz wrote:
> > Note I mean these commands are really obscure and are used things like to
> > peek or poke at TLB entries and cache lines "through a back door", so I
> > gather whoever is skilled enough to dare would know what they are doing
> > and get used to whatever the commands are called. In fact hardly anybody
> > uses them as proved by an embarrasing bug I fixed a while ago somewhere in
> > this area. ;-) They are occasionally useful for stuff like debugging
> > system bringup issues, weird cache corruption problems and suchlike.
>
> This is the sort of thing that makes me wish all our targets used
> "target remote". MDI isn't the only target interface that offers this
> sort of thing, and it would be nice to have the enforced abstraction
> barrier; that would make it easier to support the same thing,
> consistently, on other targets. Anyway, an example for MDI will
> be almost as useful in practice.
I am certainly not against it, but it would take a while. Porting all
the stuff the MDI target supports to the remote framework is considerable
amount of work and it would be nice to have something working till then,
for a reference e.g. to compare regression test results against if nothing
else.
Maciej