8d9a59afb1fix compile time warning messages
Nick Clifton
2001-09-21 06:52:20 +0000
4a30982664* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to avoid quotes nesting problems. (NATIVE_CHECK_MODULES): Ditto, just for consistency. (DO_X): Export only variables that are set.
Alexandre Oliva
2001-09-21 05:14:32 +0000
7700f3718e* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
Christopher Faylor
2001-09-21 01:01:27 +0000
24f19d84e0New entry "Why doesn't //c (for C:) work anymore?"
David Starks-Browning
2001-09-20 21:23:17 +0000
c50d56bc43* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE to change inheritance. Eliminate all other logic dealing with closed handles. * fhandler.h (fhandler_base::set_inheritance): Reflect above change. * fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
Christopher Faylor
2001-09-20 20:58:29 +0000
b1711a1f96* libltp/lib/get_high_address.c (get_high_address): Get inaccessible address more robustly. * winsup.api/ltp/stat06.c (high_address_setup): Use generic function from ltp library to obtain inaccessible address.
Egor Duda
2001-09-20 15:44:41 +0000
a2db3c9288* fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close socket only when not using Winsock2.
Corinna Vinschen
2001-09-20 11:35:49 +0000
8e54fb88f3* fhandler.h (fhandler_socket::fixup_after_exec): Remove inline implementation. (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't duplicate buffer on fork to avoid memory leak. (fhandler_dev_raw::fixup_after_exec): New implementation equal to former fixup_after_fork() implementation. * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do nothing when not using Winsock2. (fhandler_socket::fixup_after_exec): New implementation. (fhandler_socket::set_close_on_exec): Never call set_inheritance().
Corinna Vinschen
2001-09-20 11:29:48 +0000
f4e6b76a05* fhandler.cc (fhandler_base::set_inheritance): If available, use SetHandleInformation() to set inheritance. * wincap.cc: Set flag has_set_handle_information_on_console_handles appropriately. * wincap.h: Add flag has_set_handle_information_on_console_handles.
Corinna Vinschen
2001-09-20 08:02:01 +0000
7141383a862001-09-18 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd
2001-09-19 23:56:12 +0000
2f02f21831Add -t option.
Christopher Faylor
2001-09-19 22:06:33 +0000
9e5ad282f0* lib/getopt.c (__progname): Don't declare if not compiling for cygwin.
Christopher Faylor
2001-09-19 16:24:10 +0000
de6305a0e4* Makefile.in: Filter newlib includes from mingw compilation.
Christopher Faylor
2001-09-19 16:22:47 +0000
596f3269b0* lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. * scandir.cc (scandir): Use correct default when compar == NULL.
Christopher Faylor
2001-09-19 15:54:12 +0000
487fb5f1c4* fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert memory allocation to use cmalloc again.
Corinna Vinschen
2001-09-19 15:50:54 +0000
b244a68909oops omitted in previous delta
Nick Clifton
2001-09-18 15:42:41 +0000
8b77cd2503* internal.h (elf_internal_rela): Make r_addend a bfd_vma.
Alan Modra
2001-09-18 10:01:41 +0000
44346d6912* external.h (GET_LINENO_LNNO): Use H_GET_32/16. (PUT_LINENO_LNNO): Use H_PUT_32/16. * m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC, GET_SCN_NLINNO): Use H_GET_32. (PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO): Use H_PUT_32. * ti.h: Formatting fixes. Make use of H_GET_* and H_PUT_* throughout. * xcoff.h: White space changes.
Alan Modra
2001-09-18 10:01:08 +0000
09cc7651e5* aout64.h: Formatting fixes. (N_TXTADDR): Evaluate to a bfd_vma. (N_DATADDR): Avoid negative unsigned warning. * hp300hpux.h: Formatting fixes. (N_DATADDR): As above.
Alan Modra
2001-09-18 10:00:23 +0000
e513b5f9b7* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
Alan Modra
2001-09-18 09:59:28 +0000
4a1dd97454merge from gcc
DJ Delorie
2001-09-17 23:10:37 +0000
d2d5eb41e4* libc/include/process.h: Add getpid() declaration.
Christopher Faylor
2001-09-17 21:30:58 +0000
c98b577d40* include/io.h: Add access declaration.
Christopher Faylor
2001-09-17 21:29:19 +0000
8238a68bb2* syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir current working directory.
Christopher Faylor
2001-09-17 18:10:02 +0000
d595839939* net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and realign appropriately.
Christopher Faylor
2001-09-16 02:56:58 +0000
1d1c6baa7bminor typo fixes.
Christopher Faylor
2001-09-16 02:56:48 +0000
615643cb12* winsup.api/ltp/sbrk01.c (main): Force output at startup to make sure that stdio file buffer get allocated. * winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area after sbrk(0) may be available, use 0xffff0000 as "high address". * winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that don't work on cygwin with '-1'. Close open files so that temporary directory can be deleted on exit. * winsup.api/ltp/vfork01.c: New test.
Egor Duda
2001-09-15 19:54:04 +0000
542097acd0Fix typo.
Eric Christopher
2001-09-15 07:47:52 +0000
d55d85113c* config.sub: Reverted the earlier change, this version is not the master file.
Thiemo Seufer
2001-09-15 04:42:11 +0000
74509af276* Makefile.in: Generate libcygwin.a during the link pass rather than as a separate dlltool step. * dcrt0.cc (_dll_crt0): pppid_handle could be NULL. Don't close it if so.
Christopher Faylor
2001-09-15 04:36:43 +0000
d409c077df*** empty log message ***
Christopher Faylor
2001-09-15 00:50:28 +0000
9661a0c8b7* dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be queried in waitsig later. * sigproc.cc (wait_sig): Don't deliver a signal if in a vfork. * fork.cc (vfork): Deliver all signals on parent return from vfork.
Christopher Faylor
2001-09-15 00:47:44 +0000
bf0338856a2001-09-14 Eric Christopher <echristo@redhat.com>
Eric Christopher
2001-09-14 18:40:47 +0000
696a88a431Hints and tips on debugging cygwin
Egor Duda
2001-09-14 17:43:17 +0000
772944d3a5add copyrights.
Christopher Faylor
2001-09-14 16:57:32 +0000
64a2f70b43more words
Christopher Faylor
2001-09-14 16:13:00 +0000
d353d5d6f8* dumper.cc (dumper::dumper): Print error code in case of error. (dumper::add_thread): Ditto. (dumper::collect_memory_sections): Ditto. (dumper::dump_memory_region): Ditto. (dumper::collect_process_information): Ditto. (print_section_name): Fix formatting.
Egor Duda
2001-09-14 15:07:31 +0000
448e3c1454oops - omitted from previous delta
Nick Clifton
2001-09-14 11:43:41 +0000
3b13d3c817/bfd/ChangeLog * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64.
Thiemo Seufer
2001-09-14 06:22:45 +0000
5654f240f1*** empty log message ***
Christopher Faylor
2001-09-14 04:39:56 +0000
02a9889121* fhandler.h (fhandler_pipe::is_slow): Return true only if pipes are reliable (i.e., not Win9x). * wincap.cc: Make statics NO_COPY to avoid fork overhead.
Christopher Faylor
2001-09-14 04:22:05 +0000
cd6ed3f9f5* grp.cc (read_etc_group): Just reuse group_buf storage for subsequent reread of /etc/group. * passwd.cc (read_etc_passwd): Just reuse passwd_buf storage for subsequent reread of /etc/passwd.
Christopher Faylor
2001-09-14 03:01:47 +0000
e2e078278c* cygheap.cc (dup_now): New function. (cygheap_setup_for_child): Accept new argument controlling whether to delay copying of cygheap to shared memory region. (cygheap_setup_for_child_cleanup): Accept new arguments controlling whether to copy cygheap at this point. * cygheap.h: Reflect above changes. * fork.cc (fork_parent): Break copying of cygheap into two parts when fork_fixup is required so that the child can see the parent's changes. (vfork): Do stack cleanup prior to forcing a fork error. * spawn.cc (spawn_guts): Ditto.
Christopher Faylor
2001-09-14 00:49:00 +0000
3e2d8af0b9* cygheap.cc (ccalloc): Pass correct length to creturn so that cygheap_max is correctly calculated.
Christopher Faylor
2001-09-13 21:15:34 +0000
7a2afbbb852001-09-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2001-09-13 21:12:33 +0000
b011df87d1* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
Alexandre Oliva
2001-09-13 21:02:21 +0000
6342caa4e6Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
Jeff Johnston
2001-09-13 20:40:49 +0000
3900c377d8* winsup.api/winsup.exp: Run only selected test if environment variable CYGWIN_TESTSUITE_TESTS is set. Use its value as regular expression to filter test names. * winsup.api/ltp/symlink01.c (creat_path_max): Provide explicit buffer to getcwd to conform to standards and avoid memory leak. (do_chdir): Ditto.
Egor Duda
2001-09-13 19:00:48 +0000
75fc1764dc* common.h (EM_AVR_OLD): Renamed from... (EM_AVR): this, redefined as in the current ELF standard. (EM_PJ_OLD): Renamed from... (EM_PJ): this, redefined as in the current ELF standard. (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in the current ELF standard. (EM_CYGNUS_ARC): Removed, unused for a long time.
Alexandre Oliva
2001-09-12 23:53:09 +0000
e078566ced2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd
2001-09-12 14:08:53 +0000
aed6988a36* exceptions.cc (call_signal_handler_now): Add additional guard against inappropriately calling signal handler. * syscalls.cc (_read): Reset errno if not exiting due to signal.
Christopher Faylor
2001-09-12 05:09:24 +0000
ff6e295ebfminor cleanups
Christopher Faylor
2001-09-12 04:47:47 +0000
8e4d969260Wed Sep 12 13:03:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-09-12 03:18:05 +0000
101f820da2* sigproc.h (sigframe::unregister): Return true/false whether this frame is capable of responding to signals. * exceptions.cc (sigframe::call_signal_handler): Don't call signal handler if it is not armed for this thread.
Christopher Faylor
2001-09-12 01:56:32 +0000
e3c25c4a47Update copyrights.
Christopher Faylor
2001-09-11 20:01:02 +0000
824b5c453dfix some typos.
Christopher Faylor
2001-09-11 19:40:14 +0000
dc3543aa46change copyright.
Christopher Faylor
2001-09-11 17:02:23 +0000
dbc82a87a3* cygwin.din: Remove cygwin_getshared. * shared.cc: Ditto. * include/cygwin/version.h: Bump API minor number. * dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
Christopher Faylor
2001-09-11 15:25:08 +0000
24b1ccc647If -mfp32, do not enable 64-bit FPR registers on mips3
Michael Meissner
2001-09-11 14:24:35 +0000
24a930fa23Tue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-09-11 11:23:41 +0000
f9229ef74bTue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-09-11 08:15:39 +0000
c4b7e16dd9Add support for GDB monitor-style I/O. * m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made static. (outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined, precede the byte with a ^O character. * m68k/idpgdb.ld: New linker script. * m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New variables. (all): Add ${IDPGDB_BSP} to the list of things to build. (${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x, idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules. (install): Install the IDPGDB stuff, too.
Jim Blandy
2001-09-10 23:47:42 +0000
bb368226632001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd
2001-09-10 16:50:06 +0000
3800a9e7d7* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.
Christopher Faylor
2001-09-09 20:00:29 +0000
de05a524ca* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not forced to start at the same place in execed process. * heap.cc: Remove brk* macros for clarity throughout. * heap.h: Ditto. * shared.cc (shared_info::initialize): Move heap_chunk test into heap_chunk_size(). (heap_chunk_size): Check for chunk size here. Don't go to registry if heap_chunk_in_mb is already set. * smallprint.c (console_printf): Add Windows 95 concessions.
Christopher Faylor
2001-09-09 19:06:50 +0000
49eef6d5f7* cygheap.cc (init_cygheap::etc_changed): New method to signal a change in /etc. * cygheap.h (struct init_cygheap): Add member `etc_changed_h' and method `etc_changed'. * grp.cc (enum grp_state): Eliminate. (class grp_check): Ditto. (group_state): Define as `class pwdgrp_check'. (parse_grp): Remeber path and modification time of /etc/group file. * passwd.cc (enum_pwd_state): Eliminate. (class pwd_check): Ditto. (passwd_state): Define as `class pwdgrp_check'. (read_etc_passwd): Remember path and modification time of /etc/passwd file. * pwdgrp.h: New file. (enum pwdgrp_state): Substitutes `pwd_state' and `grp_state'. (class pwdgrp_check): Substitutes `pwd_check' and `grp_check'.
Corinna Vinschen
2001-09-09 16:52:37 +0000
d961def403* winsup.api/ltp/dup03.c: New test. * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/mmap001.c: Ditto. * winsup.api/ltp/read01.c: Ditto. * winsup.api/ltp/readdir01.c: Ditto. * winsup.api/ltp/rmdir05.c: Ditto. * winsup.api/ltp/sbrk01.c: Ditto. * winsup.api/ltp/select02.c: Ditto. * winsup.api/ltp/select03.c: Ditto. * winsup.api/ltp/signal03.c: Ditto. * winsup.api/ltp/stat06.c: Ditto. * winsup.api/ltp/unlink08.c: Ditto. * winsup.api/known_bugs.tcl: Update to reflect new test's known failures. * winsup.api/winsup.exp: Don't delete executable in case of unexpected pass, as well as in case of unexpected failure. * README: Update paragraph about expected failures.
Egor Duda
2001-09-09 13:38:17 +0000
92ef5188af* dumper.cc (main): Change command-line arguments format to be similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to CYGWIN environment variable to perform core dumping in case of program crash. (usage): Ditto.
Egor Duda
2001-09-09 13:18:51 +0000
d969111291* include/cygwin/version.h: Bump API minor version to 45 according to adding the gamm*_r functions.
Corinna Vinschen
2001-09-09 12:32:54 +0000
e2ea684e4e* fork.cc (fork_parent): Stop malloc activity while fork is in control of the heap. * sigproc.cc (NZOMBIES): Rename from ZOMBIEMAX for clarity. (zombies): Revert to original behavior. Allocating zombie array resulted in performance hit. * winsup.h: Declare malloc lock routines.
Christopher Faylor
2001-09-09 03:34:36 +0000
c12a96d12f* cygwin.din: Add gamm*_r function exports.
Christopher Faylor
2001-09-08 01:35:55 +0000
1ff9f4b937* cygheap.h (init_cygheap): Move heap pointers here. * include/sys/cygwin.h (perprocess): Remove heap pointers. * dcrt0.cc (__cygwin_user_data): Reflect obsolete perprocess stuff. (_dll_crt0): Don't initialize heap pointers. (cygwin_dll_init): Ditto. (release_upto): Use heap pointers from cygheap. * heap.h: Ditto. * fork.cc (fork_parent): Ditto. Don't set heap pointers in ch. (fork_child): Remove obsolete sigproc_fixup_after_fork. * shared.cc (memory_init): Reorganize so that cygheap initialization is called prior to regular heap since regular heap uses cygheap now. * sigproc.cc (proc_subproc): Eliminate zombies allocation. (sigproc_init): Move zombies alloation here. Don't free up array on fork, just reuse it. (sigproc_fixup_after_fork): Eliminate. * sigproc.h: Ditto. * include/cygwin/version.h: Reflect change to perprocess structure.
Christopher Faylor
2001-09-07 21:32:07 +0000