aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-01-05* spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.Christopher Faylor2-2/+6
2006-01-05* fhandler_console.cc (fhandler_console::need_invisible): Only try to openChristopher Faylor2-4/+12
"CygwinInvisible" windows station if opening of default station fails. Use CloseWindowStation to close window station handle.
2006-01-05* fhandler_console.cc (fhandler_console::need_invisible): Open up the securityChristopher Faylor2-1/+6
of the newly created windows station.
2006-01-042006-01-04 Paul Brook <paul@codesourcery.com>Jeff Johnston9-0/+18
* m68k/bcc.ld: Add .got.plt and .got * m68k/idp.ld: Ditto. * m68k/idpgdb: Ditto. * m68k/mvme135.ld: Ditto. * m68k/sbc5204.ld: Ditto. * m68k/sbc5206.ld: Ditto. * m68k/sim.ld: Ditto.
2006-01-042006-01-04 Gregory Pietsch <gpietsch@comcast.net>Jeff Johnston3-107/+538
* libc/stdlib/getopt.c: Replaced with version that adds getopt_long and getopt_long_only support. * libc/include/getopt.h: New file.
2006-01-042006-01-05 Michael Gerdau <mgd@technosis.de>Danny Smith2-0/+12
* include/winbase.h (WINADVAPI): Define.
2006-01-04* path.cc (dot_special_chars): Add ", <, >, and |.Christopher Faylor2-3/+7
2006-01-042006-01-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-849/+605
Sync from gcc: 2006-01-04 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/24252 * Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES. * Makefile.tpl (OBJDUMP): New. (EXTRA_HOST_FLAGS): Add it. (EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass. * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try to use symbolic links between directories. Avoid race conditions or make them harmless. * configure.in: Do not try to use symbolic links between directories. * Makefile.def (LEAN): Pass. * Makefile.tpl (LEAN): Define. (stage[+id+]-start): Accept that the previous directory does not exist, if the bootstrap is lean. (stage[+id+]-bubble): Invoke lean bootstrap commands after stage[+id+]-start. Use a makefile variable and an `if' instead of a configure substitution. ([+compare-target+]): Likewise. ([+bootstrap-target+]-lean): New. * configure.in: Remove lean bootstrap support from here. * Makefile.in: Regenerate. * configure: Regenerate. 2006-01-02 Andreas Schwab <schwab@suse.de> * configure.in: When reconfiguring remove Makefile in all stage directories. * configure: Regenerate.
2006-01-04* fhandler_console.cc (beep): Use MB_OK which is documented as using theChristopher Faylor2-1/+7
default bell rather than -1 which seems to behave differently on different versions of Windows.
2006-01-04* fhandler_process.cc (fhandler_process::readdir): Add missing argument toChristopher Faylor4-4/+16
syscall_printf. * fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for windows station rather than asking Windows to create one for us. * spawn.cc (spawn_guts): Don't mess with console if we're detaching.
2006-01-04* include/winuser.h (CreateWindowStation): Correctly identify first argument asChristopher Faylor2-2/+8
constant. (CreateWindowStation@): Ditto.
2006-01-03* dir.cc (readdir_worker): Minor code cleanup.Christopher Faylor5-62/+85
* fhandler_console.cc (beep): Use a more Windows-generic wav file if the beep is missing. Use a more foolproof way to find out whether we should be recreating the missing key. * registry.h (reg_key::_disposition): New field. (reg_key::created): New function. * registry.cc (reg_key::reg_key): Set _disposition to zero by default. (reg_key::build_key): Fill in _disposition field.
2006-01-03* dir.cc (readdir_worker): Ensure that saw_dot flags are updated when notChristopher Faylor2-3/+15
handling inodes.
2006-01-03* include/uxtheme.h [_WIN32_WINNT >= 0x0501]Dimitri Papadopoulos2-0/+156
(TMT_*, BT_*): Add constants.
2006-01-03* fhandler_console.cc (beep): New function. Restores missing "Default Beep",Christopher Faylor2-1/+19
if necessary. (fhandler_console::write_normal): Use beep().
2006-01-022006-02-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-0/+496
PR target/25259 * stdint.m4: New.
2006-01-02* dcrt0.cc (_dll_crt0): Move more leftover debugging stuff.Christopher Faylor2-17/+7
(cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1. * dcrt0.cc (_dll_crt0): Move more leftover debugging stuff. (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1.
2006-01-02 * syslog.cc: Include sys/un.h instead of sys/socket.h.Corinna Vinschen2-37/+73
(syslogd_inited): Convert to enum type noting the exact result of trying to connect to syslog daemon. Use this way throughout. (connect_syslogd): New static function taking over the task to connect to syslog socket. Use correct struct sockaddr_un instead of struct sockaddr. (try_connect_syslogd): Call connect_syslogd. If write fails on connection oriented socket, try to reconnect to syslog socket and try to write again.
2006-01-02 Bump copyright dates.Corinna Vinschen3-5/+5
2006-01-02* cygload/README: Delete.Christopher Faylor9-103/+74
* cygload/cygload.cc: Move to winsup.api. Add comments from README. * cygload/cygload.h: Move to winsup.api. * cygload/cygload.exp: Move to winsup.api. * Makefile.in: Remove cygload. * winsup.api/winsup.exp: If a .exp file is detected, run it rather than using standard compile. * winsup.api/resethand.c (main): Use printf to print status or expect thinks something is wrong.
2006-01-02* winsup.api/resethand.c (main): Remove core dump flag from exit status.Christopher Faylor2-0/+6
2006-01-02* winsup.api/resethand.c (main): Coerce argument to pointer to stop gccChristopher Faylor2-1/+6
complaint.
2006-01-02* pinfo.cc (pinfo::exit): Swap signal and normal exit value when not startedChristopher Faylor2-1/+6
from a cygwin process - just like the good-old-days of B20.
2006-01-02add copyrightChristopher Faylor4-4/+6
2006-01-02add missing ChangeLog entryChristopher Faylor1-0/+4
2006-01-02* cygtls.cc (_cygtls::remove): Remove left over debugging cruft which causedChristopher Faylor3-3/+6
this function to always return prematurely.
2006-01-01* winsup.api/resethand.c: Use SIGSEGV for the signal to test.Christopher Faylor2-5/+10
2006-01-01* winsup.api/resethand.c: New file.Christopher Faylor2-0/+39
2006-01-01* exceptions.cc (sigpacket::process): Pass actual reference to signal'sChristopher Faylor2-2/+8
sigaction structure to setup_handler.
2006-01-01* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.Christopher Faylor4-7/+11
* include/cygwin/signal.h: Define SA_ONESHOT and SA_NOMASK. * dcrt0.cc (get_cygwin_startup_info): Remove commented out code.
2006-01-01 * syslog.cc (vklog): Never log kernel messages using the vsyslogCorinna Vinschen3-5813/+5817
interface.
2005-12-31 * syslog.cc (vsyslog): Decrement len if trailing \n has been removed.Corinna Vinschen2-2/+10
Add \n when writing to stderr if LOG_PERROR option is set.
2005-12-31 * include/cygwin/in.h: Drop including stdint.h. Move definitionCorinna Vinschen4-18/+51
of in_port_t and in_addr_t to top of file and use throughout. Use sa_family_t type where appropriate. (struct in6_addr): Change `unsigned char' to `uint8_t'. (struct sockaddr_in6): Add sin6_scope_id member. Add comments. * include/cygwin/socket.h: Include stdint.h. Move definition of socklen_t to top of file. Define sa_family_t. Define struct sockaddr_storage as per SUSv3. * include/sys/un.h: Include cygwin/socket.h. Use sa_family_t type.
2005-12-31 * include/winsock2.h: Don't define struct sockaddr_storage whenCorinna Vinschen2-1/+6
building Cygwin.
2005-12-30include:Bob Wilson2-1/+8
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. gas: * config/tc-xtensa.c (op_placement_info_struct): Delete single, single_size, widest, and widest_size fields. Add narrowest_slot. (xg_emit_insn_to_buf): Remove fmt parameter and compute it here. Use xg_get_single_slot to find the slot. (finish_vinsn): Use emit_single_op instead of bundle_single_op. (bundle_single_op): Rename this to.... (bundle_tinsn): ...this function, which builds a vliw_insn but does not call finish_vinsn. (emit_single_op): Use bundle_tinsn instead of bundle_single_op. (relax_frag_immed): Get num_slots from cur_vinsn. (convert_frag_narrow): Update call to xg_emit_insn_to_buf. (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn. (init_op_placement_info_table): Set narrowest_slot field. Remove code for deleted fields. (xg_get_single_size): Return narrowest_size field, not single_size. (xg_get_single_format): Return narrowest field, not single. (xg_get_single_slot): New. (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf. * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations. (transition_applies): Check wide branch option availability.
2005-12-30* relnotes.texinfo: Remove entry about hyperthreaded processor.Christopher Faylor2-8/+4
2005-12-30* faq-problems.html: Remove entry about hyperthreaded processor.Christopher Faylor2-12/+4
2005-12-29* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Use straceChristopher Faylor2-2/+8
method rather than accessing field directly. (fhandler_tty_common::__release_output_mutex): Ditto.
2005-12-29*** cygwin DLL Changes:Christopher Faylor20-143/+314
* 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-29* cygcheck.cc (common_apps): Add crontab, vi, vim.Christopher Faylor2-0/+7
2005-12-29* environ.cc (win_env::add_cache): Don't add variables to the environmentChristopher Faylor2-1/+6
during initialization.
2005-12-27 * exceptions.cc (_cygtls::handle_exceptions): Drop redundant `break'.Corinna Vinschen2-1/+4
2005-12-27 * ChangeLog: Add linebreaks.Corinna Vinschen1-2/+4
2005-12-27 * exceptions.cc (inside_kernel): Rename from interruptible.Corinna Vinschen2-3/+8
Accommodate change throughout file.
2005-12-27 * exceptions.cc (interruptible): New function, code stripped fromCorinna Vinschen2-28/+75
_cygtls::interrupt_now. (_cygtls::handle_exceptions): Handle STATUS_DATATYPE_MISALIGNMENT as SIGBUS error. Differ between unmapped memory (SEGV_MAPERR) and access violation (SEGV_ACCERR) in case of STATUS_ACCESS_VIOLATION. Write kernel log message in case of uncatched STATUS_ACCESS_VIOLATION. (_cygtls::interrupt_now): Just call interruptible now instead of evaluating interruptibility here.
2005-12-27 Add missing ChangeLog entry.Corinna Vinschen1-0/+7
2005-12-27 * path.cc (path_conv::check): Rework loop removing trailing dotsCorinna Vinschen2-9/+19
and spaces. * syslog.cc (vklog): Set facility to LOG_KERN if not set.
2005-12-27Add support for RDOS targets.Nick Clifton3-107/+137
2005-12-27PR binutils/1990Nick Clifton2-9/+113
* libtool.m4: Synchronize with version in GCC sources.
2005-12-26white spaceChristopher Faylor1-1/+0