summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usageCorinna Vinschen2010-08-203-3/+12
| | | | | of get_stat_handle () to get_handle (). Add comment to explain why. * syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.
* 2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-08-202-961/+1369
| | | | * lib/kernel32.def: Regenerate using gendef on a Win7 machine.
* * include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL. ChangeCorinna Vinschen2010-08-193-2/+10
| | | | | FILE_ATTRIBUTE_VALID_FLAGS accordingly. * include/ddk/winddk.h: Ditto.
* * new-features.sgml (ov-new1.7.7): New section.Corinna Vinschen2010-08-193-46/+126
| | | | | | * pathnames.sgml: Throughout, align style of screen elements. Throughout, make all emphasis elements bold. (pathnames-win32-api): Rewrite section.
* * external.cc (sync_wincwd): New function.Corinna Vinschen2010-08-193-7/+35
| | | | | | | (cygwin_internal): Rename CW_SETCWD to CW_SYNC_WINCWD. Call sync_wincwd from here. * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_SETCWD to CW_SYNC_WINCWD.
* 2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>Chris Sutcliffe2010-08-182-0/+16
| | | | | * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, CreateSymbolicLinkW, CreateSymbolicLinkA, CreateSymbolicLink): Define
* * external.cc (CW_SETCWD): New option.Christopher Faylor2010-08-184-2/+16
| | | | | * include/cygwin/version.h: Bump api minor to 231. * include/sys/cygwin.h (CW_SETCWD): Define.
* * pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.Corinna Vinschen2010-08-182-2/+8
|
* * syscalls.cc (rename): Fix renaming file-based devices.Corinna Vinschen2010-08-182-5/+10
|
* * exceptions.cc (open_stackdumpfile): Don't try to open file if weCorinna Vinschen2010-08-183-13/+16
| | | | | | have no filesystem based CWD. Add comment. * path.cc (cwdstuff::set): Set CWD handle to NULL if CWD is a virtual path. Simplify matching comment.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdevCorinna Vinschen2010-08-182-2/+7
| | | | to correct device number for fs_special devices.
* Make PATH_MAX consistent with MAX_PATHKeith Marshall2010-08-172-3/+9
|
* * include/cygwin/version.h: Bump DLL minor version number to 6.Corinna Vinschen2010-08-162-1/+5
|
* * pipe.cc (fhandler_pipe::open): Duplicate content of opened pipeCorinna Vinschen2010-08-142-0/+8
| | | | fhandler before calling dup method.
* * mount.cc (from_fstab): Fix potentially fatal typo.Corinna Vinschen2010-08-132-1/+5
|
* * faq-programming.xml (faq.programming.win32-api): Remove simplicity.Corinna Vinschen2010-08-136-9/+102
| | | | | | | | | | | | | Add note and xrefs to User's Guide chapters explaining restrictions using the Win32 API. * new-features.sgml (ov-new1.7.6): Add note about Win CWD. * overview2.sgml (ov-hi-intro): Add note and xrefs about Win32 API restrictions. Tone down flexibility. * pathnames.sgml (pathnames-intro): Add xref to pathnames-win32-api section. (pathnames-win32-api): New section describing Win32 CWD restriction. * setup2.sgml (setup-env-ov): New sub-section. (setup-env-win32): Ditto, describing Win32 environment restriction.
* * cygheap.h (class cwdstuff): Make drive_length private.Corinna Vinschen2010-08-134-166/+243
| | | | | | | | | | | | | | | | | | | | | | | | | Add "error" member. (cwdstuff::get_error): New inline method. (cwdstuff::get_error_desc): Declare. (cwdstuff::set): Change first parameter to pointer to path_conv. * path.cc (chdir): Drop doit. Align call to cwdstuff::set to new arguments. (cwdstuff::init): Only call cwdstuff::set if it's not already initialized. Add comment. Drop third parameter in call to cwdstuff::set. (cwdstuff::set): Partially rewrite. Add lots of comments to explain everything. Drop "doit" since it's not used anymore. Always create new handle to CWD if not in a virtual path. Drop PEB locking when reading PEB values in init phase. Check for accessibility to set correct error code. Drop Vista workaround. Never write back into PEB. Set Win32 CWD to \\?\PIPE\ on init. Simplify creation of win32 path. Set new error member to a meaningful value. (cwdstuff::get_error_desc): New method to generate error message from cwd error code. * spawn.cc (spawn_guts): Call cwdstuff::get_error_desc to create more meaningful error message when not being able to start native Win32 app due to CWD restrictions. When starting native Win32 app, lock cwd and use in calls to CreateProcessW/CreateProcessAsUserW.
* * libc/include/sys/dir.h: New BSD-compatibility header.Yaakov Selkowitz2010-08-112-0/+14
|
* * new-features.sgml (ov-new1.7.6): Document "bind" option.Corinna Vinschen2010-08-113-0/+28
| | | | * pathnames.sgml (mount-table): Add "bind" option with example.
* * mount.cc (do_mount): Don't treat "bind" mount as remote mount.Corinna Vinschen2010-08-113-18/+46
| | | | | | (mount_entries): Drop the "bind" option from output. * utils.sgml (mount): Match examples to actual mount output. Add "bind" option and add example.
* * mount.cc (struct opt): Add "bind" option.Corinna Vinschen2010-08-113-2/+50
| | | | | | | (mount_info::from_fstab_line): Handle "bind" option. (fillout_mntent): Add "bind" option to mnt_opts. (mount): Handle "bind" option. * include/sys/mount.h (MOUNT_BIND): New mount flag.
* * mingw: Use sysroot, if present, for mingw_dir.Yaakov Selkowitz2010-08-112-1/+9
|
* * sigproc.cc (init_sig_pipe): Add retry loop.Christopher Faylor2010-08-102-3/+8
|
* * cygheap.h (cygheap_fdmanip): Delete fh and use fd index into cygheap->fdtabChristopher Faylor2010-08-092-16/+18
| | | | | | throughout. (cygheap_fdnew): Replace fh by using fd index into cygheap->fdtab throughout. (cygheap_fdget): Ditto. (cygheap_fdenum): Ditto.
* * new-features.sgml (ov-new1.7.6): Document POSIX Monotonic Clock.Yaakov Selkowitz2010-08-092-0/+8
|
* Implement POSIX.1-2004 Monotonic Clock.Yaakov Selkowitz2010-08-096-37/+99
| | | | | | | | | | | | | | | | | | | | | | | * hires.h: Change hires_us to hires_ns, with nanosecond resolution. (hires_ns::primed_ft): Remove. (hires_ns::nsecs): New prototype. (hires_ns::usecs): Rewrite in terms of nsecs. (hires_ns::resolution): New prototype. * times.cc: Change hires_us to hires_ns. (ntod): Declare. (systime): Remove. (hires_ns::prime): Increase resolution to nanoseconds. (hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution. Remove justdelta argument. (hires_ns::resolution): New function. (clock_gettime): Accept CLOCK_MONOTONIC. Use EINVAL instead of ENOSYS per POSIX.1-2004. (clock_getres): Ditto. (clock_setres): Use EINVAL instead of ENOSYS to conform with other implementations. * strace.cc (strace::microseconds): Adjust for hires_ns. * sysconf.cc (sca): Set _SC_MONOTONIC_CLOCK to _POSIX_MONOTONIC_CLOCK. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.Corinna Vinschen2010-08-092-1/+5
|
* * new-features.sgml (ov-new1.7.6): Document /proc/filesystems.Corinna Vinschen2010-08-092-0/+8
|
* * fhandler_proc.cc: Add /proc/filesystems virtual file.Corinna Vinschen2010-08-094-20/+55
| | | | | | | | (format_proc_filesystems): New function. * mount.cc (fs_names): Move to global scope. Redefine as array of { "name", block_device? } structs. (fillout_mntent): Use name member of fs_names. * mount.h (fs_names): New prototype.
* * include/dlfcn.h (RTLD_LOCAL): Define.Corinna Vinschen2010-08-092-1/+6
|
* * include/sys/dirent.h (d_fileno): Define as d_ino.Corinna Vinschen2010-08-062-0/+6
|
* * libc/include/sys/stat.h: Move all POSIX-defined symbolic constantsCorinna Vinschen2010-08-062-2/+7
| | | | out of `#ifndef _POSIX_SOURCE' guard.
* * path.cc (cygwin_conv_path): Rearrange test for "." in POSIX toCorinna Vinschen2010-08-042-9/+38
| | | | | | relative DOS path conversion. Simplify fixing the path. In CCP_POSIX_TO_WIN_W conversion, always drop long path prefix if path fits into MAX_PATH. Explain why.
* 2010-08-03 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-08-035-7/+53
| | | | | | | | | * libm/common/s_lrint.c (lrint): Annotate shift operations with possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid undefined behaviour. * libm/common/s_llrint.c (llrint): Likewise. * libm/common/s_lround.c (lround): Correct some comments on ranges. * libm/common/s_llround.c (llround): Likewise.
* * exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning"Christopher Faylor2010-08-014-18/+46
| | | | | | | | | | | when choosing to defer signal. (_cygtls::call_signal_handler): Grab func when we have the lock. * gendef: Update copyright. (__sigbe): Simplify slightly. (_sigdelayed): Grab a lock before manipulating stuff. (_cygtls::pop): Properly return popped value. (stabilize_sig_stack): Set incyg when we have the lock. * sigproc.cc: Update copyright.
* gdb/Jan Kratochvil2010-07-313-179/+213
| | | | | | | | | | | | | | | * common/signals.c (signals): Move the content to signals.def. Include it. Remove the INDENT comments. gdb/gdbserver/ * Makefile.in (signals_def): New. (server_h): Append include/gdb/signals.h and signals_def. (server.o): Append signals_def. include/gdb/ * signals.h (enum target_signal): Move the content to signals.def. Include it. * signals.def: New file.
* * cygthread.h (LPVOID_THREAD_START_ROUTINE): Define.Christopher Faylor2010-07-304-24/+46
| | | | | | | | | | | | | (cygthread::create): Rename from cygthread::cygthread. (cygthread::cygthread): Define new constructor which accepts LPVOID_THREAD_START_ROUTINE as the first argument. Call cygthread::create. * cygthread.cc (cygthread::create): Rename from cygthread::cygthread. Use 'arglen' rather than 'n' since 'n' is no longer supplied. * fhandler_tty.cc (process_input): Define as void/noreturn. (process_output): Ditto. (process_ioctl): Ditto. (fhandler_tty_master::init): Don't "zap_h" cygthreads which are noreturn. It's now implied.
* Add moxie-rtems support.Anthony Green2010-07-302-1/+5
|
* [include/opcode]DJ Delorie2010-07-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rx.h (RX_Operand_Type): Add TwoReg. (RX_Opcode_ID): Remove ediv and ediv2. [opcodes] * rx-decode.opc (SRR): New. (rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov r0,r0) and NOP3 (max r0,r0) special cases. * rx-decode.c: Regenerate. [sim/rx] * rx.c (decode_cache_base): New. (id_names): Remove ediv and edivu. (optype_names): Add TwoReg. (maybe_get_mem_page): New. (rx_get_byte): Call it. (get_op): Add TwoReg support. (put_op): Likewise. (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode" is a pointer now. (DO_RETURN): New. We use longjmp to return an exception result. (decode_opcode): Make opcode a pointer to the decode cache. Save decoded opcode information and re-use. Call DO_RETURN instead of return throughout. Remove ediv and edivu. * mem.c (ptdc): New. Adds decode cache. (rx_mem_ptr): Support it. (rx_mem_decode_cache): New. * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE. (rx_mem_decode_cache): Declare. * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here... * main.c (main): ...and here. Use a fast loop if neither trace nor disassemble is given. * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED, RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a valid code for anything.
* [sim/rx]DJ Delorie2010-07-282-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README.txt: New. * config.h (CYCLE_ACCURATE, CYCLE_STATS): New. * configure.in (--enable-cycle-accurate, --enable-cycle-stats): New. Default to enabled. * configure: Regenerate. * cpu.h (regs_type): Add cycle tracking info. (reset_pipeline_stats): Declare. (halt_pipeline_stats): Declare. (pipeline_stats): Declare. * main.c (done): Call pipeline_stats(). * mem.h (rx_mem_ptr): Moved to here ... * mem.c (mem_ptr): ... from here. Rename throughout. (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle statistics. Move UART to SCI4. (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles. * reg.c (init_regs): Set Rt reg to -1 (no reg). * rx.c: Add cycle counting and statistics throughout. (rx_get_byte): Optimize for speed. (decode_opcode): Likewise. (reset_pipeline_stats): New. (halt_pipeline_stats): New. (pipeline_stats): New. * trace.c (sim_disasm_one): Print cycle count. [include/opcode] * rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
* * setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"Andy Koppe2010-07-263-6/+11
| | | | view to "Pending"
* Accept that mingwrt headers are not guaranteed to precede GCC's in the ↵Keith Marshall2010-07-252-10/+40
| | | | system include search path; (issue reported by Mark Brand).
* 2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-242-1/+5
| | | | * lib/kernel32.def(FatalExit): Correct definiton.
* Fix latest changelog entry to not refer to libgloss directory.Jeff Johnston2010-07-231-41/+41
|
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-234-39/+72
| | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> * configure.host: Compact v850* support and add check for newlib_may_supply_syscalls. * libc/sys/sysnecv850/Makefile.am: Add support for '--disable-newlib-supplied-syscalls' option. * libc/sys/sysnecv850/Makefile.in: Regenerated.
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-2340-1566/+7740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> Moving files from libc/sys/sysnecv850 to libgloss/v850 * libgloss/libnosys/configure: Regenerated. * libgloss/libnosys/configure.in: Compact v850 support to v850*-*-*. * libgloss/libnosys/configure: Regenerated. * libgloss/configure.in: Add libgloss support for v850. * libgloss/configure: Regenerated. * libgloss/v850/access.c: New file. * libgloss/v850/aclocal.m4: New. * libgloss/v850/chmod.c: New. * libgloss/v850/chown.c: New. * libgloss/v850/close.c: New. * libgloss/v850/configure: New. * libgloss/v850/configure.in: New. * libgloss/v850/crt0.S: New. * libgloss/v850/crt1.c: New. * libgloss/v850/execv.c: New. * libgloss/v850/execve.c: New. * libgloss/v850/_exit.c: New. * libgloss/v850/fork.c: New. * libgloss/v850/fstat.c: New. * libgloss/v850/getpid.c: New. * libgloss/v850/gettime.c: New. * libgloss/v850/isatty.c: New. * libgloss/v850/kill.c: New. * libgloss/v850/link.c: New. * libgloss/v850/lseek.c: New. * libgloss/v850/Makefile.in: New. * libgloss/v850/open.c: New. * libgloss/v850/pipe.c: New. * libgloss/v850/read.c: New. * libgloss/v850/sbrk.c: New. * libgloss/v850/sim.ld: New. * libgloss/v850/stat.c: New. * libgloss/v850/time.c: New. * libgloss/v850/times.c: New. * libgloss/v850/trap.S: New. * libgloss/v850/unlink.c: New. * libgloss/v850/utime.c: New. * libgloss/v850/wait.c: New. * libgloss/v850/write.c: New.
* Add support for v850E2 and v850E2V3Nick Clifton2010-07-236-43/+123
|
* * fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULLCorinna Vinschen2010-07-232-3/+5
| | | | special handling.
* 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>Chris Sutcliffe2010-07-232-20/+28
| | | | | | | | * include/io.h (_findfirst, _findnext, _findclose, _findfirst32, _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32, _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext, _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64, _findnexti64): Correct definition.
* 2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-222-0/+22
| | | | | * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Revert change from 2010-07-17 since it breaks several applications.