summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_proc.cc (read_value): Remove definition.Corinna Vinschen2011-04-192-59/+58
| | | | | | | (print): Simplify. (format_proc_cpuinfo): Drop useless call to GetSystemInfo. Rearrange to use Rtl registry functions. Rename dwOldThreadAffinityMask to orig_affinity_mask.
* * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameterCorinna Vinschen2011-04-192-1/+7
| | | | per POSIX. Explain in comment.
* * gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask.Nick Clifton2011-04-192-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * gas/arm/mrs-msr-thumb-v7e-m.s: Likewise. * gas/arm/arch7.d: Update expected disassembly. * gas/arm/attr-march-armv7.d: Remove Microcontroller tag. * gas/arm/blx-bad.d: Only run for ELF based targets. * gas/arm/mrs-msr-thumb-v6t2.d: Likewise. * gas/arm/vldm-arm.d: Likewise. * gas/arm/mrs-msr-thumb-v7-m.d: Likewise. Remove qualifiers from PSR and IAPSR regsiter names. * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. * gas/arm/thumb2_bcond.d: Update expected disassembly to allow for relaxing of branch insns. * gas/arm/thumb32.d: Fix whitespace problems in disassembly. * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to detect M-profile targets. (do_t_swi): Exclude v7 and higher variants from arm_ext_os test. (v7m_psrs): Fix typo: basepri_max should be basepri_mask. * arm-dis.c (psr_name): Revert previous delta. * arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.
* * localtime.cc (tzload): Don't change global timezone informationCorinna Vinschen2011-04-182-14/+32
| | | | | when called from gmtime or gmtime_r. (tzparse): Ditto.
* * cygtls.cc (_cygtls::remove): Always close sockevt handle.Corinna Vinschen2011-04-182-1/+6
|
* fix typoChristopher Faylor2011-04-181-1/+1
|
* * new-features.sgml (ov-new1.7.10): Document ppoll.Corinna Vinschen2011-04-182-0/+8
|
* * cygwin.din (ppoll): Export.Corinna Vinschen2011-04-186-2/+40
| | | | | | | * poll.cc (ppoll): Implement. * posix.sgml (std-gnu): Add ppoll. * include/cygwin/version.h: Bump API minor number. * include/sys/poll.h (ppoll): Declare.
* * fhandler_socket.cc (fhandler_socket::evaluate_events): Handle theCorinna Vinschen2011-04-183-19/+57
| | | | | | | | | FD_CLOSE event specially when called from accept. Explain why. (fhandler_socket::shutdown): Fake success on not-connected socket and trigger socket event if the read side of a socket is affected. Explain why. * poll.cc (poll): Check for saw_shutdown_read on sockets to generate POLLHUP as well.
* * Fix various copyrights.Corinna Vinschen2011-04-186-5/+9
|
* * setfacl.c (getaclentry): Allow extra colon in mask and other entries.Corinna Vinschen2011-04-182-1/+9
|
* * * signal.cc (_pinfo::kill): Set this_process_state when process exists.Christopher Faylor2011-04-182-0/+6
|
* * signal.cc (_pinfo::kill): Return 0 when attempting to test for existence ofChristopher Faylor2011-04-172-21/+34
| | | | an existed process which has not yet been reaped.
* * cygheap.h (init_cygheap::ctty): Use base class so that console can join inChristopher Faylor2011-04-1710-34/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | the fun. * dtable.cc (dtable::stdio_init): Remove special-case call to set_console_ctty (). * exceptions.cc (sigpacket::process): Conditionally flush terminal input on certain signals. * fhandler.h (fhandler_console::get_tty_stuff): Make non-static. (fhandler_termios::get_ttyp): Move here. (fhandler_termios::sigflush): Declare. (fhandler_tty_common::get_ttyp): Delete. * fhandler_console.cc (fhandler_console::get_tty_stuff): Pass this as "arch" argument. (set_console_ctty): Delete. (tty_list::get_tty): Just return pointer to shared console region, delaying get_tty_stuff until open(). (fhandler_console::init): Treat NULL handle as signifying that console should be opened with O_NOCTTY flag. Rename handle argument to the more common 'h'. * fhandler_termios.cc (fhandler_termios::sigflush): Define. * fhandler_tty.cc (handler_tty_master::init_console): Pass NULL as first argument to fhandler_console::init. * pinfo.cc (_pinfo::set_ctty): Change third parameter to fhandler_termios *. Add extra debugging. * pinfo.h (_pinfo::set_ctty): Change third parameter to fhandler_termios *. * sigproc.cc (handle_sigsuspend): Don't special-case non-main threads.
* strchrnul: avoid segvEric Blake2011-04-152-3/+5
| | | | * libc/string/strchrnul.c (strchrnul): Fix strchrnul.
* gdb: sim: add style fixes lost between git->cvsMichael Frysinger2011-04-151-0/+1
|
* * elf-bfd.h (struct sdt_note): New struct.Nick Clifton2011-04-152-1/+7
| | | | | | | | | (struct elf_obj_tdata) <sdt_note_head>: New field. * elf.c (elfobj_grok_stapsdt_note_1): New function. (elfobj_grok_stapsdt_note): Likewise. (elf_parse_notes): Added code to treat SystemTap note sections. * common.h (NT_STAPSDT): New define.
* * thread.cc (pthread_setschedprio): New function.Yaakov Selkowitz2011-04-156-2/+25
| | | | | | | | * include/pthread.h (pthread_setschedprio): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * cygwin.din (pthread_setschedprio): Export. * posix.sgml (std-notimpl) Move pthread_setschedprio from here... (std-susv4) ...to here.
* gdb: sim: add command line completionMichael Frysinger2011-04-152-0/+8
| | | | | | | | | For now, only the sub-command name is completed. No support yet for completing options to that command. But even this is a huge step as currently, nothing is completed, and the basic "help sim" is fairly obtuse as to what exactly the "sim" command accepts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 2011-04-12 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY2011-04-132-1/+5
| | | | * utils.sgml (strace): Fix a pair of exchanged lines in usage text.
* PR gas/12296Nick Clifton2011-04-112-3/+9
| | | | | | | | * arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS. * gas/arm/arch7.s: Add SVC insn. * gas/arm/arch7.d: Add disassembly of SVC insn. * gas/arm/attr-march-armv7.d: Add arch profile tag.
* * new-features.sgml (ov-new1.7.10): Document /proc/swaps.Yaakov Selkowitz2011-04-112-0/+8
|
* * fhandler_proc.cc (proc_tab): Add /proc/swaps virtual file.Yaakov Selkowitz2011-04-112-0/+68
| | | | (format_proc_swaps): New function.
* * Makefile.in: Move srcdir definition before others which uses it.Christopher Faylor2011-04-072-4/+8
|
* * dll_init.cc (reserve_at, release_at): New functions.Christopher Faylor2011-04-062-11/+68
| | | | | | (load_after_fork): If the DLL was loaded higher than the required address, assume that it loaded at it's base address and also reserve memory there to force it to be relocated.
* * configure.ac (build_tools): Remove build-byacc.Joseph Myers2011-04-065-17677/+29
| | | | | | | | | | | | | | | | | | | (host_libs): Remove mmalloc. (host_tools): Remove byacc make patch prms send-pr ash bash bzip2 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed perl gawk findutils gettext zip. (libgcj): Remove target-qthreads. (target_tools): Remove target-examples target-gperf. (YACC): Don't handle building byacc. * configure: Regenerate. * Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff, dosutils, examples, fileutils, find, findutils, gawk, gettext, gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc, patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr, shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't handle building components. * Makefile.in: Regenerate.
* Sync config.sub from upstream.Ralf Wildenhues2011-04-052-0/+6
| | | | | /: * config.sub: Sync from upstream.
* * include/cygwin/types.h: Move #include <sys/sysmacros.h> toYaakov Selkowitz2011-04-053-5/+37
| | | | | | | end of header so that it gets the dev_t typedef. * include/sys/sysmacros.h (gnu_dev_major, gnu_dev_minor, gnu_dev_makedev): Prototype and define as inline functions. (major, minor, makedev): Redefine in terms of gnu_dev_*.
* * include/cygwin/types.h: Move multiple inclusion guards toYaakov Selkowitz2011-04-052-4/+10
| | | | beginning and end of header.
* * Makefile.in: Move Makefile.common include earlier to fix problems withChristopher Faylor2011-04-042-9/+14
| | | | relative ${srcdir} path which confuses make.
* * new-features.sgml (ov-new1.7.10): Document dropped NT4 support.Corinna Vinschen2011-04-042-0/+8
|
* Drop NT4 support.Corinna Vinschen2011-04-0418-288/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc (DnsQuery_A): Fatal if not available. (DnsRecordListFree): Ditto. (DsGetDcNameW): Ditto. (NetGetAnyDCName): Remove. (NetGetDCName): Remove. (EnumProcessModules): Fatal if not available. (GetModuleFileNameExW): Ditto. (GetModuleInformation): Ditto. (GetProcessMemoryInfo): Ditto. (QueryWorkingSet): Ditto. (LsaRegisterLogonProcess): Ditto. * fenv.cc (_feinitialise): Drop supports_sse condition. * fhandler_disk_file.cc (path_conv::isgood_inode): Fix comment. (fhandler_base::fstat_by_name): Drop has_fileid_dirinfo condition. (fhandler_disk_file::opendir): Ditto. * fhandler_netdrive.cc (fhandler_netdrive::readdir): Fix comment. * fhandler_proc.cc (format_proc_partitions): Drop NT4-only code. * fhandler_process.cc (get_process_state): Ditto. * kernel32.cc (GetWindowsDirectoryW): Remove. (GetWindowsDirectoryA): Remove. * miscfuncs.cc (nice_to_winprio): Drop NT4-only code. * mount.cc (fs_info::update): Fix comments. * net.cc (get_2k_ifs): Drop NT4-only code. * sec_auth.cc (get_logon_server): Ditto. (lsaauth): Drop NT4-specific error handling. * security.cc (alloc_sd): Set SE_DACL_PROTECTED unconditionally. * select.cc (select_stuff::wait): Always use MWMO_INPUTAVAILABLE. (peek_windows): Drop NT4-only condition in call to PeekMessage. * syscalls.cc (gethostid): Remove NT4-only workaround. * wincap.cc: Througout, drop has_dacl_protect, has_broken_if_oper_status, has_process_io_counters, has_terminal_services, has_extended_priority_class, has_guid_volumes, has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse from wincaps. (wincap_nt4sp4): Remove. (wincap_minimal): Set to wincap_2000. (wincapc::init): Rely on availability of OSVERSIONINFOEX structure. Treat error from GetVersionEx as fatal. Treat NT4 as fatal. * wincap.h (struct wincaps): Drop has_dacl_protect, has_broken_if_oper_status, has_process_io_counters, has_terminal_services, has_extended_priority_class, has_guid_volumes, has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse flags and methods. * winlean.h (GetWindowsDirectoryW) Define as GetSystemWindowsDirectoryW. (GetWindowsDirectoryA): Define as GetSystemWindowsDirectoryA.
* * dtable.cc (dtable::init_std_file_from_handle): Fix a comment toCorinna Vinschen2011-04-042-2/+8
| | | | reflect the current state.
* * new-features.sgml (ov-new1.7.10): Document additional informationYaakov Selkowitz2011-04-042-0/+10
| | | | in /proc/version.
* * Makefile.in (fhandler_proc_CFLAGS): Define USERNAME, HOSTNAME,Yaakov Selkowitz2011-04-043-6/+20
| | | | | | and GCC_VERSION. * fhandler_proc.cc (format_proc_version): Add build machine and GCC version information as on Linux.
* * devices.h (fh_devices): Define FH_PROC_MIN_MINOR.Yaakov Selkowitz2011-04-043-17/+27
| | | | | | Reorder major-0 devices so that all /proc directories fall between FH_PROC and FH_PROC_MIN_MINOR. * path.h (isproc_dev): Redefine accordingly.
* * include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Add.Corinna Vinschen2011-04-042-0/+5
|
* * passwd.c (main): Add the ability to specify a username for the -RCorinna Vinschen2011-04-043-12/+38
| | | | | command. * utils.sgml: Document the aforementioned change.
* * cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.Corinna Vinschen2011-04-044-9/+32
| | | | | | | * external.cc (cygwin_internal): In the CW_SET_PRIV_KEY case, fetch additional username parameter. * setlsapwd.cc (setlsapwd): Add username parameter. Allow admin to set the hidden password for other users.
* Add ChangeLog missing in previous checkinCorinna Vinschen2011-04-041-0/+9
|
* * sec_auth.cc (get_user_groups): Mark well-known groups as well-known.Corinna Vinschen2011-04-043-9/+29
| | | | | | | | (get_user_local_groups): Ditto. (verify_token): Drop useless label. * sec_helper.cc (cygsid::get_sid): Check for well-known SID if well_known isn't set. * security.h (well_known_sid_type): New inline function.
* * autoload.cc (FindFirstVolumeA): Remove.Corinna Vinschen2011-04-024-67/+56
| | | | | | | | | (FindNextVolumeA): Remove. (FindVolumeClose): Remove. (GetVolumeNameForVolumeMountPointA): Remove. * ntdll.h (NtFlushBuffersFile): Declare. * syscalls.cc (sync_worker): Rewrite using native NT functions. (sync): Ditto.
* * fhandler_proc.cc (format_proc_partitions): Express length in WCHARCorinna Vinschen2011-04-022-1/+6
| | | | size.
* * autoload.cc (GetExtendedTcpTable): Remove.Corinna Vinschen2011-04-026-145/+15
| | | | | | | | | | | | | (GetTcpTable): Remove. (CharNextExA): Remove. (FindWindowA): Remove. (ShowWindowAsync): Remove. * dcrt0.cc (disable_dep): Remove unused function. (dll_crt0_0): Drop comment babbling about TS & DEP. * fhandler_socket.cc (address_in_use): Remove unused function. * wincap.cc: Throughout, drop ts_has_dep_problem from wincaps. (wincapc::init): Drop code setting ts_has_dep_problem flag. * wincap.h (struct wincaps): Drop ts_has_dep_problem flags and method.
* update copyrightChristopher Faylor2011-04-011-1/+1
|
* * new-features.sgml (ov-new1.7.10): Document /proc/sysvipc/.Yaakov Selkowitz2011-04-012-0/+10
|
* Implement /proc/sysvipc/*Yaakov Selkowitz2011-04-0110-7/+392
| | | | | | | | | | | | | * devices.in (dev_procsysvipc_storage): Add. * devices.cc: Regenerate. * devices.h (fh_devices): Add FH_PROCSYSVIPC. * dtable.cc (build_fh_pc): Add case FH_PROCSYSVIPC. * fhandler.h (class fhandler_procsysvipc): Declare. (fhandler_union): Add __procsysvipc. * fhandler_proc.cc (proc_tab): Add sysvipc virt_directory. * fhandler_procsysvipc.cc: New file. * Makefile.in (DLL_OFILES): Add fhandler_procsysvipc.o. * path.h (isproc_dev): Add FH_PROCSYSVIPC to conditional.
* * configure.ac (avr-*-*): Add comment about why libssp is disabled.Joseph Myers2011-04-013-6/+8
| | | | | (microblaze*): Don't disable libssp. * configure: Regenerate.
* * configure.ac: Remove code setting CONFIG_SHELL, config_shell andJoseph Myers2011-04-015-77/+10
| | | | | | | moveifchange. * configure: Regenerate. * Makefile.tpl: Use @SHELL@ not @config_shell@. * Makefile.in: Regenerate.
* * configure.ac (*-*-sysv4*): Don't enable libgomp.Joseph Myers2011-04-013-72/+15
| | | | | | | | | | (alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*, powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*, powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*, xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*, *-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove md_exec_prefix cases. * configure: Regenerate.