binutils-gdb/gdb/mi
Simon Marchi 303a33faef 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.
2014-05-12 15:44:19 -04:00
..
ChangeLog-1999-2003
mi-cmd-break.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-break.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-catch.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-disas.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-env.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-file.c psymtab cleanup patch 3/3 2014-01-14 18:36:33 -08:00
mi-cmd-info.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-stack.c Extension Language API 2014-02-05 19:27:58 -08:00
mi-cmd-target.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmd-var.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmds.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-cmds.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-common.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-common.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-console.c mi: Use the value in mi_console_file->quote as the quoting character 2014-05-12 15:44:19 -04:00
mi-console.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-getopt.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-getopt.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-interp.c Avoid using the ISO C99 `z' formatted output modifier 2014-03-20 21:41:56 +00:00
mi-main.c Fix PR16508 2014-03-06 11:33:06 +08:00
mi-main.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-out.c constify ui_out_impl 2014-02-28 08:51:15 -07:00
mi-out.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-parse.c replace XMALLOC with XNEW 2014-01-13 07:31:28 -07:00
mi-parse.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-symbol-cmds.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00