OSDN Git Service
jle [Sat, 5 Aug 2000 16:48:52 +0000 (16:48 +0000)]
2000-08-05 Jason Eckhardt <jle@cygnus.com>
* elf32-i860 (elf32_i860_howto_table): New structure.
(lookup_howto): New function.
(elf32_i860_reloc_type_lookup): New function.
(elf32_i860_info_to_howto_rela): New function.
(elf_code_to_howto_index): New structure.
(elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
(bfd_elf32_bfd_reloc_type_lookup): Re-define as
elf32_i860_reloc_type_lookup.
jle [Sat, 5 Aug 2000 16:47:43 +0000 (16:47 +0000)]
2000-08-05 Jason Eckhardt <jle@cygnus.com>
* elf32-i860 (elf32_i860_howto_table): New structure.
(lookup_howto): New function.
(elf32_i860_reloc_type_lookup): New function.
(elf32_i860_info_to_howto_rela): New function.
(elf_code_to_howto_index): New structure.
(elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
(bfd_elf32_bfd_reloc_type_lookup): Re-define as
elf32_i860_reloc_type_lookup.
geoffk [Sat, 5 Aug 2000 06:34:02 +0000 (06:34 +0000)]
Back out this change:
* lib/utils.exp: Add support for a -maxdepth <n>
option to limit find to <n> directories deep.
* runtest.exp: Handle multiple directories in TCL variables
dir_to_run and cmdline_dir_to_run; limit *.exp find to
one directory level to avoid foo/bar/baz.exp getting tested
twice (when ${dir} is 'foo', and when ${dir} is 'foo/bar').
also rearrange the next ChangeLog entry so that it's clear what the
separate changes to runtest.exp are. Also replace 8 initial spaces
in the ChangeLog with tabs.
kevinb [Fri, 4 Aug 2000 23:13:49 +0000 (23:13 +0000)]
Fixup SYMBOL_SECTION for objfiles_relocate().
nickc [Fri, 4 Aug 2000 22:23:32 +0000 (22:23 +0000)]
Fix typo
nickc [Fri, 4 Aug 2000 20:47:06 +0000 (20:47 +0000)]
Remove extraneous whotespace
nickc [Fri, 4 Aug 2000 20:39:01 +0000 (20:39 +0000)]
Update to include descriptions of .popsection, .previous, .pushsection,
.subsection, .version, .vtable_entry, .vtable_inherit and .weak.
kazu [Fri, 4 Aug 2000 20:34:52 +0000 (20:34 +0000)]
Remove garbage.
kazu [Fri, 4 Aug 2000 18:43:44 +0000 (18:43 +0000)]
2000-08-05 Kazu Hirata <kazu@hxi.com>
* config/tc-cris.c: Fix formatting.
* config/tc-i386.c: Likewise.
* config/tc-sparc.c (sparc_ip): Simplify the code.
kevinb [Fri, 4 Aug 2000 18:41:05 +0000 (18:41 +0000)]
Add code for (re)building the minimal symbol hash tables.
kevinb [Fri, 4 Aug 2000 16:51:47 +0000 (16:51 +0000)]
Fix date in comment.
kevinb [Fri, 4 Aug 2000 16:25:30 +0000 (16:25 +0000)]
DWARF2.1 64-bit support.
law [Fri, 4 Aug 2000 15:17:37 +0000 (15:17 +0000)]
* som.c (struct fixup_format): Constify `format'.
(som_hppa_howto_table): Use SOM_HOWTO macro.
(try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
(som_bfd_reloc_type_lookup): Likewise.
(compare_subspaces): Remove unused `count1', `count2'.
(som_begin_writing): Remove unused `total_reloc_size'.
(som_bfd_derive_misc_symbol_info): Decorate unused parameter.
(som_print_symbol, som_bfd_is_local_label_name): Likewise.
(som_set_reloc_info): Constify `cp'. Remove unused `addend'.
(som_find_nearest_line): Decorate unused parameter(s).
(som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
(som_bfd_link_split_section): Likewise.
cagney [Fri, 4 Aug 2000 09:32:19 +0000 (09:32 +0000)]
Re-implement ``set/show remote Z-packet ...'' commands so that each Z
packet sub-type can be explicitly controled.
cagney [Fri, 4 Aug 2000 09:27:18 +0000 (09:27 +0000)]
Revert SER_HARDWIRE regression.
amodra [Fri, 4 Aug 2000 04:41:33 +0000 (04:41 +0000)]
Keep track of last optind value, and rename a couple of functions
for consistency.
cgf [Fri, 4 Aug 2000 04:04:46 +0000 (04:04 +0000)]
* hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL
since we are already bounds checked by default.
* thread.cc (ResourceLocks::Lock): Streamline this function since it is called
a lot.
(ReleaseResourceLock): Ditto.
cagney [Fri, 4 Aug 2000 04:00:44 +0000 (04:00 +0000)]
Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.
cagney [Fri, 4 Aug 2000 03:17:57 +0000 (03:17 +0000)]
Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).
bje [Fri, 4 Aug 2000 02:21:43 +0000 (02:21 +0000)]
2000-08-04 Ben Elliston <bje@redhat.com>
* cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
* cgen.sh: Likewise.
cgf [Fri, 4 Aug 2000 01:33:33 +0000 (01:33 +0000)]
* select.cc (fhandler_console::select_read): Call set_cursor_maybe since select
may block and cursor may not be visible.
* select.cc (fhandler_console::select_write): Ditto.
* select.cc (fhandler_console::select_except): Ditto.
kazu [Fri, 4 Aug 2000 01:01:31 +0000 (01:01 +0000)]
2000-08-04 Kazu Hirata <kazu@hxi.com>
* config/tc-cris.c: Rearrange code for readability.
* config/tc-d10v.c: Fix formatting.
* config/tc-m32r.c: Likewise.
* config/tc-sparc.c: Likewise.
nickc [Fri, 4 Aug 2000 00:07:42 +0000 (00:07 +0000)]
If the destination of a BLX instruction is aligned on a half word boundary,
set the H bit.
aoliva [Thu, 3 Aug 2000 23:54:09 +0000 (23:54 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.
nickc [Thu, 3 Aug 2000 19:40:28 +0000 (19:40 +0000)]
Restore reverted code. Fix bug in reverted code which was eliminating too
many segments.
aoliva [Thu, 3 Aug 2000 19:20:16 +0000 (19:20 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.
ciceron [Thu, 3 Aug 2000 19:17:27 +0000 (19:17 +0000)]
Stephane Carrez maintainer of 68hc11 target
hjl [Thu, 3 Aug 2000 18:31:50 +0000 (18:31 +0000)]
2000-08-03 H.J. Lu (hjl@gnu.org)
* ld-bootstrap/bootstrap.exp: Add strip.
kevinb [Thu, 3 Aug 2000 18:17:58 +0000 (18:17 +0000)]
Protoization.
nickc [Thu, 3 Aug 2000 17:37:01 +0000 (17:37 +0000)]
Add info about CGEN maintainers
hjl [Thu, 3 Aug 2000 13:50:35 +0000 (13:50 +0000)]
2000-08-03 H.J. Lu <hjl@gnu.org>
* section.c: Back out the change made by Nick Clifton
<nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
binaries.
* bfd-in2.h: Likewise.
* elf.c: Likewise.
cgf [Thu, 3 Aug 2000 13:02:09 +0000 (13:02 +0000)]
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".
aoliva [Thu, 3 Aug 2000 09:30:50 +0000 (09:30 +0000)]
* elf32-sh.c (sh_elf_reloc_loop): Warning removal.
cagney [Thu, 3 Aug 2000 08:41:23 +0000 (08:41 +0000)]
Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-mips.c (mips_expect, mips_expect_timeout, common_open,
fputs_readable): Make string pointer arguments constant.
cagney [Thu, 3 Aug 2000 08:39:21 +0000 (08:39 +0000)]
Minor tweeks.
cagney [Thu, 3 Aug 2000 05:49:02 +0000 (05:49 +0000)]
List things for 5.1.
cgf [Thu, 3 Aug 2000 03:02:41 +0000 (03:02 +0000)]
* fork.cc (vfork): Store complete stack frame in vfork_save structure for later
recovery.
* spawn.cc (spawn_guts): Reorganize slightly to consolidate handling when there
is a CreateProcess error.
(_spawnve): Only longjmp back to vfork handling when a process has been
successfuly started.
* winsup.h (vfork_save): Extend to include frame info. Remove obsolete cpplus
conditionals.
kevinb [Thu, 3 Aug 2000 02:48:09 +0000 (02:48 +0000)]
Protoization.
aoliva [Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
amodra [Thu, 3 Aug 2000 01:01:05 +0000 (01:01 +0000)]
Select elf for Unixware 7 (ix86-*-sysv5*)
guo [Thu, 3 Aug 2000 00:47:59 +0000 (00:47 +0000)]
* gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.
* gdb.hp/gdb.aCC/namespace.cc: Remove. Moved to gdb.c++.
guo [Wed, 2 Aug 2000 22:38:52 +0000 (22:38 +0000)]
* lib/target.exp (default_target_compile,default_target_assemble,
default_link): Remove env() interface for *_FOR_TARGET TCL vars.
* lib/framework.exp (setup_xfail): Relax PRMS string pattern
to allow a more general bug ID specification (without '-').
guo [Wed, 2 Aug 2000 22:35:10 +0000 (22:35 +0000)]
* runtest.exp: Handle multiple directories in TCL variables
dir_to_run and cmdline_dir_to_run; limit *.exp find to
one directory level to avoid foo/bar/baz.exp getting tested
twice (when ${dir} is 'foo', and when ${dir} is 'foo/bar').
* lib/utils.exp (find): Add support for a -maxdepth <n>
option to limit find to <n> directories deep.
guo [Wed, 2 Aug 2000 22:21:38 +0000 (22:21 +0000)]
* runtest.exp: Cleanup reference to $env(MULTIPASS) and
$env(PASS). These were added by HP but unused since.
* lib/framework.exp (pass): make compiler_conditional_xfail_data
a global, corresponding to a recent change to 'proc fail'.
guo [Wed, 2 Aug 2000 22:18:42 +0000 (22:18 +0000)]
* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.
* gdbarch.c: Regenerated.
guo [Wed, 2 Aug 2000 22:13:01 +0000 (22:13 +0000)]
* gdb.base/sizeof.c: include <stdio.h>.
guo [Wed, 2 Aug 2000 22:10:10 +0000 (22:10 +0000)]
* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.
guo [Wed, 2 Aug 2000 21:36:22 +0000 (21:36 +0000)]
* lib/framework.exp (pass): make compiler_conditional_xfail_data
a global, corresponding to a recent change to 'proc fail'.
guo [Wed, 2 Aug 2000 21:35:44 +0000 (21:35 +0000)]
* lib/framework.exp (pass): make compiler_conditional_xfail_data
a global, corresponding to a recent change to 'proc fail'.
wilson [Wed, 2 Aug 2000 21:24:54 +0000 (21:24 +0000)]
Fix memory leaks for IA-64 opcode idescs.
gas/
* config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
before ia64_find_opcode.
(md_assemble): Likewise.
opcodes/
* ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
dj [Wed, 2 Aug 2000 20:13:18 +0000 (20:13 +0000)]
add winsup.h
cgf [Wed, 2 Aug 2000 19:26:01 +0000 (19:26 +0000)]
* strace.cc (strace::prntf): Make second argument the function name, rather
than use special format options.
(strace::vprntf): Ditto.
(getfunc): New function.
* include/sys/strace.h: Reflect above changes.
* smallprint.c (__small_vsprintf): Eliminate '%F' formatting.
* pinfo.cc (set_myself): Modify for new strace::prntf parameter.
* errno.cc (seterrno_from_win_error): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.
dj [Wed, 2 Aug 2000 18:56:20 +0000 (18:56 +0000)]
2000-08-01 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.
2000-07-31 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.
2000-07-30 Alexandre Oliva <aoliva@redhat.com>
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.
cgf [Wed, 2 Aug 2000 17:21:27 +0000 (17:21 +0000)]
* regexp/regexp.c: Add winsup.h.
dj [Wed, 2 Aug 2000 16:28:17 +0000 (16:28 +0000)]
* winsup.h: take out protections of environ, errno, allow C use
* *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__);
use cur_environ() instead of just environ
* times.cc: remove import protections
* glob.c: add winsup.h
* localtime.c: ditto
* smallprint.c: ditto
* Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.
cgf [Wed, 2 Aug 2000 15:24:44 +0000 (15:24 +0000)]
* include/sys/strace.h: Fix strace definition.
ezannoni [Wed, 2 Aug 2000 14:52:10 +0000 (14:52 +0000)]
2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote-vx.c (vx_add_symbols): Fix typos.
cagney [Wed, 2 Aug 2000 11:11:46 +0000 (11:11 +0000)]
Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (targetfile): Ignore TM_FILE, don't just issue
warning.
(tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define.
* acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add.
* config/nm-empty.h: Delete.
* defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE,
GDB_NM_FILE or GDB_TM_FILE defined.
* Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h,
xm_h and nm_h macro that are defined by configure.
(tm_h, xm_h, tm_h): New.
* configure, config.in: Regenerate
* TODO: Update.
cagney [Wed, 2 Aug 2000 11:05:49 +0000 (11:05 +0000)]
Multi-arch REGISTER_SIM_REGNO. Update d10v.
cagney [Wed, 2 Aug 2000 05:40:25 +0000 (05:40 +0000)]
Use add_set_auto_boolean_cmd() to implement ``set remote ?-packet''
command.
cagney [Wed, 2 Aug 2000 05:17:27 +0000 (05:17 +0000)]
Update function signatures to match target vector.
cgf [Wed, 2 Aug 2000 03:42:31 +0000 (03:42 +0000)]
* strace.h: Add kludgy workarounds to avoid using deprecated methods for
variable argument macros when possible.
* sigproc.cc: Throughout, use sigproc_printf rather than sip_printf.
* strace.cc (strace::prntf): Remove 'active' check, since callers are supposed
to ensure this.
(__system_printf): Remove. Subsumed by strace::prntf.
* winsup.h: Define "NEW_MACRO_VARARGS" to indicate when to use new macro
varargs capability.
cagney [Wed, 2 Aug 2000 01:07:38 +0000 (01:07 +0000)]
Updates.
nickc [Wed, 2 Aug 2000 01:00:15 +0000 (01:00 +0000)]
Undo some formatting fixes
dj [Wed, 2 Aug 2000 00:20:30 +0000 (00:20 +0000)]
* resrc.c: use "gcc -xc" instead of -xc-header
nickc [Tue, 1 Aug 2000 23:10:02 +0000 (23:10 +0000)]
Fix skip of 'cpsr_all' flag
dj [Tue, 1 Aug 2000 20:51:51 +0000 (20:51 +0000)]
* libc/include/sys/config.h: define __IMPORT appropriately
* libc/include/ctype.h (_ctype_): use __IMPORT
* libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
* libc/include/math.h (__mb_cur_max): ditto
* libc/include/time.h (_timezone, _daylight, _tzname): ditto
* libc/include/unctrl.h (__unctrl, __unctrllen): ditto
* libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
* libc/include/unistd.h (environ): ditto
kazu [Tue, 1 Aug 2000 19:02:49 +0000 (19:02 +0000)]
2000-08-01 Kazu Hirata <kazu@hxi.com>
* config/obj-som.c: Fix formatting.
* config/obj-ieee.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-v850.c: Likewise.
nickc [Tue, 1 Aug 2000 16:57:00 +0000 (16:57 +0000)]
(@cindex @samp{--pcrel}): Rewrite option description.
ezannoni [Tue, 1 Aug 2000 14:48:00 +0000 (14:48 +0000)]
2000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Multiarch DO_REGISTERS_INFO macro.
* gdbarch.h, gdbarch.c: Regenerate.
* infcmd.c (do_registers_info): Make not static and
unconditionalize.
* inferior.h (do_registers_info): Export.
kazu [Tue, 1 Aug 2000 13:48:55 +0000 (13:48 +0000)]
2000-08-01 Kazu Hirata <kazu@hxi.com>
* MAINTAINERS: Add myself to "Write After Approval" list.
cagney [Tue, 1 Aug 2000 11:06:33 +0000 (11:06 +0000)]
Update list of target maintainers.
Elena gets SH
Nick gets to share PPC.
cagney [Tue, 1 Aug 2000 10:31:19 +0000 (10:31 +0000)]
Copy comments from gdbarch.sh to gdbarch.h. Fix a number of K&R params.
cagney [Tue, 1 Aug 2000 05:06:03 +0000 (05:06 +0000)]
* top.c (get_prompt_1), tracepoint.c (replace_comma): Update
function signatures so that they match catch_errors and
make_cleanup callbacks.
* tracepoint.c (encode_actions): Fix arguments passed to
stringify_collection_list.
jle [Tue, 1 Aug 2000 01:57:45 +0000 (01:57 +0000)]
2000-07-31 Jason Eckhardt <jle@cygnus.com>
* doc/c-i860.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Add I860 as relevant architecture.
* doc/as.texinfo: Include i860 dependent file c-i860.texi.
jle [Tue, 1 Aug 2000 01:45:28 +0000 (01:45 +0000)]
2000-07-31 Jason Eckhardt <jle@cygnus.com>
* reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
* bfd-in2.h, libbfd.h: Regenerate.
nickc [Mon, 31 Jul 2000 22:46:36 +0000 (22:46 +0000)]
Fix formatting.
nickc [Mon, 31 Jul 2000 22:08:14 +0000 (22:08 +0000)]
Add --pcrel option to m68k port
kevinb [Mon, 31 Jul 2000 20:56:43 +0000 (20:56 +0000)]
Make GNU/Linux/PPC work again.
nickc [Mon, 31 Jul 2000 18:50:55 +0000 (18:50 +0000)]
Minor formatting fixes
nickc [Mon, 31 Jul 2000 18:49:55 +0000 (18:49 +0000)]
Minor formatting fixes.
nickc [Mon, 31 Jul 2000 18:45:25 +0000 (18:45 +0000)]
Improve section to segment mapping code.
ezannoni [Mon, 31 Jul 2000 16:25:36 +0000 (16:25 +0000)]
2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_push_arguments): Make header match prototype.
* remote-e7000.c (e7000_start_remote): Use void *, not char * as
parameter to avoid compiler warning.
(fetch_regs_from_dump): Call get_hex() with the correct number of
parameters.
corinna [Mon, 31 Jul 2000 13:35:39 +0000 (13:35 +0000)]
* passwd.c (main): Initialize oldpwd before beeing used.
shebs [Mon, 31 Jul 2000 12:54:31 +0000 (12:54 +0000)]
Add the generation of C++ classes.
* spu.c (version_string): Bump to 0.5.
(DEFAULT_NUM_CLASSES, DEFAULT_NUM_LIB_CLASSES,
DEFAULT_NUM_METHODS): New macros.
(enum decl_types): Add d_class.
(struct class_desc): New struct.
(struct function_desc): Add class field.
(num_classes, num_lib_classes, num_methods, classes, lib_classes):
New globals.
(main): Add --classes and --methods options.
(display_usage): Mention them.
(add_decl_to_table): Add d_class and default cases.
(create_classes, create_class, write_class): New functions.
(write_header_file, write_lib_header_file): Write classes.
(write_function): Format class methods differently.
(lang_names): New global.
(main): Use c++ instead of cpp in --language.
(write_description_block): Write out all parameter settings.
* README: Update version number.
eliz [Mon, 31 Jul 2000 06:11:19 +0000 (06:11 +0000)]
* config/djgpp/fnchange.lst: Add file mappings as per last weekly
snapshot.
cgf [Sun, 30 Jul 2000 17:58:48 +0000 (17:58 +0000)]
* fhandler_console.cc: Remove VK_DIVIDE detection.
(get_nonascii_key): Simplify previous patch to return ascii char if it is
non-zero. Add a second "temporary buffer" argument to help with thread safety.
* select.cc (peek_console): Pass a temporary buffer argument to
get_nonascii_key.
kevinb [Sun, 30 Jul 2000 01:48:24 +0000 (01:48 +0000)]
Protoization.
nickc [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice
cgf [Sat, 29 Jul 2000 19:07:15 +0000 (19:07 +0000)]
* fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if it
is not detected and it is less than ' '.
cgf [Sat, 29 Jul 2000 17:36:05 +0000 (17:36 +0000)]
* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
up with an empty string.
cgf [Sat, 29 Jul 2000 16:26:37 +0000 (16:26 +0000)]
* kill.cc (main): Add '-f' option to force termination of a process.
(forcekill): New function.
* ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids.
(dummyprocessmodules): New function.
(GetModuleFileNameEx95): New function.
(init_win): New function.
(to_time_t): New function.
cgf [Sat, 29 Jul 2000 16:24:51 +0000 (16:24 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
the changes below. Redefine process structure to avoid a fixed size table.
Redefine pinfo/_pinfo classes. Use these throughout.
* dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change.
(__api_fatal): Accomodate _pinfo::record_death argument change.
* exceptions.cc (really_exit): Ditto.
(sig_handle_tty_stop): Use pinfo constructor to access process info.
(events_init): Don't create pinfo_mutex since it is no longer required.
* external.cc (fillout_pinfo): Use winpids class to iterate over all system
pids.
(cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops.
* fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to
access process info.
* fork.cc (fork): Reorganize to initialize child info after the child has
started since that is when we know the child's winpid, which is necessary to
allocate the pinfo shared memory.
* mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo.
* pinfo.cc: Rename pinfo methods to _pinfo throughout. Eliminate pinfo_list
stuff.
(set_myself): Accept a pid argument now. Call pinfo initializer to initialize
myself. Detect when this is an "execed" process and create an "indirect" pid
block.
(pinfo_init): Accomodate set_myself arg change.
(procinfo): Remove.
(pinfo::lock_pinfo): Remove.
(pinfo::unlock_pinfo): Remove.
(pinfo::init): New method. Allocates shared memory space for process pinfo
structure.
(pinfo::record_death): Don't call locking functions.
(cygwin_winpid_to_pid): Simplify by using new pinfo constructor.
(EnumProcessesW95): New function for iterating over processes on Windows 95.
(winpids::winpids): New constructor for winpids class. Sets up a list of
process ids.
(enum_init): Initialize w95/wnt pid enumerators.
* shared.cc (shared-info::initialize): Remove pid initialization.
* shared.h: Move pinfo stuff into pinfo.h.
(class shared_info): Remove pinfo_list element.
* signal.cc (kill_worker): Use pinfo constructor to access process info.
(kill_pgrp): Ditto. Use winpids methods to access list of processes.
* sigproc.cc: Throughout, modify to use _pinfo where appropriate.
(proc_exists (pid_t)): New function. Determines if a process exists based on
the pid.
(proc_exists (_pinfo *p): Use new proc_exists function above.
(proc_subproc): Copy pinfo stuff around rather than _pinfo pointers. Try to be
careful about releasing shared memory when we don't need it anymore. Remove
pinfo locks.
(remove_zombies): Remove pinfo memory when zombie is going away.
* sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc.
* spawn.cc (spawn_guts): Eliminate pinfo *child argument. Reorganize to only
initialize child pinfo after process has been started and we know the windows
pid.
(_spawnve): Reflect spawn_guts changes.
* syscalls.cc (setpgid): Use pinfo constructor to access process info.
(getpgid): Ditto.
(internal_getlogin): Use _pinfo.
* winsup.h: Eliminate pinfo_mutex. Eliminate spawn_guts declaration since it
is static now. Reflect set_myself argument change.
* include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff.
* include/cygwin/version.h: Update minor version for cygdrive changes below.
cgf [Sat, 29 Jul 2000 16:24:36 +0000 (16:24 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
the changes below. Redefine process structure to avoid a fixed size table.
Redefine pinfo/_pinfo classes. Use these throughout.
* dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change.
(__api_fatal): Accomodate _pinfo::record_death argument change.
* exceptions.cc (really_exit): Ditto.
(sig_handle_tty_stop): Use pinfo constructor to access process info.
(events_init): Don't create pinfo_mutex since it is no longer required.
* external.cc (fillout_pinfo): Use winpids class to iterate over all system
pids.
(cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops.
* fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to
access process info.
* fork.cc (fork): Reorganize to initialize child info after the child has
started since that is when we know the child's winpid, which is necessary to
allocate the pinfo shared memory.
* mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo.
* pinfo.cc: Rename pinfo methods to _pinfo throughout. Eliminate pinfo_list
stuff.
(set_myself): Accept a pid argument now. Call pinfo initializer to initialize
myself. Detect when this is an "execed" process and create an "indirect" pid
block.
(pinfo_init): Accomodate set_myself arg change.
(procinfo): Remove.
(pinfo::lock_pinfo): Remove.
(pinfo::unlock_pinfo): Remove.
(pinfo::init): New method. Allocates shared memory space for process pinfo
structure.
(pinfo::record_death): Don't call locking functions.
(cygwin_winpid_to_pid): Simplify by using new pinfo constructor.
(EnumProcessesW95): New function for iterating over processes on Windows 95.
(winpids::winpids): New constructor for winpids class. Sets up a list of
process ids.
(enum_init): Initialize w95/wnt pid enumerators.
* shared.cc (shared-info::initialize): Remove pid initialization.
* shared.h: Move pinfo stuff into pinfo.h.
(class shared_info): Remove pinfo_list element.
* signal.cc (kill_worker): Use pinfo constructor to access process info.
(kill_pgrp): Ditto. Use winpids methods to access list of processes.
* sigproc.cc: Throughout, modify to use _pinfo where appropriate.
(proc_exists (pid_t)): New function. Determines if a process exists based on
the pid.
(proc_exists (_pinfo *p): Use new proc_exists function above.
(proc_subproc): Copy pinfo stuff around rather than _pinfo pointers. Try to be
careful about releasing shared memory when we don't need it anymore. Remove
pinfo locks.
(remove_zombies): Remove pinfo memory when zombie is going away.
* sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc.
* spawn.cc (spawn_guts): Eliminate pinfo *child argument. Reorganize to only
initialize child pinfo after process has been started and we know the windows
pid.
(_spawnve): Reflect spawn_guts changes.
* syscalls.cc (setpgid): Use pinfo constructor to access process info.
(getpgid): Ditto.
(internal_getlogin): Use _pinfo.
* winsup.h: Eliminate pinfo_mutex. Eliminate spawn_guts declaration since it
is static now. Reflect set_myself argument change.
* include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff.
* include/cygwin/version.h: Update minor version for cygdrive changes below.
cgf [Sat, 29 Jul 2000 16:01:23 +0000 (16:01 +0000)]
* environ.cc (parse_thing): Make binmode a DWORD.
* hinfo.cc (hinfo::init_std_file_from_handle): Use 'binmode' to determine
default open mode.
* winsup.h: Declare binmode.
cgf [Sat, 29 Jul 2000 04:19:24 +0000 (04:19 +0000)]
* include/cygwin/cygwin_dll.h: Update for modern compilers.
* lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers.
* fhandler.h (fhandler_console): Add new method.
* fhandler.cc (fhandler_console::set_cursor_maybe): New method.
(fhandler_console::read): Set cursor if it has moved to make it visible.
jle [Sat, 29 Jul 2000 03:23:31 +0000 (03:23 +0000)]
2000-07-28 Jason Eckhardt <jle@cygnus.com>
* configure.in: Add bits for i860-stardent-{sysv4, elf}*.
* configure: Regenerated.
* config/obj-elf.c (obj_elf_type): Recognize a fifth type
of operand to the .type directive (.e.g, "type").
jle [Sat, 29 Jul 2000 03:20:54 +0000 (03:20 +0000)]
2000-07-28 Jason Eckhardt <jle@cygnus.com>
* configure.in: Add bits for i860-stardent-{sysv4, elf}*.
* configure: Regenerated.
* config/obj-elf.c (obj_elf_type): Recognize a fifth type
of operand to the .type directive (.e.g, "type").
bje [Sat, 29 Jul 2000 00:33:34 +0000 (00:33 +0000)]
2000-07-28 Ben Elliston <bje@redhat.com>
* Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
(run-cgen, stamp-m32r, stamp-fr30): New targets.
* Makefile.in: Regenerate.
* configure.in: Add --enable-cgen-maint option.
* configure: Regenerate.
jle [Fri, 28 Jul 2000 23:49:35 +0000 (23:49 +0000)]
2000-07-22 Jason Eckhardt <jle@cygnus.com>
* Makefile.am (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.