aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-03-052004-03-05 Filip Navara <xnavara@volny.cz>Danny Smith5-262/+263
* include/ddk/scsi.h: Replace assert with ASSERT. * include/ddk/video.h: Ditto. * include/ddk/winddk.h: Ditto. Remove the assert macro. * include/ddk/tdi.h: Correct packing.
2004-03-04* winsup.api/pthread/mutex8e.c: New testcase.Thomas Pfaff4-0/+138
* winsup.api/pthread/mutex8n.c: Ditto. * winsup.api/pthread/mutex8r.c: Ditto.
2004-03-04* include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP):Thomas Pfaff4-82/+117
New define. (PTHREAD_NORMAL_MUTEX_INITIALIZER_NP): Ditto. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Ditto. * thread.cc (pthread_mutex::is_good_initializer): Check for all posssible initializers (pthread_mutex::is_good_initializer_or_object): Ditto. (pthread_mutex::is_good_initializer_or_bad_object): Ditto. (verifyable_object_isvalid): Support up to three static initializers. (verifyable_object_isvalid (void const *,long)): Remove. (pthread_cond::is_good_initializer_or_bad_object): Remove unneeded objectState var. (pthread_cond::init): Condition remains unchanged when creation has failed. (pthread_rwlock::is_good_initializer_or_bad_object): Remove unneeded objectState var. (pthread_rwlock::init): Rwlock remains unchanged when creation has failed. (pthread_mutex::init): Remove obsolete comment. Mutex remains unchanged when creation has failed. Add support for new initializers. (pthread_mutex_getprioceiling): Do not create mutex, just return ENOSYS. (pthread_mutex_lock): Simplify. (pthread_mutex_trylock): Remove unneeded local themutex. (pthread_mutex_unlock): Just return EPERM if mutex is not initialized. (pthread_mutex_setprioceiling): Do not create mutex, just return ENOSYS. * thread.h (verifyable_object_isvalid): Support up to three static initializers. (verifyable_object_isvalid (void const *,long)): Remove prototype. (pthread_mutex::init): Add optional initializer to parameter list.
2004-03-04* gendef (sigreturn): Call stabilize_sig_stack to ensure that there are noChristopher Faylor5-38/+50
pending signals. Restore edx later. (sigdelayed): Save edx earlier. * malloc_wrapper.cc (malloc_init): Add some more debugging output.
2004-03-042004-03-03 Stephane Carrez <stcarrez@nerim.fr>Jeff Johnston4-55/+82
* m68hc11/sci-inout.S: Supports -mlong-calls. * m68hc11/sim-valid-m68hc11.ld (.tramp): New section for trampolines. (.text): Mark the .installN and .finiN section with KEEP. (.vectors): Likewise for .vectors. (.gcc_except_table): New section. * m68hc11/sim-valid-m68hc12.ld (.tramp): New section for trampolines. (.text): Mark the .installN and .finiN section with KEEP. (.vectors): Likewise for .vectors. (.gcc_except_table): New section.
2004-03-03 * include/wtypes.h (DECIMAL_SETZERO): Add definition forDanny Smith2-0/+9
NONAMELESSUNION case.
2004-03-0322004-03-03 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith2-3/+8
* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use __VARIANT_NAME_ constants.
2004-03-032003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke2-1/+6
opcodes: * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions accordingly. bfd: * archures.c: Add bfd_mach_sh4_nommu_nofpu. * cpu-sh.c: Ditto. * elf32-sh.c: Ditto. * bfd-in2.h: Regenerate. include/elf: * sh.h: Add EF_SH4_NOMMU_NOFPU. gas: * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. (sh_elf_final_processing): Output BFD type sh4_nofpu if that is the most general type or the user specifically requested it. (md_assemble): Add a new error message for when an instruction is understood, but is not allowed due to an -isa option.
2004-03-02 * include/uxtheme.h: Include <commctrl.h>Danny Smith2-121/+127
2004-03-02 * fhandler_raw.cc (fhandler_dev_raw::raw_read): When reading withCorinna Vinschen3-11/+36
variable block size, read only one block, read directly into user supplied buffer, return ENOMEM if user supplied buffer is smaller than size of next block to read. Use read2 instead of bytes_to_read to count number of bytes read. * fhandler_tape.cc (fhandler_dev_tape::open): Add debug output.
2004-03-02 * sysv_sem.cc (semundo_adjust): Check for process id instead ofCorinna Vinschen2-0/+26
process struct pointer, which isn't fixed under Cygwin. (semexit_myhook): Ditto. Adjust debug print statements to print Cygwin and Windows PIDs instead of process pointer under Cygwin.
2004-03-02 * basetyps.h (GUID_SECT): Define to nothing for GCC >= 2.95.Danny Smith2-1/+8
2004-03-022004-03-02 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith4-10/+167
* include/oleauto.h (VAR_VALIDDATE, VAR_FORMAT_NOSUBSTITUTE, VAR_FOURDIGITYEARS) Define new constants. Group VAR_* defines together (V_UI2, V_UI4, V_UI4REF, V_UI, V_UI8REF) Define macros. (V_I8, V_I8REF): Correct macros. (V_DECIMAL): Correct macro deginitions. (V_INT_PTR, V_UINT_PTR, V_INT_PTRREF, V_UINT_PTRREF): Define constants. (VTBIT_*): Define constants. (UDATE): Add structure definition. (VarDateFromUdate, VarDateFromUdateEx, VarUdateFromDate): Declare functions. (SafeArrayCreateVector): Correct parameter type from UINT to ULONG (SafeArrayCreateVectorEx): Declare function. (Var*): declare VARIANT manipulation functions. * include/ocidl.h (IPicture_*): Define IPicture COBJ macros. * include/oaidl.h (IRecordInfo_*): Define IRecordInfo COBJ macros.
2004-03-01fix minor typoChristopher Faylor1-1/+1
2004-03-01fix minor typoChristopher Faylor1-2/+2
2004-03-01 * configure.in (mips64*-*-linux*): Override mips*-*-linux* caseRichard Sandiford3-33/+45
and disable libgcj. * configure: Regenerated.
2004-03-01Missed this in last commit.Danny Smith1-0/+3
2004-03-01 Martin Fuchs <martin-fuchs@gmx.net> * include/winuser.h (COLOR_*): Define missing constants.
2004-03-01Add fr450 support.Richard Sandiford2-0/+6
2004-03-012004-03-01 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith5-17/+375
* include/oaidl.h (FADF_*) Define missing constants. (IDispatch_*): Define COBJ macros. (VARIANT): Add missing union members llVal and ullVal. (wireVARIANT): Likewise. (ITypeinfo_*): Define COBJ macros. * include/oleauto.h (Var*FromDisp): Correct parameter type from LPDISPATCH* to LPDISPATCH. (VARCMP_*, VAR_LOCALBOOL, LOCALE_USE_NLS, VARIANT_*, VAR_CALENDAR_*): Add missing constants. (SafeArray[Get/Set]*): Add prototypes. (Var*From*): Add missing prototypes. (NUMPRS_*): Add defines. (NUMPARSE): Define structure. (VarParseNumFromStr,VarNumFromParseNum): Add prototypes. * include/winerror.h (DISP_E_DIVBYZERO): Define constant. * include/winuser.h (COLOR_*): Define missing constants. * include/wtypes.h (enum VARENUM) Add VT_INT_PTR, VT_UINT_PTR. (VT_INT_PTR, VT_UINT_PTR): Remove macro definitions.
2004-02-28 PR bootstrap/7087Nathanael Nerode3-40/+28
* Makefile.tpl: Guard XFOO sed statements better. * Makefile.tpl: Add dependency for configure-target-libada. * Makefile.in: Regenerate (incidentally fixes broken commit when libada-branch was merged).
2004-02-282004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+11
* src-release (CVS_NAMES): Define. (do-tar, do-tar): Prune $(CVS_NAMES).
2004-02-26 * miscfuncs.cc (check_invalid_virtual_addr): Assure the last pageCorinna Vinschen3-3/+9
in the range is always tested. Add appropriate const. * mmap.cc (mmap_record::aloc_fh): Remove unused static path_conf object.
2004-02-26* exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it existsChristopher Faylor9-44/+137
to force signal to be handled. Zero event here to prevent races. * signal.cc (sigwaitinfo): Use local handle value for everything since signal thread could zero event element at any time. Detect when awaking due to thread not in mask and set return value and errno accordingly. Don't set signal number to zero unless we've recognized the signal. * sigproc.cc (sigq): Rename from sigqueue throughout. * thread.cc (pthread::join): Handle signals received while waiting for thread to terminate. * cygwin.din: Export sighold, sigqueue. * exceptions.cc (sighold): Define new function. * signal.cc (handle_sigprocmask): Set correct errno for invalid signal. Simplify debugging output. (sigqueue): Define new function. * include/cygwin/signal.h (sighold): Declare new function. (sigqueue): Ditto. * include/cygwin/version.h: Bump API minor version number. * include/limits.h (TIMER_MAX): Define. (_POSIX_TIMER_MAX): Ditto.
2004-02-25 * miscfuncs.cc (check_invalid_virtual_addr): New function.Corinna Vinschen4-1/+22
* winsup.h (check_invalid_virtual_addr): Declare. * mmap.cc (munmap): Call check_invalid_virtual_addr instead of IsBadReadPtr.
2004-02-25* gendef (stabilize_sig_stack): Correctly align this pointer for call toChristopher Faylor4-2/+12
_cygtls::call_signal_handler. * gentls_offsets: Output sizeof field. * tlsoffsets.h: Regenerate.
2004-02-25merge from gccDJ Delorie2-1/+5
2004-02-25* cygpath.cc (long_options): Add "mode" option.Christopher Faylor3-6/+41
(options): Ditto. (usage): Report on new option. (report_mode): New function. (main): Implement -M option.
2004-02-25* dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set.Christopher Faylor4-3/+24
* external.cc (cygwin_internal): Implement CW_GET_BINMODE. * include/sys/cygwin.h: Declare CW_GET_BINMODE.
2004-02-24* dcrt0.cc (_dll_crt0): Add some stern internal errors.Christopher Faylor3-2/+12
2004-02-24merge from gccDJ Delorie2-29/+5
2004-02-24 * thread.cc (pthread::cancelable_wait): Rearrange slightly.Corinna Vinschen3-26/+66
Add do_sig_wait parameter. Wait for signal_arrived if set to true. Return WAIT_SIGNALED if signal arrived. (pthread_cond::wait): Accomodate change to pthread::cancelable_wait. (pthread::join): Ditto. (semaphore::_timedwait): Ditto. (semaphore::_wait): Ditto. Change to return int to allow status feedback. (semaphore::wait): Return return value from semaphore::_wait. * thread.h (WAIT_SIGNALED): New definition. (pthread::cancelable_wait): Change declaration. Define do_sig_wait as false by default to not interfere with existing calls accidentally. (semaphore::_wait): Declare int.
2004-02-232004-02-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2518/+2766
* texinfo/texinfo.tex: Update from version 2003-02-03.16 to 2004-02-19.09.
2004-02-232004-02-23 Filip Navara <xnavara@volny.cz>Danny Smith2-4/+4
* include/ddk/video.h: Corrected packing.
2004-02-222004-02-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin3-92/+25
* Makefile.in: Fix problem links in faq0.html file. * what.texinfo: Remove outdated 'recent' history.
2004-02-222004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin7-32/+32
* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD. * shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD. * stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
2004-02-21* exceptions.cc (sigpacket::process): Make sure that tls is filled in forChristopher Faylor2-3/+12
SIGSTOP condition. (_cygtls::call_signal_handler): Restore signal mask using saved oldmask rather than current oldmask.
2004-02-21 * include/_mingw.h (__UNUSED_PARAM): Define macro.Danny Smith3-2/+20
* include/wchar.h (fwide): Use it. (mbsinit): Ditto.
2004-02-21* Makefile.in (build_dumper): Detect missing iconv library.Christopher Faylor4-13/+35
* cygpath.cc (dowin): Report on filename conversion errors. (doit): Ditto. * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
2004-02-21* path.cc (conv_path_list): Return error condition.Christopher Faylor3-45/+119
(copy1): New function. (copyenc): New function. (mount_item::fnmunge): Return error condition. Use new functions to copy strings. (mount_item::build_win32): Ditto. (mount_info::conv_to_win32_path): Return error condition. (cygwin_conv_to_posix_path): Return result of path conversion. (cygwin_conv_to_full_posix_path): Ditto. (return_with_errno): New macro. (cygwin_win32_to_posix_path_list): Use new macro to potentially set errno. (cygwin_posix_to_win32_path_list): Ditto. * path.h (mount_item::fnmunge): Add size argument. (mount_item::build_win32): Ditto.
2004-02-20 * getopt.c: Avoid useless compiler warnings.Corinna Vinschen2-1/+9
2004-02-20 * getopt.c: Replace with latest vanilla(!) OpenBSD version 1.16.Corinna Vinschen2-251/+298
2004-02-202004-02-19 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin3-22/+21
* cygwinenv.sgml: Remove incorrect ^Z information. Add some tags to server option description. * textbinary.sgml: Remove incorrect ^Z information.
2004-02-20 PR bootstrap/11932Nathanael Nerode3-238/+304
* mkinstalldirs, install-sh: Import from automake CVS HEAD.
2004-02-19Index: ChangeLogAndrew Cagney3-14/+119
2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: dejagnu/ChangeLog 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: readline/ChangeLog.gdb 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16.
2004-02-19 * include/Gl/glu (GLU_ERROR): Define.Danny Smith2-1/+6
Thanks to Philip Lamb <phil at rave dot co dot nz>
2004-02-19 * include/Gl/glu.h: Include <stddef.h>.Danny Smith2-0/+6
Thanks to Greg Couch <gregcouch@users.sourceforge.net>
2004-02-18* fork.cc (fork_child): Invert sense of test which defeated correct handling inChristopher Faylor3-16/+17
a fork from a non-main thread. * dcrt0.cc (initial_env): Eliminate parameter and just send DebugBreak when appropriate. (dll_crt0_0): Reflect parameter change to initial_env. (dll_crt0_1): Don't call initial_env.
2004-02-18* gendef (stabilize_sig_stack): New function.Christopher Faylor3-54/+62
(setjmp): Import, add sig stack handling. Store sig stack info. (longjmp): Call stabilize_sig_stack. Restore sig stack info. * config/i386/setjmp.c: Remove.
2004-02-17 * fork.cc (fork_child): Move fixup_shms_after_fork so thatCorinna Vinschen2-4/+9
signal_arrived is initialized when calling it.
2004-02-17* Makefile.in (clean): Clean libserver, too.Christopher Faylor6-8/+21
* fhandler.cc (fhandler_base::~fhandler_base): Remove path_conv cleanup. * syscalls.cc (chroot): Ditto. * path.cc (path_conv::~path_conv): Define new destructor. (conv_path_list_buf_size): Remove explicit path_conv cleanup. * path.h (path_conv::~path_conv): Declare new destructor.