public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes
@ 2013-06-27 18:45 marc.khouzam at ericsson dot com
  2013-07-02  7:59 ` [Bug breakpoints/15692] " teawater at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-06-27 18:45 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug breakpoints/15692] -dprintf-insert does not accept double quotes
  2013-06-27 18:45 [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes marc.khouzam at ericsson dot com
@ 2013-07-02  7:59 ` teawater at gmail dot com
  2013-07-19  7:26 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: teawater at gmail dot com @ 2013-07-02  7:59 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |teawater at gmail dot com

--- Comment #1 from teawater <teawater at gmail dot com> ---
Reproduced in my part.

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


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

* [Bug breakpoints/15692] -dprintf-insert does not accept double quotes
  2013-06-27 18:45 [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes marc.khouzam at ericsson dot com
  2013-07-02  7:59 ` [Bug breakpoints/15692] " teawater at gmail dot com
@ 2013-07-19  7:26 ` cvs-commit at gcc dot gnu.org
  2014-01-10 16:08 ` marc.khouzam at ericsson dot com
  2014-01-10 16:08 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-07-19  7:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    teawater@sourceware.org    2013-07-19 07:26:46

Modified files:
    gdb            : ChangeLog 
    gdb/mi         : mi-cmd-break.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.mi: mi-dprintf.exp 

Log message:
    2013-07-19  Hui Zhu  <hui@codesourcery.com>

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

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

    PR gdb/15692
    * gdb.mi/mi-dprintf.exp: Add double quotes test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15810&r2=1.15811
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-break.c.diff?cvsroot=src&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3738&r2=1.3739
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-dprintf.exp.diff?cvsroot=src&r1=1.3&r2=1.4

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


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

* [Bug breakpoints/15692] -dprintf-insert does not accept double quotes
  2013-06-27 18:45 [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes marc.khouzam at ericsson dot com
  2013-07-02  7:59 ` [Bug breakpoints/15692] " teawater at gmail dot com
  2013-07-19  7:26 ` cvs-commit at gcc dot gnu.org
@ 2014-01-10 16:08 ` marc.khouzam at ericsson dot com
  2014-01-10 16:08 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2014-01-10 16:08 UTC (permalink / raw)
  To: gdb-prs

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

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #4 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
And now verified

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


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

* [Bug breakpoints/15692] -dprintf-insert does not accept double quotes
  2013-06-27 18:45 [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes marc.khouzam at ericsson dot com
                   ` (2 preceding siblings ...)
  2014-01-10 16:08 ` marc.khouzam at ericsson dot com
@ 2014-01-10 16:08 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2014-01-10 16:08 UTC (permalink / raw)
  To: gdb-prs

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

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.7

--- Comment #3 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
This should have been marked as Fixed.

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


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

end of thread, other threads:[~2014-01-10 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 18:45 [Bug breakpoints/15692] New: -dprintf-insert does not accept double quotes marc.khouzam at ericsson dot com
2013-07-02  7:59 ` [Bug breakpoints/15692] " teawater at gmail dot com
2013-07-19  7:26 ` cvs-commit at gcc dot gnu.org
2014-01-10 16:08 ` marc.khouzam at ericsson dot com
2014-01-10 16:08 ` marc.khouzam at ericsson dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).