OSDN Git Service

pf3gnuchains/sourceware.git
23 years ago * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.
corinna [Tue, 31 Oct 2000 22:38:00 +0000 (22:38 +0000)]
    * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.

23 years ago * fhandler.h (fhandler_dev_raw): Add definition for method
corinna [Tue, 31 Oct 2000 22:20:59 +0000 (22:20 +0000)]
    * fhandler.h (fhandler_dev_raw): Add definition for method
        `fixup_after_fork'.
        * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Add
        `set_need_fixup_after_fork' call.
        (fhandler_dev_raw::~fhandler_dev_raw): Revert to user space
        allocation.
        (fhandler_dev_raw::open): Ditto.
        (fhandler_dev_raw::dup): Ditto. Reset buffer pointer.
        (fhandler_dev_raw::fixup_after_fork): New function.
        * fhandler_tape.cc (fhandler_dev_tape::open): Revert to user space
        memory allocation.
        (fhandler_dev_tape::ioctl): Ditto. Change behaviour on MTSETBLK when
        new size is 1.

23 years agoAdd Jim Wilson as Maintainer for IA64 code.
nickc [Tue, 31 Oct 2000 20:37:25 +0000 (20:37 +0000)]
Add Jim Wilson as Maintainer for IA64 code.

23 years agoadded instance variable and control logic so the "Run Program" and
lsmith [Tue, 31 Oct 2000 20:21:48 +0000 (20:21 +0000)]
added instance variable and control logic so the "Run Program" and
"Continue..." buttons are disabled when the "Exec" target is selected
and nicely framed and labelled separate from other controls.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation.
corinna [Tue, 31 Oct 2000 19:59:16 +0000 (19:59 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation.
        Use Cygwin heap instead of user heap.
        (fhandler_dev_tape::ioctl): Ditto.

23 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 31 Oct 2000 19:35:03 +0000 (19:35 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/sh/tm-linux.h: New file.  Include generic tm-linux.h,
plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
the sh target function instead of the default link map offsets.
* config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
Use sh/tm-linux.h instead of sh/tm-sh.h.
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets):
New function.  Construct target-specific link map offsets.
* i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
New function.  Construct target-specific link map offsets.
* config/i386/tm-linux.h: Use above function instead of default.

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
and inclusion of solib.h.  Move up into ../tm-linux.h.
config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.

23 years ago* pinfo.cc (enum_init): Don't suffer silently if we can't load the process
cgf [Tue, 31 Oct 2000 17:01:56 +0000 (17:01 +0000)]
* pinfo.cc (enum_init): Don't suffer silently if we can't load the process
enumerators.

23 years agoUpdate section "Why is make behaving badly?"
davidsb [Tue, 31 Oct 2000 16:58:09 +0000 (16:58 +0000)]
Update section "Why is make behaving badly?"

23 years agominor typo
davidsb [Tue, 31 Oct 2000 14:33:57 +0000 (14:33 +0000)]
minor typo

23 years agoKaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.
amodra [Tue, 31 Oct 2000 12:33:13 +0000 (12:33 +0000)]
Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.

23 years agoBetter bundle template selection
bernds [Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)]
Better bundle template selection

23 years agoProtoization.
kevinb [Tue, 31 Oct 2000 05:49:54 +0000 (05:49 +0000)]
Protoization.

23 years agosolib.c relocation improvements
kevinb [Mon, 30 Oct 2000 23:31:16 +0000 (23:31 +0000)]
solib.c relocation improvements

23 years ago* signal.cc (kill_pgrp): Revert 25-Oct change.
cgf [Mon, 30 Oct 2000 23:19:45 +0000 (23:19 +0000)]
* signal.cc (kill_pgrp): Revert 25-Oct change.
(kill_worker): Ditto.

23 years ago[left out in the previous check-in]
msnyder [Mon, 30 Oct 2000 22:35:46 +0000 (22:35 +0000)]
[left out in the previous check-in]

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

23 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Mon, 30 Oct 2000 22:33:32 +0000 (22:33 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

23 years ago2000-10-30 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 30 Oct 2000 21:59:00 +0000 (21:59 +0000)]
2000-10-30  Kazu Hirata  <kazu@hxi.com>

* expr.c: Fix formatting.
* flonum-copy.c: Likewise.
* flonum.h: Likewise.
* gasp.c: Likewise.
* hash.c: Likewise.

23 years ago* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
jtc [Mon, 30 Oct 2000 21:50:57 +0000 (21:50 +0000)]
* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c,
somread.c, tracepoint.c: Fix spelling errors in comments.
* gdbarch.c: Regenerate.

* gnu-nat.c (S_exception_raise_request): Fix typos and spelling
errors in strings.
* m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
* mcore-tdep.c (mcore_analyze_prologue): Likewise.
* mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-rdp.c (handle_swi): Likewise.
* remote-vx.c (vx_load_command): Likewise.
* sh-tdep.c (sh_do_pseudo_register): Likewise.
* sol-thread.c (td_err_string): Likewise.
* symtab.c (decode_line_2): Likewise.
-------------------------------------------------------------------

23 years ago2000-10-19 Josef Ezra <jezra@emc.com>
msnyder [Mon, 30 Oct 2000 21:15:56 +0000 (21:15 +0000)]
2000-10-19  Josef Ezra <jezra@emc.com>

      * ax-gdb.c (gen_struct_ref): while generating data code, cases of
      "collect p1->p2->data" where not covered if p2 is a 'typedefed'
      type. this simple fix should forward the type pointer to the real
      type.

23 years agoAdd noconfigure dirs for m68[hc]{11|12} targets.
nickc [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.

23 years ago * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
hp [Mon, 30 Oct 2000 20:26:42 +0000 (20:26 +0000)]
* config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
for weak symbols.

23 years ago * as.h (OPTION_MD_BASE): Bump to 190.
hp [Mon, 30 Oct 2000 20:15:02 +0000 (20:15 +0000)]
* as.h (OPTION_MD_BASE): Bump to 190.
* as.c (parse_args) <std_longopts>: Add comment about the need to
check OPTION_MD_BASE in as.h.

23 years ago * eval.c (parse_and_eval_long): New function.
taylor [Mon, 30 Oct 2000 15:32:51 +0000 (15:32 +0000)]
* eval.c (parse_and_eval_long): New function.
* value.h: Declare it.

* breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
Call parse_and_eval_long, not parse_and_eval_address.
* command.c (do_setshow_command): Ditto.
* infcmd.c (step_1, signal_command, continue_command): Ditto.
* infrun.c (signals_info): Ditto.
* stack.c (set_backtrace_limit_command, backtrace_command_1,
up_silently_base, down_silently_base): Ditto.
* tracepoints.c (tracepoints_info, trace_find_command,
  trace_find_tracepoint_command): Ditto.
* valprint.c (set_radix): Ditto.
* values.c (show_values): Ditto.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 6.
cgf [Mon, 30 Oct 2000 01:53:02 +0000 (01:53 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 6.

23 years ago* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
cgf [Mon, 30 Oct 2000 01:08:57 +0000 (01:08 +0000)]
* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
* libc/include/malloc.h: Ditto.  Also remove obsolete declaration.

23 years ago * ld-selective/selective.exp <no CXX>: Fix typo for argument to
hp [Sun, 29 Oct 2000 17:21:02 +0000 (17:21 +0000)]
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
"untested".

23 years agoProtoization.
kevinb [Sat, 28 Oct 2000 22:15:08 +0000 (22:15 +0000)]
Protoization.

23 years agoWhitespace cleanup.
cgf [Sat, 28 Oct 2000 05:41:43 +0000 (05:41 +0000)]
Whitespace cleanup.

* configure.in: Eliminate subdir stuff.
* configure: Regenerate.
* include/getopt.h (option): Make name field 'const'.

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.