Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes
@ 2013-07-02 13:31 Hui Zhu
  2013-07-02 14:44 ` Yao Qi
  0 siblings, 1 reply; 13+ messages in thread
From: Hui Zhu @ 2013-07-02 13:31 UTC (permalink / raw)
  To: gdb-patches ml

Hi,

I found this issue because mi_argv_to_format doesn't handle double
quotes.  So I make a patch to add it.

Thanks,
Hui

2013-07-02  Hui Zhu  <hui@codesourcery.com>

	PR gdb/15692
	mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes.

--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -128,6 +128,9 @@ mi_argv_to_format (char **argv, int argc
 	case '\v':
 	  obstack_grow (&obstack, "\\v", 2);
 	  break;
+	case '"':
+	  obstack_grow (&obstack, "\\\"", 2);
+	  break;
 	default:
 	  if (isprint (argv[0][i]))
 	    obstack_grow (&obstack, argv[0] + i, 1);


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-07-24  1:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 13:31 [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes Hui Zhu
2013-07-02 14:44 ` Yao Qi
2013-07-03  8:42   ` Hui Zhu
2013-07-03 10:55     ` Yao Qi
2013-07-03 12:03       ` Hui Zhu
2013-07-03 13:09         ` Yao Qi
2013-07-07  5:54           ` Hui Zhu
2013-07-10 17:03             ` Tom Tromey
2013-07-18 12:58               ` Hui Zhu
2013-07-18 13:42                 ` Tom Tromey
2013-07-19  7:29                   ` Hui Zhu
2013-07-23 19:04                     ` Tom Tromey
2013-07-24  1:56                       ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox