Go to file
Daniel Jacobowitz a6b151f187 * remote.c (remote_cmdlist): New variable.
(PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite)
	(PACKET_vFile_close, PACKET_vFile_unlink): New constants.
	(remote_buffer_add_string, remote_buffer_add_bytes)
	(remote_buffer_add_int, remote_hostio_parse_result)
	(remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite)
	(remote_hostio_pread, remote_hostio_close, remote_hostio_unlink)
	(remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup)
	(remote_hostio_close_cleanup, remote_file_put, remote_file_get)
	(remote_file_delete, remote_put_command, remote_get_command)
	(remote_delete_command, remote_command): New functions.
	(_initialize_remote): Register new packets and commands.
	* Makefile.in (gdb_fileio_h): New variable.
	(remote.o): Update.
	(SUBDIR_MI_OBS): Add mi-cmd-target.o.
	(SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c.
	(mi-cmd-target.o): New rule.
	* mi/mi-cmd-target.c: New file.
	* mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get,
	and target-file-put.
	* mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put)
	(mi_cmd_target_file_delete): Declare.
	* remote.h (remote_file_put, remote_file_get, remote_file_delete):
	Declare.
	* NEWS: Describe new file transfer support.

	* gdb.texinfo (Debugging Programs with Multiple Processes): Correct
	formatting.
	(Remote Debugging): Add File Transfer section.
	(Remote Configuration): Document Host I/O packets.
	(GDB/MI): Add GDB/MI File Transfer Commands section.
	(Remote Protocol): Add Host I/O Packets section.
	(Packets): Add vFile.

	* Makefile.in (OBS): Add hostio.o.
	(hostio.o): New rule.
	* server.h (handle_vFile): Declare.
	* hostio.c: New file.
	* server.c (handle_v_requests): Take packet_len and new_packet_len
	for binary packets.  Call handle_vFile.
	(main): Update call to handle_v_requests.

	* gdb.server/file-transfer.exp, gdb.server/transfer.txt,
	gdb.mi/mi-file-transfer.exp: New.
2007-11-30 21:50:19 +00:00
bfd bfd/ 2007-11-30 09:01:35 +00:00
binutils bfd/ 2007-11-29 12:23:44 +00:00
config * tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls. 2007-10-16 10:45:50 +00:00
cpu * cris.cpu (movs, movu): Use result of extension operation when 2007-10-22 16:04:43 +00:00
elfcpp From Craig Silverstein: Implement section_info. 2007-11-09 23:18:16 +00:00
etc
gas bfd/ 2007-11-29 12:23:44 +00:00
gdb * remote.c (remote_cmdlist): New variable. 2007-11-30 21:50:19 +00:00
gold From Craig Silverstein: Add support for compressing .debug_str section. 2007-11-30 00:35:27 +00:00
gprof gas/ 2007-10-24 16:45:53 +00:00
include bfd/ 2007-11-29 12:23:44 +00:00
intl
ld * elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps. 2007-11-28 13:04:18 +00:00
libdecnumber merge from gcc 2007-10-31 18:37:19 +00:00
libiberty merge from gcc 2007-11-13 15:12:42 +00:00
opcodes bfd/ 2007-11-29 12:23:44 +00:00
readline
sim * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak 2007-11-08 22:12:27 +00:00
texinfo
.cvsignore
ChangeLog 2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-11-29 15:36:39 +00:00
compile
config-ml.in 2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-11-29 15:36:39 +00:00
config.guess
config.rpath
config.sub
configure * configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags 2007-10-08 09:30:35 +00:00
configure.ac * configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags 2007-10-08 09:30:35 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS * src-release (GDB_SUPPORT_DIRS): Add libdecnumber. 2007-10-11 18:15:02 +00:00
Makefile.def PR gdb/2336 2007-10-23 12:34:18 +00:00
Makefile.in PR gdb/2336 2007-10-23 12:34:18 +00:00
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release * src-release (GDB_SUPPORT_DIRS): Add libdecnumber. 2007-10-11 18:15:02 +00:00
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.