OSDN Git Service
cgf [Fri, 3 Nov 2000 04:27:01 +0000 (04:27 +0000)]
* pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an
execed process to avoid a race.
* sigproc.cc (wait_subproc): Print more info when a WFSO error occurs.
* automode.c: New file.
* syscalls.cc (close_all_files): Streamline slightly.
* cygheap.cc (ccalloc): Clear *entire* allocated array.
nickc [Fri, 3 Nov 2000 01:59:12 +0000 (01:59 +0000)]
Fix readelf -S and readelf -s tests for MIPS and v850
nickc [Fri, 3 Nov 2000 01:47:13 +0000 (01:47 +0000)]
Add --srec-len and --srec-forceS3 switches to objcopy
nickc [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos
nickc [Thu, 2 Nov 2000 23:03:21 +0000 (23:03 +0000)]
Add support for *-storm-chaos target
nickc [Thu, 2 Nov 2000 19:32:47 +0000 (19:32 +0000)]
Preserve copy of case clobber opcodes so that .req pseudo op works
nickc [Thu, 2 Nov 2000 19:17:04 +0000 (19:17 +0000)]
SWitch over to using dwarf2_generate_asm_lineno
pb [Thu, 2 Nov 2000 15:10:57 +0000 (15:10 +0000)]
2000-11-02 Theo Honohan <th@futuretv.com>
* config/tc-arm.c (do_msr): Improve error message.
cgf [Thu, 2 Nov 2000 06:59:07 +0000 (06:59 +0000)]
* ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h.
cgf [Thu, 2 Nov 2000 05:25:56 +0000 (05:25 +0000)]
* pinfo.cc (EnumProcessesNT): New function. Eliminates dependence on psapi.h.
(EnumProcesses9x): Rename from EnumProcessesW95. Change arguments to be more
useful for cygwin.
(winpids::init): Accomodate argument changes.
(enum_init): Ditto.
* pinfo.h (winpids): Make pidlist dynamically extendable by storing it as a
pointer and remembering the size.
* ntdll.h: Add extra definitions needed for EnumProcessesNT. Reformat via
'indent'.
kevinb [Thu, 2 Nov 2000 03:18:48 +0000 (03:18 +0000)]
Protoization.
cgf [Thu, 2 Nov 2000 02:15:02 +0000 (02:15 +0000)]
* exceptions.cc (interruptible): Remove obsolete tests.
(sigreturn): Construct pseudo-frame-pointer so that signal handler can figure
out where to put return address when signals are coming in quickly.
* path.cc (cwdstuff::get): Allow length 0 buffer length when buffer when NULL.
corinna [Thu, 2 Nov 2000 01:03:00 +0000 (01:03 +0000)]
* kill.cc (main): Return 1 in case of errors.
lsmith [Wed, 1 Nov 2000 22:15:37 +0000 (22:15 +0000)]
Fixed the partial implementation of the text wrapping option
in the console window, and added a way to select the new
option from the globalprefs.
bje [Wed, 1 Nov 2000 21:35:13 +0000 (21:35 +0000)]
2000-11-02 Ben Elliston <bje@redhat.com>
* doc/porting.texi (Building a GAS test suite): Document my change
to gas-build.sh.
brolley [Wed, 1 Nov 2000 15:40:35 +0000 (15:40 +0000)]
2000-11-01 Dave Brolley <brolley@cygnus.com>
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option" to identify the machine to the
assembler, if specified.
brolley [Wed, 1 Nov 2000 15:40:17 +0000 (15:40 +0000)]
2000-11-01 Dave Brolley <brolley@cygnus.com>
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option" to identify the machine to the
assembler, if specified.
bje [Wed, 1 Nov 2000 11:56:53 +0000 (11:56 +0000)]
2000-11-01 Ben Elliston <bje@redhat.com>
* sim-test.scm (cgen-build.sh): Include "-*- Asm -*-" in test cases.
pb [Wed, 1 Nov 2000 07:20:03 +0000 (07:20 +0000)]
2000-10-31 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.
earnie [Wed, 1 Nov 2000 01:22:08 +0000 (01:22 +0000)]
* CONTRIBUTIONS: New file.
* README: Change the maintained by header.
* TODO: Add a note about checking the TODO.
echristo [Wed, 1 Nov 2000 00:54:00 +0000 (00:54 +0000)]
2000-10-31 Eric Christopher <echristo@cygnus.com>
* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
or pc-relative, else use fx_offset.
earnie [Wed, 1 Nov 2000 00:37:23 +0000 (00:37 +0000)]
* include/basetyps.h: add comment for GUID_DEFINED
* include/lm.h: add includes for lmerr.h and lmserver.h
* include/lmcons.h: add W2K typedefs LMSTR, LMCSTR
* include/lmerr.h: add error codes
* include/lmserver.h: replace LPTSTR with LPWSTR,
LPTCSTR with LPWCSTR in structures and prototypes
* include/lmshare.h: ditto
* include/lmuse.h: ditto
* include/lmstats.h: ditto
* include/oleauto.h: add function prototype SystemTimeToVariantTime
* include/winbase.h: change first argument of CommConfigDialog to const
* include/windowsx.h: add macros defining FAR versions of
mem and string functions for porting from Win16 code
* include/winioctl.h: added IOCTL_STORAGE defines
* include/winnetwk.h: added WNNC_NET flags
* include/winnt.h: add include of <basetsd.h>;
add structs; add pointer typedefs for TOKEN structs
* include/winsock.h: add guard around BSD-ish typedefs
* include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros
* include/basetsd.h: new file
* include/raserror.h: ditto
* include/rassapi.h: ditto
* include/ras.h: ditto
comment from Earnie: replaced original ras.h contribution with Danny's
contribution as it is more complete.
* include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__
nickc [Wed, 1 Nov 2000 00:37:12 +0000 (00:37 +0000)]
Add Eric Christopher as maintainer for MN10300
wilson [Wed, 1 Nov 2000 00:00:34 +0000 (00:00 +0000)]
Add tag support. Error for dangling qualifying predicates.
* config/tc-ia64.c (struct md): New field tag_fixups.
(ia64_flush_insns): Handle tag_fixups. Error if dangling
qualifying predicate.
(emit_one_bundle): Delete spurious multiplication by one. Handle
tag_fixups.
(ia64_start_line): Error if dangling qualifying predicate.
(defining_tag): New static variable.
(ia64_unrecognized_line, case '['): Parse tags.
(ia64_frob_label): Create tag_fixups.
(md_assemble): Reset md.qp.X_op after using it.
bje [Tue, 31 Oct 2000 23:50:09 +0000 (23:50 +0000)]
2000-10-31 Ben Elliston <bje@redhat.com>
* gas-test.scm (cgen-build.sh): Allow the generated script to run
with no command line arguments if the gas build directory can be
determined.
cgf [Tue, 31 Oct 2000 23:14:29 +0000 (23:14 +0000)]
* path.h (has_exec_chars): Standard function for checking for executable magic
numbers.
* path.cc (symlink_info::check): Use the above function.
* fhandler.cc (fhandler_disk_file::open): Ditto.
cgf [Tue, 31 Oct 2000 23:01:20 +0000 (23:01 +0000)]
* path.cc (_readlink): Return ENOENT when file does not exist.
corinna [Tue, 31 Oct 2000 22:38:00 +0000 (22:38 +0000)]
* fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.
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.
nickc [Tue, 31 Oct 2000 20:37:25 +0000 (20:37 +0000)]
Add Jim Wilson as Maintainer for IA64 code.
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.
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.
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.
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.
davidsb [Tue, 31 Oct 2000 16:58:09 +0000 (16:58 +0000)]
Update section "Why is make behaving badly?"
davidsb [Tue, 31 Oct 2000 14:33:57 +0000 (14:33 +0000)]
minor typo
amodra [Tue, 31 Oct 2000 12:33:13 +0000 (12:33 +0000)]
Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.
bernds [Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)]
Better bundle template selection
kevinb [Tue, 31 Oct 2000 05:49:54 +0000 (05:49 +0000)]
Protoization.
kevinb [Mon, 30 Oct 2000 23:31:16 +0000 (23:31 +0000)]
solib.c relocation improvements
cgf [Mon, 30 Oct 2000 23:19:45 +0000 (23:19 +0000)]
* signal.cc (kill_pgrp): Revert 25-Oct change.
(kill_worker): Ditto.
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.
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.
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.
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.
-------------------------------------------------------------------
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.
nickc [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.
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.
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.
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.
cgf [Mon, 30 Oct 2000 01:53:02 +0000 (01:53 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 6.
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.
hp [Sun, 29 Oct 2000 17:21:02 +0000 (17:21 +0000)]
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
"untested".
kevinb [Sat, 28 Oct 2000 22:15:08 +0000 (22:15 +0000)]
Protoization.
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'.
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.
cgf [Sat, 28 Oct 2000 05:00:00 +0000 (05:00 +0000)]
Cleanup formatting on some files. Remove excessive whitespace.
cgf [Sat, 28 Oct 2000 00:21:41 +0000 (00:21 +0000)]
* strace.cc (main): Add a '-b' option.
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.
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.
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.
nickc [Fri, 27 Oct 2000 18:57:33 +0000 (18:57 +0000)]
Add m68hc12 to list of supported configurations
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.
cgf [Fri, 27 Oct 2000 15:38:32 +0000 (15:38 +0000)]
* sigproc.cc (wait_sig): Add braces to avoid confusion.
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.
aldyh [Fri, 27 Oct 2000 13:55:49 +0000 (13:55 +0000)]
handle lower cased cpsr and spsr
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'.
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.
kevinb [Fri, 27 Oct 2000 01:25:10 +0000 (01:25 +0000)]
Protoization.
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
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 "*".
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.
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.
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.
corinna [Thu, 26 Oct 2000 08:01:39 +0000 (08:01 +0000)]
* ntsec.sgml: Slight changes. Fix some errors.
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.
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.
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.
hp [Wed, 25 Oct 2000 23:23:39 +0000 (23:23 +0000)]
* binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.
nickc [Wed, 25 Oct 2000 21:53:44 +0000 (21:53 +0000)]
Plug one of many possible memory leaks in error handling.
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.
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.
nickc [Wed, 25 Oct 2000 19:15:33 +0000 (19:15 +0000)]
Add --gdwarf2 support to ARM toolchain
geoffk [Wed, 25 Oct 2000 18:18:41 +0000 (18:18 +0000)]
* MAINTAINERS: Added self and Andrew for the ppc sim.
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.
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.
cgf [Wed, 25 Oct 2000 14:18:56 +0000 (14:18 +0000)]
Add comment.
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.
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.
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.
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.
cgf [Wed, 25 Oct 2000 03:59:07 +0000 (03:59 +0000)]
* dcrt0.cc (do_exit): Remove debugging statement.
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.
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.
kevinb [Tue, 24 Oct 2000 21:13:08 +0000 (21:13 +0000)]
Call end_symtab() with SECT_OFF_TEXT (objfile).
kevinb [Tue, 24 Oct 2000 20:35:04 +0000 (20:35 +0000)]
Removed extraneous blank line from one of my entries.
kevinb [Tue, 24 Oct 2000 20:32:38 +0000 (20:32 +0000)]
Restructure my 2000-10-24 solib reorg entry.
kevinb [Tue, 24 Oct 2000 20:05:34 +0000 (20:05 +0000)]
Reorganize solib.c.
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.
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.