target_ops.to_query() ?

J.T. Conklin jtc@redback.com
Tue Aug 10 22:19:00 GMT 1999


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> Hello, Is anyone using any of:
Andrew>
Andrew> 	struct target_ops.to_query() remote_query()
Andrew> 	debug_to_query()
Andrew>
Andrew> As far as I can tell the code was a dead-end idea that was
Andrew> specific to a particular target (remote).  Even for that
Andrew> target, the implementation is dangerous - it encourages single
Andrew> letter ``q'' packet commands :-)

It appears that the new KOD (kernel object display) code that showed
up in yesterday's snapshot uses it.  However, there is nothing in that
code that can't be done better with user defined functions that grovel
through a given kernel's data structures.  As such, I can't see of a
reason why they both can't be removed.

        --jtc

-- 
J.T. Conklin
RedBack Networks


More information about the Gdb-patches mailing list