Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Sevenbit-strings only partially respected?
@ 2010-10-09 19:26 Vladimir Prus
  2010-10-09 19:48 ` Vladimir Prus
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Prus @ 2010-10-09 19:26 UTC (permalink / raw)
  To: gdb


I've run into a situation where setting 'print sevenbit-strings' of off still 
does not prevent GDB from escaping some characters. Specifically,
consider the character 0xD0, and this bit in printchar:

  if (c < 0x20 ||		/* Low control chars */
      (c >= 0x7F && c < 0xA0) ||	/* DEL, High controls */
      (sevenbit_strings && c >= 0x80))
    {				/* high order bit set */

Apparently, the second condition fires and causes 0xD0 to be quoted. Is
this expected behaviour?

- Volodya


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

end of thread, other threads:[~2010-10-13  1:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09 19:26 Sevenbit-strings only partially respected? Vladimir Prus
2010-10-09 19:48 ` Vladimir Prus
2010-10-09 21:05   ` Eli Zaretskii
2010-10-12 17:44   ` Tom Tromey
2010-10-13  1:50     ` Tom Tromey

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