public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/14975] New: printf doesn't recognize \x escapes
@ 2012-12-19 14:33 tromey at redhat dot com
  2012-12-19 14:41 ` [Bug cli/14975] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-12-19 14:33 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14975
           Summary: printf doesn't recognize \x escapes
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


print understands \x escapes, but printf does not:

(gdb) print '\x41'
$1 = 65 'A'
(gdb) printf "\x41"
Unrecognized escape character \x in format string.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug cli/14975] printf doesn't recognize \x escapes
  2012-12-19 14:33 [Bug cli/14975] New: printf doesn't recognize \x escapes tromey at redhat dot com
@ 2012-12-19 14:41 ` tromey at redhat dot com
  2013-07-17 12:02 ` mbilal at codesourcery dot com
  2013-08-26 13:04 ` mbilal at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-12-19 14:41 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-12-19 14:41:00 UTC ---
This also fails:

(gdb) printf "\015"
Unrecognized escape character \0 in format string.

print and printf should use the same interpretation scheme.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug cli/14975] printf doesn't recognize \x escapes
  2012-12-19 14:33 [Bug cli/14975] New: printf doesn't recognize \x escapes tromey at redhat dot com
  2012-12-19 14:41 ` [Bug cli/14975] " tromey at redhat dot com
@ 2013-07-17 12:02 ` mbilal at codesourcery dot com
  2013-08-26 13:04 ` mbilal at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mbilal at codesourcery dot com @ 2013-07-17 12:02 UTC (permalink / raw)
  To: gdb-prs

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

hmb <mbilal at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mbilal at codesourcery dot com
           Assignee|unassigned at sourceware dot org   |mbilal at codesourcery dot com

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


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

* [Bug cli/14975] printf doesn't recognize \x escapes
  2012-12-19 14:33 [Bug cli/14975] New: printf doesn't recognize \x escapes tromey at redhat dot com
  2012-12-19 14:41 ` [Bug cli/14975] " tromey at redhat dot com
  2013-07-17 12:02 ` mbilal at codesourcery dot com
@ 2013-08-26 13:04 ` mbilal at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mbilal at codesourcery dot com @ 2013-08-26 13:04 UTC (permalink / raw)
  To: gdb-prs

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

hmb <mbilal at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|mbilal at codesourcery dot com     |unassigned at sourceware dot org

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


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

end of thread, other threads:[~2013-08-26 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-19 14:33 [Bug cli/14975] New: printf doesn't recognize \x escapes tromey at redhat dot com
2012-12-19 14:41 ` [Bug cli/14975] " tromey at redhat dot com
2013-07-17 12:02 ` mbilal at codesourcery dot com
2013-08-26 13:04 ` mbilal at codesourcery 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).