This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH
>>>>> "Abhijit" == Abhijit Halder <abhijit.k.halder@gmail.com> writes:
Abhijit> How if we just put a condition check whether the entered string after
Abhijit> pipe (|) is numeric. [...]
(This was dealt with, but I just wanted to find a decent spot to insert
a reply.)
I was too terse yesterday. The big problem with any generic approach is
that GDB syntax is free-form: each command defines its own syntax. So,
for any syntax you think up, there is a decent chance that it already
means something to some command, or could.
This doesn't mean it is impossible, just difficult.
We already have "set logging". This isn't as convenient to use, but it
could certainly be extended to allow pipes.
There is also at least one PR about this in bugzilla.
Tom