RFA: fix PR 1535

Tom Tromey tromey@redhat.com
Thu Aug 14 18:00:00 GMT 2008


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

Daniel> Something like this: add_catch_command which takes normal
Daniel> add_cmd-like arguments and adds the command to both catch and
Daniel> tcatch.

No problem, I'll do this.

The thing is, we still need two versions of each function, because
AFAIK there is no way to pass a bit of "user data" along with a
command callback.  This is a minor inconvenience of course -- though I
seem to run into it quite a bit.

Daniel> A single, manually written "catch_unimplemented" for the
Daniel> unimplemented commands - or just remove them, what value do
Daniel> they add?

I did not want to change this at all, basically to keep the patch
focused on one thing.  But I agree, these non-functioning commands are
pointless.  I'll go ahead and remove them.

Tom



More information about the Gdb-patches mailing list