OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
24 years agoForced checkin.
cgf [Mon, 23 Oct 2000 23:39:04 +0000 (23:39 +0000)]
Forced checkin.

24 years agoCorrected spelling errors in comments
davea [Mon, 23 Oct 2000 22:49:28 +0000 (22:49 +0000)]
Corrected spelling errors in comments

24 years agoFix type in function name.
fnasser [Mon, 23 Oct 2000 22:45:13 +0000 (22:45 +0000)]
Fix type in function name.

24 years agoFix typo in ChangeLog entry.
fnasser [Mon, 23 Oct 2000 22:44:07 +0000 (22:44 +0000)]
Fix typo in ChangeLog entry.

24 years ago2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
fnasser [Mon, 23 Oct 2000 22:41:53 +0000 (22:41 +0000)]
2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * gdbtk-hooks.c (x_events): Only process events if the target is
        running.

24 years ago2000-10-23 Fernando Nasser <fnasser@cygnus.com>
fnasser [Mon, 23 Oct 2000 21:46:06 +0000 (21:46 +0000)]
2000-10-23  Fernando Nasser  <fnasser@cygnus.com>

        * util.tcl (find_iwidgets_library): Use the directories that were
        actually searched in the error message.

24 years ago2000-10-13 Fernando Nasser <fnasser@cygnus.com>
fnasser [Mon, 23 Oct 2000 21:39:28 +0000 (21:39 +0000)]
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

        With Steven Johnson <sbjohnson@ozemail.com.au>
        This change fixes part of the possible scenarios where a race condition
        would cause core dumps if there were commands changing registers or
        other target resources in a startup script.
        The remaining scenarios are fixed by a patch to generic.gdbtk.c
        * interface.tcl (gdbtk_update_safe): New function. Like gdbtk_update
        but does nothing if target is running.
        (gdbtk_register_changed): Call the above safe version.
        (gdbtk_memory_changed): Likewise.

24 years ago* sigproc.cc (proc_subproc): Don't send a false positive if WNOHANG and no
cgf [Mon, 23 Oct 2000 20:50:36 +0000 (20:50 +0000)]
* sigproc.cc (proc_subproc): Don't send a false positive if WNOHANG and no
processes are available for waiting.

