This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]