1bee0008e6* include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.
Christopher Faylor
2000-03-26 19:24:12 +0000
114d3d3070Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warn messages with capital. Don't malign Unixware, malign SysV386 instead.
Alan Modra
2000-03-26 14:13:01 +0000
c114dfb0c0* path.cc (symlink_check_one): Recognize symlink settings from the mount table. * path.h: Make PATH_SYMLINK an alias for MOUNT_SYMLINK. * syscalls.cc (stat_worker): Use extension search mechanism in path_conv to look for .exe rather than trying to special case it here. * mount.h: Make MOUNT_SYMLINK a real option.
Christopher Faylor
2000-03-26 01:54:22 +0000
4f7831c1f5* environ.cc: Add TMPDIR to the list of environment variables which are converted to POSIX format. * sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is NULL.
Christopher Faylor
2000-03-25 05:25:27 +0000
85f96eabae* partition.h: New file.
Christopher Faylor
2000-03-25 02:15:38 +0000
e06fba33fbmerge from gcc
Jason Merrill
2000-03-24 21:31:21 +0000
b489803aeeFri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-24 20:42:18 +0000
79908d67bcFix compile time warning messages. Add "cc" to list of registers clobbered bu do_AgelSWI
Nick Clifton
2000-03-24 18:17:17 +0000
7684ddaf52Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser
2000-03-23 20:19:13 +0000
b8ec20c809Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-22 00:09:49 +0000
1b16b354fa* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.
Corinna Vinschen
2000-03-19 11:05:14 +0000
5bc5ee4457* times.cc: Fix extern declarations for variables that are exported but used by this modules.
Christopher Faylor
2000-03-19 04:14:07 +0000
c6c9f06b7cPatch suggested by Mumit Khan <khan@xraylith.wisc.edu>: * strace.cc (_impure_ptr): New global variable to make strace build under Cygwin gcc.
Christopher Faylor
2000-03-19 03:53:18 +0000
72ac8b4f0f* Makefile.in: Make CXXFLAGS consistent with cygwin.
Christopher Faylor
2000-03-18 17:45:35 +0000
073519645b* dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from shared constant.
Christopher Faylor
2000-03-18 06:33:33 +0000
87b82db4e7* delqueue.cc (delqueue_list::queue_file): Add some debugging. * path.h (class path_conv): Add a char * operator for the most common case. * syscalls.cc (_unlink): Rewrite to use FILE_FLAG_DELETE_ON_CLOSE when possible (i.e., on NT).
Christopher Faylor
2000-03-18 06:26:14 +0000
fae4c299f1Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-17 20:40:20 +0000
2be36bd9c4* fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a file is really created.
Corinna Vinschen
2000-03-17 17:22:53 +0000
af792540a6Change ChangeLog entry to more common format.
Corinna Vinschen
2000-03-16 20:46:50 +0000
5d4af61e5d* security.cc (set_process_privileges): Removed `static'. (get_nt_attribute): Returns uid and gid additionally. Removed call to set_process_privileges(). (get_file_attribute): Returns uid and gid additionally. Don't call ntea if ntsec is ON. (set_nt_attribute): Removed call to set_process_privileges(). Don't call ntea if ntsec is ON. (acl): Removed call to set_process_privileges(). * dcrt0.cc (dll_crt0_1): Calls set_process_privileges() now. * winsup.h: New prototype for set_process_privileges(), changed prototype for get_file_attribute(). * fhandler.cc (get_file_owner): Discarded. (get_file_group): Ditto. (fhandler_disk_file::fstat): Discard calls to get_file_owner() and get_file_group(). * path.cc (path_conv::path_conv): Added debugging output for result of GetVolumeInformation(). (mount_info::conv_to_win32_path): Call backslashify() with pathbuf instead of src_path. * syscalls.cc (chown): Reformatted. (chmod): Replace get_file_owner() and get_file_group() calls by a call to get_file_attribute(). Discard local variable has_acls. Slightly reformatted. (stat_worker): Replaced idiot's (it's me) root dir check by call to rootdir(). Don't call num_entries() on remote drives. Discard local variable has_acls.
Corinna Vinschen
2000-03-16 19:35:18 +0000
6bc4ac717b* internal.h: Fix a typo in the comment for R_MOVL2.
Jeff Law
2000-03-15 21:29:17 +0000
181438ea70* spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed to wake up the WaitForSingleObject.
Christopher Faylor
2000-03-15 19:29:15 +0000
1b534ee1be* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.
Christopher Faylor
2000-03-15 14:38:09 +0000
332600d80cPipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com> * debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto. * malloc.cc (malloc_init): Ditto. * sigproc.cc (sigproc_init): Ditto. * exceptions.cc (events_init): Ditto. (call_handler): Eliminate special case for hExeced. Report locked thread in debugging output. * fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base class. * fhandler.h (fhandler_pipe): Ditto. * hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor. * spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for subprocess. * strace.cc: Remove obsolete #ifdef. * sync.cc (muto::muto): Save the name of the muto. (muto:~muto): Also release the muto. * sync.h: Add a muto name field. * select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a pipe.
Christopher Faylor
2000-03-15 04:49:36 +0000
31b3dbe174settimeofday was listed twice
DJ Delorie
2000-03-13 22:57:59 +0000
dc98804b1cMon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
Ranjith Kumaran
2000-03-13 20:41:18 +0000
22fe0c41ec* strace.cc: Throughout, track information like start_time, etc. on a per-process basis.
Christopher Faylor
2000-03-13 02:23:47 +0000
3f0b493540* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function. * fhandler.h: Declare new function. Add extra argument to process_slave_output. * fhandler_console.cc (fhandler_console::read): Move read ahead code to new function. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Move common code here. (fhandler_tty_slave::read): Understand readahead. (fhandler_pty_master::read): Move code to process_slave_output. * select.cc (peek_pipe): Avoid performing certain checks when non-read and on inappropriate fh types.
Christopher Faylor
2000-03-12 06:29:54 +0000
774ea16211* fhandler_console.cc (fhandler_console::read): Don't even think about breaking on interrupt if executing in a "cygwin" thread. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Streamline, simplify code. * sigproc.cc (sig_send): Remove debugging statement.
Christopher Faylor
2000-03-12 04:44:37 +0000
1e8b88023c* sigproc.cc: Set wait_sig priority to normal.
Christopher Faylor
2000-03-11 15:51:46 +0000
fca5fcb1e0In bfd/: * elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic.
Geoffrey Keating
2000-03-11 02:16:25 +0000
e31b2ac2262000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu
2000-03-10 21:21:16 +0000
5ed2f523e5Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-10 21:13:28 +0000
2dc5e3a3642000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu
2000-03-10 20:50:45 +0000
1cf0ee341f* libc/stdio/putw.c (putw): Return 0 on success, to be compliant with XSH5, not SVID.
Alexandre Oliva
2000-03-10 17:57:32 +0000
e9c9497815Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-09 22:25:01 +0000
af1dc7ccea* environ.cc: Eliminate oldstack CYGWIN option. * exceptions.cc (sfta): Eliminate obsolete function. (sgmb): Eliminate obsolete function. (class stack_info): Remove MS method for walking the stack. (stack_info::init): Just initialize required fields. (stack_info::brute_force): Rename to stack_info::walk. (handle_exceptions): Pass derived frame pointer to sig_send. (interrupt_setup): Clear saved frame pointer here. (interrupt_on_return): thestack is no longer a pointer. (call_handler): Accept a flag to indicate when a signal was sent from other than the main thread. Use saved frame pointer for determining where to place signal handler call. (sig_handle): Accept "nonmain" argument. Pass it to call_handler. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Change debugging output slightly. * (fhandler_tty_common::__release_output_mutex): Ditto. (fhandler_tty_slave::read): Fix a comment, remove a goto. * sigproc.cc (sig_send): Accept an optional frame pointer argument for use when suspending the main process. sigcomplete_main is an autoreset event now. Save frame pointer for non-main operation. (wait_sig): Make sigcomplete_main an autoreset event. Eliminate NOSIGQUEUE. Pass rc to sig_handle to signify if this was a nonmain process. * sigproc.h: Reflect change to sig_send argument. * syscalls.cc (swab): Eliminate swab function since it is now available in newlib. * winsup.h (signal_dispatch): Change CONTEXT cx to DWORD ebp.
Christopher Faylor
2000-03-09 21:04:05 +0000
3072163c0fWed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-03-08 22:16:06 +0000
f205ea7a03* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c. (CHEWOUT_FILES): Added unlinkr.def. * libc/reent/Makefile.in: Rebuilt. * libc/sys.tex: Include unlinkr.def. * libc/reent/linkr.c (_unlink_r): Moved to... * libc/reent/unlinkr.c: ... new file.
Alexandre Oliva
2000-03-08 04:01:49 +0000
c505305855* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c. (CHEWOUT_FILES): Added getw.def and putw.def. * libc/stdio/Makefile.in: Rebuilt. * libc/stdio/stdio.tex: Include getw.def and putw.def. * libc/stdio/getw.c: New file. * libc/stdio/putw.c: New file.
Alexandre Oliva
2000-03-08 03:42:25 +0000
cba95ef1c8* sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it didn't seem to affect the "bash hangs" problem.
Christopher Faylor
2000-03-07 18:32:40 +0000
5abc9b830bThroughout use strace class in place of individual functions and variables. * cygwin.din: Eliminate _strace_wm. * sigproc.cc (wait_sig): Temporarily add more debugging output. * include/cygwin/version.h: Bump minor api to reflect export change.
Christopher Faylor
2000-03-07 05:33:09 +0000
b5314dabecRemove extraneous CYGNUYS LOCAL markers.
Nick Clifton
2000-03-06 18:09:38 +0000
68997e887d* exceptions.cc (call_handler): Streamline to use only one call to ResumeThread. * sigproc.cc (sig_send): Use a muto around the ReleaseSemaphore. Remove priority setting since it didn't solve anything.
Christopher Faylor
2000-03-05 06:34:55 +0000
ed8e99bf37* Makefile.in (taz): Set PACKAGE to TOOL when not defined. (do-tar-bz2): Replace TOOL with PACKAGE. (gdb.tar.bz2): Remove GDBTK from GDB package. (gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2, dejagnu.tar.bz2): New packages.
Andrew Cagney
2000-03-03 23:52:30 +0000
92976eab7dApply patch for 100679
Nick Clifton
2000-03-02 23:01:40 +0000
0f04849fd02000-03-01 H.J. Lu <hjl@gnu.org>
H.J. Lu
2000-03-01 19:38:01 +0000
b528f63495* sigproc.cc (sig_send): Temporarily set priority to highest while sending a signal.
Christopher Faylor
2000-02-29 05:47:17 +0000
9fbcd67ebc* include/rapi.h: New file. * lib/rapi.def: New file.
Christopher Faylor
2000-02-28 22:09:56 +0000
c8ceb1b10fDefone {MIPS|SH}_PE_MAGIC
Nick Clifton
2000-02-28 18:57:53 +0000
716254905c* pinfo.cc (set_myself): Add build date to strace output. * sigproc.cc (proc_subproc): Only clear wait event when not attending to a signal.
Christopher Faylor
2000-02-28 16:25:34 +0000
297b7a63c8Fix typo.
Christopher Faylor
2000-02-28 06:23:10 +0000
f61425ac33Fix sysname.
Christopher Faylor
2000-02-28 06:21:07 +0000
78fed23c13* strace.cc (handle_output_debug_string): Parse strace output to allow various types of time output.
Christopher Faylor
2000-02-28 05:08:05 +0000
d542443ea4* dcrt0.cc (set_os_type): Record OS name string. (getprogname): Eliminate obsolete function. (dll_crt0_1): Move initial strace initialization output to set_myself. * exceptions.cc (interruptible): Add debugging output. (interrupt_setup): New function. (interrupt_now): Use interrupt_setup to set up common interrupt handler stuff. (interrupt_on_return): Ditto. (call_handler): Move signal_arrived arm and clear threads to region where signalled thread is suspended or suffer races. * pinfo.cc (set_myself): Output interesting information when strace is first initialized. Initialize progname here. * sigproc.cc (sig_dispatch_pending): Modify to ensure that flush signal are sent synchronously. * strace.cc (strace_vsprintf): Move code into strace program. * uname.cc (uname): Use 'osname' global to construct cygwin name + Windows type + version.
Christopher Faylor
2000-02-28 05:05:33 +0000
1dc94f73702000-02-27 Andreas Jaeger <aj@suse.de>
Ian Lance Taylor
2000-02-28 04:20:22 +0000
b1b7a4f83a* ltconfig, ltmain.sh: Update to libtool 1.3.4.
Ian Lance Taylor
2000-02-27 16:46:19 +0000
4b17897e98Bump minor version number
Christopher Faylor
2000-02-26 01:14:49 +0000
6b3e6cd100Change fork/exec magic number.
Christopher Faylor
2000-02-26 01:14:08 +0000
5d25dcfa3bRemove unneeded include.
Christopher Faylor
2000-02-26 01:13:02 +0000
8656ee07ef* exceptions.cc (interruptible): Make a little more structured. (call_handler): Allow signals to be sent even if signalled thread is stopped. Change order of signal_arrived arming/waiting threads clearing to eliminate a race. (reset_signal_arrived): New helper function. * malloc.cc (malloc_init): Use mutos so that signal handler can keep track of who owns the lock. (__malloc_lock): Ditto. (__malloc_unlock): Ditto. * sync.h (new_muto): Actually use a muto for the "buffer". * Makefile.in: Fix a dependency.
Christopher Faylor
2000-02-26 01:11:54 +0000
52aaab48f4* Makefile.in: fix "make check" support and cygrun.
DJ Delorie
2000-02-26 01:06:48 +0000
dbaf37cf83Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-02-25 19:52:27 +0000
e53d3a5d95Extend the i386 gas testsuite to do some tests for intel_syntax. Fix all the errors exposed by this addition. These were intel mode "fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al". The failure with intel "out dx,al" was also present in att "out al,dx". Extend testsuite to catch this case too.
Alan Modra
2000-02-25 11:41:12 +0000
7620791bd9Rename 'flags' to 'signed_overflow_ok_p'
Nick Clifton
2000-02-24 23:57:23 +0000
4d0ce66d1f2000-02-24 Andrew Haley <aph@cygnus.com>
Andrew Haley
2000-02-24 21:56:53 +0000
29cb17f117Add support for an OS of "wince"
Nick Clifton
2000-02-24 21:20:57 +0000
ab1a69347dEliminate RCS stuff.
Christopher Faylor
2000-02-24 20:59:30 +0000
9edba13851*** empty log message ***
Christopher Faylor
2000-02-24 20:57:40 +0000
faecc585c2* syscalls.c (_read): Clear errno before doing any read operation.
Christopher Faylor
2000-02-24 20:57:03 +0000
d3bda1df95* exceptions.cc (call_handler): Use new muto linked list to look for all potential mutos owned by suspended thread. Clear waiting threads while thread is stopped. (proc_subproc): Clarify debugging output. * sync.h (class muto): Add 'next' field. (new_muto): Keep linked list alive.
Christopher Faylor
2000-02-24 19:54:01 +0000
4bc3b73cfdAdd support for WinCE targeted toolchains.
Nick Clifton
2000-02-24 19:49:18 +0000
7408c24343Adhere to w32api copyright conventions.
Christopher Faylor
2000-02-24 18:04:23 +0000
bc019ef210Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
Ranjith Kumaran
2000-02-24 16:48:28 +0000
759e2a8845Forgot Changelog for last i386.h change.
Alan Modra
2000-02-24 12:41:54 +0000
df256a94d6Correct intel_syntax fsub* and fdiv* handling. Oh, how I'd like to be rid of UNIXWARE_COMPAT.
Alan Modra
2000-02-24 12:40:45 +0000
9aa07a8f60Fix final round of gcc warnings relating to unused parameters. * debug.cc (iscygthread): New function. * debug.h: Declare it. * exceptions.cc (set_process_mask): Flush pending signals. (handle_sigsuspend): No need to flush pending signals. (call_handler): Refine previous tests of muto ownership. Only clear wait()'s when we have definitely responded to a signal. * fhandler_console.cc (fhandler_console::read): Don't set EINTR if executing in a "cygwin" thread. * sigproc.cc (proc_subproc): Use second argument to control whether CLEARWAIT actually sets "signalled" flag. * sync.h (muto): Add 'unstable' method.
Christopher Faylor
2000-02-24 06:45:32 +0000
fb87c246a7* config.guess, config.sub: Updated to match config's 2000-02-15 version.
Andrew Cagney
2000-02-24 05:38:51 +0000
65b9598470Fix final round of gcc warnings relating to unused parameters.
Christopher Faylor
2000-02-24 03:53:22 +0000
2528588a75Remove RCS cruft.
Christopher Faylor
2000-02-24 03:03:04 +0000
41f42725a2* hinfo.cc (hinfo::extend): Clean up debugging output.
Christopher Faylor
2000-02-24 03:00:37 +0000
f02f1f1444* exceptions.cc (interruptible): Change method for determining if something is interruptible. (call_handler): Avoid suspending a thread if it owns a mutex. Only set signal_arrived if the thread was actually interrupted. (events_init): Initialize module information needed by interruptible(). (sigdelayed): Don't call sig_dispatch_pending since it could screw up * init.cc (dll_entry): Record module handle of main for use by interruptible(). (proc_subproc): Reorganize handling of terminated child so that the bulk of the processing comes from the signal thread. (wait_sig): Force processing of waiting threads if SIGCHLD is not processed. * sync.cc (muto::release): Set tid == 0 after lock is released or signal processor will be confused.
Christopher Faylor
2000-02-24 02:49:44 +0000
58dabf5040Add IBM 370 support.
Alan Modra
2000-02-23 13:52:22 +0000
01cf5d0f5dRespond to more g++ warnings relating to initializing structures.
Christopher Faylor
2000-02-23 04:07:13 +0000
237e6cfa82Add support for sh-pe and arm-wince-pe targets.
Nick Clifton
2000-02-23 01:26:59 +0000
9dfc83d797* opcode/d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation cannot be combined in parallel with ADD/SUBppp.
Chandra Chavva
2000-02-22 20:52:14 +0000
ebb5df1ee3Updated comment.
Nick Clifton
2000-02-22 19:59:40 +0000