24 years ago * fhandler.cc (fhandler_base::fcntl): Setting flags in F_SETFL
corinna [Mon, 23 Oct 2000 20:29:31 +0000 (20:29 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Setting flags in F_SETFL
        branch according to Linux documentation.

24 years ago * fcntl.cc (_fcntl): Rearrange as wrapper function. Move all
corinna [Mon, 23 Oct 2000 20:16:52 +0000 (20:16 +0000)]
    * fcntl.cc (_fcntl): Rearrange as wrapper function. Move all
        functionality except F_DUPFD to fhandler classes.
        * fhandler.cc (fhandler_base::fcntl): New method.
        * net.cc (fhandler_socket::fcntl): Ditto.
        * fhandler.h (class fhandler_base): Add method prototype for fcntl().
        (class fhandler_socket): Ditto.

24 years ago2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
fnasser [Mon, 23 Oct 2000 19:59:45 +0000 (19:59 +0000)]
2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * gdbtk-variable.c: Removed. Obsolete file.

24 years ago* build fix for recently increased isa sensitivity
fche [Mon, 23 Oct 2000 18:17:44 +0000 (18:17 +0000)]
* build fix for recently increased isa sensitivity

2000-10-23  Frank Ch. Eigler  <fche@redhat.com>

* thumb.scm (cc-tests): Add (ISA thumb) attribute.

24 years ago* sigproc.cc (proc_subproc): Correctly handle flags for WNOHANG case.
cgf [Mon, 23 Oct 2000 16:50:20 +0000 (16:50 +0000)]
* sigproc.cc (proc_subproc): Correctly handle flags for WNOHANG case.

24 years ago[merge from gcc]
dj [Mon, 23 Oct 2000 15:30:54 +0000 (15:30 +0000)]
[merge from gcc]
* cp-demangle.c (string_list_def): Add caret_position and comments.
(result_caret_pos): New macro.
(result_append_string): Rename to...
(result_add_string): ... this, and insert at caret position.
Rename throughout.
(result_append): Rename to...
(result_add): ... this, and insert at caret position.  Rename
throughout.
(result_append_char): Rename to...
(result_add_char): ... this, and insert at caret position.  Rename
throughout.
(result_append_space): Remove.
(string_list_new): Initialize caret position.
(result_add_separated_char): Use caret position.
(result_get_caret): New funtion.
(result_set_caret): Likewise.
(result_shift_caret): Likewise.
(result_previous_char_is_space): Likewise.
(substitution_start): Use caret position.
(substitution_add): Likewise.
(demangling_new): Initialize caret position.
(demangle_encoding): Use caret position.
(demanglin_nested_name): Put CV qualifiers after name.
(demangle_type_ptr): Use switch statement.  Handle pointers to
arrays.  Don't use result_append_space.  Use caret position.
(demangle_type): Emit CV qualifiers after underlying type.  Adjust
call to demangle_array_type.
(demangle_array_type): Add parameter to handle pointers to arrays.

24 years ago* security.cc: Eliminate C++ comments throughout.
corinna [Mon, 23 Oct 2000 08:02:38 +0000 (08:02 +0000)]
* security.cc: Eliminate C++ comments throughout.

24 years ago* Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.
cgf [Mon, 23 Oct 2000 04:50:32 +0000 (04:50 +0000)]
* Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.

24 years ago* fork.cc (fork): Set sigframe here, since it can pause for a considerable
cgf [Mon, 23 Oct 2000 03:35:50 +0000 (03:35 +0000)]
* fork.cc (fork): Set sigframe here, since it can pause for a considerable
amount of time.
* environ.cc (_addenv): Add debugging.
* fhandler.cc: Eliminate unneeded include.
* smallprint.c: Ditto.

24 years agoProtoization.
kevinb [Mon, 23 Oct 2000 03:21:06 +0000 (03:21 +0000)]
Protoization.

24 years agoRemove erroneously committed entry.
cgf [Sun, 22 Oct 2000 23:56:05 +0000 (23:56 +0000)]
Remove erroneously committed entry.

24 years agoflip/flop change.
cgf [Sun, 22 Oct 2000 22:43:47 +0000 (22:43 +0000)]
flip/flop change.

24 years agoMinor change.
cgf [Sun, 22 Oct 2000 22:32:15 +0000 (22:32 +0000)]
Minor change.

24 years agoTest checkin.
cgf [Sun, 22 Oct 2000 22:27:29 +0000 (22:27 +0000)]
Test checkin.

24 years agoMinor change.
cgf [Sun, 22 Oct 2000 22:03:59 +0000 (22:03 +0000)]
Minor change.

24 years agoForced checkin.
cgf [Sun, 22 Oct 2000 22:02:12 +0000 (22:02 +0000)]
Forced checkin.

24 years ago * pinfo.cc (pinfo_init): Eliminate call to `set_process_privileges'.
corinna [Sun, 22 Oct 2000 10:13:30 +0000 (10:13 +0000)]
    * pinfo.cc (pinfo_init): Eliminate call to `set_process_privileges'.
        * security.cc (write_sd): Call `set_process_privileges' on the first
        call to `write_sd'.
        (set_process_privileges): Eliminate adjusting SE_BACKUP_NAME privilege.

24 years ago* Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since builtin
cgf [Sat, 21 Oct 2000 22:01:55 +0000 (22:01 +0000)]
* Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since builtin
functions are in this library in newer gcc's.

24 years agoFix typo.
cgf [Sat, 21 Oct 2000 20:57:40 +0000 (20:57 +0000)]
Fix typo.

24 years ago* pinfo.cc (pinfo::init): Make PID_EXECED signal creation as well as
cgf [Sat, 21 Oct 2000 19:28:49 +0000 (19:28 +0000)]
* pinfo.cc (pinfo::init): Make PID_EXECED signal creation as well as
PID_IN_USE.

24 years ago* spawn.cc (spawn_guts): Don't do the reparenting step if we notice that the
cgf [Sat, 21 Oct 2000 05:53:43 +0000 (05:53 +0000)]
* spawn.cc (spawn_guts): Don't do the reparenting step if we notice that the
child has exited prior to sending the subprocess_ready signal
(?).

24 years ago* fhandler.h (fhandler_console): Remove tcsetpgrp.
cgf [Sat, 21 Oct 2000 04:53:49 +0000 (04:53 +0000)]
* fhandler.h (fhandler_console): Remove tcsetpgrp.
* fhandler_console.cc (fhandler_console::tcsetpgrp): Eliminate.
* fork.cc (fork_parent): Avoid returning same pid twice in a row regardless of
OS.
* pinfo.cc (pinfo::init): Rename create argument to flags and treat it as such.
* signal.cc (set_sigcatchers): New function.
(signal): Use set_sigcatchers to increment or decrement sigcatcher tracker.
(sigaction): Ditto.  Add debugging output.
* spawn.cc (spawn_guts): Always quote first argv[0] argument when it's a
COMSPEC shell.

24 years ago* times.cc (to_time_t): pass zero time as epoch
dj [Fri, 20 Oct 2000 21:45:50 +0000 (21:45 +0000)]
* times.cc (to_time_t): pass zero time as epoch
* fhandler.cc (fstat): copy atime/ctime from mtime if they're zero

24 years ago * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
jakub [Fri, 20 Oct 2000 10:58:32 +0000 (10:58 +0000)]
* emulparams/elf64_sparc.sh (TEXT_START_ADDR,
NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
Fix sed invocation, so that it coped with '/' in Solaris 64bit
library path suffix.
Based on patch by Andrew Macleod <amacleod@cygnus.com>.

24 years agogas/
jakub [Fri, 20 Oct 2000 10:38:45 +0000 (10:38 +0000)]
gas/
* config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
instructions to loose any special insn->architecture mask.

* config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
(sparc_md_end, sparc_arch_types, sparc_arch,
sparc_elf_final_processing): Handle v8plusb and v9b architectures.
(sparc_ip): Handle siam mode operands. Support v9b ASRs (and
request v9b architecture if they are used).

bfd/
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
elf32_sparc_object_p, elf32_sparc_final_write_processing):
Support v8plusb.
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
sparc64_elf_object_p): Support v9b.
* archures.c: Declare v8plusb and v9b machines.
* bfd-in2.h: Ditto.
* cpu-sparc.c: Ditto.

include/opcode/
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
Note that '3' is used for siam operand.

opcodes/
* sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
(compute_arch_mask): Add v8plusb and v9b machines.
(print_insn_sparc): siam mode decoding, accept ASRs up to 25.
* opcodes/sparc-opc.c: Support for Cheetah instruction set.
(prefetch_table): Add #invalidate.

24 years agoAdd Fred Fish to the Blanket Write Privs list.
cagney [Fri, 20 Oct 2000 08:21:45 +0000 (08:21 +0000)]
Add Fred Fish to the Blanket Write Privs list.

24 years agoMakefile.in shuffle.
cgf [Fri, 20 Oct 2000 04:39:21 +0000 (04:39 +0000)]
Makefile.in shuffle.

24 years ago* external.cc (fillout_pinfo): Pass PID_NOREDIR flag to pinfo init to avoid
cgf [Fri, 20 Oct 2000 04:20:21 +0000 (04:20 +0000)]
* external.cc (fillout_pinfo): Pass PID_NOREDIR flag to pinfo init to avoid
finding execed processes twice.
* signal.cc (kill_pgrp): Ditto.
* spawn.cc (spawn_guts): Avoid passing first argument to CreateProcess when
running a windows shell so that CreateProcess will locate the shell.
Reorganize so that correct error is returned when CreateProcess fails.

24 years agoProtoization.
kevinb [Fri, 20 Oct 2000 00:44:49 +0000 (00:44 +0000)]
Protoization.

24 years agoFrom Daniel Berlin <dberlin@redhat.com> :
cgf [Fri, 20 Oct 2000 00:15:30 +0000 (00:15 +0000)]
From Daniel Berlin <dberlin@redhat.com> :
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol language to auto
instead of unknown, so it will try to demangle the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.

24 years ago2000-10-19 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Thu, 19 Oct 2000 21:46:42 +0000 (21:46 +0000)]
2000-10-19  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/gdbserver.exp:  Rewritten from the ground up, to make it
        compatible with the current dejagnu tree, and to make it work with
        the new "gdbserver" in libremote.

