This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes
- From: Hui Zhu <teawater at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 19 Jul 2013 15:28:22 +0800
- Subject: Re: [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes
- References: <CANFwon1gnBtdU2jbrZ9bCVuF3dMPAY2syeB1oMBXE1x4PSDLNA at mail dot gmail dot com> <51D2E749 dot 9020604 at codesourcery dot com> <CANFwon34nGekzdhGMA4=-0_1n_5CQ2jnxeq8bo8SjLU5e4wP-g at mail dot gmail dot com> <51D4030F dot 6070000 at codesourcery dot com> <CANFwon23=5E8DH4KHK0jMU+ZP33DtEzZNFQpYOQDzUq+oo80QQ at mail dot gmail dot com> <51D42272 dot 20209 at codesourcery dot com> <CANFwon0GvGudzY2=LuROho=kSWY7bjv0dPE=GxZWjmhOrtC1xQ at mail dot gmail dot com> <87r4f6gxfn dot fsf at fleche dot redhat dot com> <CANFwon2EcxGLbhuiBpcQuvsqMFOsQSO85CB0ZAtn42VpdLWzKw at mail dot gmail dot com> <87hafsc7cd dot fsf at fleche dot redhat dot com>
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