aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-24* autoload.cc (IsDebuggerPresent): Make conditional load since it is notChristopher Faylor3-5/+14
available everywhere. * path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be FH_CYGDRIVE, not /cygdrive/x.
2001-11-24* net.cc (inet_makeaddr): Revert previous change.Christopher Faylor2-1/+5
2001-11-24* path.cc (chdir): Allow 'cd /cygdrive'.Christopher Faylor2-6/+17
2001-11-24Fix typo.Christopher Faylor1-1/+1
2001-11-24fix typo.Christopher Faylor1-1/+1
2001-11-24* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.Christopher Faylor12-146/+297
* exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger attached. * fhandler.h (fhandler_base::set_nohandle): New method. (fhandler_base::get_nohandle): New method. * fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no handle. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on dummy fd. * Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a * fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting since it is no longer used. * miscfuncs.cc (check_null_str): New function. (+check_null_str_errno): Ditto. * net.cc: Add defensive buffer checking throughout. (cygwin_sendto): Protect against invalid fd. (cygwin_recvfrom): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * winsup.h: Declare a new function. * select.cc (set_bits): Fix conditional for setting fd in exceptfds. * dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device type. * path.cc (get_devn): Set correct pipe device type from device name.
2001-11-22* path.cc (conv_path_list): Fix wild indexing into path due to conflictingChristopher Faylor8-50/+239
methods for setting src pointer. * dir.cc (opendir): Only pass path_conv argument to opendir, since name is already part of the fhandler. * dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type. * fhandler.cc (fhandler_base::opendir): Nuke name argument. * fhandler.h: Add FH_CYGDRIVE to "device" enum. (fhandler_base::opendir): Nuke name argument. (fhandler_disk_file::opendir): Ditto. (fhandler_disk_file::fhandler_disk_file): Declare new method which passes devtype through. (fhandler_cygdrive): Add elements for tracking drives. (fhandler_cygdrive::set_drives): Declare new method. (fhandler_cygdrive::iscygdrive_root): Declare new method. (fhandler_cygdrive::opendir): Declare new method. (fhandler_cygdrive::readdir): Declare new method. (fhandler_cygdrive::telldir): Declare new method. (fhandler_cygdrive::seekdir): Declare new method. (fhandler_cygdrive::rewinddir): Declare new method. (fhandler_cygdrive::closedir): Declare new method. (fhandler_cygdrive::fstat): Declare new method. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new method which passes devtype through. (fhandler_disk_file::open): Tweak debug output. (fhandler_disk_file::opendir): Nuke first argument. Use info from path_conv and class rather than calling fstat. (fhandler_cygdrive::set_drives): New method. (fhandler_cygdrive::iscygdrive_root): New method. (fhandler_cygdrive::opendir): New method. (fhandler_cygdrive::readdir): New method. (fhandler_cygdrive::telldir): New method. (fhandler_cygdrive::seekdir): New method. (fhandler_cygdrive::rewinddir): New method. (fhandler_cygdrive::closedir): New method. (fhandler_cygdrive::fstat): New method. * path.cc (iscygdrive_device): Assume cygdriveness is already verified. (path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file attributes as needed. (mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the directory which contains all of the drives on the system". (fillout_mntent): Use cyg_tolower for conversions. (mount_info::cygdrive_win32_path): Replace unused argument with unit number. * shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.
2001-11-22* path.cc (cygpath): Don't consider cygpath stuff when trying to derive nativeChristopher Faylor2-1/+9
paths.
2001-11-21 Patch by Pierre Muller <muller@ics.u-strasbg.fr>:Corinna Vinschen2-0/+10
* w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added.
2001-11-21 Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:Corinna Vinschen2-20/+60
* mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
2001-11-21* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.Christopher Faylor2-6/+11
2001-11-21* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.Christopher Faylor8-744/+896
* cygheap.h (cygheap_fdnew::operator =): New operator. * dir.cc: Add invalid struct checking throughout. Use methods for all directory manipulation throughout. * fhandler.cc: Move fhandler_disk_file stuff to own file. (fhandler_base::opendir): New method. (fhandler_base::readdir): New method. (fhandler_base::telldir): New method. (fhandler_base::seekdir): New method. (fhandler_base::rewinddir): New method. (fhandler_base::closedir): New method. * fhandler_disk_file.cc: New file. * fhandler.h (fhandler_base): Declare new virtual methods. (fhandler_disk_file): Ditto. (fhandler_cygdrive): New class. * path.cc (conv_path_list): Use strccpy to break apart path.
2001-11-21Change copyright.Christopher Faylor1-1/+1
2001-11-20Use msgfmt to generate .gmo files from .po files for a distribution.Nick Clifton2-0/+10
2001-11-18 * libc/sys/mmixware/*: Tweak license header in all source files.Hans-Peter Nilsson30-87/+178
2001-11-18 * COPYING.NEWLIB: Mention preserved notice in specific parts.Hans-Peter Nilsson2-1/+6
2001-11-17* winsup.api/pthread/condvar3_1.c: Fix debugging output.Egor Duda2-6/+7
2001-11-17* path.cc (conv_path_list): Copy source paths before modifying them.Christopher Faylor2-3/+12
2001-11-17 * strace.cc (main): Change getopt() to getopt_long().Corinna Vinschen2-2/+234
Add support for help and version info. Use new parse_mask() function for -m/--mask option. (longopts): Add long options structure. (opts): Move options string from getopts call to static var. (usage): Print usage information. (SCCSid): Version info. (version): New function for displaying version info. (parse_mask): New function supporting parsing of mnemonics, hex, and basic expressions in masks. (mnemonic2ul): New mnemonic parsing function. (tag_mask_mnemonic): New type. (mnemonic_table): New table of mnemonics for mnemonic2ul() to search through.
2001-11-16 * fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.Corinna Vinschen3-1/+7
* fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug output.
2001-11-15 * common.h (NT_ARCH): Define. Remove incorrect comment.Alan Modra2-1/+5
2001-11-15Fix typo.Egor Duda1-1/+1
2001-11-15* winsup.api/pthread/: New directory. Ports of pthread functionalityEgor Duda37-0/+3099
tests ported from pthreads-win32 project. * winsup.api/pthread/test.h: Commmon declaraions for pthread tests. * winsup.api/pthread/cleanup2.c: New test. * winsup.api/pthread/cleanup3.c: Ditto. * winsup.api/pthread/condvar1.c: Ditto. * winsup.api/pthread/condvar2.c: Ditto. * winsup.api/pthread/condvar2_1.c: Ditto. * winsup.api/pthread/condvar3.c: Ditto. * winsup.api/pthread/condvar3_1.c: Ditto. * winsup.api/pthread/condvar3_2.c: Ditto. * winsup.api/pthread/condvar3_3.c: Ditto. * winsup.api/pthread/condvar4.c: Ditto. * winsup.api/pthread/condvar5.c: Ditto. * winsup.api/pthread/condvar6.c: Ditto. * winsup.api/pthread/condvar8.c: Ditto. * winsup.api/pthread/count1.c: Ditto. * winsup.api/pthread/create1.c: Ditto. * winsup.api/pthread/create2.c: Ditto. * winsup.api/pthread/equal1.c: Ditto. * winsup.api/pthread/exit1.c: Ditto. * winsup.api/pthread/exit2.c: Ditto. * winsup.api/pthread/exit3.c: Ditto. * winsup.api/pthread/inherit1.c: Ditto. * winsup.api/pthread/join0.c: Ditto. * winsup.api/pthread/join1.c: Ditto. * winsup.api/pthread/join2.c: Ditto. * winsup.api/pthread/mutex1.c: Ditto. * winsup.api/pthread/mutex1r.c: Ditto. * winsup.api/pthread/mutex2.c: Ditto. * winsup.api/pthread/mutex3.c: Ditto. * winsup.api/pthread/mutex6r.c: Ditto. * winsup.api/pthread/once1.c: Ditto. * winsup.api/pthread/priority1.c: Ditto. * winsup.api/pthread/priority2.c: Ditto. * winsup.api/pthread/self1.c: Ditto. * winsup.api/pthread/self2.c: Ditto. * winsup.api/pthread/tsd1.c: Ditto.
2001-11-15* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.Egor Duda4-4/+26
* thread.cc (__pthread_cond_destroy): Add support for PTHREAD_COND_INITIALIZER. (__pthread_cond_init): Ditto. (__pthread_cond_broadcast): Ditto. (__pthread_cond_signal): Ditto. (__pthread_cond_dowait): Ditto. (__pthread_mutex_init): Handle PTHREAD_MUTEX_INITIALIZER correctly, don't return error when it's passed as parameter. * winsup.h (check_null_invalid_struct): Call correct function.
2001-11-15* exceptions.cc: Add stdlib.h include for alloca declaration.Christopher Faylor5-7/+24
* poll.cc: Ditto. * termios.cc: Ditto. * syscalls.cc (_write): Only allow zero length when fd is valid.
2001-11-15binutils/ChangeLogAlan Modra2-1/+7
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-14 * fhandler.cc (fhandler_disk_file::fstat): Add setting access timeCorinna Vinschen2-6/+25
and creation time to last modification time for files on filesystems not supporting multiple timestamps. (fhandler_disk_file::fstat_helper): Set access time and creation time in incoming Windows structure instead of in stat buf to avoid incorrectly overwriting Epoch timestamp.
2001-11-14 * winsup.h: Remove alloca definition since it's now defined throughCorinna Vinschen3-3/+7
inclusion of stdlib.h. * lib/cygwin_crt0.c: Ditto.
2001-11-14 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.hCorinna Vinschen4-13/+31
to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
2001-11-142001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb6-28/+65
Merged from net gcc: 2001-07-30 Jeff Sturm <jsturm@one-pont.com> * ltcf-c.sh: Use $objext, not $ac_objext. 2001-07-27 Mark Kettenis <kettenis@gnu.org> * ltcf-cxx.sh: Add support for GNU. 2001-07-22 Timothy Wall <twall@redhat.com> * ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve default settings if using GNU tools with that configuration. * ltcf-cxx.sh: Ditto. * ltcf-gcj.sh: Ditto. 2001-07-21 Michael Chastain <chastain@redhat.com> * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local. * ltmain.sh: Mark as gcc-local.
2001-11-142001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+6
* Makefile.in (all-bison): Revert 2001-10-24. Don't depend on texinfo.
2001-11-14* syscalls.cc (_write): Allow zero length as per SUSv2.Christopher Faylor2-0/+7
2001-11-14binutils/ChangeLogAlan Modra2-0/+5
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
2001-11-13 * dir.cc (mkdir): Add HIDDEN file attribute if file has leading dotCorinna Vinschen5-6/+45
and HIDDEN_DOT_FILES is defined. * fhandler.cc (fhandler_base::open): Ditto. * path.cc (symlink): Ditto. * syscalls.cc (_rename): Ditto and remove HIDDEN file attribute if new filename does not begin with a dot.
2001-11-13Index: bfd/ChangeLogGeoffrey Keating2-1/+9
2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.c (decode_line_info): Properly deal with unknown standard opcodes. Index: binutils/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * readelf.c (display_debug_lines): Deal with unknown standard opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, DW_LNS_set_isa. Index: include/elf/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
2001-11-13Fix tic54x testsuite failures and Lmem disassembly bugs.Tim Wall5-40/+65
2001-11-13Add __stack_base__Anthony Green2-1/+6
2001-11-13 * libc/sys/mmixware/*: Correct spacing in all source files.Hans-Peter Nilsson31-226/+203
* libc/sys/mmixware/syscall.h: Move misplaced file... * libc/sys/mmixware/sys/syscall.h: ...here.
2001-11-13 * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" toAlan Modra2-3/+12
accept WordReg. * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand category instead of Ew.
2001-11-12 Fix ChangeLog entry.Corinna Vinschen1-0/+1
2001-11-12 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.Corinna Vinschen2-3/+10
2001-11-12* cygcheck.cc (main): Slight formatting tweak.Christopher Faylor2-1/+6
2001-11-122001-11-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston2-1/+17
* COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.
2001-11-122001-11-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston39-0/+3471
* libc/include/machine/ieeefp.h: Add support for mmix target. * libc/include/machine/setjmp.h: Ditto. * configure.host: Ditto. * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c, libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4, libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c, libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in, libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c, libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c, libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c, libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c, libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c, libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c, libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c, libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S, libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h, libc/sys/mmixware/time.c, libc/sys/mmixware/times.c, libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c, libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files. * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in, libc/sys/mmixware/aclocal.m4: Generate.
2001-11-12 * cygcheck.cc (dump_sysinfo): Add some more details.Corinna Vinschen2-4/+22
2001-11-12Add missing ChangeLog entry.Christopher Faylor1-0/+4
2001-11-12 * cygcheck.cc (dump_sysinfo): Print more detailed OS information stringCorinna Vinschen2-12/+39
using OSVERSIONINFOEX information.
2001-11-12 * include/winbase.h (OSVERSIONINFOEX): Add definition.Corinna Vinschen3-0/+43
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-12* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change toChristopher Faylor2-3/+5
only honor keydown events.
2001-11-12* include/cygwin/version.h: Bump version to 1.3.6.Christopher Faylor2-2/+6