24 years ago2000-10-19 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Thu, 19 Oct 2000 21:45:09 +0000 (21:45 +0000)]
2000-10-19  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * baseboards/linux-gdbserver.exp: New file.
        * baseboards/linux-libremote.exp: New file.

24 years ago * Makefile.in: increment VERSION. Change tar file name for dist and
earnie [Thu, 19 Oct 2000 20:56:50 +0000 (20:56 +0000)]
    * Makefile.in: increment VERSION.  Change tar file name for dist and
bindist targets to be more standard.
* config.guess: Update with the currently published file.
* config.sub: ditto.
* configure.in: Use value of build_alias instead of testing for
directory names to set BUILDENV.
* configure: ditto.
* lib/Makefile.in: Change the name of the targets install,
install-headers and install-libraries to xinstall, xinstall-headers
and xinstall-libraries for system target specified installation.
Recreate targets install, install-headers and install-libraries for
exec-prefix specified installation.  Ditto for the uninstall targets of
the same name.

24 years ago * Makefile.in: increment VERSION. Change tar file name for dist and
earnie [Thu, 19 Oct 2000 20:56:50 +0000 (20:56 +0000)]
    * Makefile.in: increment VERSION.  Change tar file name for dist and
bindist targets to be more standard.
* config.guess: Update with the currently published file.
* config.sub: ditto.
* configure.in: Use value of build_alias instead of testing for
directory names to set BUILDENV.
* configure: ditto.
* lib/Makefile.in: Change the name of the targets install,
install-headers and install-libraries to xinstall, xinstall-headers
and xinstall-libraries for system target specified installation.
Recreate targets install, install-headers and install-libraries for
exec-prefix specified installation.  Ditto for the uninstall targets of
the same name.

