summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * debug.cc (clexec): Add missing `hl = hl->next'.Christopher Faylor2002-07-142-0/+5
|
* * Makefile.in (cygrun.exe): Add a -lcygwin on the end.Christopher Faylor2002-07-142-1/+5
|
* * Makefile.in (cygserver.exe): Add -lstdc++.Christopher Faylor2002-07-142-2/+7
| | | | (cygrun.exe): Move -lgcc last.
* add initial informationChristopher Faylor2002-07-131-1/+3
|
* cleanup a tadChristopher Faylor2002-07-131-8/+18
|
* * dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has beenChristopher Faylor2002-07-135-9/+66
| | | | | | | | | | set up. (break_here): New function, for debugging. (initial_env): Add program name to "Sleeping" message. Implement new "CYGWIN_DEBUG" environment variable option. * exceptions.cc (debugger_command): Add argument to dumper call. * strace.cc (strace::hello): Use winpid if cygwin pid is unavailable. (strace::vsprntf): Ditto.
* * debug.h (handle_list): Move here from debug.cc. Add "inherit" flagChristopher Faylor2002-07-1318-111/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality. * cygheap.cc (init_cheap): Move cygheap_max calculation to _csbrk. (_csbrk): Reorganize to not assume first allocation is <= 1 page. (cygheap_setup_for_child): Mark protected handle as inheritable. * cygheap.h (cygheap_debug): New struct. (init_cygheap): Add new structure when debugging. * dcrt0.cc (dll_crt0_1): Remove call to debug_init. Close ppid_handle here, if appropriate. Don't protect subproc_ready, since it is already protected in the parent. Call memory_init prior to ProtectHandle to ensure that cygheap is set up. Call debug_fixup_after_fork_exec when appropriate. (_dll_crt0): Don't close ppid_handle here. * debug.cc: Use cygheap debug structure rather than static elements throughout. (add_handle): Don't issue a warning if attempt to protect handle in exactly the same way from exactly the same place. Add pid info to warning output. Accept additional argument controlling whether handle is to be inherited. Add pid to stored information. (debug_fixup_after_fork_exec): Renamed from debug_fixup_after_fork. Reorganize to avoid erroneously skipping handles. (mark_closed): Add pid info to warning output. (setclexec): Rename from setclexec_pid. * fhandler.cc (fhandler_base::get_default_fmode): Minor reorg. (fhandler_base::fstat): Add debugging output. (fhandler_base::set_inheritance): Call setclexec rather than setclexec_pid. (fhandler_base::fork_fixup): Ditto. * fhandler_console.cc (get_tty_stuff): Mark protected handle as inheritable. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * tty.cc (tty::make_pipes): Ditto. (tty::common_init): Ditto. * fork.cc (fork_parent): Ditto. (fork_child): Close protected handles with correct name. Remove debug_fixup_after_fork call. * fhandler_socket.cc (fhandler_socket::create_secret_event): Mark protected handle as inheritable/non-inheritable, as appropriate. * shared.cc (memory_init): Mark protected handle as inheritable. Call debug_init here. * sigproc.cc (wait_sig): Close protected handle with correct name. * spawn.cc (spawn_guts): Rename spr to subproc_ready and mark it as inheritable. * exceptions.cc (debugger_command): Try to run dumper.exe, if found. * syscalls.cc (fstat64): Don't follow symlinks for path_conv lookup since path is already resolved.
* fyx tipo.Christopher Faylor2002-07-121-1/+1
|
* 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-123-2/+15
| | | | | | | | * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h> instead of <asm/siginfo.h>. * libc/sys/linux/sys/signal.h: Change to include various linux <bits/xxx.h> header files, rather than <linux/signal.h> so as to work with multiple releases of glibc header files.
* * cygwin.in: Change erroneous entries.Christopher Faylor2002-07-122-2/+5
|
* 2002-07-12 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-1211-13/+1421
| | | | | | | | | | | | | | | | | * mips/Makefile.in (GENOBJS2): New variable to name other commonly used objects. (DVEOBJS, JMR3904OBJS): Reference GENOBJS2. * mips/Makefile.in: Add support for Broadcom CFE firmware. * mips/configure.in: (mipsisa32*-*-*, *): Likewise. * mips/configure: Regenerate. * mips/cfe.c: New file. * mips/cfe.ld: New file. * mips/cfe_api.c: New file. * mips/cfe_api.h: New file. * mips/cfe_api_int.h: New file. * mips/cfe_error.h: New file. * mips/cfe_prestart.S: New file.
* 2002-07-12 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-1217-1/+97
| | | | | | | | | | | | | | | | | | | | | | * mips/array.ld (hardware_exit_hook, hardware_hazard_hook): New symbols for optionally-provided functions. * mips/ddb-kseg0.ld: Likewise. * mips/ddb.ld: Likewise. * mips/dve.ld: Likewise. * mips/idt.ld: Likewise. * mips/idt32.ld: Likewise. * mips/idt64.ld: Likewise. * mips/idtecoff.ld: Likewise. * mips/jmr3904app-java.ld: Likewise. * mips/jmr3904app.ld: Likewise. * mips/jmr3904dram-java.ld: Likewise. * mips/jmr3904dram.ld: Likewise. * mips/lsi.ld: Likewise. * mips/nullmon.ld: Likewise. * mips/pmon.ld: Likewise. * mips/crt0.S: Invoke hardware_exit_hook and hardware_hazard_hook functions if they are provided. (_exit): Handle __embedded_pic properly.
* * configure.in: Remove two redundant tests.DJ Delorie2002-07-112-7/+6
|
* * configure.in (mips*-*-irix6*o32): Enable stabs.DJ Delorie2002-07-112-0/+8
|
* 2002-07-11 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-113-0/+143
| | | | | | * testsuite/newlib.search/hsearchtest.c: New file to test newlib/libc/search. * testsuite/newlib.search/hsearchtest.exp: Likewise.
* * fhandler_disk_file.cc (fhandler_disk_file::open): Don'tCorinna Vinschen2002-07-112-3/+6
| | | | | move the file pointer to the end of file if O_APPEND is specified in the open flags.
* jdf patchChristopher Faylor2002-07-111-102/+482
|
* Fix name typo.Jeff Johnston2002-07-101-1/+1
|
* 2002-07-10 Florian Shrack <florian.schrack@freenet.de>Jeff Johnston2002-07-103-0/+17
| | | | | | * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with a terminal. * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
* * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,Jakub Jelinek2002-07-102-0/+12
| | | | | | | | | | | | DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*. (get_section_type_name): Handle SHT_GNU_LIBLIST. (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ, DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED. (process_gnu_liblist): New. (process_file): Call it. * elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED, DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.
* more jdfChristopher Faylor2002-07-101-27/+54
|
* * config/tc-mips.c (macro_build): Handle MIPS16 insns.Thiemo Seufer2002-07-092-0/+7
| | | | | | | | (mips_ip): Likewise. * mips.h (INSN_MIPS16): New define. * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. * mips-opc.c (I16): New define. (mips_builtin_opcodes): Make jalx an I16 insn.
* Merge changes from MinGWEarnie Boyd2002-07-094-0/+14
|
* * lib/ntdll.def: Remove \r.Earnie Boyd2002-07-091-283/+283
|
* * debug.cc: Avoid explicit zeroing of globals.Christopher Faylor2002-07-093-10/+39
| | | | | | | | (lock_debug): Make locker a static member. Avoid unlocking when already unlocked (from Conrad Scott). (debug_init): Initialize lock_debug::locker here. * fork.cc (fork_child): Fix up fdtab earlier to avoid some (but not all) confusion with close-on-exec craziness.
* More jdf changes.Christopher Faylor2002-07-091-137/+176
|
* * configure.in: Don't build grez.DJ Delorie2002-07-083-10/+3
| | | | * Makefile.in: Ditto.
* * Makefile.in: Remove references to bsp, cygmon, libstub.DJ Delorie2002-07-083-56/+13
| | | | | | * configure.in: Ditto. * configure.in: Remove leftover reference to gdbtest.
* 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-082-0/+6
| | | | * libc/include/math.h (MAXFLOAT): Added.
* * configure.in (gxx_include_dir): Change to match versionedDJ Delorie2002-07-082-1/+6
| | | | C++ headers if --enable-version-specific-runtime-libs is used.
* Joshua Daniel Franklin update.Christopher Faylor2002-07-081-62/+121
|
* Some small speedups.Joern Rennecke2002-07-082-5/+7
|
* gas/ChangeLogAlan Modra2002-07-082-4/+8
| | | | | | | | | * config/tc-i386.c (process_suffix): Remove intel mode movsx and movzx fudges. (md_assemble): Instead, zap the suffix here. include/opcode/ChangeLog * i386.h: Remove IgnoreSize from movsx and movzx.
* doc patch.Christopher Faylor2002-07-071-76/+85
|
* * configure.in: Check for libiconv.a.Christopher Faylor2002-07-074-38/+78
| | | | | * configure: Regenerate. * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
* * Makefile.in: Use MINGW stuff from Makefile.common.Christopher Faylor2002-07-074-23/+15
|
* * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h willChristopher Faylor2002-07-072-1/+6
| | | | be found.
* * Makefile.common (MINGW_INCLUDES): Simplify.Christopher Faylor2002-07-072-43/+8
| | | | | (MINGW_CFLAGS): New. (MINGW_CXXFLAGS): Ditto.
* Add missing entry from 2002-06-25Christopher Faylor2002-07-071-0/+43
|
* * libc/machine/sh/Makefile.am (lib_a_SOURCES):Joern Rennecke2002-07-075-32/+193
| | | | | | | | Make strcmp.S unconditional. * libc/machine/sh/Makefile.in: Regenerate. * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ . * strcmp.S (strcmp): Add SHmedia variant. Use different registers for SHcompact.
* * fhandler.h (fhandler_socket::is_unconnected): Constify.Corinna Vinschen2002-07-065-20/+55
| | | | | | | | | | | | | | | | | | | (fhandler_socket::is_connect_pending): Ditto. (fhandler_socket::is_connected): Ditto. (fhandler_socket::set_connect_state): New method. (struct select_record): Add member `except_on_write'. (select_record::select_record): Initialize all bool values to `false'. * fhandler_socket.cc: Use set_connect_state() method throughout. (fhandler_socket::connect): Set state always to connected if connection isn't pending. * net.cc (cygwin_getsockopt): Revert erroneous previous patch. * select.cc (set_bits): Check for `except_on_write'. Set fd in write_fds if set. Set connect state to connected if fd has been returned by WINSOCK_SELECT. (peek_socket): Check for `except_on_write'. (start_thread_socket): Ditto. (fhandler_socket::select_write): Don't set `write_ready' if connect is pending. Set `except_on_write' if connect is pending.
* add missing entryChristopher Faylor2002-07-051-0/+3
|
* * ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.Christopher Faylor2002-07-053-36/+43
| | | | (_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.
* * fhandler.h (UNCONNECTED): New define.Corinna Vinschen2002-07-055-20/+64
| | | | | | | | | | | | | | | | | | | | | (CONNECT_PENDING): Ditto. (CONNECTED): Ditto. (class fhandler_socket): Add member `had_connect_or_listen'. Add member functions `is_unconnected', `is_connect_pending' and `is_connected'. * fhandler_socket.cc (fhandler_socket::connect): Set member `had_connect_or_listen' according to return code of WinSock call. (fhandler_socket::listen): Ditto. * net.cc (cygwin_getsockopt): Modify SO_ERROR return value in case of socket with pending connect(). * select.cc (peek_socket): Only add socket to matching fd_set if it's not "ready". Call WINSOCK_SELECT only if at least one socket is in one of the fd_sets. (start_thread_socket): Only add socket to matching fd_set if it's not "ready". (fhandler_socket::select_write): Set write_ready to true also if socket isn't connected or listening.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-042-2/+9
| | | | | * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC define before including <sys/lock.h>.
* * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.Alexandre Oliva2002-07-042-3/+20
|
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-048-6/+120
| | | | | | | | | | | | * libc/include/utime.h: Add include of <_ansi.h>. * libc/sys/linux/Makefile.am: Add utimes.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/inode.c(__umask): New static routine. (umask): Written to use __umask and attempt to thread lock. (getumask): New function written to use __umask and thread lock. * libc/sys/linux/utimes.c: New file. * libc/sys/linux/sys/time.h: Fix utimes prototype. * libc/sys/linux/sys/utime.h: New file.
* * Remove files (should have been done on 2002-06-20).Thomas Fitzsimmons2002-07-042-322/+0
|
* * process.c: Add comment.Thomas Fitzsimmons2002-07-041-0/+3
|
* * libtool.m4: New file.Thomas Fitzsimmons2002-07-0466-64/+1037
| | | | | * libc/sys/linux/process.c: Implement vfork in terms of fork, rather than as a syscall.