Go to file
Christopher Faylor 84c7d40932 * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
the changes below.  Redefine process structure to avoid a fixed size table.
Redefine pinfo/_pinfo classes.  Use these throughout.
* dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change.
(__api_fatal): Accomodate _pinfo::record_death argument change.
* exceptions.cc (really_exit): Ditto.
(sig_handle_tty_stop): Use pinfo constructor to access process info.
(events_init): Don't create pinfo_mutex since it is no longer required.
* external.cc (fillout_pinfo): Use winpids class to iterate over all system
pids.
(cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops.
* fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to
access process info.
* fork.cc (fork): Reorganize to initialize child info after the child has
started since that is when we know the child's winpid, which is necessary to
allocate the pinfo shared memory.
* mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo.
* pinfo.cc: Rename pinfo methods to _pinfo throughout.  Eliminate pinfo_list
stuff.
(set_myself): Accept a pid argument now.  Call pinfo initializer to initialize
myself.  Detect when this is an "execed" process and create an "indirect" pid
block.
(pinfo_init): Accomodate set_myself arg change.
(procinfo): Remove.
(pinfo::lock_pinfo): Remove.
(pinfo::unlock_pinfo): Remove.
(pinfo::init): New method.  Allocates shared memory space for process pinfo
structure.
(pinfo::record_death): Don't call locking functions.
(cygwin_winpid_to_pid): Simplify by using new pinfo constructor.
(EnumProcessesW95): New function for iterating over processes on Windows 95.
(winpids::winpids): New constructor for winpids class.  Sets up a list of
process ids.
(enum_init): Initialize w95/wnt pid enumerators.
* shared.cc (shared-info::initialize): Remove pid initialization.
* shared.h: Move pinfo stuff into pinfo.h.
(class shared_info): Remove pinfo_list element.
* signal.cc (kill_worker): Use pinfo constructor to access process info.
(kill_pgrp): Ditto.  Use winpids methods to access list of processes.
* sigproc.cc: Throughout, modify to use _pinfo where appropriate.
(proc_exists (pid_t)): New function.  Determines if a process exists based on
the pid.
(proc_exists (_pinfo *p): Use new proc_exists function above.
(proc_subproc): Copy pinfo stuff around rather than _pinfo pointers.  Try to be
careful about releasing shared memory when we don't need it anymore.  Remove
pinfo locks.
(remove_zombies): Remove pinfo memory when zombie is going away.
* sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc.
* spawn.cc (spawn_guts): Eliminate pinfo *child argument.  Reorganize to only
initialize child pinfo after process has been started and we know the windows
pid.
(_spawnve): Reflect spawn_guts changes.
* syscalls.cc (setpgid): Use pinfo constructor to access process info.
(getpgid): Ditto.
(internal_getlogin): Use _pinfo.
* winsup.h: Eliminate pinfo_mutex.  Eliminate spawn_guts declaration since it
is static now.  Reflect set_myself argument change.
* include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff.
* include/cygwin/version.h: Update minor version for cygdrive changes below.
2000-07-29 16:24:59 +00:00
config merge with gcc 2000-07-22 08:20:10 +00:00
etc 19990502 sourceware import 1999-05-03 07:29:06 +00:00
include 2000-07-22 Jason Eckhardt <jle@cygnus.com> 2000-07-28 21:16:11 +00:00
libgloss * mn10300/time.c (time): Set *tloc, since the sim doesn't. 2000-05-24 19:49:44 +00:00
newlib Declare __infinity as an array to work around problems with small data support 2000-07-28 16:27:55 +00:00
texinfo Update texinfo.tex to version 2000-05-28.15. 2000-07-06 05:39:36 +00:00
winsup * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of 2000-07-29 16:24:59 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:06 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:06 +00:00
ChangeLog * Makefile.in (FLAGS_FOR_TARGET): New macro. 2000-07-28 02:10:36 +00:00
MAINTAINERS * s/sourceware.cygnus.com/sources.redhat.com/ throughout 2000-07-28 10:09:30 +00:00
Makefile.in * Makefile.in (FLAGS_FOR_TARGET): New macro. 2000-07-28 02:10:36 +00:00
README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
README-maintainer-mode new file - notes about using --enable-maintainer-mode 2000-06-07 21:31:48 +00:00
config-ml.in * configure.in: Use the same cache file for all target libs. 2000-07-24 04:34:08 +00:00
config.guess * config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000. 2000-05-30 09:08:59 +00:00
config.if merge with gcc 2000-07-22 08:20:10 +00:00
config.sub * config.sub: Update to subversions version 2000-07-06. 2000-07-20 18:03:17 +00:00
configure * configure (topsrcdir): Don't use dirname. 2000-07-23 17:42:34 +00:00
configure.in * Makefile.in (FLAGS_FOR_TARGET): New macro. 2000-07-28 02:10:36 +00:00
djunpack.bat * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst 2000-05-08 15:13:30 +00:00
install-sh 19990502 sourceware import 1999-05-03 07:29:06 +00:00
ltconfig 2000-07-01 Koundinya K <kk@ddeorg.soft.net> 2000-07-02 01:14:54 +00:00
ltmain.sh 2000-05-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 2000-05-13 21:19:50 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:06 +00:00
missing 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs 19990502 sourceware import 1999-05-03 07:29:06 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-build.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-configure 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-install 19990502 sourceware import 1999-05-03 07:29:06 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:06 +00:00
symlink-tree * symlink-tree: Check number of arguments. 2000-07-07 13:21:39 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:06 +00:00

README

		   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.