[PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes
Hui Zhu
teawater@gmail.com
Fri Jul 19 07:29:00 GMT 2013
On Thu, Jul 18, 2013 at 9:42 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:
>
> Hui> With "call" or "fprintf".
> Hui> The dprintf is directly outputted by inferior. So the string is:
> Hui> "foobarbazqux" At foo entry
>
> Hui> But with others, the dprintf is outputted by GDB. So the string is:
> Hui> ~"\"foobarbazqux\" At foo entry\n"
>
> Hui> That is why I use different $foobarbazqux.
>
> Ah, ok, that makes sense. The patch is ok.
>
> Tom
Checked in http://sourceware.org/ml/gdb-cvs/2013-07/msg00090.html
Do you think this patch is OK for 7.6 branch?
Thanks,
Hui
More information about the Gdb-patches
mailing list