OSDN Git Service

pf3gnuchains/sourceware.git
23 years ago* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
cgf [Sat, 28 Oct 2000 05:39:38 +0000 (05:39 +0000)]
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
with g++.  Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.

23 years agoCleanup formatting on some files. Remove excessive whitespace.
cgf [Sat, 28 Oct 2000 05:00:00 +0000 (05:00 +0000)]
Cleanup formatting on some files.  Remove excessive whitespace.

23 years ago* strace.cc (main): Add a '-b' option.
cgf [Sat, 28 Oct 2000 00:21:41 +0000 (00:21 +0000)]
* strace.cc (main): Add a '-b' option.

23 years ago2000-10-27 Syd Polk <spolk@redhat.com>
spolk [Fri, 27 Oct 2000 23:39:06 +0000 (23:39 +0000)]
2000-10-27  Syd Polk  <spolk@redhat.com>

* itk/win/Makefile.in: Install itk dll when installing libraries.

23 years ago2000-10-27 Philip Blundell <philb@gnu.org>
pb [Fri, 27 Oct 2000 22:24:51 +0000 (22:24 +0000)]
2000-10-27  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise.  Print an error
message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
all mismatches, not just the first one.

23 years ago* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
jtc [Fri, 27 Oct 2000 19:17:56 +0000 (19:17 +0000)]
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.

* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

23 years agoAdd m68hc12 to list of supported configurations
nickc [Fri, 27 Oct 2000 18:57:33 +0000 (18:57 +0000)]
Add m68hc12 to list of supported configurations

23 years ago * autoload.cc: New file keeping all autoload stuff.
corinna [Fri, 27 Oct 2000 18:53:55 +0000 (18:53 +0000)]
    * autoload.cc: New file keeping all autoload stuff.
        * Makefile.in: Add autoload.o to dependencies.
        * dcrt0.cc: Move all autoload stuff to autoload.cc.
        * fhandler_mem.cc: Ditto.
        * net.cc: Ditto.
        * uinfo.cc: Ditto.

23 years ago* sigproc.cc (wait_sig): Add braces to avoid confusion.
cgf [Fri, 27 Oct 2000 15:38:32 +0000 (15:38 +0000)]
* sigproc.cc (wait_sig): Add braces to avoid confusion.

23 years agoCorrected spelling errors in comments.
davea [Fri, 27 Oct 2000 15:02:41 +0000 (15:02 +0000)]
Corrected spelling errors in comments.
gdbarch.{c,sh} removed a word from a comment.

23 years agohandle lower cased cpsr and spsr
aldyh [Fri, 27 Oct 2000 13:55:49 +0000 (13:55 +0000)]
handle lower cased cpsr and spsr

23 years ago * fhandler_socket.cc: New file.
corinna [Fri, 27 Oct 2000 09:50:33 +0000 (09:50 +0000)]
    * fhandler_socket.cc: New file.
        * Makefile.in: Add fhandler_socket.o to dependencies.
        * fhandler.h: Change comment.
        * net.cc Move all fhandler_socket methods to fhandler_socket.cc.
        * winsup.h: Add declaration for `ws2_32_handle'.

23 years ago * insn.scm (-parse-insn-format-symbol): Fix spelling error,
devans [Fri, 27 Oct 2000 02:28:06 +0000 (02:28 +0000)]
* insn.scm (-parse-insn-format-symbol): Fix spelling error,
op-ifld -> op-ifield.

23 years agoProtoization.
kevinb [Fri, 27 Oct 2000 01:25:10 +0000 (01:25 +0000)]
Protoization.

23 years agochanged for 100494 - Run Program and Continue from last Stop are now
lsmith [Thu, 26 Oct 2000 20:47:56 +0000 (20:47 +0000)]
changed for 100494 - Run Program and Continue from last Stop are now
radiobuttons rather than checkbuttons

23 years ago * attachdlg.itb (list_pids): Use "ps axw" to get pid list
mdejong [Thu, 26 Oct 2000 18:31:38 +0000 (18:31 +0000)]
    * attachdlg.itb (list_pids): Use "ps axw" to get pid list
        when running under Linux. Use string match instead of
        regexp match is ps filter entry.
        * attachdlg.ith (list_pids): Change default argument to "*".

23 years ago2000-10-26 Ben Elliston <bje@redhat.com>
ezannoni [Thu, 26 Oct 2000 16:21:34 +0000 (16:21 +0000)]
2000-10-26  Ben Elliston  <bje@redhat.com>

        * cgen.sh: Handle an isa argument between cpu and mach. Default to
        `all'. Pass `-i' options to cgen applications.
        * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
        cgen-desc): Pass $(isa) to cgen.sh.

23 years ago2000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Thu, 26 Oct 2000 16:08:19 +0000 (16:08 +0000)]
2000-10-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* stabsread.c (define_symbol): Update comment.

2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>

      * stabsread.c (define_symbol): Set the type_name of the type
of the new symbol to the symbol name for type symbol, if the
language is Pascal.

23 years ago * dtable.cc (dtable::release): Check for socket. Change
corinna [Thu, 26 Oct 2000 10:13:41 +0000 (10:13 +0000)]
    * dtable.cc (dtable::release): Check for socket. Change
        cnt_need_fixup_before accordingly.
        (dtable::dup2): Ditto.
        (dtable::fixup_before_fork): New method.
        (dtable::fixup_before_exec): Ditto.
        * dtable.h (class dtable): Add member `cnt_need_fixup_before'. Add
        definition for methods `dec_need_fixup_before', `inc_need_fixup_before',
        `need_fixup_before', `fixup_before_exec' and `fixup_before_fork'.
        * fhandler.h (class fhandler_base): Slight rearrangements. Add
        definitions for methods `fixup_before_fork_exec'.
        (class fhandler_socket): Eliminate superfluous constructor.
        Add member `prot_info_ptr'. Add destructor. Add definitions for
        methods `dup', `fixup_before_fork_exec', `fixup_after_fork' and
        `fixup_after_exec'.
        * fork.cc (fork_parent): Care for file types which need a fixup
        before fork. Start child in suspended state then.
        * net.cc: New global variable `ws2_32_handle' and `wsadata'.
        (fdsock): Check for Winsock version. Call `set_socket_inheritance'
        only if Winsock version < 2.0. Care for `need_fixup' count in fdtab.
        (cygwin_socket): Eliminate call to `set_socket_inheritance'.
        (cygwin_accept): Ditto.
        (cygwin_rcmd): Ditto.
        (cygwin_rresvport): Ditto.
        (cygwin_rexec): Ditto.
        (socketpair): Ditto.
        (fhandler_socket::fhandler_socket): Set `need_fork_fixup'. Allocate
        space for the WSAPROTOCOL_INFOA struct used in fixup.
        (fhandler_socket::~fhandler_socket): New destructor.
        (fhandler_socket::fixup_before_fork_exec): New method.
        (fhandler_socket::fixup_after_fork): Ditto.
        (fhandler_socket::dup): Ditto.
        (wsock_init): New static function.
        (LoadDLLinitfunc (wsock32)): Rearranged.
        (LoadDLLinitfunc (ws2_32)): New function.
        (dummy_autoload): Add autoload statemants for `WSADuplicateSocketA'
        and `WSASocketA'.
        * spawn.cc (spawn_guts): Care for file types which need a fixup
        before exec. Start child in suspended state then.

23 years ago * ntsec.sgml: Slight changes. Fix some errors.
corinna [Thu, 26 Oct 2000 08:01:39 +0000 (08:01 +0000)]
    * ntsec.sgml: Slight changes. Fix some errors.

23 years ago * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
schauer [Thu, 26 Oct 2000 07:41:25 +0000 (07:41 +0000)]
* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
New function.
* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
* gdbarch.c, gdbarch.h:  Regenerate.
* valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
unconditionally.

* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
definition.
* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
undef.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
(rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
if not ELFOSABI_LINUX.

23 years ago * ntsec.sgml: Changed the (now incorrect) hint that ntsec only
corinna [Thu, 26 Oct 2000 07:37:26 +0000 (07:37 +0000)]
    * ntsec.sgml: Changed the (now incorrect) hint that ntsec only
uses access allowed ACEs.

23 years ago* signal.cc (kill_pgrp): Don't limit sending of signals to stopped processes
cgf [Thu, 26 Oct 2000 00:51:49 +0000 (00:51 +0000)]
* signal.cc (kill_pgrp): Don't limit sending of signals to stopped processes
when sig < 0.
(kill_worker): Only send SIGCONT to stopped processes when sendSIGCONT.

23 years ago * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.
hp [Wed, 25 Oct 2000 23:23:39 +0000 (23:23 +0000)]
* binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.

23 years agoPlug one of many possible memory leaks in error handling.
nickc [Wed, 25 Oct 2000 21:53:44 +0000 (21:53 +0000)]
Plug one of many possible memory leaks in error handling.

23 years agoRevert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.
kevinb [Wed, 25 Oct 2000 20:48:58 +0000 (20:48 +0000)]
Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.

23 years ago Approved by Andrew Cagney <ac131313@cygnus.com>
fnf [Wed, 25 Oct 2000 20:06:30 +0000 (20:06 +0000)]
Approved by Andrew Cagney <ac131313@cygnus.com>
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
the current arch or use zero.

23 years agoAdd --gdwarf2 support to ARM toolchain
nickc [Wed, 25 Oct 2000 19:15:33 +0000 (19:15 +0000)]
Add --gdwarf2 support to ARM toolchain

23 years ago * MAINTAINERS: Added self and Andrew for the ppc sim.
geoffk [Wed, 25 Oct 2000 18:18:41 +0000 (18:18 +0000)]
* MAINTAINERS: Added self and Andrew for the ppc sim.

23 years ago* exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving
cgf [Wed, 25 Oct 2000 17:57:43 +0000 (17:57 +0000)]
* exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving
a SIGCONT.  Don't block waiting for completion that will never occur.

23 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
fnasser [Wed, 25 Oct 2000 14:19:38 +0000 (14:19 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * ser-unix.c (do_unix_readchar): Coding style improvement only.

23 years agoAdd comment.
cgf [Wed, 25 Oct 2000 14:18:56 +0000 (14:18 +0000)]
Add comment.

23 years ago* dtable.cc (dtable::fixup_after_exec): Use variable rather than constantly
cgf [Wed, 25 Oct 2000 14:17:27 +0000 (14:17 +0000)]
* dtable.cc (dtable::fixup_after_exec): Use variable rather than constantly
indexing into fds array.
(dtable::fixup_after_fork): Ditto.

23 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
fnasser [Wed, 25 Oct 2000 14:16:25 +0000 (14:16 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
        by calling detach_hook, if defined.

23 years ago2000-10-25 Diego Novillo <dnovillo@cygnus.com>
dnovillo [Wed, 25 Oct 2000 11:42:51 +0000 (11:42 +0000)]
2000-10-25  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c: Fix prototype declarations for functions taking no
arguments.

23 years ago * fhandler.cc (fhandler_base::fcntl): Treat O_NONBLOCK and OLD_O_NDELAY
corinna [Wed, 25 Oct 2000 08:47:23 +0000 (08:47 +0000)]
* fhandler.cc (fhandler_base::fcntl): Treat O_NONBLOCK and OLD_O_NDELAY
as exactly the same. If one is set, both are set.
* net.cc (fhandler_socket::fcntl): Ditto.

23 years ago* dcrt0.cc (do_exit): Remove debugging statement.
cgf [Wed, 25 Oct 2000 03:59:07 +0000 (03:59 +0000)]
* dcrt0.cc (do_exit): Remove debugging statement.

23 years ago* dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if
cgf [Wed, 25 Oct 2000 03:54:50 +0000 (03:54 +0000)]
* dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if
process has never created any children.
* fork.cc (fork): Set flag indicating that there is another process with our
process group.
* spawn.cc (spawn_guts): Ditto.
* pinfo.h (set_has_pgid_children): New methods for setting when process has
children in its process group.
* syscalls.cc (setpgid): Clear has_gid_children if pgid changes.

23 years ago2000-10-24 Diego Novillo <dnovillo@cygnus.com>
dnovillo [Wed, 25 Oct 2000 01:39:11 +0000 (01:39 +0000)]
2000-10-24  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c (i386_operand_modifier): Remove.
(build_displacement_string): Remove.
(i386_parse_seg): Remove.
(i386_intel_memory_operand): Remove.
(i386_intel_operand): Re-write using recursive descent parser based
on MASM documentation.
(struct intel_parser_s): New structure.
(intel_parser): New static variable.
(struct intel_token): New structure.
(cur_token, prev_token): New static variables.
(T_NIL): Define.
(T_CONST): Define.
(T_REG): Define.
(T_BYTE): Define.
(T_WORD): Define.
(T_DWORD): Define.
(T_QWORD): Define.
(T_XWORD): Define.
(T_SHORT): Define.
(T_OFFSET): Define.
(T_PTR): Define.
(T_ID): Define.
(intel_match_token): New function.
(intel_get_token): New function.
(intel_putback_token): New function.
(intel_expr): New function.
(intel_e05): New function.
(intel_e05_1): New function.
(intel_e06): New function.
(intel_e06_1): New function.
(intel_e09): New function.
(intel_e09_1): New function.
(intel_e10): New function.
(intel_e10_1): New function.
(intel_e11): New function.

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

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

23 years agoCall end_symtab() with SECT_OFF_TEXT (objfile).
kevinb [Tue, 24 Oct 2000 21:13:08 +0000 (21:13 +0000)]
Call end_symtab() with SECT_OFF_TEXT (objfile).

23 years agoRemoved extraneous blank line from one of my entries.
kevinb [Tue, 24 Oct 2000 20:35:04 +0000 (20:35 +0000)]
Removed extraneous blank line from one of my entries.

23 years agoRestructure my 2000-10-24 solib reorg entry.
kevinb [Tue, 24 Oct 2000 20:32:38 +0000 (20:32 +0000)]
Restructure my 2000-10-24 solib reorg entry.

23 years agoReorganize solib.c.
kevinb [Tue, 24 Oct 2000 20:05:34 +0000 (20:05 +0000)]
Reorganize solib.c.

23 years ago * ntdll.h: New file.
corinna [Tue, 24 Oct 2000 18:44:56 +0000 (18:44 +0000)]
    * ntdll.h: New file.
        * fhandler_mem.cc: Move ntdll.dll specific definitions and
        declarations to ntdll.h.
        * sysconf.cc (sysconf): Add support for _SC_NPROCESSORS_CONF,
        _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES.

23 years ago2000-10-24 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 24 Oct 2000 18:36:32 +0000 (18:36 +0000)]
2000-10-24  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/commands.exp: Break up long lines, and re-indent.

23 years ago * libc/include/sys/unistd.h: Add defines for sysconf values
corinna [Tue, 24 Oct 2000 18:27:54 +0000 (18:27 +0000)]
    * libc/include/sys/unistd.h: Add defines for sysconf values
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
        _SC_AVPHYS_PAGES.

23 years ago * fhandler.cc (fhandler_base::fcntl): Behave properly when passed
corinna [Tue, 24 Oct 2000 18:15:25 +0000 (18:15 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Behave properly when passed
        previous version of O_NDELAY.
        * syscalls.cc: Move OLD_O_NDELAY to winsup.h.
        * winsup.h: Define OLD_O_NDELAY now.

23 years agoProtoization.
kevinb [Tue, 24 Oct 2000 17:45:35 +0000 (17:45 +0000)]
Protoization.

23 years agoUpdate "How can I access other drives?" entry with details about --change-cygdrive...
davidsb [Tue, 24 Oct 2000 16:43:50 +0000 (16:43 +0000)]
Update "How can I access other drives?" entry with details about --change-cygdrive-prefix
and some other minor changes.

23 years ago * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
geoffk [Tue, 24 Oct 2000 16:16:43 +0000 (16:16 +0000)]
* ppc-instructions (lfsux): Correct XO field of lfsux instruction.

23 years agoUpdate entry "What's the difference between packages in 'latest' and 'contrib'.
davidsb [Tue, 24 Oct 2000 15:24:16 +0000 (15:24 +0000)]
Update entry "What's the difference between packages in 'latest' and 'contrib'.

23 years agoAdd more details to "What if setup fails?" entry.
davidsb [Tue, 24 Oct 2000 15:20:18 +0000 (15:20 +0000)]
Add more details to "What if setup fails?" entry.

23 years ago* solib.c (open_symbol_file_object): Update function signature to
cagney [Tue, 24 Oct 2000 14:42:21 +0000 (14:42 +0000)]
* solib.c (open_symbol_file_object): Update function signature to
match catch_errors function argument.

23 years agoFrom 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
cagney [Tue, 24 Oct 2000 13:10:18 +0000 (13:10 +0000)]
From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
* infttrace.c (get_dictionary_entry_of_page): Function
require_memory_page_dictionary takes no args.

23 years agoDelete gdba.el. More recent gud.el part of standard EMACS distro.
cagney [Tue, 24 Oct 2000 05:22:11 +0000 (05:22 +0000)]
Delete gdba.el.  More recent gud.el part of standard EMACS distro.

23 years agoCleanup merge botch.
cagney [Tue, 24 Oct 2000 04:11:02 +0000 (04:11 +0000)]
Cleanup merge botch.

23 years ago* exceptions.cc (signal_exit): Kill any executing child process if we're dying.
cgf [Tue, 24 Oct 2000 02:25:26 +0000 (02:25 +0000)]
* exceptions.cc (signal_exit): Kill any executing child process if we're dying.
* path.h: Remove unneeded extern.
* spawn.cc (std_suffixes): Make static.  Don't set dwProcessId here since it
makes the process unsignalable.  Set strace flag that this is an execed process
stub.
* strace.cc (strace::vsprntf): Use strace flag to indicate when to visually
flag that this is an exec stub.
* include/sys/strace.h (strace): Add 'execing' flag.

23 years agoAdd mail submission addresses for autoconf and config.{guess,sub}.
bje [Tue, 24 Oct 2000 01:08:11 +0000 (01:08 +0000)]
Add mail submission addresses for autoconf and config.{guess,sub}.

23 years ago* pendanticism
bje [Tue, 24 Oct 2000 01:02:53 +0000 (01:02 +0000)]
* pendanticism

2000-10-24  Ben Elliston  <bje@redhat.com>

* gencode.c (tab): Delimit strings with commas where applicable.

23 years agoforced checkin.
cgf [Tue, 24 Oct 2000 00:00:51 +0000 (00:00 +0000)]
forced checkin.

23 years agotesting.
cgf [Mon, 23 Oct 2000 23:50:27 +0000 (23:50 +0000)]
testing.

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

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

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

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

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

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

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

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

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

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

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

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

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

23 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.

23 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.

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

23 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.

23 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
(?).

23 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.

23 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

23 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>.

23 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.

23 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.

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

23 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.

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

23 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.