This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR 1535
>>>>> "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