yet another stub patch: further getpacket() refinement

Stan Shebs shebs@cygnus.com
Tue Aug 31 13:59:00 GMT 1999


   From: jtc@redback.com (J.T. Conklin)
   Date: 31 Aug 1999 11:54:31 -0700

   The enclosed patch changes getpacket() such that the implementation of
   the input buffer is hidden from handle_exception().  This gives users
   the freedom to change getpacket() however necessary without effecting
   the rest of the stub.

Probably the original theory of the argument to getpacket is that
multiple callers could pass different buffers at different times, but
in practice there's too much context involved to make that realistic,
even if one could think of an actual use... I'll put this in.  Thanks!

								Stan


More information about the Gdb-patches mailing list