summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * autoload.cc (AttachConsole): Correct size of args.Dave Korn2009-07-042-1/+5
|
* * dcrt0.cc (jit_debug): New global.Christopher Faylor2009-07-0311-38/+85
| | | | | | | | | | | | | | | | | | | | | (initial_env): Set jit_debug when we are automatically starting a gdb process. * dtable.cc (dtable::get_debugger_info): Don't tty tricks when we are being debugged by our own captive gdb, as determined by jit_debug == true. (dtable::init_std_file_from_handle): Detect errors when initializing a tty early rather than at random points later. * fhandler.h (fhandler_*::init): Return int to indicate success/failure. * fhandler.cc (fhandler_base::init): Reflect change in return value. * pipe.cc (fhandler_pipe::init): Ditto. (fhandler_pipe::create_selectable): Don't say we're retrying when we aren't. * fhandler_console.cc (fhandler_console::init): Ditto. Return success/failure. * fhandler_serial.cc (fhandler_serial::init): Ditto. * fhandler_tty.cc (fhandler_tty_slave::init): Ditto. (fhandler_tty_slave::open): Make debugging output more detailed. * tty.cc (tty_list::terminate): Don't close I/O handles before all slaves have checked in. (tty::slave_alive): Make a non-inlined function. Check if tty pipe handles can be created as an additional exists check. * tty.h (tty::slave_alive): Just define here.
* * new-features.sgml (ov-new1.7-file): Add fpurge and mkstemps to newCorinna Vinschen2009-07-032-1/+6
| | | | API functions.
* * posix.sgml: Add fpurge and mkstemps to BSD list.Corinna Vinschen2009-07-032-0/+6
|
* * cygwin.din (fpurge, mkstemps): New exports.Corinna Vinschen2009-07-034-9/+43
| | | | | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * mktemp.cc (_gettemp): Add parameter. (mkstemps): New function. (mkstemp, mkdtemp, mktemp): Adjust clients.
* Add mkdtemp, mkstemps.Eric Blake2009-07-033-29/+126
| | | | | | | | | | * libc/stdio/mktemp.c: Fix documentation. (_gettemp): Add domkdir and length parameters. Check for insufficient 'X' suffix. Drop cygwin-specific code. (_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients. (_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions. * libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp) (mkstemps): Declare them.
* Add fpurge.Eric Blake2009-07-036-10/+138
| | | | | | | | | * libc/stdio/fpurge.c (fpurge, _fpurge_r): New file. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge): Build it. * libc/stdio/Makefile.in: Regenerated. * libc/include/stdio.h (fpurge, _fpurge_r): New declarations. * libc/stdio/stdio.tex: Build documentation.
* * autoload.cc: Fix typo in comment.Corinna Vinschen2009-07-032-3/+18
| | | | | | | (ShowWindowAsync): Define. (AttachConsole): Define. * fhandler_console.cc (fhandler_console::need_invisible): Add band-aid for Windows 7 AllocConsole bug.
* * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_valueJakub Jelinek2009-07-032-0/+8
| | | | | | | and DW_OP_stack_value. * dwarf.c (decode_location_expression): Handle DW_OP_stack_value and DW_OP_implicit_value.
* 2009-07-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-07-023-3/+17
| | | | | | * configure.ac: Do not exclude gas for i386-*-darwin. Add a case for x86_64-*-darwin. * configure: Regenerate.
* Clean up some sources.redhat.com references.Christopher Faylor2009-07-014-13/+7
|
* * net.cc (get_xp_ifs): Fix typo in comment.Corinna Vinschen2009-07-012-1/+5
|
* * moxie/crt0.S (_start): Clear BSS at startup. Register _fini()Anthony Green2009-07-013-5/+21
| | | | | with atexit(). * moxie/sim-open.S: Fix comment.
* * lib/comctl32.def (StrCSpnA@8, StrCSpnIA@8, StrCSpnW@8, StrChrA@8,Corinna Vinschen2009-07-012-22/+9
| | | | | | | | StrChrIA@8, StrChrIW@8, StrChrW@8, StrCmpNA@12, StrCmpNIA@12, StrCmpNIW@12, StrCmpNW@12, StrRChrA@12, StrRChrIA@12, StrRChrW@12, StrRStrIA@12, StrRStrIW@12, StrStrA@8, StrStrIA@8, StrStrIW@8, StrStrW@8, StrToIntA@4, StrToIntW@4): Remove erroneously defined entry points.
* * fhandler.h (class fhandler_socket): Add class members and methodsCorinna Vinschen2009-07-014-17/+68
| | | | | | | | | | | | | | | | to store and retrieve the SO_RCVBUF and SO_SNDBUF sizes. * fhandler_socket.cc (fhandler_socket::dup): Duplicate new members. (fhandler_socket::send_internal): Check for SO_SNDBUF size and restrict send to 1 byte less per KB 823764. Leave loop immediately if WSASendMsg has been used. * net.cc (fdsock): Change comment again. Set buffer sizes to 65536. Store values in fhandler_socket. (cygwin_setsockopt): Store SO_RCVBUF and SO_SNDBUF sizes in fhandler_socket. (cygwin_sendto): Drop call to sig_dispatch_pending. (cygwin_recvfrom): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendmsg): Ditto.
* * select.h: New file split from fhandler.h.Christopher Faylor2009-06-3013-330/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (select_record::select_record): Define do-nothing constructor for "new" to avoid gratuitous zeroing. (select_info): New base class. (select_pipe_info): New class with methods for dealing with pipes. (select_socket_info): New class with methods for dealing with sockets. (select_serial_info): Dummy class for serial. (select_mailslot_info): Dummy class for mailslots. (select_stuff): Define device_specific_* as actual classes rather than void *. * dtable.h (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * dtable.cc (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * fhandler.h: Excise select-related classes. (fhandler_*::select_read): Change argument to select_stuff. (fhandler_*::select_write): Ditto. (fhandler_*::select_except): Ditto. * select.cc (UNIX_FD_ZERO): Use memset rather than bzero. (select_stuff::test_and_set): Change return type to bool. Allocate select_record on entry and let fhandler_*::select_* operate on the start.next field of select_stuff. (pipeinf): Delete. (select_pipe_info::select_pipe_info): New constructor. Allocates event for controlling pipe waits. (select_pipe_info::~select_pipe_info): New destructor. Destroy event. Stop thread. (select_pipe_info::add_watch_handle): New function. (thread_pipe): Wait for the hEvent part of any overlapped pipes before peeking. (start_thread_pipe): Don't allocate device_specific_pipe stuff here. Assume that it has been allocated earlier. (pipe_cleanup): Rely on select_pipe_info destructor to clean up pipe paraphenalia. (fhandler_*::select_*): Derive select_record from new select_stuff argument. (fhandler_pipe::select_*): Ditto. Allocate pipe-specific field if not already allocated. (serialinf): Delete. (thread_serial): serialinf -> select_serial_info. (fhandler_base::ready_for_read): Rewrite to accommodate change in argument to fhandler_*::select_*. (socketinf): Delete. (thread_socket): socketinf -> select_socket_info. (mailslotinf): Delete. (thread_mailslot): mailslotinf -> select_mailslot_info.
* * fhandler.cc (fhandler_base::has_ongoing_io): Accept an argument indicatingChristopher Faylor2009-06-304-6/+17
| | | | | | | | whether the overlapped event should be tested. (fhandler_base::read_overlapped): Pass is_overlapped state to has_ongoing_io. (fhandler_base::write_overlapped): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Accommodate argument change. * select.cc (peek_pipe): Ditto.
* * net.cc (fdsock): Set default socket buffer sizes to 65520. ChangeCorinna Vinschen2009-06-303-14/+18
| | | | | | comment accordingly. * fhandler_socket.cc (fhandler_socket::send_internal): Set maximum send size to 65520 as well.
* * select.cc (peek_pipe): Turn on (temporarily?) the experimental code whichChristopher Faylor2009-06-292-7/+5
| | | | tries to determine when a pipe is writable.
* * select.cc (peek_pipe): Use has_ongoing_io() to determine if the pipe is readyChristopher Faylor2009-06-282-3/+6
| | | | for writing rather than performing brute-force checks.
* * fhandler.h (fhandler_base::has_ongoing_io): Declare new function.Christopher Faylor2009-06-284-12/+53
| | | | | | | | | * fhandler.cc (fhandler_base::has_ongoing_io): Define new function. (fhandler_base::read_overlapped): Use has_ongoing_io to avoid writing when handle has not completed last I/O. (fhandler_base::write_overlapped): Ditto. * select.cc (peek_pipe): Be more careful about accessing hEvent field from get_overlapped().
* * gendef (cleanup): Rename from 'nocr'. Remove comments and trailing spaces.Christopher Faylor2009-06-285-13/+21
| | | | | * cygwin.din: Add long-needed comment describing what dll_crt0__FP11per_process demangles to.
* * Makefile.def (host_modules): Add cgen.Doug Evans2009-06-265-2/+453
| | | | | | * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate.
* * wincap.h (wincaps::has_broken_alloc_console): New element.Corinna Vinschen2009-06-263-0/+18
| | | | * wincap.cc: Implement above element throughout.
* * sec_auth.cc (lsaauth): Close unused handle.Corinna Vinschen2009-06-252-2/+13
| | | | (lsaprivkeyauth): Ditto.
* * include/wtsapi32.h (WTSQueryUserToken, WTSEnumerateSessionsW,Corinna Vinschen2009-06-242-0/+42
| | | | | | | WTSEnumerateSessionsA): Add function prototypes. (struct _WTS_SESSION_INFOW, struct _WTS_SESSION_INFOA): Add typedefs. (WTS_SESSION_INFO, PWTS_SESSION_INFO, WTSEnumerateSessions): Add defines dependent on UNICODE setting.
* * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix another typo.Corinna Vinschen2009-06-242-1/+5
|
* * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix typo.Corinna Vinschen2009-06-242-1/+5
|
* * faq-setup.xml (faq.setup.setup-failes-on-ts): Change rebaseall toCorinna Vinschen2009-06-232-1/+6
| | | | rebase.
* 2009-06-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-06-233-0/+8
| | | | | | * Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and sf_fpclassify as these are now used for infinity testing. * Makefile.in: Regenerated.
* * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry.Corinna Vinschen2009-06-232-0/+33
|
* * sec_auth.cc (get_server_groups): Ignore errors fromCorinna Vinschen2009-06-232-6/+8
| | | | get_user_local_groups.
* * spawn.cc (spawn_guts): Don't run additional check for Win32Corinna Vinschen2009-06-222-3/+14
| | | | | incompatible CWD if newargv.fixup bailed out already. (av::fixup): Check shell scripts for executability.
* include/elf/Alan Modra2009-06-222-4/+10
| | | | | | | * ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix.
* 2009-06-19 Joseph Myers <joseph@codesourcery.com>Jeff Johnston2009-06-194-6/+22
| | | | | | * Makefile.in (html, pdf): New. * doc/Makefile.in (html, pdf, porting.pdf, porting.html): New. * doc/porting.texi: Fix section structure.
* 2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-06-192-1/+6
| | | | | * libc/sys/rtems/machine/param.h: Change ALIGNBYTES so it can point to an aligned structure or double.
* * new-features.sgml (ov-new1.7-misc): Add new link libs.Corinna Vinschen2009-06-193-4/+29
| | | | | * setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth feature.
* PR 10288Nick Clifton2009-06-182-2/+10
| | | | | | | | | | | | | | | | | | | | | | * arm-dis.c (print_insn_coprocessor): Check that a user specified ARM architecture supports the matched instruction. (print_insn_arm): Likewise. (select_arm_features): New function. Fills in the fields of an arm_feature_set structure based on a given arm machine number. (print_insn): Initialise an arm_feature_set structure. * objdump.c (disassemble_bytes): Set the USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure if the user has invoked the -m switch. * doc/binutils.texi: Document the additional behaviour of objdump's -m switch for ARM targets. * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags field of struct disassemble_info. * gas/arm/align.s: Add labels so that COFF based targets can correctly locate THUMB code. * gas/arm/copro.d: Do not pass --architecture switch to objdump.
* * path.cc (chdir): Check error conditions first.Corinna Vinschen2009-06-182-5/+9
|
* * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"Corinna Vinschen2009-06-182-27/+73
| | | | | modifier on _MB_CAPABLE targets. Add comment to explain. Improve documentation.
* 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-06-172-0/+5
| | | | * include/stdlib.h (_wtof): Define.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-174-1/+78
| | | | | | | * libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to PTHREAD_MUTEX_NORMAL. * libc/include/sys/features.h: Same. * libc/include/sys/types.h: Same.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-175-3/+855
| | | | | | | * rs6000/Makefile.in: Add xilinx support. * rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi. * rs6000/xilinx.ld: New file. * rs6000/xilinx440.ld: Ditto.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-172-0/+36
| | | | * COPYING.LIBGLOSS: Add Xilinx license.
* * fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsgCorinna Vinschen2009-06-172-1/+6
| | | | as NO_COPY.
* * fhandler.cc (fhandler_base::read_overlapped): Use a better variable name.Christopher Faylor2009-06-162-4/+9
|
* * libc/include/locale.h (struct lconv): Add missing members requiredCorinna Vinschen2009-06-163-0/+15
| | | | | | by POSIX.1-2008. * libc/locale/locale.c (lconv): Initialize new members to default values in "C" locale.
* * fhandler.cc (fhandler_base::read_overlapped): Preserve len when looping dueChristopher Faylor2009-06-162-3/+9
| | | | to received signal.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length ofCorinna Vinschen2009-06-165-28/+58
| | | | | | | | | | | radix char instead of assuming length 1. * libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE. (gethex): Allow multibyte decimal point. Fix compiler warnings due to different signedness of pointer types. * libc/stdlib/strtod.c: Remove use of USE_LOCALE. (_strtod_r): Allow multibyte decimal point. * libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char endptr position if the decimal point is a multibyte char.
* 2009-06-16 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-06-163-2/+8
| | | | | | * libc/ctype/local.h (__locale_charset): Add arguments to prototype * libc/stdlib/local.h (__locale_charset): Ditto.