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: Tom Tromey <tromey at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 18 Jul 2013 07:42:42 -0600
- 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>
>>>>> "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