Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-23 * Merge in cygwin-64bit-branch.Corinna Vinschen
2012-11-26 * bloda.cc: Drop Mingw.org considerations.Corinna Vinschen
* dump_setup.cc: Ditto. * strace.cc: Ditto.
2012-11-23ChangeLog:Christopher Faylor
2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.common: Revamp for new configury. Add default compilation targets, include .E processing. Add magic for allowing "CFLAGS" to control optimization options in "CXXFLAGS". * configure.cygwin: New include for Cygwin configure.in's. * acinclude.m4: Delete old definitions. Implement AC_WINDOWS_HEADERS, AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir. * aclocal.m4: Regenerate. * autogen.sh: New file. * ccwrap: New script. * c++wrap: New script. * config.guess: New script. * config.sub: New script. * configure: Regenerate. * configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard. Delete ancient target test. * install-sh: New script. cygserver/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. cygwin/ChangeLog: 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * select.cc (select): Don't return -1 when we've timed out after looping. 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. (datarootdir): Add variable setting. (winver_stamp): Accommodate changes to mkvers.sh setting. (libc.a): Fix race when libm.a might not have been built yet. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * mkvers.sh: Find include directives via CFLAGS and friends rather than assuming that w32api lives nearby. utils/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * configure.in: Revamp for new configury. * Makefile.in: Revamp for new configury. Rename ALL_* to just *. Always use "VERBOSE" setting. (MINGW_CXX): Don't include CFLAGS in definition. (all): Define target first, before everything else so that it is the default. (ps.exe): Don't add useless -lcygwin. (ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than redefining them. (cygcheck.exe): Always include -lz for MINGW_LDFLAGS. Don't try to figure out where to find it. (dumper.exe): Simplify check. Assume libraries are installed rather than trying to retrieve from source tree. (install): Just use /bin/mkdir to create directories. (Makefile): Regenerate when standard dependencies change. * dump_setup.cc: Always include zlib.h. Remove accommodations for it possibly not existing. * parse_pe.cc: Add define which allows building with installed binutils package. * dumper.cc: Ditto.
2012-10-24 * configure.in: Add check for MINGW_CXX. Remove libiconv check.Yaakov Selkowitz
* configure: Regenerate. * Makefile.in: Remove references to mingw and w32api directories. Use MINGW_CXX instead of mingw script to build MINGW_BINS. Check for libiconv with $CC --print-file-name. * cygcheck.cc: Use relative include paths for Cygwin headers. * path.cc: Ditto. * strace.cc: Ditto * mingw: Remove.
2012-07-11 * Makefile.in (cygcheck.exe): Link against psapi.dll.Corinna Vinschen
* bloda.cc: Change include section to work with Mingw64 headers. Include psapi.h. Use SystemProcessInformation instead of SystemProcessesAndThreadsInformation throughout and add define for w32api headers. Ditto for PSYSTEM_PROCESS_INFORMATION vs. PSYSTEM_PROCESSES. (system_module_list): New type to replace SYSTEM_MODULE_INFORMATION. Change usage throughout accordingly. (get_module_list): Fetch module list using PSAPI functions EnumDeviceDrivers and GetDeviceDriverBaseNameA. * cygcheck.cc (max): Define as __max if not defined already. (alloca): Only define if not defined already. (handle_unique_object_name): Use explicit sharing flags rather than FILE_SHARE_VALID_FLAGS which officially is only available in DDK headers. (PRODUCT_ULTIMATE_E): Only define if not defined already. * dump_setup.cc: Change include section to work with Mingw64 headers. (NtQueryAttributesFile): Drop NTOSAPI aka DECLSPEC_IMPORT. * strace.cc: Change include section to work with Mingw64 headers. (alloca): Only define if not defined already.
2012-01-31* strace.cc (proc_child): Don't right-shift exit value.Christopher Faylor
(main): Call ExitProcess() to exit exactly the same way as any straced child.
2011-12-18Clean up whitespace.Christopher Faylor
2011-11-25* strace.cc (attach_process): Use NT_SUCCESS to figure out ifChristopher Faylor
NtSetInformationProcess succeeded. (handle_output_debug_string): Put back DebugActiveProcess since it seems to still be needed (on my system at least). Detect new format _STRACE_INTERFACE_ACTIVATE_ADDR which informs whether this is a forked process or not. Use that to decide if forkdebug should be handled.
2011-11-14* strace.cc (handle_output_debug_string): Disable code which attempted to addChristopher Faylor
stuff in between '****' blocks since they no longer are the first thing output by an straced process.
2011-10-10 * Align usage output, version output, as well as usage and versionCorinna Vinschen
option handling to use the same style throughout all Cygwin utils. Throughout use program_invocation_short_name to refer to current process name in Cygwin executables. * utils.sgml: Align documentation to above change. Add missing sections for getconf, ldd, and setmetamode. * strace.cc (proc_child): Avoid compiler warning.
2011-09-15 * strace.cc (attach_process): Try to turn off DEBUG_ONLY_THIS_PROCESSJon TURNEY
if Attaching to a process with the trace-children flag set. (handle_output_debug_string): Apparently we don't need to explicitly attach for debugging when a child process starts * Makefile.in (strace.exe): Link with ntdll
2010-08-28 * loadlib.h: New header implementing safe LoadLibrary calls.Corinna Vinschen
Include throughout files using LoadLibrary function. * cygcheck.cc (dump_sysinfo): Retrieve kernel32.dll handle via GetModuleHandle, rather than using LoadLibrary. * cygpath.cc (get_long_name): Ditto. (do_sysfolders): Append .dll suffix in LoadLibrary call. * ldh.cc (WinMain): Use LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES to avoid loading malicious library code. * locale.cc (print_locale_with_codeset): Change way to retrieve kernel32.dll path.
2010-02-22* strace.cc (mnemonic_table): Add "special" mask option.Christopher Faylor
(usage): Document it. * utils.sgml: Ditto.
2010-02-19Update copyrightChristopher Faylor
2010-02-19utils/ChangeLog:Christopher Faylor
* strace.cc (mnemonic_table): Add pthread mask option. (usage): Document strace pthread mask option. * utils.sgml: Ditto. cygwin/ChangeLog: * include/sys/strace.h: Remove old code. Add support for ptrace tracing.
2009-11-04 * cygcheck.cc (cygwin_dll_path): New global variable.Corinna Vinschen
(load_cygwin): Fetch cygwin DLL path and store in cygwin_dll_path. * strace.cc: Full ditto. * path.cc (read_mounts): First use the path stored in cygwin_dll_path, if available. Then fall back to fetching own path. Add comment. Drop printing warnings since they look funny in strace output.
2009-07-15 * strace.cc (main): Open trace output file in UNIX mode.Corinna Vinschen
2009-04-22* strace.cc (create_child): Set CYGWIN=noglob when starting new process so thatChristopher Faylor
Cygwin will leave already-parsed the command line alonw.
2009-03-24 * cygcheck.cc (dump_sysinfo): Fix compiler warning in printf.Corinna Vinschen
* strace.cc (proc_child): Ditto. * ldd.cc: Remove now useless undef wcscasecmp.
2008-09-13* cygcheck.cc (pathlike::check_existence): Remove class name from declaration.Christopher Faylor
(display_internet_error): Use proper format specifier for DWORD. (environ): Remove unneeded declaration. (main): Use brace around nested if to avoid an overly-helpful compiler warning. * dump_setup.cc (parse_filename): Reorganize nested if to avoid an overly-helpful compiler warning. * path.cc (GUID_shortcut): Use braces around part of initializer which needs them. (conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler warning. (struct opt): Make static. * ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler warning. * regtool.cc: Make some anonymous structs static to avoid a compiler warning. * ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential uninitialized use. * strace.cc (add_child): Use proper format specifier for DWORD. (remove_child): Ditto. (proc_child): Ditto.
2007-07-24* strace.cc (create_child): Don't convert a path from cygwin format unless itChristopher Faylor
has a slash.
2007-07-10* strace.cc (usage): Add missing description for -q.Christopher Faylor
2006-05-24* strace.cc (proc_child): Propagate return code from child process.Christopher Faylor
(dostrace): Ditto. (main): Ditto.
2005-12-29*** cygwin DLL Changes:Christopher Faylor
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset. (child_info::dwProcessId): Delete. (child_info::straced): New variable. (child_info::handle_fork): New member function. * dcrt0.cc (in_forkee): New global variable. (__cygwin_user_data::forkee): Mark as obsolete. (do_global_ctors): Use in_forkee rather than user_data->forkee. (get_cygwin_startup_info): Ditto. Deal with new straced field to allow strace to deal with children of attached processes. (initial_env): Accommodate changes to strace::hello. (child_info_fork::handle_fork): Rename from plain old 'handle_fork'. Move alloc_stack() call elsewhere. (dll_crt0_0): Fill out more of user_data. Reference handle_fork via fork_info. Add some debugging output. (_dll_crt0): Don't wait for sync thread if sync_startup is invalid. Zero sync_startup here. Call alloc_stack() here, if appropriate. (dll_crt0_1): Use in_forkee rather than user_data->forkee. (dll_crt0): Ditto. * malloc_wrapper.cc (malloc_init): Ditto. * dll_init.cc (in_forkee): Remove local static version of this variable. (dll_list::load_after_fork): Don't set in_forkee here. * external.cc (cygwin_internal): Use strace method rather than accessing field directly. * fhandler.cc (fhandler_base::read): Ditto. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto. * fork.cc (frok::parent): Invoke strace write_childpid to communicate with potential strace. (child_copy): Add more detail to debugging output. * init.cc (calibration_id): New static variable. (prime_threads): Set sync_startup to invalid handle if we already know about thread_func_ix. Use static calibration_id to hold calibration thread id. * munge_threadfunc (munge_threadfunc): Don't try to debug if we don't find threadfunc_ix. (dll_entry): Avoid calling munge_threadfunc and _cygtls::remove on non-cygwin threads invoked during process startup. * pinfo.cc (set_myself): Always call strace.hello here regardless of DEBUGGING. * sigproc.cc (child_info::child_info): Remove spurious handling of dwProcessId. Set straced as appropriate. * spawn.cc (spawn_guts): Rename ciresrv to ch. Invoke strace write_childpid to communicate with potential strace. * strace.cc: Include child_info.h. (strace::hello): Remove inited test. Use active() method to test if strace has been activated. Handle case where we are started before (mypid): New function. (strace::vsprntf): Try to deal more intelligently with case where progname may not be filled out. Put pid in parentheses if it is a windows pid rather than a cygwin pid. myself has been filled out. (strace::write_childpid): New function for notifying strace about the creation of children. (strace::vprntf): Use strace method rather than accessing field directly. (strace_printf): Ditto. (strace::wm): Ditto. * winsup.h (in_forkee): Declare. * include/sys/strace.h (strace::write_childpid): Declare new function. (strace::attached): Define new function. (strace::active): Ditto. (strace::active_val): Ditto. (_STRACE_ON): Delete. (_STRACE_OFF): Ditto. (define_strace0): Use strace method rather than accessing field directly. (strace_printf_wrap): Ditto. (strace_printf_wrap1): Ditto. *** cygwin utils changes: * strace.cc (nprocesses): Make static global. (quiet): New variable. (strace_active): Ditto. (add_child): Increment nprocesses here. Don't add a child if it is already added (windows bug?). Report on child if not quiet. (get_child): Just return NULL if child not found. (remove_child): Report on child if not quiet. (attach_process): Don't complain if given a windows process. Use windows pid in error. (handle_output_debug_string): Issue error if trying to manipulate a process that we don't know about. Handle _STRACE_CHILD_PID - attach to reported child when we get this. (proc_child): Move nprocesses to file scope. Report on exceptions. (longopts): Implement "--quiet". (opts): Implement "-q". (main): Manipulate quiet flag. * utils.sgml (strace): Add words describing '-q'.
2005-12-05* strace.cc (show_usecs): Renamed from 'usecs'.Christopher Faylor
(main): Use show_usecs rather than usecs. Toggle delta if '-u' is specified. (handle_output_debug_string): Avoid printing microsecond timestamp if show_usecs == 0. * utils.sgml (strace): Add words to describe '-u'.
2005-10-11revert erroneous checkinChristopher Faylor
2005-10-11* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor
2005-05-27* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.Christopher Faylor
* strace.cc (load_cygwin): Ditto.
2005-05-17* cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor
* strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
2005-05-15 * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen
(print_version): Fix copyright. * strace.cc (print_version): Ditto.
2005-05-09* strace.cc (attach_process): Don't call load_cygwin(). Assume that it'sChristopher Faylor
already happened. (dotoggle): Ditto. (main): Set argv from cygwin environment, if it exists.
2005-03-07 * strace.cc (handle_output_debug_string): Fix compiler warning.Corinna Vinschen
2005-02-27* kill (getsig): Avoid buffer overflow when generating a signal name.Christopher Faylor
* strace.cc (handle_output_debug_string): Make error a little more specific.
2005-01-16* ps.cc (main): Eliminate use of PID_ZOMBIE.Christopher Faylor
* strace.cc (main): Recognize new option for displaying hex value of strace type. (handle_output_debug_string): Prepend output with hex value of strace message if -H is specified.
2004-10-06 * strace.cc (_impure_ptr): Remove.Corinna Vinschen
2004-02-21* Makefile.in (build_dumper): Detect missing iconv library.Christopher Faylor
* cygpath.cc (dowin): Report on filename conversion errors. (doit): Ditto. * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
2004-02-11 * strace.cc (opts): Add leading '+' to force posixly correctCorinna Vinschen
behaviour. (main): Revert POSIXLY_CORRECT manipulations.
2004-02-11* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.Christopher Faylor
2004-02-10* strace.cc: Update copyrights.Christopher Faylor
* cygcheck.cc: Update copyrights.
2004-02-10* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.Christopher Faylor
* cygcheck.cc (main): Ditto.
2003-04-27* cygcheck.cc (usage) Add description output.Joshua Daniel Franklin
2003-03-04* Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor
* cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
2002-10-19* mount.cc (usage): Correctly report default mode.Christopher Faylor
2002-09-15Add final newlines to utilsJoshua Daniel Franklin
2002-06-07* strace.cc (main): Make toggle a local variable.Christopher Faylor
2002-06-07* strace.cc (toggle): New global variable.Christopher Faylor
(error): Use exit instead of ExitProcess so that stdio buffers get flushed. (create_child): Remove command line error checking. (dostrace): Ditto. (dotoggle): New function. (usage): Add entry for new option -T|--toggle. Alphabetize. (longopts): Add new option -T|--toggle. (opts): Ditto. (main): Handle new -T|--toggle option. Move all command line checking here from other functions. * utils.sgml: Update section for strace.
2002-06-06* strace.cc (version): New global variable.Christopher Faylor
(usage): Accomodate stdout output. (print_version): New function.
2002-06-02* strace.cc (forkdebug): Make true by default.Christopher Faylor
(attach_process): Use window pid if cygwin pid isn't available (yet). (create_child): Use either DEBUG_ONLY_THIS_PROCESS or DEBUG_PROCESS, exclusively. (Suggested by Conrad.Scott@dsl.pipex.com)
2002-05-27* strace.cc (attach_process): Don't tell process to start stracing here.Christopher Faylor
(proc_child): Do it here, instead, after first debug event. This should work around inexplicable races with DebugActiveProcess. (dostrace): Pass any pid argument to proc_child.
2002-05-19* strace.cc (add_child): Use calloc since new requires working libstdc++.a.Christopher Faylor
(fhandler_disk_file::fstat): Ditto for delete/free.