24 years ago2000-10-19 H.J. Lu (hjl@gnu.org)
hjl [Thu, 19 Oct 2000 19:52:28 +0000 (19:52 +0000)]
2000-10-19  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
for Linux/PPC.
* ld-shared/shared.exp: Likewise.

24 years ago(readelf -S test, readelf -s test): Expect mips*-*-* to fail.
nickc [Thu, 19 Oct 2000 18:04:55 +0000 (18:04 +0000)]
(readelf -S test, readelf -s test): Expect mips*-*-* to fail.

24 years ago* dcrt0.cc (sigthread::init): Correct overzealous ifdef.
cgf [Thu, 19 Oct 2000 17:57:28 +0000 (17:57 +0000)]
* dcrt0.cc (sigthread::init): Correct overzealous ifdef.
* exceptions.cc (call_handler): Avoid calling sigthread acquire lock.
* sigproc.h (sigthread): Comment out lock for now.
* sync.cc (muto::acquire): Add a minor optimization.

24 years ago* cleanup
fche [Thu, 19 Oct 2000 10:52:52 +0000 (10:52 +0000)]
* cleanup

2000-10-19  Frank Ch. Eigler  <fche@redhat.com>

On advice from Chris G. Demetriou <cgd@sibyte.com>:
* sim-main.h (GPR_CLEAR): Remove unused alternative macro.

24 years ago * itcl/generic/itcl_objects.c (Itcl_CreateObject):
mdejong [Thu, 19 Oct 2000 04:31:53 +0000 (04:31 +0000)]
    * itcl/generic/itcl_objects.c (Itcl_CreateObject):
        Add code to check for an object that deletes itself
        inside its own constructor. We need to avoid adding
        this object to the global object list.

24 years agoEnsure section sizes are multiples of 16, so that targets like MIPS
amodra [Thu, 19 Oct 2000 03:19:51 +0000 (03:19 +0000)]
Ensure section sizes are multiples of 16, so that targets like MIPS
that pad out sections won't fail these tests.

24 years ago* Makefile.in: add miscfuncs.cc
dj [Thu, 19 Oct 2000 03:12:44 +0000 (03:12 +0000)]
* Makefile.in: add miscfuncs.cc
* miscfuncs.cc: new, miscellaneous functions
* winsup.h: define table-driven tolower/toupper
* environ.cc: use them
* fhandler_console.cc: ditto
* fhandler_termios: ditto
* path.cc: ditto
(strncasematch, strcasematch, strcasestr): move to miscfuncs.cc

24 years ago* ssp.c: new
dj [Thu, 19 Oct 2000 02:13:52 +0000 (02:13 +0000)]
* ssp.c: new
* ssp.txt: new
* Makefile.in: build ssp.exe

24 years ago* sigproc.h (sigthread): Eliminate locking for now since per thread signalling
cgf [Thu, 19 Oct 2000 00:53:25 +0000 (00:53 +0000)]
* sigproc.h (sigthread): Eliminate locking for now since per thread signalling
is not available.
* dcrt0.cc (sigthread::init): Ditto.
(dll_crt0_1): Move set_process_privileges call (temporarily?) to pinfo_init.
(pinfo_init): Only call set_process_privileges when allow_ntsec.

24 years ago* dcrt0.cc (dll_crt0_1): init cygcwd before forkee branch
dj [Thu, 19 Oct 2000 00:45:39 +0000 (00:45 +0000)]
* dcrt0.cc (dll_crt0_1): init cygcwd before forkee branch

* environ.cc (conv_start_chars): Cache a table of "first
characters" for environment variables needing conversion.
(getwinenv): Use it.
(environ_init): Create it, also check first chars for TERM and
CYGWIN.

* path.cc: Use lookup table for case insensitive comparisons.

24 years ago* ps.cc (main): Add some extra space to Windows pid output for Windows 95.
cgf [Wed, 18 Oct 2000 22:58:34 +0000 (22:58 +0000)]
* ps.cc (main): Add some extra space to Windows pid output for Windows 95.

24 years ago2000-10-18 H.J. Lu <hjl@gnu.org>
hjl [Wed, 18 Oct 2000 19:46:27 +0000 (19:46 +0000)]
2000-10-18  H.J. Lu <hjl@gnu.org>

