summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * hookapi.cc (hook_or_detect_cygwin): Prevent i from being consideredChristopher Faylor2011-02-092-1/+6
| | | | uninitialized by gcc.
* * exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.Christopher Faylor2011-02-092-6/+9
| | | | * dll_init.cc: Fix typo in comment.
* * dll_init.cc: Fix typo in comment.Christopher Faylor2011-02-081-1/+1
|
* include/ChangeLog:Ulrich Weigand2011-02-082-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL. gdb/ChangeLog: * dwarf2read.c (read_subroutine_type): Set special calling convention flag for functions compiled by IBM XL C for OpenCL. * ppc-sysv-tdep.c: Include "dwarf2.h" (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types calling convention. (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement IBM OpenCL vector types calling convention. (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. (ppc_sysv_abi_broken_return_value): Likewise. (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types calling convention. (ppc64_sysv_abi_return_value): Likewise. * spu-tdep.c: Include "dwarf2.h" (spu_return_value): Implement IBM OpenCL vector types calling convention. gdb/testsuite/ChangeLog: * gdb.opencl/callfuncs.cl: New file. * gdb.opencl/callfuncs.exp: New test. * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
* * configure.in: Remove AC_ALLOCA test and test for __builtin_memset.Corinna Vinschen2011-02-076-4063/+3123
| | | | * configure: Regenerate.
* Fix path in ChangeLog entryCorinna Vinschen2011-02-071-1/+1
|
* * fhandler_console.cc (fhandler_console::write_normal): RemoveCorinna Vinschen2011-02-072-12/+25
| | | | | | | erroneous premature return after collecting truncated multibyte sequence in trunc_buf. Rather fall through to printing routine. Fix return value to take trunc_buf content into account. Improve comments.
* * autoload.cc (wsock_init): Properly define WSAStartup function pointer toChristopher Faylor2011-02-052-2/+7
| | | | avoid stack damage.
* gas/Bernd Schmidt2011-02-033-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". (TIC6X Options): Don't mention "-matomic". * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. (md_longopts): Remove corresponding entries. (md_parse_option): Don't handle them. (md_show_usage): Don't document them. (tic6x_atomic): Delete variable. (tic6x_update_features): Always copy tic6x_arch_enable to tic6x_features. (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. (md_pseudo_table): Remove ".atomic" and ".noatomic". gas/testsuite/ * gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic. * gas/tic6x/dir-junk.s: Likewise. * gas/tic6x/insns-c674x-bad.d: Remove test. * gas/tic6x/insns-c674x-bad.l: Likewise. * gas/tic6x/insns-atomic.d: Remove "-matomic" switch. include/opcode/ * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP. * tic6x.h (TIC6X_INSN_ATOMIC): Remove.
* Fix spelling of Ralf Corsepius' name in ChangeLog.Jeff Johnston2011-02-031-6/+6
|
* * libc/bsdlib.cc: Include err.h.Corinna Vinschen2011-02-022-0/+5
|
* * include/err.h: Fix loss of semicolons in previous patch.Corinna Vinschen2011-02-022-2/+6
|
* * include/err.h (err): Add noreturn attribute.Corinna Vinschen2011-02-022-7/+14
| | | | | | (errx): Ditto. (verr): Ditto. (verrx): Ditto.
* * path.cc (conv_path_list): Remove enclosing quotes and trailingCorinna Vinschen2011-02-022-3/+26
| | | | backslashes from Win32 environment path lists.
* * fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTIONCorinna Vinschen2011-02-012-1/+13
| | | | error from FlushFileBuffers().
* * syscalls.cc (utmp_data): Fix potential buffer overflow.Corinna Vinschen2011-01-312-1/+5
|
* * fhandler_socket.cc (address_in_use): Improve comment readability.Corinna Vinschen2011-01-312-3/+8
|
* PR libgcj/44341Alexandre Oliva2011-01-313-2/+93
| | | | | | * configure.ac: Discard --with-* flags for host when configuring target libraries for cross build. * configure: Rebuilt.
* * fhandler_socket.cc (address_in_use): Disable. Add comment.Corinna Vinschen2011-01-305-48/+36
| | | | | | | | | | | (fhandler_socket::bind): Change comment to explain setting the SO_EXCLUSIVEADDRUSE socket option. Remove code which checks for address in use. * net.cc (cygwin_setsockopt): Never set SO_REUSEADDR option. Improve comment to compensate for the deleted comment in fhandler_socket::bind. * wincap.cc: Throughout, drop has_enhanced_socket_security from wincaps. * wincap.h (struct wincaps): Drop has_enhanced_socket_security flags and method.
* winsup:Christopher Faylor2011-01-296-3293/+2533
| | | | | | | | * configure.in: Configure winsup/cygserver regardless of cross_host. * configure: Regenerate. winsup/cygwin: * configure.in: Define LIBSERVER regardless of cross_host. * configure: Regenerate.
* * fhandler_socket.cc (fhandler_socket::wait_for_events): CallCorinna Vinschen2011-01-282-0/+8
| | | | | pthread_testcancel in case of timeout to enable pthread_cancel on waiting thread.
* * libc/stdio/fclose.c: Only use sfp lock to guard non-atomicCorinna Vinschen2011-01-2819-132/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes of flags and fp lock. * libc/stdio/freopen.c: Ditto. * libc/stdio/freopen64.c: Ditto. * libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks which guard entire function to avoid potential deadlocks when using stdio functions in multiple thraeds. * libc/stdio/fgets.c: Ditto. * libc/stdio/fgetwc.c: Ditto. * libc/stdio/fgetws.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getdelim.c: Ditto. * libc/stdio/gets.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vfwscanf.c: Ditto. * libc/stdio/fflush.c (_fflush_r): Split out core functionality into new function __sflush_r. Just lock file and call __sflush_r from here. * libc/stdio/fwalk.c (_fwalk): Remove static helper function and move functionality back into main function. Don't walk a file with flags value of 1. Add comment. (_fwalk_reent): Ditto. * libc/stdio/local.h (__sflush_r): Declare. * libc/stdio/refill.c (__srefill): Before calling fwalk, set flags value to 1 so this file pointer isn't walked. Revert flags afterwards and call __sflush_r for this fp if necessary. Add comments.
* * include/features.h (__STDC_ISO_10646__): Move to newlib'sCorinna Vinschen2011-01-272-5/+5
| | | | sys/features.h.
* * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.Corinna Vinschen2011-01-273-0/+14
| | | | * libc/include/wchar.h: Include features.h.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): FixCorinna Vinschen2011-01-262-2/+8
| | | | | computation of st_blocks. (fhandler_base::fstat_helper): Fix formatting.
* * include/features.h (__STDC_ISO_10646__): Define. Add comment.Corinna Vinschen2011-01-242-1/+10
|
* Sync toplevel configure from GCCAndreas Schwab2011-01-213-106/+163
| | | | | | | | | | | | 2011-01-21 Andreas Schwab <schwab@redhat.com> * configure.ac: Use AS_HELP_STRING throughout. * configure: Regenerate. 2011-01-18 Jie Zhang <jie.zhang@analog.com> * configure.ac (bfin-*-*): Remove gdb from noconfigdirs. * configure: Regenerate.
* * syscalls.cc (rename): Fix permission problem with symlinks on NFS.Corinna Vinschen2011-01-212-12/+25
| | | | | Rework how NtOpenFile gets called to make it more readable. Change comment.
* * exec.cc: Include pinfo.h.Corinna Vinschen2011-01-205-16/+30
| | | | | | | | | | * winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here... * pinfo.h: ...to here. (_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM. (_P_MODE): Redefine so as not to mask out _P_SYSTEM. * spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve. (spawnlpe): Ditto. (spawnvp): Ditto.
* * spawn.cc (av::fixup): Reenable #! handling for all exec functions.Corinna Vinschen2011-01-192-19/+19
| | | | | Return ENOEXEC in !p_type_exec case only for unrecognized files. Fix comment formatting.
* * exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call toCorinna Vinschen2011-01-192-1/+7
| | | | spawnve.
* * exec.cc: Rearrange functions in alphabetical order.Corinna Vinschen2011-01-193-36/+94
| | | | | | | | | | | | | | | | | | (_execve): Drop temporary define and drop export alias. (execl): Call spawnve. (execle): New function. (execlp): New function. (execv): Call spawnve. (execve): Drop converting NULL envp to emtpy envp. (execvp): Call spawnve. (execvpe): Drop converting NULL envp to emtpy envp. Call spawnve. (fexecve): Call spawnve. * spawn.cc (spawnve): Convert NULL envp to emtpy envp. Remove outdated comment. (spawnlp): Call spawnve. (spawnlpe): Ditto. (spawnvp): Ditto. (spawnvpe): Fix formatting.
* * exec.cc (strccpy): Move function from here...Corinna Vinschen2011-01-195-20/+25
| | | | | | * strfuncs.cc (strccpy): ...to here. * string.h (strccpy): Declare. * winsup.h (strccpy): Drop declaration.
* * errno.cc (errmap): Add error codes for invalid binaries.Corinna Vinschen2011-01-195-11/+72
| | | | | | | | | | | | | | | | * exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag from here. (execvpe): Ditto. * spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and store in p_type_exec. Call av::fixup with addtional p_type_exec argument. (spawnve): Check for filtered mode. (spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve. (av::fixup): Accept additional bool parameter p_type_exec. Only check for script if p_type_exec is true. * winf.h (_P_PATH_TYPE_EXEC): Define. (_P_MODE): Define. (av::fixup): Declare with additional bool parameter.
* * fhandler_proc.cc (format_proc_partitions): Fix compiler warning.Corinna Vinschen2011-01-172-1/+5
|
* * path.cc (path_conv::check): Don't follow reparse point symlinks ifCorinna Vinschen2011-01-173-8/+19
| | | | | | | PC_SYM_NOFOLLOW_REP flag is set. (cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from POSIX to Win32. * path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.
* * fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.Corinna Vinschen2011-01-172-84/+151
| | | | | | | (fhandler_proc::fill_filebuf): Handle return value of 0 from format function as error. (format_proc_stat): Set errno when returning 0 size. (format_proc_partitions): Rewrite method to fetch partition info.
* * libc/include/sys/types.h (ulong): Add typedef.Corinna Vinschen2011-01-152-0/+5
|
* Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.Ralf Wildenhues2011-01-132-1/+5
| | | | | /: * ltmain.sh (relink): Use absolute path when hardcoding with -L.
* port GDB to ia64-hpux (native).Joel Brobecker2011-01-133-4/+10
| | | | | | | | | | | | | | | | | | | | ChangeLog: * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs for ia64-hpux. * configure: Regenerate. gdb/ChangeLog: * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. * configure.host: Add handling for ia64-hpux hosts. Add associated floatformats. * configure.tgt: Add handling for ia64-hpux targets. * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
* Fix typo, fix copyrightCorinna Vinschen2011-01-132-2/+2
|
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy setCorinna Vinschen2011-01-132-1/+13
| | | | st_size of directories to 0. Explain why.
* Really check in nowCorinna Vinschen2011-01-131-0/+1
|
* Fix ChangeLog entryCorinna Vinschen2011-01-131-1/+1
|
* 2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-123-0/+23
| | | | | * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS. * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
* 2011-01-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2011-01-126-2/+37
| | | | | | | | | | * configure.host: Add noinclude variable to allow specification of header files to remove from installation. * acinclude.m4: Provide NO_INCLUDE_LIST variable based on noinclude variable in configure.host. * configure: Regenerated. * Makefile.am: Remove all header files in NO_INCLUDE_LIST. * Makefile.in: Regenerated.
* merge from gccDJ Delorie2011-01-122-1/+5
|
* * new-features.sgml (ov-new1.7.8): Add "new API" paragraph.Corinna Vinschen2011-01-122-0/+9
|
* * posix.sgml: Add madvise to BSD list.Corinna Vinschen2011-01-122-0/+5
|
* * cygwin.din (madvise): Export posix_madvise as madvise.Corinna Vinschen2011-01-123-4/+34
| | | | | | | * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR. * include/sys/mman.h: Define madvise constants, keep Linux-specific constants undefined. (madvise): Declare.