summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * times.cc (gettimeofday): Add temporary debugging output.Christopher Faylor2005-11-022-0/+6
|
* 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-11-012-9/+12
| | | | * libc/include/stdint.h: Cleanup #if vs. #ifdef.
* * include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.Christopher Faylor2005-11-013-5/+14
| | | | | * exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the process is being debugged. A WIP.
* 2005-10-31 Darin Johnson <darin@usa.net>Jeff Johnston2005-10-312-3/+8
| | | | | * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be correct for constants.
* merge from gccDJ Delorie2005-10-312-6/+19
|
* 2005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2005-10-304-4/+10
| | | | | | * include/objbase.h: Fix typo. * include/w32api.h: Increment version to 3.5. * Makefile.in: Ditto.
* * exceptions.cc (signal_exit): Eliminate setting of main thread priority sinceChristopher Faylor2005-10-294-17/+20
| | | | | | | | process lock should make that unnecessary. * fork.cc (stack_base): Eliminate. (frok::parent): Subsume stack_base and just set stack stuff here. Report on priority class in debugging output. * spawn.cc (spawn_guts): Report on priority class in debugging output.
* * fork.cc (frok::child): Change order of cleanup prior to return.Christopher Faylor2005-10-294-7/+18
| | | | | | (fork): Save more of the stack. * gendef: Fix some comments. * sigproc.cc (wait_sig): Clarify debug output.
* * child_info.h (CHILD_INFO_MAGIC): Reset.Christopher Faylor2005-10-292-1/+5
|
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-289-29/+48
| | | | | | | | | | | * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS. * libc/stdio/siscanf.c: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdio/vfprintf.c: Likewise. * libc/stdio/vfscanf.c: Likewise. * libc/stdio/viprintf.c: Likewise. * libc/stdio/viscanf.c: Likewise.
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-282-42/+47
| | | | | | * libc/sys.tex (Stubs): Format examples consistently. Change sbrk example to use "_end" symbol instead of "end". Change write example to use "outbyte" instead of "writechar".
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-2838-133/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise. * libc/ctype/islower.c: Likewise. * libc/ctype/isupper.c: Likewise. * libc/ctype/iswalnum.c: Likewise. * libc/ctype/iswalpha.c: Likewise. * libc/ctype/iswblank.c: Likewise. * libc/ctype/iswcntrl.c: Likewise. * libc/ctype/iswdigit.c: Likewise. * libc/ctype/iswgraph.c: Likewise. * libc/ctype/iswlower.c: Likewise. * libc/ctype/iswprint.c: Likewise. * libc/ctype/iswpunct.c: Likewise. * libc/ctype/iswspace.c: Likewise. * libc/ctype/iswupper.c: Likewise. * libc/ctype/iswxdigit.c: Likewise. * libc/ctype/tolower.c: Likewise. * libc/ctype/toupper.c: Likewise. * libc/ctype/towctrans.c: Likewise. * libc/ctype/towlower.c: Likewise. * libc/ctype/towupper.c: Likewise. * libc/string/strcasecmp.c: Likewise. * libc/string/strcoll.c: Likewise. * libc/string/strings.tex: Likewise. * libc/string/strlwr.c: Likewise. * libc/string/strncasecmp.c: Likewise. * libc/string/strupr.c: Likewise. * libc/string/wcscoll.c: Likewise. * libc/string/wcslcat.c: Likewise. * libc/string/wcslcpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcsstr.c: Likewise. * libc/string/wcstrings.tex: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemmove.c: Likewise. * libc/string/wmemset.c: Likewise.
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-2852-132/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/misc/unctrl.c: Replace FUNCTION description. * libc/signal/signal.c: Remove documentation for raise and _raise_r. * libc/stdio/getdelim.c: Fix spelling errors. * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation. * libc/stdio/putw.c: Likewise. * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in documentation. * libc/stdlib/assert.c: Do not capitalize FUNCTION description. * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description. * libc/stdlib/envlock.c: Use em-dash in FUNCTION description. * libc/stdlib/mlock.c: Likewise. * libc/stdlib/mstats.c: Likewise. * libc/time/tzlock.c: Likewise. * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES. * libc/stdlib/rand48.c: Remove extra space in FUNCTION description and hyphenate "pseudo-random". * libc/string/bcmp.c: Remove extra blank lines in documentation. * libc/string/strncat.c: Likewise. * libc/string/memchr.c: Remove extra ">" character in documentation. * libc/string/strcspn.c: Use "characters" instead of "chars". * libc/string/strpbrk.c: Likewise. * libc/string/strerror_r.c: Capitalize "GNU". * libc/string/strnlen.c: Likewise. * libc/string/strtok.c: Fix formatting, spelling and punctuation in documentation. Use "multi-threaded" and "thread-safe" in NOTES. * libc/string/wcscat.c: Split PORTABILITY into two paragraphs. * libc/string/wcschr.c: Likewise. * libc/string/wcscmp.c: Likewise. * libc/string/wcscpy.c: Likewise. * libc/string/wcscspn.c: Likewise. * libc/string/wcslen.c: Likewise. * libc/string/wcsncat.c: Likewise. * libc/string/wcsncmp.c: Likewise. * libc/string/wcsncpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcspbrk.c: Likewise. * libc/string/wcsrchr.c: Likewise. * libc/string/wcsspn.c: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemset.c: Likewise. * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description. * libc/string/wcswidth.c: Formatting and punctuation in documentation. * libc/string/wcwidth.c: Likewise. * libm/common/s_modf.c: Remove extra period from documentation. * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in documentation. * libm/mathfp/s_isnan.c: Likewise. * libm/math/s_ldexp.c: Fix punctuation. * libm/mathfp/s_ldexp.c: Likewise. * libm/math/w_log.c: Likewise. * libm/mathfp/s_logarithm.c: Likewise. * libm/math/w_j0.c: Add spaces to FUNCTION description. * libm/mathfp/w_jn.c: Likewise.
* 2005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley2005-10-283-1/+31
| | | | | | | | Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for more exotic underlying types to be used.
* 2005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley2005-10-283-7/+83
| | | | | | | | | Contribute the following changes: 2005-02-16 Dave Brolley <brolley@redhat.com> * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. * cgen.h: Likewise.
* 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2005-10-273-3/+8
| | | | | * include/w32api.h: Increment version to 3.4. * Makefile.in: Ditto.
* 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-10-273-3/+8
| | | | | * Include/_mingw.h: Increment version to 3.9. * Makefile.in: Ditto.
* 2005-10-26 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-10-264-5/+12
| | | | | | | | | * libc/posix/scandir.c (scandir): Update the function prototype to match the header. * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an extraneous #endif. * libc/sys/linux/sys/lock.h: Do not include machine/weakalias.h, since it's not used by this file.
* 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-263-8/+13
| | | | | * libc/Makefile.am: Reorder SUBLIBS so machine and sys directories can override properly.
* Add support for the Z80 processor familyNick Clifton2005-10-257-3/+75
|
* * pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.Christopher Faylor2005-10-242-1/+5
|
* * spawn.cc (spawn_guts): Don't leave the function with return insideCorinna Vinschen2005-10-242-2/+9
| | | | pthread cleanup brackets.
* * cygheap.h (cygheap_fdenum): Remove start_fd stuff.Christopher Faylor2005-10-244-6/+12
| | | | | | (cygheap_fdenum::rewind): Ditto. * pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating. * times.cc (utimes_worker): Ditto.
* include/opcode/Jan Beulich2005-10-242-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64.h (enum ia64_opnd): Move memory operand out of set of indirect operands. bfd/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of set of indirect operands. gas/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. (dot_rot): Change type of num_* variables. Check for positive count. (ia64_optimize_expr): Re-structure. (md_operand): Check for general register. gas/testsuite/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * gas/ia64/index.[sl]: New. * gas/ia64/rotX.[sl]: New. * gas/ia64/ia64.exp: Run new tests. opcodes/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64-asmtab.c: Regenerate.
* add missing ChangeLog entryChristopher Faylor2005-10-241-0/+1
|
* * cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or sufferChristopher Faylor2005-10-239-66/+86
| | | | | | | | | | | | | | | | | | | deadlocks. (class locked_process): Move to another header. * sync.h (lock_process): Define here. * cygtls.cc (_cygtls::fixup_after_fork): Reset spinning state as well as stacklock state. * dcrt0.cc (lock_process::locker): Define. (dtable::lock_cs): Delete. * dtable.cc (dtable_init): Eliminate call to init_lock(). (dtable::fixup_after_fork): Ditto. (dtable::init_lock): Delete definition. * dtable.h (dtable::init_lock): Delete declaration. (dtable::lock): Use process lock rather than dtable-specific lock. (dtable::unlock): Ditto. * sigproc.cc (sigproc_init): Minor change to debugging output. * times.cc (utime_worker): Use build_fh_pc rather than reinterpreting the posix path name again. Return any error from path_conv immediately.
* * fhandler_socket.cc (fhandler_socket::connect): Don't restrictCorinna Vinschen2005-10-223-16/+35
| | | | | | | | | WSAEINVAL -> WSAEISCONN conversion to nonblocking sockets. (fhandler_socket::accept): Use event driven technique to implement interuptible accept. (fhandler_socket::wait): Allow FD_ACCEPT handling. * net.cc (cygwin_accept): Remove workaround for allowing blocking accept. That's entirely in fhandler_socket::accept now.
* * fhandler.h (class fhandler_socket): Add timeout parameter to wait()Corinna Vinschen2005-10-224-55/+37
| | | | | | | | | | method. * fhandler_socket.cc (fhandler_socket::connect): Use event driven technique (prepare/wait/release) to implement interuptible connect. (fhandler_socket::wait): Add timeout parameter. Allow FD_CONNECT handling. * net.cc (cygwin_connect): Remove braindead workaround for allowing blocking connect. That's entirely in fhandler_socket::connect now.
* 2005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-10-223-31/+83
| | | | | | | | PR bootstrap/24297 * Makefile.tpl (do-[+make-target+], do-check, install, stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s are set before recursing. * Makefile.in: Regenerate.
* * include/cygwin/version.h: Fix typo.Corinna Vinschen2005-10-222-1/+5
|
* Fix typoMark Mitchell2005-10-211-1/+1
|
* * texi2pod.pl: Substitue for @value even when part of @include.Mark Mitchell2005-10-212-3/+8
|
* * texi2pod.pl: Import latest version from GCC.Bob Wilson2005-10-212-17/+36
|
* * dir.cc (rmdir): Eliminate nonsensical code.Christopher Faylor2005-10-213-5/+8
| | | | * fork.cc (fork): Move exit debug_printf to last statement.
* 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-202-22/+51
| | | | | * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When gcc is 3.3 or greater, use special gcc builtins.
* 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-203-10/+24
| | | | | | * arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and BUILD_CRT0_FALSE. * arm/configure: Regenerate.
* * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.Corinna Vinschen2005-10-202-0/+8
|
* * cygwin.din (futimes): Export.Corinna Vinschen2005-10-204-5/+47
| | | | | | | | | | (lutimes): Export. * times.cc (utimes_worker): Created from utimes, add nofollow flag to implement utimes and lutimes. (utimes): Just call utimes_worker. (lutimes): New function. (futimes): Ditto. * include/cygwin/version.h: Bump API minor version.
* PR bootstrap/18939Eric Botcazou2005-10-203-2/+8
| | | | | * Makefile.def (gcc) <target>: Fix thinko. * Makefile.in: Regenerate.
* * sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.Christopher Faylor2005-10-192-31/+26
| | | | * spawn.cc (spawn_guts): Correct check for top-level process.
* * sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.Christopher Faylor2005-10-191-0/+5
| | | | * spawn.cc (spawn_guts): Correct check for top-level process.
* * autoload.cc: Revert loading rcmd, rexec, rresvport and inet_networkCorinna Vinschen2005-10-192-4/+11
| | | | from wsock32.dll since these symbols are not exported from ws2_32.dll.
* * times.cc (utimes): Only consider fds opened with write access.Christopher Faylor2005-10-192-1/+6
|
* * fhandler_disk_file.cc (fhandler_base::utimes_fs): Use existing handle ifChristopher Faylor2005-10-193-19/+51
| | | | | | fhandler has one. * times.cc (utimes): Scan open fds for matching paths and use existing fhandler if one exists.
* * pinfo.cc (_pinfo::dup_proc_pipe): Make warning more severe by actuallyChristopher Faylor2005-10-192-5/+15
| | | | | | printing it. (_pinfo::alert_parent): Fix comment. Don't send to parent if we are in an exec stub.
* * cygtls.cc (handle_threadlist_exception): Improve diagnostic output.Christopher Faylor2005-10-193-8/+14
| | | | | * sigproc.cc (child_info::sync): Only clear hProcess when execing. (wait_sig): Protect readsig handle.
* * autoload.cc (NtLockVirtualMemory): Import.Corinna Vinschen2005-10-1810-14/+160
| | | | | | | | | | | | | | | | | | | | | (NtUnlockVirtualMemory): Import. (GetProcessWorkingSetSize): Import. (SetProcessWorkingSetSize): Import. * cygwin.din (mlock): Export. (munlock): Export. * mmap.cc (mlock): New function. (munlock): Ditto. * ntdll.h (STATUS_WORKING_SET_QUOTA): Define. (LOCK_VM_IN_WSL): Define. (LOCK_VM_IN_RAM): Define. (NtLockVirtualMemory): Declare. (NtUnlockVirtualMemory): Declare. * sysconf.cc (sysconf): Implement _SC_MEMLOCK_RANGE. * wincap.h: Implement has_working_virtual_lock throughout. * wincap.cc: Ditto. * include/cygwin/version.h: Bump API minor version. * include/sys/mman.h (mlock): Declare, (munlock): Declare.
* * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.Corinna Vinschen2005-10-182-0/+5
|
* * sigproc.cc (child_info::sync): Use correct name when closing to preventChristopher Faylor2005-10-183-1/+9
| | | | | | warnings when DEBUGGING. * spawn.cc (spawn_guts): Set myself.hProcess to pi.hProcess since this may have been zeroed by the previous sync.
* * sigproc.cc (child_info::sync): Fix typo which caused hProcess to never beChristopher Faylor2005-10-182-3/+8
| | | | cleared. Only clear hProcess when not forking.