* gas/i386/intel.d: Fix the support for 64bit BFD in the last
change.

24 years agoFix the previous misapplied patch.
nickc [Wed, 18 Oct 2000 19:26:57 +0000 (19:26 +0000)]
Fix the previous misapplied patch.

24 years agoRELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.
nickc [Wed, 18 Oct 2000 17:42:27 +0000 (17:42 +0000)]
RELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.

24 years agoUpdate entry "Why are compiled executables so huge?!?", add bit about 'gcc -s'.
davidsb [Wed, 18 Oct 2000 15:32:50 +0000 (15:32 +0000)]
Update entry "Why are compiled executables so huge?!?", add bit about 'gcc -s'.

24 years agoMinor update to "How can I find out which dlls are needed by an executable?",
davidsb [Wed, 18 Oct 2000 15:16:45 +0000 (15:16 +0000)]
Minor update to "How can I find out which dlls are needed by an executable?",
indicate that cygcheck works recursively.

24 years agoUpdate entry "How do anti-virus programs like Cygwin?",
davidsb [Wed, 18 Oct 2000 14:36:07 +0000 (14:36 +0000)]
Update entry "How do anti-virus programs like Cygwin?",
adding bit about performance hit and exempting C:\cygwin\bin from scanning.

24 years agoUpdate entry "Why can't I run bash as a shell under NT Emacs?",
davidsb [Wed, 18 Oct 2000 14:15:09 +0000 (14:15 +0000)]
Update entry "Why can't I run bash as a shell under NT Emacs?",
remove old disclaimer.

24 years agoUpdate entry "Shell scripts aren't running properly from my makefiles?",
davidsb [Wed, 18 Oct 2000 13:43:56 +0000 (13:43 +0000)]
Update entry "Shell scripts aren't running properly from my makefiles?",
remove old disclaimer.

24 years agoRelevant bits subsumed in what.texinfo, separate mirrors list discarded.
davidsb [Wed, 18 Oct 2000 13:12:14 +0000 (13:12 +0000)]
Relevant bits subsumed in what.texinfo, separate mirrors list discarded.

24 years ago * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
hp [Wed, 18 Oct 2000 13:10:12 +0000 (13:10 +0000)]
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.

24 years agoUpdate "Is it free software?" entry re. 1.0 CD. All in past tense,
davidsb [Wed, 18 Oct 2000 13:04:27 +0000 (13:04 +0000)]
Update "Is it free software?" entry re. 1.0 CD.  All in past tense,
no longer shipping, refer to cygwin-cd.html for latest news.

24 years agoMinor, mention mirror sites in "Where can I get it?".
davidsb [Wed, 18 Oct 2000 12:48:31 +0000 (12:48 +0000)]
Minor, mention mirror sites in "Where can I get it?".

24 years agoAdd new section "Where can I get it?" to what.texinfo.
davidsb [Wed, 18 Oct 2000 12:34:41 +0000 (12:34 +0000)]
Add new section "Where can I get it?" to what.texinfo.
Omit sites.texinfo altogether (mirror list not useful).

24 years agoDelete entry "Ancient history of the project", replace with link to history.html.
davidsb [Wed, 18 Oct 2000 11:52:15 +0000 (11:52 +0000)]
Delete entry "Ancient history of the project", replace with link to history.html.

24 years ago* ps.cc (main): Add some extra space to pid output for Windows 95.
cgf [Wed, 18 Oct 2000 04:55:01 +0000 (04:55 +0000)]
* ps.cc (main): Add some extra space to pid output for Windows 95.

24 years ago* exceptions.cc (call_handler): Make signal pending if sigsave.sig is still
cgf [Wed, 18 Oct 2000 04:53:37 +0000 (04:53 +0000)]
* exceptions.cc (call_handler): Make signal pending if sigsave.sig is still
active.
* syscalls.cc (_read): Don't clear errno.
* sigproc.cc (wait_sig): Don't scan the waiting process list after a SIGCHLD if
there are no zombies to reap.
* winsup.h: Use __builtin_strcmp.
* environ.cc (posify): Don't initialize len unless it is required
(from DJ Delorie <dj@redhat.com>).

24 years agoProtoization.
kevinb [Wed, 18 Oct 2000 03:29:25 +0000 (03:29 +0000)]
Protoization.

24 years ago2000-10-17 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 17 Oct 2000 20:21:45 +0000 (20:21 +0000)]
2000-10-17  Kazu Hirata  <kazu@hxi.com>

* debug.c: Fix formatting.
* depend.c: Likewise.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.
* ecoff.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-konst.c: Likewise.
* frags.h: Likewise.

