diff options
author | Simon Marchi <simon dot marchi at ericsson dot com> | 2014-04-26 18:10:40 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2014-05-12 15:44:19 -0400 |
commit | 303a33faef8fca9b26b18a02550541c5f61ace9e (patch) | |
tree | 25837001fe480eee140da67eba67ecf8cca3137d /binutils/windint.h | |
parent | 196100a019964c09588686553f3b6687f6e3fe15 (diff) | |
download | gdb-303a33faef8fca9b26b18a02550541c5f61ace9e.zip gdb-303a33faef8fca9b26b18a02550541c5f61ace9e.tar.gz gdb-303a33faef8fca9b26b18a02550541c5f61ace9e.tar.bz2 |
mi: Use the value in mi_console_file->quote as the quoting character
In mi_interpreter_init, multiple MI consoles/channels are created and a quoting
character is given. In mi_console_raw_packet, we check if the value is not 0
to decide if we should quote the string, but we don't use the value. It is
hardcoded to ". We might never use another quoting character than an actual
quote, but I suggest we change it, for correctness. There is not visible
behavior change.
I changed the latest fputs_unfiltered changed to fputc_unfiltered just to stay
consistent.
gdb/ChangeLog:
2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
* mi/mi-console.c (mi_console_raw_packet): Use the value from
mi_console->quote as the quoting character.
Diffstat (limited to 'binutils/windint.h')
0 files changed, 0 insertions, 0 deletions