aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-10 * Makefile.in: Add dependencies for remote-fileio.o.Corinna Vinschen1-0/+38
* remote-fileio.c: New file implementing the remote File-I/O protocol. * remote-fileio.h: New header file defining remote File-I/O interface. * remote.c (remote_write_bytes, remote_read_bytes): Remove static storage class. (remote_wait, remote_async_wait): Call remote_fileio_request() on 'F' packet. (_initialize_remote): Call initialize_remote_fileio(). * remote.h: Declare remote_write_bytes() and remote_read_bytes(). * Makefile.in (REMOTE_OBS): Add remote-fileio.o (SFILES): Add remote-fileio.c. Add dependencies for building remote-fileio.o. Add remote-fileio.h to dependencies for building remote.o. * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. (captured_main): Initialize new ui_files. * ui-file.c: Add read and fgets input functions. (ui_file_new): set ui_file_fputs and ui_file_read to null functions. (null_file_read): New function. (ui_file_read): New function. (set_ui_file_read): New function. (stdio_file_read): New function. * ui-file.h: New type ui_file_read_ftype. (set_ui_file_read): Declare. (ui_file_read): Declare.
2002-07-25 * ui-file.c (struct tee_file, tee_file_new, tee_file_delete)Daniel Jacobowitz1-0/+94
(tee_file_flush, tee_file_write, tee_file_fputs) (tee_file_isatty): New. * ui-file.h (tee_file_new): Add prototype.
2002-03-19* defs.h (XMALLOC): Define.Andrew Cagney1-4/+2
* 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.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-11/+21
internal_verror().
2000-12-15Replace free() with xfree().Kevin Buettner1-4/+4
2000-07-30Protoization.Kevin Buettner1-61/+26
2000-05-28PARAMS removal.Kevin Buettner1-2/+2
2000-03-302000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+1
* ui-file.c: Include "gdb_string.h" * cli-out.c: Include gdb_string.h to avoid compiler warnings. * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into unions, since they are all used to hold both pointers and ints at various times. Casting pointer to int and vice versa gives warnings (and is not safe) if they are not the same size.
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-0/+511