This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: yet another stub patch: further getpacket() refinement
- To: jtc@redback.com
- Subject: Re: yet another stub patch: further getpacket() refinement
- From: Stan Shebs <shebs@cygnus.com>
- Date: Tue, 31 Aug 1999 13:59:19 -0700
- CC: gdb-patches@sourceware.cygnus.com
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