This is the mail archive of the gdb-prs@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]

[Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes


http://sourceware.org/bugzilla/show_bug.cgi?id=15692

            Bug ID: 15692
           Summary: -dprintf-insert does not accept double quotes
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: marc.khouzam at ericsson dot com

I'm using the new -dprintf-insert MI command with HEAD of June 27th (today) and
I noticed that it does not accept double-quotes within the string.

A user may want to print something like:
  My name is "Marc"
which includes double quotes.

I tried
 -dprintf-insert 8 "My name is \Marc\""
 -dprintf-insert 8 "My name is \\Marc\\""
 -dprintf-insert 8 "My name is \\\Marc\\\""

Note that using the CLI form works:
   dprintf 8,"My name is \Marc\""

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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