24 years agoAdded new option --target-help.
cchavva [Tue, 17 Oct 2000 20:10:20 +0000 (20:10 +0000)]
Added new option --target-help.

24 years agoAdded new option --target-help.
cchavva [Tue, 17 Oct 2000 20:08:37 +0000 (20:08 +0000)]
Added new option --target-help.

24 years ago2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 17 Oct 2000 20:00:21 +0000 (20:00 +0000)]
2000-10-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
        no floating point support.
        (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
        * gdb.base/call-ar-st.exp: Use above procs to skip tests.
        * gdb.base/call-rt-st.exp: Ditto.
        * gdb.base/call-strs.exp: Ditto.
        * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
        * gdb.base/varargs.exp: Skip entire test if no printf support.
        * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
        * gdb.base/shlib-call.exp: Skip several tests if no printf support.

24 years ago* sigproc.cc (proc_subproc): Remove unneeded test for correct process in
cgf [Tue, 17 Oct 2000 18:55:58 +0000 (18:55 +0000)]
* sigproc.cc (proc_subproc): Remove unneeded test for correct process in
PROC_ADDCHILD.  Return 0 when terminated child has just been reparented.
(wait_subproc): Only send SIGCHLD when proc_subproc returns != 0.
* strace.cc (strace::vsprntf): Only strip .exe extension from program name.

24 years ago* fhandler_clipboard.cc: new file
dj [Tue, 17 Oct 2000 01:46:26 +0000 (01:46 +0000)]
* fhandler_clipboard.cc: new file
* Makefile.in: include fhandler_clipboard.o in DLL_OFILES list.
* fhandler.h: add FH_CLIPBOARD to the devices enum.
(fhandler_dev_clipboard): new
* path.cc (windows_device_names): add "\\dev\\clipboard"
(get_device_number): check for "clipboard"
* dcrt0.cc: declare a few more functions from winuser.h
* dtable.cc (dtable::build_fhandler): check for FH_CLIPBOARD in
switch().

24 years ago* debug.cc (add_handle): Issue warning on attempts to add the same handle more
cgf [Tue, 17 Oct 2000 01:42:04 +0000 (01:42 +0000)]
* debug.cc (add_handle): Issue warning on attempts to add the same handle more
than once.
* fhandler_tty.cc (fhandler_tty_slave::open): Protect some handles.
(fhandler_tty_common::close): Use proper name when closing handles.
(fhandler_pty_master::close): Don't close to_slave or from_slave since they've
already been closed earlier in the function.
* sigproc.cc (proc_subproc): Don't protect vchild->hProcess.  Expect that the
caller will do this, instead.
* tty.cc (tty_list::terminate): Use proper name when closing handles.
(tty::make_pipes): Protect some handles.

24 years ago* Makefile.in: Remove some obsolete stuff.
cgf [Mon, 16 Oct 2000 23:55:55 +0000 (23:55 +0000)]
* Makefile.in: Remove some obsolete stuff.
* dcrt0.cc (dll_crt0_1): Call signal_fixup_after_exec where appropriate.  Set
myself->uid from parent version.  Just use ThreadItem Init method.  Close or
store hexec_proc as appropriate.
(_dll_crt0): Store user_data->forkee here so that proper tests can be made
subsequently.
(do_exit): Remove hExeced stuff.
* environ.cc (environ_init): Accept environ count as well as environ pointer.
* environ.h: Reflect above change.
* pinfo.cc (pinfo_init): Ditto.  Accept environ count.
(fixup_in_spawned_child): Remove.
* spawn.cc (spawn_guts): Move signal code to dll_crt0_1.  Don't suspend execing
process since it is no longer necessary.  Store envc.
* exceptions.cc (signal_fixup_after_exec): New function.
(call_handler): Remove hExeced test.
* child_info.h (cygheap_exec_info): Store envc as well as envp.
(child_info_spawn): Store hexec_proc so that it can be closed in child.
* path.cc (normalize_posix_path): Avoid intermediate use of temporary cwd buf.
(normalize_win32_path): Ditto.
(cwdstuff::get_initial): Always set lock.
* sigproc.h: Remove hExeced.
* strace.cc (strace::vsprntf): Modify to accomodate for lack of hExeced.
* thread.cc (MTinterface::Init): Merge Init1 and ClearReent into this method.
(MTinterface::Init1): Eliminate.
(MTinterface::ClearReent): Eliminate.
* thread.h: Reflect above changes.
* include/sys/strace.h (strace): Make microseconds() public.  Make various
functions 'regparm', throughout.
* pinfo.h (_pinfo): Inline simple signal manipulation functions.  Requires
inclusion of thread.h which was removed from .cc files, where appropriate.
throughout.
* pinfo.cc: Eliminate signal manipulation functions.
(_pinfo::exit): Calculate total rusage for exiting process here.
* cygheap.cc (size2bucket): Eliminate.
(init_buckets): Ditto.
(_cmalloc): Calculate size and bits in a loop rather than going through a
function call.
(_crealloc): Use stored array index to calculate allocated size.
* spawn.cc (spawn_guts): Use _pinfo exit method to exit, calculating cpu usage.

24 years ago * cygcheck.cc (main): Fix argument counting.
corinna [Mon, 16 Oct 2000 23:12:58 +0000 (23:12 +0000)]
    * cygcheck.cc (main): Fix argument counting.

24 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
geoffk [Mon, 16 Oct 2000 20:49:52 +0000 (20:49 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
of a GOT reloc.

24 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
geoffk [Mon, 16 Oct 2000 19:52:26 +0000 (19:52 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
(SYMBOL_CALLS_LOCAL): New macro.
(ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_relocate_section): Use flag variable to determine
whether the relocation refers to a local symbol.
Test whether a PLTREL24 reloc will produce a reloc by looking
to see whether a PLT entry was made.

24 years ago * config/tc-sh.c (JREG): Remove.
hp [Mon, 16 Oct 2000 19:44:38 +0000 (19:44 +0000)]
* config/tc-sh.c (JREG): Remove.
(md_convert_frag): Remove #if 0:d code using JREG.

24 years agoAdd tests of return values from bfd function calls
nickc [Mon, 16 Oct 2000 19:08:45 +0000 (19:08 +0000)]
Add tests of return values from bfd function calls

24 years agoChange mask for OC to 0xFE00
nickc [Mon, 16 Oct 2000 18:18:46 +0000 (18:18 +0000)]
Change mask for OC to 0xFE00

24 years ago * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
schauer [Mon, 16 Oct 2000 17:19:47 +0000 (17:19 +0000)]
* sparc-tdep.c (sparc_fix_call_dummy):  Improve comments.
Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
in a call dummy works.
(sparc_gdbarch_init):  Fix setting of pc_in_call_dummy, it depends
on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.

24 years agoSpelling changes from Dmitry Sivachenko <dima@Chg.RU>.
eliz [Mon, 16 Oct 2000 07:34:02 +0000 (07:34 +0000)]
Spelling changes from Dmitry Sivachenko <dima@Chg.RU>.

24 years agoProtoization.
kevinb [Mon, 16 Oct 2000 06:42:28 +0000 (06:42 +0000)]
Protoization.

24 years agogas:
dnovillo [Sun, 15 Oct 2000 06:17:35 +0000 (06:17 +0000)]
gas:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* config/tc-i386.c (i386_operand_modifier): Only match
modifiers SHORT and FLAT if they are followed by a space.
(parse_register): When `allow_naked_reg' is set, do not confuse
identifiers that start with a register name with a register.

gas/testsuite:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* intel.s, intel.d: Add new tests for naked registers using intel
syntax.

24 years ago* ps.cc (main): Accomodate new PID_ constant.
cgf [Sun, 15 Oct 2000 03:43:48 +0000 (03:43 +0000)]
* ps.cc (main): Accomodate new PID_ constant.

24 years ago* exceptions.cc (set_console_handler): Don't allocate
cgf [Sun, 15 Oct 2000 01:37:06 +0000 (01:37 +0000)]
* exceptions.cc (set_console_handler): Don't allocate
console_handler_thread_waiter.  It is obsolete.
(ctrl_c_handler): Don't use console_handler_thread_waiter.
* path.cc (hash_path_name): Fix handling of relative names.  Make case
insensitive.
* path.h (suffix_info): Use initializers.
* pinfo.h (_pinfo): Avoid initializers for null case.
* resource.cc (fill_rusage): Zero rest of rusage structure.
* security.cc (set_process_privileges): Don't reopen parent process.  Just use
hMainProc.
* signal.cc (signal): Track when a signal handler has been used.
(sigaction): Ditto.
* sigproc.cc (pchildren): Use default initializer.
(zombies): Ditto.
(sigproc_terminate): Avoid closing handles that will be closed on exit anyway.
(wait_sig): Send signal to "parent" on EXECing, not FORKing.
(wait_subproc): Send SIGCHLD here rather than in proc_wait to avoid potential
muto conflicts.
* sigproc.h (sigthread): Don't initialize to zero.  It's the default.
* spawn.cc (spawn_guts): Fill in resources from exec parent prior to
termination.
* sync.h (muto): Don't initialize to zero.
* syscalls.cc (close_all_files): Use one lock around entire loop and call
fhandler close/release stuff directly.
(_read): Don't use ready_for_read if there are not signal handlers active.
* dcrt0.cc (dll_crt0_1): Fix display of "title".
(do_exit): Use pinfo exit method to exit.
(__api_fatal): Ditto.
* exceptions.cc (signal_exit): Ditto.
* fork.cc (fork_child): Remove debugging stuff.  Use pinfo_fixup_after fork in
place of exec_fixup_after_fork.
* pinfo.cc (pinfo_fixup_after_fork): New method.
(pinfo_fixup_in_spawned_child): Ditto.
(_pinfo::exit): New method.
(_pinfo::init): Remove recursion.  Detect pathological case where pinfo
structure already exists for new pid.
* pinfo.h (_pinfo): Reorganize slightly.  Add new method and new function
declarations.
* sigproc.cc (proc_exists): Previous simplification was a little to simple.
Try harder to detect if a process exists.
(proc_terminate): Use PID_EXITED setting to determine if process is still
around.
(WFSO): Remove debugging statement.
(WFMO): Ditto.
* spawn.cc (exec_fixup_after_fork): Eliminate.
(spawn_guts): Always set old_title to NULL.  Is it really needed?  Move
hexec_proc to pinfo.cc.  Call pinfo_fixup_in_spawned_child to eliminate handle
link after a spawn.
* include/sys/cygwin.h: Remove PID_NOT_IN_USE.  Add PID_EXITED.

24 years ago * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
geoffk [Sat, 14 Oct 2000 23:30:12 +0000 (23:30 +0000)]
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.

24 years agoForgot to commit ChangeLog
corinna [Sat, 14 Oct 2000 08:56:17 +0000 (08:56 +0000)]
Forgot to commit ChangeLog

24 years ago * cygwin.din: Add symbol hstrerror.
corinna [Sat, 14 Oct 2000 08:55:44 +0000 (08:55 +0000)]
    * cygwin.din: Add symbol hstrerror.
        * net.cc: Change meaning of member `s' of struct host_errmap.
        (set_host_errno): Fix error in loop condition.
        (hstrerror): Ditto.
        (herror): Add appropriate functionality.
        * include/netdb.h: Add declaration of hstrerror.
        * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 29.

24 years ago* cygheap.cc (cygheap_fixup_in_child): Don't page round cygheap copied from
cgf [Sat, 14 Oct 2000 05:52:38 +0000 (05:52 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Don't page round cygheap copied from
parent.
* dcrt0.cc (do_exit): Don't cleanup pinfo on exit.  That happens automatically
now.
* exceptions.cc (signal_exit): Ditto.
* fork.cc (fork_parent): Use stack_here value passed in from fork().
(fork): Figure out top of stack here and pass it to fork_parent.
* pinfo.cc (_pinfo::record_death): Eliminate.
* pinfo.h (_pinfo): Ditto.
* sigproc.cc (proc_exists): Simplify.
(proc_terminate): Ditto.
(remove_zombie): Don't cleanup pinfo stuff.
(wait_sig): Send subproc_ready signal whether execed or spawned.
* spawn.cc (spawn_guts): Always create subproc_ready event.  Use it for both
exec and spawn.
(_spawnve): Send proper mode to spawn_guts when mode != _P_OVERLAY.

24 years ago2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
ulfc [Sat, 14 Oct 2000 04:05:23 +0000 (04:05 +0000)]
2000-10-13  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p.  Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.

24 years agoAdd comment.
cgf [Sat, 14 Oct 2000 01:03:01 +0000 (01:03 +0000)]
Add comment.

24 years ago2000-10-13 Fernando Nasser <fnasser@cygnus.com>
fnasser [Fri, 13 Oct 2000 21:41:21 +0000 (21:41 +0000)]
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

* remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
(read_frame): Do not call error() on communication error when
reading checksum, but return failure instead and log message.

24 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
fnasser [Fri, 13 Oct 2000 20:50:44 +0000 (20:50 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* gdbtk.c (target_is_native): The "multi-thread" target is native.

24 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
fnasser [Fri, 13 Oct 2000 20:42:54 +0000 (20:42 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* varobj.c (type_changeable): Arrays are not changeable.
Trying to check for updates was causing an error if the array lived
in a register as gdb value_equal() cannot handle that case yet.

24 years agoOops - fix mistake in previous delta where unused variable 'nsyms' was
nickc [Fri, 13 Oct 2000 20:41:07 +0000 (20:41 +0000)]
Oops - fix mistake in previous delta where unused variable 'nsyms' was
deleted, but along with its (necessary) call to bfd_canonicalize_symtab.