]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 years ago* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
Christopher Faylor [Thu, 24 Aug 2000 18:39:27 +0000 (18:39 +0000)]
* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
core files.
* include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps
support in bfd.

24 years ago* environ.cc (parse_thing): nobinmode should force O_TEXT.
Christopher Faylor [Thu, 24 Aug 2000 17:54:43 +0000 (17:54 +0000)]
* environ.cc (parse_thing): nobinmode should force O_TEXT.
(regopt): Use correct path to find LOCAL_MACHINE registry options.
* fhandler.cc (fhandler_base::open): Set binary mode only when binmode ==
O_BINARY.
* pipe.cc (pipe): Pipe handling should rely on binmode not _fmode now that the
two are different.

24 years ago* include/sys/cygwin.h (strace_printf_wrap): Force printing when
Christopher Faylor [Thu, 24 Aug 2000 17:23:35 +0000 (17:23 +0000)]
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM.
(strace_printf_wrap1): Ditto.

24 years ago* debug.h: Allow some debug defines for use in header files.
Christopher Faylor [Thu, 24 Aug 2000 16:33:03 +0000 (16:33 +0000)]
* debug.h: Allow some debug defines for use in header files.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 16:25:36 +0000 (16:25 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
        used later (ifdef __SCLE)
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
        used later (ifdef MB_CAPABLE)
        * libc/string/memset.c (memset): removed unused variables "count"
        and "unaligned_addr"
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
        and "gid"

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 16:11:59 +0000 (16:11 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/envlock.c: changed documented "__env_lock" and
        "__env_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.  Also added include
        of envlock.h.
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
        "__malloc_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
        prototypes (for getenv_r.c and setenv_r.c).

24 years ago* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
Christopher Faylor [Thu, 24 Aug 2000 04:07:50 +0000 (04:07 +0000)]
* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
the process.  Use new second argument to set_myself.
(cygwin_dll_init): Initialize exception list and constructor stuff here.
(_dll_crt0): And here.  Also, deal with inherited pinfo shared memory region
from parent.
* pinfo.cc (set_myself): Accept a second argument signifying the a shared
memory region, passed from an execing parent.
(pinfo_init): Ditto.
* pinfo.h: Ditto.
* shared.h (child_info): Add a handle field to pass to child.
* spawn.cc (spawn_guts): Create a shared handle to pass to an execed child.
* winsup.h: Remove extraneous declaration.

24 years agoRevert previous erroneous checkin.
Christopher Faylor [Wed, 23 Aug 2000 14:56:28 +0000 (14:56 +0000)]
Revert previous erroneous checkin.

24 years ago* include/sys/cygwin.h: Protect class definitions.
Christopher Faylor [Wed, 23 Aug 2000 14:53:25 +0000 (14:53 +0000)]
* include/sys/cygwin.h: Protect class definitions.

24 years ago* libc/unix/getut.c (utmpname): added _CONST to reflect common use
DJ Delorie [Tue, 22 Aug 2000 19:04:49 +0000 (19:04 +0000)]
* libc/unix/getut.c (utmpname): added _CONST to reflect common use
and prototype in cygwin's utmp.h

24 years ago* path.cc (symlink_info::check): Clear error on each iteration of extension
Christopher Faylor [Tue, 22 Aug 2000 17:59:53 +0000 (17:59 +0000)]
* path.cc (symlink_info::check): Clear error on each iteration of extension
check.

24 years ago* Makefile.in: Don't include '.d' file if there are none generated yet.
Christopher Faylor [Tue, 22 Aug 2000 15:25:25 +0000 (15:25 +0000)]
* Makefile.in: Don't include '.d' file if there are none generated yet.

24 years ago* include/sys/cygwin.h: Declare some thread classes.
Christopher Faylor [Tue, 22 Aug 2000 15:12:29 +0000 (15:12 +0000)]
* include/sys/cygwin.h: Declare some thread classes.
* include/mntent.h: Avoid declaring functions.

24 years ago* winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files
Christopher Faylor [Tue, 22 Aug 2000 05:10:20 +0000 (05:10 +0000)]
* winsup.h: Eliminate inclusion of most of the cygwin .h files.  Use .h files
only in sources which require them.
* Makefile.in: Generate dependencies with -MD option.

24 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
Alexandre Oliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

24 years ago* cygerrno.h: New file. Use this throughout whenever errno manipulation is
Christopher Faylor [Tue, 22 Aug 2000 03:58:47 +0000 (03:58 +0000)]
* cygerrno.h: New file.  Use this throughout whenever errno manipulation is
required.
* errno.cc: Use DWORD to hold Windows errors.
(geterrno_from_win_error): New function.
(seterrno_from_win_error): Use geterrno_from_win_error to convert supplied
windows error (suggested by Corinna Vinschen).
* path.cc (symlink_info): Add error element.
* path.cc (path_conv::check): Remove errno setting.  Use new symlink_info errno
element to set path_conv error, where appropriate.
(symlink_info::check): Set error element rather than attempting to manipulate
errno.  Add more checks for trailing / and /..  even though they are currently
useless.  Avoid setting EINVAL.
* path.cc (normalize_posix_path): Correct check for trailing /.

24 years agoUpdate copyright.
Christopher Faylor [Mon, 21 Aug 2000 18:27:38 +0000 (18:27 +0000)]
Update copyright.

24 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
DJ Delorie [Mon, 21 Aug 2000 18:15:50 +0000 (18:15 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
not handle. (reverse of previous diff)

24 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
DJ Delorie [Mon, 21 Aug 2000 17:47:52 +0000 (17:47 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
not hinstance.

24 years ago * Makefile.in (ALL_MODULES): Add all-cgen.
Doug Evans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.

24 years ago* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
Corinna Vinschen [Sat, 19 Aug 2000 00:20:00 +0000 (00:20 +0000)]
* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
to TOKEN_INFORMATION_CLASS type.
Add QUOTA_LIMITS type.

24 years ago* Makefile.in: hinfo.o -> dtable.o.
Christopher Faylor [Fri, 18 Aug 2000 20:01:04 +0000 (20:01 +0000)]
* Makefile.in: hinfo.o -> dtable.o.

24 years ago* fhandler-tut.txt: hinfo -> dtable.
Christopher Faylor [Fri, 18 Aug 2000 19:52:31 +0000 (19:52 +0000)]
* fhandler-tut.txt: hinfo -> dtable.

24 years agohinfo -> dtable
Christopher Faylor [Fri, 18 Aug 2000 19:51:02 +0000 (19:51 +0000)]
hinfo -> dtable

24 years ago* dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current
Corinna Vinschen [Fri, 18 Aug 2000 18:14:08 +0000 (18:14 +0000)]
* dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current
allocated bounds.

24 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
Alexandre Oliva [Thu, 17 Aug 2000 15:18:39 +0000 (15:18 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

24 years agoFix 3 DV bugs, and a few minor cleanups.
Jim Wilson [Wed, 16 Aug 2000 23:20:14 +0000 (23:20 +0000)]
Fix 3 DV bugs, and a few minor cleanups.
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers.  Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds.  Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand.  Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.

24 years ago* configure.in (libstdcxx_flags): Use
Alexandre Oliva [Wed, 16 Aug 2000 18:37:42 +0000 (18:37 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.

24 years ago2000-08-16 Eric Fifer <efifer@sanwaint.com>
Jeff Johnston [Wed, 16 Aug 2000 18:30:40 +0000 (18:30 +0000)]
2000-08-16  Eric Fifer  <efifer@sanwaint.com>

        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1

24 years ago2000-08-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 16 Aug 2000 17:29:23 +0000 (17:29 +0000)]
2000-08-15  H.J. Lu  <hjl@gnu.org>

* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.

24 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

24 years agoAdd support for IA-64 specific elf header flags.
Jim Wilson [Mon, 14 Aug 2000 20:13:39 +0000 (20:13 +0000)]
Add support for IA-64 specific elf header flags.
bfd/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
(elf64_ia64_print_private_bfd_data): Likewise.  Also handle
EF_IA_64_ABSOLUTE.
gas/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
(md_parse_option):  Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
(md_begin): Change assignment to md.flag to OR in the new bit.
include/elf/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.

24 years ago* mkvers.sh: Properly trap exit removal of temp file. Remove debugging
Christopher Faylor [Sat, 12 Aug 2000 05:48:51 +0000 (05:48 +0000)]
* mkvers.sh: Properly trap exit removal of temp file.  Remove debugging
statement.

24 years agoCorrect order in include files.
Christopher Faylor [Sat, 12 Aug 2000 05:47:12 +0000 (05:47 +0000)]
Correct order in include files.

24 years ago* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.
Christopher Faylor [Sat, 12 Aug 2000 05:39:41 +0000 (05:39 +0000)]
* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.

24 years ago* winsup.h: Split out dtable definitions into separate header file.
Christopher Faylor [Sat, 12 Aug 2000 05:35:42 +0000 (05:35 +0000)]
* winsup.h: Split out dtable definitions into separate header file.
* dtable.h: New file.
* sigproc.h: Eliminate pinfo.h usage here.  Use it in source files that need
it.

24 years ago* Makefile.in: Use dtable.o rather than hinfo.o.
Christopher Faylor [Sat, 12 Aug 2000 05:09:27 +0000 (05:09 +0000)]
* Makefile.in: Use dtable.o rather than hinfo.o.

24 years agoRename hinfo -> dtable. Name the former dtable array 'fdtab'.
Christopher Faylor [Sat, 12 Aug 2000 04:48:44 +0000 (04:48 +0000)]
Rename hinfo -> dtable.  Name the former dtable array 'fdtab'.

24 years ago * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
Jason Merrill [Sat, 12 Aug 2000 00:49:39 +0000 (00:49 +0000)]
    * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

24 years ago * poll.cc: Allow any descriptor and any number of descriptors.
Corinna Vinschen [Fri, 11 Aug 2000 20:34:24 +0000 (20:34 +0000)]
    * poll.cc: Allow any descriptor and any number of descriptors.
        Allocate fd_set struct sdynamically.

24 years agoFix premature use of fdtab.
Christopher Faylor [Fri, 11 Aug 2000 13:49:42 +0000 (13:49 +0000)]
Fix premature use of fdtab.

24 years ago * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
Corinna Vinschen [Fri, 11 Aug 2000 12:51:47 +0000 (12:51 +0000)]
    * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
        if fd is invalid. Return POLLERR for each valid fd if cygwin_select
        returned with error.
        include/sys/poll.h: Change POLLERR comment according to above change.

24 years ago* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
Christopher Faylor [Fri, 11 Aug 2000 01:56:05 +0000 (01:56 +0000)]
* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
buffer.  Also fix a buffer overrun.

24 years agoDJ is sole setup maintainer now.
Christopher Faylor [Thu, 10 Aug 2000 23:51:25 +0000 (23:51 +0000)]
DJ is sole setup maintainer now.

24 years agoChange comment.
Christopher Faylor [Thu, 10 Aug 2000 22:24:58 +0000 (22:24 +0000)]
Change comment.

24 years agocomment changes.
Christopher Faylor [Thu, 10 Aug 2000 22:22:09 +0000 (22:22 +0000)]
comment changes.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 22:04:38 +0000 (22:04 +0000)]
Minor change.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 22:02:41 +0000 (22:02 +0000)]
Minor change.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 21:54:44 +0000 (21:54 +0000)]
Minor change.

24 years ago* winsup.h: Change strchr inline for strange gcc problem.
Christopher Faylor [Thu, 10 Aug 2000 19:33:54 +0000 (19:33 +0000)]
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.

24 years ago* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
Christopher Faylor [Thu, 10 Aug 2000 19:20:11 +0000 (19:20 +0000)]
* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
filenames.
* fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno,
making it effective for the whole function.

24 years agoRecode to clean up function prologues and epilogue and to allow the functions
Nick Clifton [Wed, 9 Aug 2000 21:55:54 +0000 (21:55 +0000)]
Recode to clean up function prologues and epilogue and to allow the functions
 to be used in a Thumb based toolchain.

24 years agogas:
Jason Eckhardt [Wed, 9 Aug 2000 03:33:41 +0000 (03:33 +0000)]
gas:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
(i860_fix_info): New enum.
(MD_APPLY_FIX3): Define.
(WORKING_DOT_WORD): Define.
(TC_HANDLES_FX_DONE): Define.
(DIFF_EXPR_OK): Define.
(LISTING_HEADER): Define.
(TARGET_FORMAT): Select target format based on endian flag.
(TARGET_BYTES_BIG_ENDIAN): Default to little endian.
(target_big_endian): Add external declaration.

* config/tc-i860.c: All existing code reworked completely. Other
new code shown below.
(SYNTAX_SVR4): Define.
(target_warn_expand): New variable.
(md_shortopts): Declare and define (-Qy, -Qn, and -V options).
(md_longopts): Declare and define with new options (-EL, -EB,
and -mwarn-expand).
(md_show_usage): New function.
(md_operand): New function.
(obtain_reloc_for_imm16): New function.
(md_apply_fix3): New function.
(tc_gen_reloc): New function.

include:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h: Small formatting adjustments.

opcode:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* i860-dis.c (print_br_address): Change third argument from int
to long.

bfd:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.

24 years ago* select.cc (allocfd_set): Zero allocated fd_set.
Christopher Faylor [Wed, 9 Aug 2000 02:33:47 +0000 (02:33 +0000)]
* select.cc (allocfd_set): Zero allocated fd_set.
(cygwin_select): Move fd_set copying logic from ::wait to here.  Use common
return through sell.poll.
(select_stuff::wait): Just return success or failure and let caller fill in
fd_set.
* pinfo.h (pinfo): Eliminate self-referential pointer to sidbuf since pinfo
structure exists at random locations now.
* fork.cc (fork): Use 'use_psid' element to control when the psid is relevant.
* shared.cc (sec_user): Ditto.
* spawn.cc (spawn_guts): Ditto.
* uinfo.cc (internal_getlogin): Ditto.
* syscall.cc (seteuid): Ditto.  Set use_psid element.

24 years ago* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
DJ Delorie [Tue, 8 Aug 2000 20:46:47 +0000 (20:46 +0000)]
* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
must be in units of microseconds, not milliseconds.

24 years ago* include/userenv.h: New header file.
Corinna Vinschen [Tue, 8 Aug 2000 20:00:35 +0000 (20:00 +0000)]
* include/userenv.h: New header file.
* lib/userenv.def: New stub for userenv.dll.

24 years ago2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Aug 2000 19:01:02 +0000 (19:01 +0000)]
2000-08-08  Jeff Johnston <jjohnstn@redhat.com>

        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
        so size of 0 results in nothing being written to string.
        Also fixed code so that when size is non-zero, there is only
        a maximum of size - 1 characters written to the array and
        a nul terminator is appended at the end.
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.

24 years ago* include/winuser.h: Correct PCWPSTRUCT typo.
Christopher Faylor [Tue, 8 Aug 2000 14:30:54 +0000 (14:30 +0000)]
* include/winuser.h: Correct PCWPSTRUCT typo.
(discovered by Axel Riese)

24 years agoRemove spurious CYGNUS LOCAL comments
Nick Clifton [Mon, 7 Aug 2000 18:54:49 +0000 (18:54 +0000)]
Remove spurious CYGNUS LOCAL comments

24 years ago* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
DJ Delorie [Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)]
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

24 years ago* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations.
Christopher Faylor [Mon, 7 Aug 2000 04:13:34 +0000 (04:13 +0000)]
* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations.

24 years ago * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Denis Chertykov [Sun, 6 Aug 2000 14:09:14 +0000 (14:09 +0000)]
* avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Move related opcodes closer to each other.
Minor changes in comments, list undefined opcodes.

24 years ago* hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL
Christopher Faylor [Fri, 4 Aug 2000 04:04:46 +0000 (04:04 +0000)]
* hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL
since we are already bounds checked by default.
* thread.cc (ResourceLocks::Lock): Streamline this function since it is called
a lot.
(ReleaseResourceLock): Ditto.

24 years ago* select.cc (fhandler_console::select_read): Call set_cursor_maybe since select
Christopher Faylor [Fri, 4 Aug 2000 01:33:33 +0000 (01:33 +0000)]
* select.cc (fhandler_console::select_read): Call set_cursor_maybe since select
may block and cursor may not be visible.
* select.cc (fhandler_console::select_write): Ditto.
* select.cc (fhandler_console::select_except): Ditto.

24 years ago* configure.in (libstdcxx_flags): Don't use `"'.
Alexandre Oliva [Thu, 3 Aug 2000 23:54:09 +0000 (23:54 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.

24 years ago* config-ml.in: Adjust multilib search paths to the
Alexandre Oliva [Thu, 3 Aug 2000 19:20:16 +0000 (19:20 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

24 years ago* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
Christopher Faylor [Thu, 3 Aug 2000 13:02:09 +0000 (13:02 +0000)]
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".

24 years ago* fork.cc (vfork): Store complete stack frame in vfork_save structure for later
Christopher Faylor [Thu, 3 Aug 2000 03:02:41 +0000 (03:02 +0000)]
* fork.cc (vfork): Store complete stack frame in vfork_save structure for later
recovery.
* spawn.cc (spawn_guts): Reorganize slightly to consolidate handling when there
is a CreateProcess error.
(_spawnve): Only longjmp back to vfork handling when a process has been
successfuly started.
* winsup.h (vfork_save): Extend to include frame info.  Remove obsolete cpplus
conditionals.

24 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
Alexandre Oliva [Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

24 years agoadd winsup.h
DJ Delorie [Wed, 2 Aug 2000 20:13:18 +0000 (20:13 +0000)]
add winsup.h

24 years ago* strace.cc (strace::prntf): Make second argument the function name, rather
Christopher Faylor [Wed, 2 Aug 2000 19:26:01 +0000 (19:26 +0000)]
* strace.cc (strace::prntf): Make second argument the function name, rather
than use special format options.
(strace::vprntf): Ditto.
(getfunc): New function.
* include/sys/strace.h: Reflect above changes.
* smallprint.c (__small_vsprintf): Eliminate '%F' formatting.
* pinfo.cc (set_myself): Modify for new strace::prntf parameter.
* errno.cc (seterrno_from_win_error): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.

24 years ago2000-08-01 Alexandre Oliva <aoliva@redhat.com>
DJ Delorie [Wed, 2 Aug 2000 18:56:20 +0000 (18:56 +0000)]
2000-08-01  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

2000-07-31  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.

2000-07-30  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.

24 years ago* regexp/regexp.c: Add winsup.h.
Christopher Faylor [Wed, 2 Aug 2000 17:21:27 +0000 (17:21 +0000)]
* regexp/regexp.c: Add winsup.h.

24 years ago* winsup.h: take out protections of environ, errno, allow C use
DJ Delorie [Wed, 2 Aug 2000 16:28:18 +0000 (16:28 +0000)]
* winsup.h: take out protections of environ, errno, allow C use
* *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__);
use cur_environ() instead of just environ
* times.cc: remove import protections
* glob.c: add winsup.h
* localtime.c: ditto
* smallprint.c: ditto
* Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.

24 years ago* include/sys/strace.h: Fix strace definition.
Christopher Faylor [Wed, 2 Aug 2000 15:24:45 +0000 (15:24 +0000)]
* include/sys/strace.h: Fix strace definition.

24 years ago* strace.h: Add kludgy workarounds to avoid using deprecated methods for
Christopher Faylor [Wed, 2 Aug 2000 03:42:31 +0000 (03:42 +0000)]
* strace.h: Add kludgy workarounds to avoid using deprecated methods for
variable argument macros when possible.
* sigproc.cc: Throughout, use sigproc_printf rather than sip_printf.
* strace.cc (strace::prntf): Remove 'active' check, since callers are supposed
to ensure this.
(__system_printf): Remove.  Subsumed by strace::prntf.
* winsup.h: Define "NEW_MACRO_VARARGS" to indicate when to use new macro
varargs capability.

24 years ago* libc/include/sys/config.h: define __IMPORT appropriately
DJ Delorie [Tue, 1 Aug 2000 20:51:51 +0000 (20:51 +0000)]
* libc/include/sys/config.h: define __IMPORT appropriately
* libc/include/ctype.h (_ctype_): use __IMPORT
* libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
* libc/include/math.h (__mb_cur_max): ditto
* libc/include/time.h (_timezone, _daylight, _tzname): ditto
* libc/include/unctrl.h (__unctrl, __unctrllen): ditto
* libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
* libc/include/unistd.h (environ): ditto

24 years ago* passwd.c (main): Initialize oldpwd before beeing used.
Corinna Vinschen [Mon, 31 Jul 2000 13:35:39 +0000 (13:35 +0000)]
* passwd.c (main): Initialize oldpwd before beeing used.

24 years ago* fhandler_console.cc: Remove VK_DIVIDE detection.
Christopher Faylor [Sun, 30 Jul 2000 17:58:48 +0000 (17:58 +0000)]
* fhandler_console.cc: Remove VK_DIVIDE detection.
(get_nonascii_key): Simplify previous patch to return ascii char if it is
non-zero.  Add a second "temporary buffer" argument to help with thread safety.
* select.cc (peek_console): Pass a temporary buffer argument to
get_nonascii_key.

24 years agoFix formatting
Nick Clifton [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice

24 years ago* fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if it
Christopher Faylor [Sat, 29 Jul 2000 19:07:15 +0000 (19:07 +0000)]
* fhandler_console.cc: Add VK_DIVIDE detection.  Return virtual keycode if it
is not detected and it is less than ' '.

24 years ago* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
Christopher Faylor [Sat, 29 Jul 2000 17:36:05 +0000 (17:36 +0000)]
* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
up with an empty string.

24 years ago* kill.cc (main): Add '-f' option to force termination of a process.
Christopher Faylor [Sat, 29 Jul 2000 16:26:37 +0000 (16:26 +0000)]
* kill.cc (main): Add '-f' option to force termination of a process.
(forcekill): New function.
* ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids.
(dummyprocessmodules): New function.
(GetModuleFileNameEx95): New function.
(init_win): New function.
(to_time_t): New function.

24 years ago* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
Christopher Faylor [Sat, 29 Jul 2000 16:24:59 +0000 (16:24 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
the changes below.  Redefine process structure to avoid a fixed size table.
Redefine pinfo/_pinfo classes.  Use these throughout.
* dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change.
(__api_fatal): Accomodate _pinfo::record_death argument change.
* exceptions.cc (really_exit): Ditto.
(sig_handle_tty_stop): Use pinfo constructor to access process info.
(events_init): Don't create pinfo_mutex since it is no longer required.
* external.cc (fillout_pinfo): Use winpids class to iterate over all system
pids.
(cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops.
* fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to
access process info.
* fork.cc (fork): Reorganize to initialize child info after the child has
started since that is when we know the child's winpid, which is necessary to
allocate the pinfo shared memory.
* mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo.
* pinfo.cc: Rename pinfo methods to _pinfo throughout.  Eliminate pinfo_list
stuff.
(set_myself): Accept a pid argument now.  Call pinfo initializer to initialize
myself.  Detect when this is an "execed" process and create an "indirect" pid
block.
(pinfo_init): Accomodate set_myself arg change.
(procinfo): Remove.
(pinfo::lock_pinfo): Remove.
(pinfo::unlock_pinfo): Remove.
(pinfo::init): New method.  Allocates shared memory space for process pinfo
structure.
(pinfo::record_death): Don't call locking functions.
(cygwin_winpid_to_pid): Simplify by using new pinfo constructor.
(EnumProcessesW95): New function for iterating over processes on Windows 95.
(winpids::winpids): New constructor for winpids class.  Sets up a list of
process ids.
(enum_init): Initialize w95/wnt pid enumerators.
* shared.cc (shared-info::initialize): Remove pid initialization.
* shared.h: Move pinfo stuff into pinfo.h.
(class shared_info): Remove pinfo_list element.
* signal.cc (kill_worker): Use pinfo constructor to access process info.
(kill_pgrp): Ditto.  Use winpids methods to access list of processes.
* sigproc.cc: Throughout, modify to use _pinfo where appropriate.
(proc_exists (pid_t)): New function.  Determines if a process exists based on
the pid.
(proc_exists (_pinfo *p): Use new proc_exists function above.
(proc_subproc): Copy pinfo stuff around rather than _pinfo pointers.  Try to be
careful about releasing shared memory when we don't need it anymore.  Remove
pinfo locks.
(remove_zombies): Remove pinfo memory when zombie is going away.
* sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc.
* spawn.cc (spawn_guts): Eliminate pinfo *child argument.  Reorganize to only
initialize child pinfo after process has been started and we know the windows
pid.
(_spawnve): Reflect spawn_guts changes.
* syscalls.cc (setpgid): Use pinfo constructor to access process info.
(getpgid): Ditto.
(internal_getlogin): Use _pinfo.
* winsup.h: Eliminate pinfo_mutex.  Eliminate spawn_guts declaration since it
is static now.  Reflect set_myself argument change.
* include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff.
* include/cygwin/version.h: Update minor version for cygdrive changes below.

24 years ago* environ.cc (parse_thing): Make binmode a DWORD.
Christopher Faylor [Sat, 29 Jul 2000 16:01:23 +0000 (16:01 +0000)]
* environ.cc (parse_thing): Make binmode a DWORD.
* hinfo.cc (hinfo::init_std_file_from_handle): Use 'binmode' to determine
default open mode.
* winsup.h: Declare binmode.

24 years ago* include/cygwin/cygwin_dll.h: Update for modern compilers.
Christopher Faylor [Sat, 29 Jul 2000 04:19:24 +0000 (04:19 +0000)]
* include/cygwin/cygwin_dll.h: Update for modern compilers.
* lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers.
* fhandler.h (fhandler_console): Add new method.
* fhandler.cc (fhandler_console::set_cursor_maybe): New method.
(fhandler_console::read): Set cursor if it has moved to make it visible.

24 years agoMinor formatting change.
Christopher Faylor [Fri, 28 Jul 2000 23:21:04 +0000 (23:21 +0000)]
Minor formatting change.

24 years agoFix typo.
Christopher Faylor [Fri, 28 Jul 2000 22:37:23 +0000 (22:37 +0000)]
Fix typo.

24 years ago* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
Christopher Faylor [Fri, 28 Jul 2000 22:34:24 +0000 (22:34 +0000)]
* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
(show_cygdrive_prefixes): New function.
* utils/umount.cc (main): Add --remove-cygdrive-prefix option.
(error): Change signature from 'char *' to 'const char *'.
(remove_cygdrive_prefix): New function.

24 years ago* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
Christopher Faylor [Fri, 28 Jul 2000 22:33:43 +0000 (22:33 +0000)]
* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
* external.cc (get_cygdrive_prefixes): New function.
(cygwin_internal): Add CW_GET_CYGDRIVE_PREFIXES case.
* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
prefix if user one is undefined.
(mount_info::write_cygdrive_info_to_registry): Write cygdrive prefix to the
appropriate registry hive.  Overwrite in-memory copy of cygdrive, if
appropriate.
(mount_info::remove_cygdrive_info_from_registry): New method.
(mount_info::get_cygdrive_prefixes): New method.
(cygwin_umount): Remove cygdrive prefix, if appropriate.
* registry.cc (reg_key::killvalue): New method.
* shared.h (class reg_key): Add killvalue, remove_cygdrive_info_to_registry,
and get_cygdrive_prefixes declarations.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_PREFIXES.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:16:11 +0000 (21:16 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* dis-asm.h (print_insn_i860): Add prototype.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:10:20 +0000 (21:10 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* include/opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* include/elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* bfd/cpu-i860.c: Added comments.

* bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* bfd/configure: Regenerated.

* opcodes/i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* opcodes/disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* include/dis-asm.h (print_insn_i860): Add prototype.

* opcodes/Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* opcodes/configure.in: New bits for bfd_i860_arch.

* opcodes/configure: Regenerated.

24 years agoDeclare __infinity as an array to work around problems with small data support
Michael Meissner [Fri, 28 Jul 2000 16:27:55 +0000 (16:27 +0000)]
Declare __infinity as an array to work around problems with small data support

24 years ago* s/sourceware.cygnus.com/sources.redhat.com/ throughout
Frank Ch. Eigler [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/

24 years ago* include/cygwin/version.h: Bump DLL minor version number to 4.
Christopher Faylor [Fri, 28 Jul 2000 03:35:52 +0000 (03:35 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 4.

24 years ago* Makefile.in (FLAGS_FOR_TARGET): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:10:36 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

24 years agoRemove obsolete entries:
David Starks-Browning [Thu, 27 Jul 2000 22:06:27 +0000 (22:06 +0000)]
Remove obsolete entries:
 - 'Why is gcc failing'
 - 'Why can't bison find bison.simple or bison.hairy?'
Remove disclaimer from up-to-date entries (possibly with some minor changes):
 - 'How is fork() implemented?'
 - 'How do symbolic links work?'
 - 'How do I compile a Win32 executable that doesn't use Cygwin?'
 - 'How do I make the console window go away?'
 - 'Why does make complain about a "missing separator"?'
 - 'Why can't we redistribute Microsoft's Win32 headers?'
 - 'How can I debug what's going on?'
 - 'Can I use a system trace mechanism instead?'
 - 'Can I use the gdb debugger to debug programs built by VC++?'
 - 'Where can I find info on x86 assembly?'
 - 'Why not use DJGPP?'

24 years agoEntry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
David Starks-Browning [Thu, 27 Jul 2000 21:29:19 +0000 (21:29 +0000)]
Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
when unpacking tar.gz archives.

24 years agoEntry 'How should I set my PATH?': Don't omit Windows system directories.
David Starks-Browning [Thu, 27 Jul 2000 21:13:16 +0000 (21:13 +0000)]
Entry 'How should I set my PATH?':  Don't omit Windows system directories.

24 years agoAdded missing ChangeLog entry.
Corinna Vinschen [Thu, 27 Jul 2000 18:30:57 +0000 (18:30 +0000)]
Added missing ChangeLog entry.

This page took 0.067568 seconds and 5 git commands to generate.