mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
* p-lang.c (pascal_one_char): Do not restrict C to 0..255 range.
This commit is contained in:
parent
711e434b39
commit
9b79b476a6
@ -1,3 +1,7 @@
|
||||
2010-04-16 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* p-lang.c (pascal_one_char): Do not restrict C to 0..255 range.
|
||||
|
||||
2010-04-16 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
Support for Windows OS Thread Information Block.
|
||||
|
@ -158,9 +158,7 @@ static void
|
||||
pascal_one_char (int c, struct ui_file *stream, int *in_quotes)
|
||||
{
|
||||
|
||||
c &= 0xFF; /* Avoid sign bit follies */
|
||||
|
||||
if ((c == '\'') || (PRINT_LITERAL_FORM (c)))
|
||||
if (c == '\'' || ((unsigned int) c <= 0xff && (PRINT_LITERAL_FORM (c))))
|
||||
{
|
||||
if (!(*in_quotes))
|
||||
fputs_filtered ("'", stream);
|
||||
|
Loading…
Reference in New Issue
Block a user