This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, the following patch is the implementation of File-I/O as proposed in http://sources.redhat.com/ml/gdb/2002-11/msg00107.html This implementation doesn't include the changes to gdbtk which are required to get Console I/O working in the GUI. These will follow at a later time. Note that this patch requires also the patch send in the message http://sources.redhat.com/ml/gdb-patches/2002-11/msg00351.html Corinna 2002-11-21 Corinna Vinschen <vinschen@redhat.com> * remote.c (remote_fileio_sig_init, remote_fileio_sig_set, remote_fileio_sig_exit, remote_fileio_write_bytes, remote_fileio_to_fio_timeval, remote_fileio_func_gettimeofday, remote_fileio_mode_to_target, remote_fileio_ctrl_c_signal_handler, remote_fileio_init_fd_map, remote_fileio_resize_fd_map, remote_fileio_next_free_fd, remote_fileio_fd_to_targetfd, remote_fileio_map_fd, remote_fileio_close_target_fd, remote_fileio_is_stdio, remote_fileio_oflags_to_host, remote_fileio_mode_to_host, remote_fileio_errno_to_target, remote_fileio_seek_flag_to_host, remote_fileio_extract_long, remote_fileio_extract_int, remote_fileio_extract_ptr_w_len, remote_fileio_to_be, remote_fileio_to_fio_int, remote_fileio_to_fio_uint, remote_fileio_to_fio_mode, remote_fileio_to_fio_time, remote_fileio_to_fio_long, remote_fileio_to_fio_ulong, remote_fileio_to_fio_stat, remote_fileio_reply, remote_fileio_ioerror, remote_fileio_badfd, remote_fileio_return_errno, remote_fileio_return_success, remote_fileio_func_open, remote_fileio_func_close, remote_fileio_func_read, remote_fileio_func_write, remote_fileio_func_lseek, remote_fileio_func_rename, remote_fileio_func_unlink, remote_fileio_func_stat, remote_fileio_func_fstat, remote_fileio_request, remote_fileio_func_system, set_system_call_allowed, do_remote_fileio_request, show_system_call_allowed): New functions. (remote_wait, remote_async_wait): Call remote_fileio_request() on 'F' packet. (_initialize_remote): Add "set remote system-call-allowed" and "show remote system-call-allowed" commands to the UI. 2002-11-21 Martin M. Hunt <hunt@redhat.com> * 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. (null_file_fgets): New function. (ui_file_read): New function. (ui_file_fgets): New function. (set_ui_file_read): New function. (set_ui_file_fgets): New function. (stdio_file_read): New function. (stdio_file_fgets): New function. * ui-file.h: New types ui_file_read_ftype and ui_file_fgets_ftype. (set_ui_file_read): Declare. (set_ui_file_fgets): Declare. (ui_file_read): Declare. (ui_file_fgets): Declare. -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com
Attachment:
fileio.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |