Daniel Jacobowitz
0fac0b4199
./
...
* cli/cli-logging.c: New file.
* cli-out.c (struct ui_out_data): Add original_stream.
(cli_redirect): New function.
(cli_ui_out_impl): Add cli_redirect.
(cli_out_new): Initialize original_stream.
* ui-out.c (default_ui_out_impl): Add NULL for redirect member.
(uo_redirect, ui_out_redirect): New.
* ui-out.h (struct ui_out_impl): Add redirect member.
(redirect_ftype): New.
(ui_out_redirect): Add prototype.
* Makefile.in: Add rules for cli-logging.c.
* NEWS: Mention "set logging".
mi/
* mi-out.c (mi_ui_out_impl): Add NULL for redirect member.
tui/
* tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
doc/
* gdb.texinfo (Logging output): New chapter.
2003-06-28 16:19:07 +00:00
Andrew Cagney
1248ede26c
Index: ChangeLog
...
2003-03-08 Andrew Cagney <cagney@redhat.com>
* cli-out.c: Update copyright.
(cli_out_data): Define typedef. Use instead of ui_out_data.
Index: mi/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* mi-out.c: Update copyright.
(mi_out_data): Define typedef. Use instead of ui_out_data.
Index: tui/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Update copyright.
(tui_out_data): Define typedef. Use instead of ui_out_data.
2003-03-08 20:04:27 +00:00
Andrew Cagney
da0f9dcdbe
2002-10-01 Andrew Cagney <ac131313@redhat.com>
...
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
and that "mi0" syntax has been removed.
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Mode Options): Update --interpreter option. "mi2"
and "mi1" instead of "mi1" and "mi0".
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* mi-main.c (mi2_command_loop): New function.
(mi0_command_loop): Delete function.
(_initialize_mi_main): Recognize, and default to, "mi2". Do not
recognize "mi0".
* mi-out.c (mi_table_begin): Remove mi0 code.
(mi_table_body, mi_table_end): Ditto.
(mi_table_header, mi_open, mi_close): Ditto.
2002-10-01 21:15:43 +00:00
Andrew Cagney
c7ec4050c5
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* mi-out.c (mi_version): New function.
* mi-out.h (mi_version): Declare.
2002-09-30 20:18:52 +00:00
Andrew Cagney
349c5d5f6c
* defs.h (XMALLOC): Define.
...
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.
* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Mark Kettenis
bf702e7ee8
* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
...
created `struct ui_out_data'.
2001-07-09 22:19:50 +00:00
Kevin Buettner
4671219147
Make function declarators match function declarations.
2001-07-09 05:53:44 +00:00
Andrew Cagney
9dc5e2a936
Replace:
...
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0)
with:
if (ui_out_is_mi_like_p (uiout))
2001-07-06 03:53:11 +00:00
Andrew Cagney
cff22675c6
For MI>0, output full breakpoint table header information. Output the
...
breakpoint table body as a list.
2001-06-27 17:27:08 +00:00
Andrew Cagney
76fe6b98e8
* mi-out.c (struct ui_out_data): Replace field first_header with
...
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.
2001-06-21 19:27:50 +00:00
Andrew Cagney
a7c14aa534
Output ``[]'' when a list.
2001-06-21 16:15:20 +00:00
Andrew Cagney
b25959ec59
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
...
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup. Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.
2001-06-21 15:39:54 +00:00
Andrew Cagney
d63f1d40c6
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
...
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.
2001-06-19 16:19:16 +00:00
Andrew Cagney
b30bf9ee99
Recognize -i=mi0, -i=mi1 and -i=mi.
2001-06-18 17:57:43 +00:00
Andrew Cagney
59807497db
s/supress/suppress/
2001-06-11 21:54:04 +00:00
Andrew Cagney
d5e8ba6212
Move supress_field_separator logic into mi_open() and mi_close().
2001-06-10 01:16:14 +00:00
Andrew Cagney
e2e11a4195
Make char *, const char *.
2001-06-10 00:22:41 +00:00
Andrew Cagney
5a9aa5dc6f
Output ``[...]'' when a list.
2001-05-14 16:59:49 +00:00
Andrew Cagney
666547aa9e
s/ui_out_list/ui_out_tupple/
2001-05-12 04:08:24 +00:00
Andrew Cagney
9a0f0643ee
Pass the tupple/list parameter.
2001-05-10 22:32:26 +00:00
Andrew Cagney
631ec795c9
Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().
2001-05-09 01:33:10 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Kevin Buettner
fba45db2fa
Protoization.
2000-07-30 01:48:28 +00:00
Kevin Buettner
a14ed312fd
PARAMS removal.
2000-05-28 01:12:42 +00:00
Andrew Cagney
10adc9b50e
Rename mi/ChangeLog-mi -> mi/ChangeLog
2000-05-16 05:07:53 +00:00
Andrew Cagney
ab91fdd5f8
Fix copyright - Cygnus is a Red Hat company.
2000-02-23 06:19:22 +00:00
Andrew Cagney
fb40c20903
Add mi/ and testsuite/gdb.mi/ subdirectories.
...
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
2000-02-23 00:25:43 +00:00