This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Re: target_ops.to_query() ?


>>>>> "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

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