summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (check in missing ChangeLog lines)Christopher Faylor2006-06-031-0/+6
| | | | | | | | * tlsoffsets.h: Regenerate. * dcrt0.cc (break_here): Define unconditionally for use elsewhere. Call DebugBreak, if appropriate. (initial_env): Rely on break_here() to call DebugBreak. * exceptions.cc (try_to_debug): Ditto.
* * cygtls.h (CYGTLS_PADSIZE): Bump up or suffer a regrettable collision with theChristopher Faylor2006-06-035-68/+74
| | | | call chain.
* 2006-06-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-022-0/+8
| | | | | * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and sigismember.
* * fhandler.cc (fhandler_base::fixup_after_exec): Declare here.Christopher Faylor2006-06-028-333/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.h (fhandler_base::fixup_after_exec): Make non-inline. (fhandler_termios::fixup_after_fork): Delete declaration. (fhandler_termios::fixup_after_exec): Ditto. (fhandler_tty_common::inuse): Remove. (fhandler_tty_common::dup): Delete declaration. (fhandler_tty_common::fixup_after_fork): Ditto. (fhandler_tty_slave::fixup_after_exec): Declare new function. (fhandler_pty_master::dwProcessId): New variable. (fhandler_pty_master::from_master): Ditto. (fhandler_pty_master::to_master): Ditto. (fhandler_pty_master::setup): New function. (fhandler_pty_master::fixup_after_fork): Ditto. (fhandler_pty_master::fixup_after_exec): Ditto. * fhandler_termios.cc (fhandler_termios::fixup_after_exec): Delete definition. (fhandler_termios::fixup_after_fork): Ditto. * fhandler_tty.cc (fhandler_tty_master::init): Use fhandler_pty_master setup function rather than obsolete tty::common_init. Delete obsolete inuse setting. (fhandler_tty_slave::fhandler_tty_slave): Set inuse to NULL here. (fhandler_tty_slave::open): Change debugging output for clarity. Check for different things when doing a sanity check on the tty. Reflect the fact that master_pid now is the cygwin pid rather than the windows pid. Use "arch" rather than "archetype" for consistency. (fhandler_tty_slave::close): Close inuse here. (fhandler_tty_slave::dup): Remove old if 0'ed code. (fhandler_pty_master::dup): New function. Handles pty master archetype. (fhandler_pty_master::fhandler_pty_master): Zero pty_master specific fields. (fhandler_pty_master::open): Implement using archetypes, similar to slave. Use fhandler_pty_master setup function rather than obsolete tty::common_init. Don't set inuse. (fhandler_tty_common::close): Don't deal with inuse. Delete old if 0'ed code. (fhandler_pty_master::close): Implement using archetypes. Close from_master and to_master. (fhandler_tty_common::set_close_on_exec): Just set close_on_exec flag here since everything uses archetypes now. (fhandler_tty_common::fixup_after_fork): Delete definition. (fhandler_tty_slave::fixup_after_exec): Define new function. (fhandler_pty_master::setup): New function, derived from tty::common_init. (fhandler_pty_master::fixup_after_fork): New function. (shared_info.h): Reset SHARED_INFO_CB to reflect new tty size. * tty.cc (tty_list::terminate): Close individual handles from tty_master. (tty::master_alive): Delete. (tty::make_pipes): Ditto. (tty::common_init): Ditto. * tty.h (tty::from_slave): Delete. (tty::to_slave): Ditto. (tty::common_init): Delete declaration. (tty::make_pipes): Ditto. (tty::master_pid): Define as pid_t since it is now a cygwin pid.
* Add faq.setup.automatedJoshua Daniel Franklin2006-06-022-0/+53
|
* Replace references to depracated Win32_Winsock macro with __USE_W32_WINSOCKJoshua Daniel Franklin2006-06-022-6/+16
|
* * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let theChristopher Faylor2006-06-028-22/+75
| | | | | | | | | | | | | | | | | | | | caller do that. * dcrt0.cc (child_info_spawn::handle_spawn): Close parent handle here to allow fixup_after_exec functions to use it. * cygtls.cc (_cygtls::call2): Avoid calling exit thread if called with *crt0_1 functions. * cygtls.h (_cygtls::isinitialized): Check that we actually have a tls before seeing if it is initialized. * gendef (_sigfe_maybe): Ditto. * dcrt0.cc (dll_crt0_1): Remove static, use just one argument. * dll_init.cc (dllcrt0_info): New structure. (dll_dllcrt0): Change into a front-end to renamed dll_dllcrt0_1 so that we'll always be assured of having something like a tls. (dll_dllcrt0_1): New function, basically renamed from from dll_dllcrt0. Unconditionally call _my_tls.init_exception_handler now that we are assured of having a tls. Change variable name from "linking" to "linked". * winsup.h (dll_crt0_1): Declare. (dll_dllcrt0_1): Ditto.
* merge from gccDJ Delorie2006-06-011-0/+17
|
* include/elf/H.J. Lu2006-06-012-15/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-31 H.J. Lu <hongjiu.lu@intel.com> * internal.h (ELF_SECTION_SIZE): New. (ELF_IS_SECTION_IN_SEGMENT): Likewise. (ELF_IS_SECTION_IN_SEGMENT_FILE): Updated. (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise. ld/testsuite/ 2006-05-31 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/binutils.exp: Make it Linux only. (strip_test): Renamed to binutils_test. Check for unsupported options. Add more tests. * ld-elf/commonpage1.d: Make it Linux only. * ld-elf/maxpage1.d: Likewise. * ld-elf/maxpage1.s: Add main, start and __start. * ld-elf/maxpage2.d: New file. * ld-elf/tbss1.s: Likewise. * ld-elf/tbss2.s: Likewise. * ld-elf/tdata1.s: Likewise. * ld-elf/tdata2.s: Likewise.
* * texi2pod.pl: Correct handling of absolute @include.Daniel Jacobowitz2006-05-312-2/+8
|
* Configury changes: update src repository (binutils, gdb, and rda) to useDaniel Jacobowitz2006-05-317-350/+79
| | | | | config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
* Expand wildcards in Dimitri Papadopoulos Changelog entries of:Danny Smith2006-05-311-32/+269
| | | | | 2006-05-11, 2006-05-10, 2006-05-04, 2006-04-28, 2006-04-11, 2006-04-14, 2006-04-07.
* * cygtls.cc (_cygtls::call2): Don't call ExitThread on the main thread.Christopher Faylor2006-05-312-1/+8
|
* * winsup.api/cygload.h: Increase padding to 32768.Christopher Faylor2006-05-312-1/+5
|
* 2006-05-30 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-05-306-2/+648
| | | | | | | | * arm/Makefile.in: Add Linux syscall interface. * arm/linux-crt0.S: New file. * arm/linux-syscall.h: New file. * arm/linux-syscalls0.S: New file. * arm/linux-syscalls1.c: New file.
* * winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.Christopher Faylor2006-05-292-3/+8
|
* * sigproc.cc (child_info::proc_retry): Mask all of the bits we're interestedChristopher Faylor2006-05-292-1/+6
| | | | in, which includes bits above and below 0xc0000000.
* Put an underscore in front of the "active" in "strace.active".Christopher Faylor2006-05-281-1/+1
|
* white spaceChristopher Faylor2006-05-2819-91/+91
|
* * dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork.Christopher Faylor2006-05-272-2/+10
| | | | | Semi-revert it but change name of variable to something that makes better sense.
* * thread.cc (verifyable_object_isvalid): Check for NULL specifically.Christopher Faylor2006-05-272-4/+10
|
* add missing commentChristopher Faylor2006-05-271-0/+6
|
* * dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we'veChristopher Faylor2006-05-272-3/+12
| | | | | finished initializing (Thanks to Gary Zablackis for noticing this problem). Just use cygwin_finished_initializing rather than defining a separate variable.
* bfd/Alan Modra2006-05-272-1/+10
| | | | | | | | | * elf.c (assign_file_positions_for_load_sections): Retrieve maxpagesize from m->p_align if it is valid. Set p_vaddr, p_paddr and p_align earlier. Revert 2006-05-19 change to p_align. (copy_elf_program_header): Copy p_align. Set p_align_valid. include/elf/ * internal.h (elf_segment_map): Add p_align and p_align_valid.
* * src-release (DEVO_SUPPORT): Add config.rpath.Daniel Jacobowitz2006-05-252-1/+5
|
* Expand 2006-05-03 Dimitri Papadopoulos wildcards in ChangelogDanny Smith2006-05-251-3/+6
|
* Expand 2006-05-02 Dimitri Papadopoulos wildcards in ChangelogDanny Smith2006-05-251-7/+62
|
* include/opcodes/Richard Sandiford2006-05-252-0/+5
| | | | | | | | | | | | | | | | | | * m68k.h (mcf_mask): Define. opcodes/ * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd and fmovem entries. Put register list entries before immediate mask entries. Use "l" rather than "L" in the fmovem entries. * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it out from INFO. (m68k_scan_mask): New function, split out from... (print_insn_m68k): ...here. If no architecture has been set, first try printing an m680x0 instruction, then try a Coldfire one. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions. * gas/m68k/mcf-fpu.d: Adjust accordingly.
* 2006-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-05-254-10/+17
| | | | | | | * Makefile.def (bfd, opcodes): Fix lib_path. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS. (restrap): Move under "@if gcc-bootstrap". Fix typo. * Makefile.in: Regenerate.
* * debug.h (ModifyHandle): Define new macro.Christopher Faylor2006-05-256-8/+50
| | | | | | | | | | | | | (modify_handle): Declare new function. * debug.cc (modify_handle): Define new function. * fhandler.h (fhandler_base::fork_fixup): Change return value from void to bool. * fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been done. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected handle via ModifyHandle if DEBUGGING. (fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been done.
* * cygtls.cc (_cygtls::call): Call call2 using _my_tls.Christopher Faylor2006-05-257-112/+104
| | | | | | | | | | | | (_cygtls::init_exception_handler): Always replace existing exception handler with cygwin exception handler. * cygtls.h (_cygtls::call2): Remove static designation. * dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call. (_initialize_main_tls): Delete. (_dll_crt0): Call dll_crt0_1 via cygtls::call. Set _main_tls here. * external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE. * include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define. * tlsoffsets.h: Regenerate.
* update to newer autoconfChristopher Faylor2006-05-2443-9205/+39465
|
* * strace.cc (proc_child): Propagate return code from child process.Christopher Faylor2006-05-242-5/+16
| | | | | (dostrace): Ditto. (main): Ditto.
* Enable gprof for cross builds.Mark Shinwell2006-05-243-2/+7
|
* Add TLS support for hppa-linuxNick Clifton2006-05-242-15/+46
|
* Add support for AVR6 familyNick Clifton2006-05-242-1/+8
|
* * fhandler.cc (readv): Remove nonsensical assert.Christopher Faylor2006-05-242-2/+4
|
* * select.cc (start_thread_socket): Delay setting thread local exitsock until weChristopher Faylor2006-05-244-1549/+4838
| | | | know it's correct. Return correct value on error.
* * select.cc (start_thread_socket): Clean up exitsock in case of error. UseChristopher Faylor2006-05-242-2/+9
| | | | si->exitcode consistently.
* 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-234-8/+15
| | | | | | | * libc/misc/dprintf.c: Removed. * libc/misc/__dprintf.c: Renamed from dprintf.c. * libc/misc/Makefile.am: Changed appropriately for rename. * libc/misc/Makefile.in: Regenerated.
* 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-232-0/+8
| | | | | | * libc/include/stdio.h: Protect dprintf prototype with #ifndef dprintf so as to not interfere with historical code defining their own dprintf macro.
* 2006-05-23 Fred Fish <fnf@specifix.com>Jeff Johnston2006-05-231-0/+1
| | | | | | | * mips/configure.in: Change mipsisa64-*-* to mipsisa64*-*-* to catch minor variations like mipsisa64sb1. * mips/configure: Regenerated.
* 2006-05-23 Fred Fish <fnf@specifix.com>Jeff Johnston2006-05-233-2/+8
| | | | | | * mips/configure.in: Change mipsisa64-*-* to mipsisa64*-*-* to catch minor variations like mipsisa64sb1.
* 2006-05-22 Steve Ellcey <sje@cup.hp.com>Steve Ellcey2006-05-222-7/+555
| | | | | | * MAINTAINERS: Change intl updating instructions. * config.rpath: Copy from GCC tree. * intl: Replace contents of intl directory with intl from GCC tree.
* * child_info.h (_CI_SAW_CTRL_C): New enum.Christopher Faylor2006-05-227-12/+50
| | | | | | | | | | | | | | | | | (CURR_CHILD_INFO_MAGIC): Reset. (saw_ctrl_c): New function. (set_saw_ctrl_c): Ditto. * sigproc.cc (child_info::proc_retry): Return EXITCODE_OK if we get STATUS_CONTROL_C_EXIT and we actually saw a CTRL-C. * spawn.cc (dwExeced): Delete. (chExeced): New variable. (spawn_guts): Set chExeced; * exceptions.cc (dwExeced): Delete declaration. (chExeced): Declare. (ctrl_c_handler): Detect if we're an exec stub process and set a flag, if so. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Add extra DEBUGGING test. * pinfo.cc: Fix comment.
* * fhandle.h (fhandler_pipe::create_guard): Revert change which eliminatedChristopher Faylor2006-05-213-32/+64
| | | | | | | | | | | | | | | | SECURITY_ATTRIBUTES argument. * pipe.cc (fhandler_pipe::open): Duplicate guard from other process and protect it appropriately. Eliminate unneeded writepipe_exists temporary variable. Set inheritance appropriately. (fhandler_pipe::set_close_on_exec): Revert change which eliminated handling guard inheritance. (fhandler_pipe::fixup_after_fork): Ditto. Use correct name of entity being checked by fork_fixup. (fhandler_pipe::fixup_after_exec): Don't bother with guard here. (fhandler_pipe::dup): Cosmetic changes and revert creation of writepipe_exists as noninheritable. (fhandler_pipe::create): Revert change which eliminated SECURITY_ATTRIBUTES argument. Revert change which always made writepipe_exists noninheritable.
* check in missing fileChristopher Faylor2006-05-211-11/+25
|
* * lib/uuid.c (IID_IRpcProxyBuffer34): Remove definition.Danny Smith2006-05-212-3/+6
|
* typoChristopher Faylor2006-05-211-1/+1
|
* * debug.cc (add_handle): Print handle value when collision detected.Christopher Faylor2006-05-216-46/+71
| | | | | | | | | | | | | | | | | | | | | | | * dtable.cc (dtable::stdio_init): Cosmetic change. * fhandler.h (fhandler_base::create_read_state): Protect handle. (fhandler_pipe::create_guard): Ditto. Always mark the handle as inheritable. (fhandler_pipe::is_slow): Return boolean value rather than numeric 1. * pipe.cc (fhandler_pipe::fhandler_pipe): Always flag that we need fork fixup. (fhandler_pipe::open): Don't pass security attributes to create_guard. (fhandler_pipe::set_close_on_exec): Don't handle guard here. (fhandler_pipe::close): Accommodate now-protected guard handle. (fhandler_pipe::fixup_in_child): Don't proected read_state here. (fhandler_pipe::fixup_after_exec): Close guard handle if close_on_exec. (fhandler_pipe::fixup_after_fork): Don't bother with guard here. (fhandler_pipe::dup): Don't set res to non-error prematurely. Use boolean values where appropriate. Protect guard and read_state. (fhandler_pipe::create): Don't call need_fork_fixup since it is now the default. Don't protect read_state or guard. * pipe.cc (fhandler_base::ready_for_read): Use bool values for "avail". * spawn.cc (spawn_guts): Set cygheap->pid_handle as inheritable when protecting. * select.cc (fhandler_pipe::ready_for_read): Actually get the guard mutex for blocking reads.