OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago Add the generation of C++ classes.
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.

23 years ago * config/djgpp/fnchange.lst: Add file mappings as per last weekly
eliz [Mon, 31 Jul 2000 06:11:19 +0000 (06:11 +0000)]
* config/djgpp/fnchange.lst: Add file mappings as per last weekly
snapshot.

23 years ago* fhandler_console.cc: Remove VK_DIVIDE detection.
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.

23 years agoProtoization.
kevinb [Sun, 30 Jul 2000 01:48:24 +0000 (01:48 +0000)]
Protoization.

23 years agoFix formatting
nickc [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice

23 years ago* fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if it
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 ' '.

23 years ago* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
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.

23 years ago* kill.cc (main): Add '-f' option to force termination of a process.
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.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
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.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
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.

23 years ago* environ.cc (parse_thing): Make binmode a DWORD.
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.

23 years ago* include/cygwin/cygwin_dll.h: Update for modern compilers.
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.

23 years ago2000-07-28 Jason Eckhardt <jle@cygnus.com>
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").

23 years ago2000-07-28 Jason Eckhardt <jle@cygnus.com>
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").

23 years ago2000-07-28 Ben Elliston <bje@redhat.com>
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.

23 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
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.

23 years agoMinor formatting change.
cgf [Fri, 28 Jul 2000 23:21:04 +0000 (23:21 +0000)]
Minor formatting change.

23 years agoAdded myself as the i860 maintainer.
jle [Fri, 28 Jul 2000 22:55:56 +0000 (22:55 +0000)]
Added myself as the i860 maintainer.

23 years agoFix typo.
cgf [Fri, 28 Jul 2000 22:37:23 +0000 (22:37 +0000)]
Fix typo.

23 years ago* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
cgf [Fri, 28 Jul 2000 22:34:24 +0000 (22:34 +0000)]
* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
(show_cygdrive_prefixes): New function.
* utils/umount.cc (main): Add --remove-cygdrive-prefix option.
(error): Change signature from 'char *' to 'const char *'.
(remove_cygdrive_prefix): New function.

23 years ago* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
cgf [Fri, 28 Jul 2000 22:33:43 +0000 (22:33 +0000)]
* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
* external.cc (get_cygdrive_prefixes): New function.
(cygwin_internal): Add CW_GET_CYGDRIVE_PREFIXES case.
* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
prefix if user one is undefined.
(mount_info::write_cygdrive_info_to_registry): Write cygdrive prefix to the
appropriate registry hive.  Overwrite in-memory copy of cygdrive, if
appropriate.
(mount_info::remove_cygdrive_info_from_registry): New method.
(mount_info::get_cygdrive_prefixes): New method.
(cygwin_umount): Remove cygdrive prefix, if appropriate.
* registry.cc (reg_key::killvalue): New method.
* shared.h (class reg_key): Add killvalue, remove_cygdrive_info_to_registry,
and get_cygdrive_prefixes declarations.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_PREFIXES.

23 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
jle [Fri, 28 Jul 2000 21:17:40 +0000 (21:17 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* configure.in: New bits for bfd_i860_arch.

* configure: Regenerated.

23 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
jle [Fri, 28 Jul 2000 21:16:11 +0000 (21:16 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* dis-asm.h (print_insn_i860): Add prototype.

23 years ago200007-22 Jason Eckhardt <jle@cygnus.com>
jle [Fri, 28 Jul 2000 21:15:04 +0000 (21:15 +0000)]
200007-22  Jason Eckhardt  <jle@cygnus.com>

* cpu-i860.c: Added comments.

* elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* configure: Regenerated.

23 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
jle [Fri, 28 Jul 2000 21:10:19 +0000 (21:10 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* include/opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* include/elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* bfd/cpu-i860.c: Added comments.

* bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* bfd/configure: Regenerated.

* opcodes/i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* opcodes/disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* include/dis-asm.h (print_insn_i860): Add prototype.

* opcodes/Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* opcodes/configure.in: New bits for bfd_i860_arch.

* opcodes/configure: Regenerated.

23 years ago2000-07-26 Scott Bambrough <scottb@netwinder.org>
scottb [Fri, 28 Jul 2000 20:17:28 +0000 (20:17 +0000)]
2000-07-26  Scott Bambrough <scottb@netwinder.org>

* gdb.base/recurse.exp: Run tests for all targets.
* gdb.base/so-impl-ld.exp: Added wildcard to handle the
gnu-oldld case on ARM.
* gdb.base/watchpoint.exp (test_stepping): Clear xfail
for ARM targets.

23 years agoDeclare __infinity as an array to work around problems with small data support
meissner [Fri, 28 Jul 2000 16:27:52 +0000 (16:27 +0000)]
Declare __infinity as an array to work around problems with small data support

23 years ago2000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Fri, 28 Jul 2000 15:16:16 +0000 (15:16 +0000)]
2000-07-28  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_gdbarch_init): For sh4 initialize
  register_convert_to_raw, register_convert_to_virtual,
  register_convertible.
(sh_sh4_register_convertible): New function.
(sh_sh4_register_convert_to_virtual): New function.
(sh_sh4_register_convert_to_raw): New function.
Include floatformat.h.

23 years ago* s/sourceware.cygnus.com/sources.redhat.com/ throughout
fche [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/

23 years ago2000-07-28 Ben Elliston <bje@redhat.com>
bje [Fri, 28 Jul 2000 08:23:17 +0000 (08:23 +0000)]
2000-07-28  Ben Elliston  <bje@redhat.com>

* NEWS: Update.

23 years agocomment-finding hack for hppa-linux.
amodra [Fri, 28 Jul 2000 05:05:19 +0000 (05:05 +0000)]
comment-finding hack for hppa-linux.

23 years agoInitial revision
bje [Fri, 28 Jul 2000 04:11:52 +0000 (04:11 +0000)]
Initial revision

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 4.
cgf [Fri, 28 Jul 2000 03:35:52 +0000 (03:35 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 4.

23 years agoFix GCC warnings.
cagney [Fri, 28 Jul 2000 03:33:32 +0000 (03:33 +0000)]
Fix GCC warnings.
Abort if code falls off end of md_estimate_size_before_relax().

23 years ago* Makefile.in (FLAGS_FOR_TARGET): New macro.
aoliva [Fri, 28 Jul 2000 02:10:35 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

23 years ago2000-07-27 H.J. Lu <hjl@gnu.org>
hjl [Fri, 28 Jul 2000 01:53:28 +0000 (01:53 +0000)]
2000-07-27  H.J. Lu  <hjl@gnu.org>

* emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
(PARSE_AND_LIST_PROLOGUE): New.
(PARSE_AND_LIST_LONGOPTS): Likewise.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(PARSE_AND_LIST_EPILOGUE): Likewise.

23 years agoAdd some shell variables and shell code to elf32.em
amodra [Fri, 28 Jul 2000 01:33:13 +0000 (01:33 +0000)]
Add some shell variables and shell code to elf32.em
to allow elf32.em to be used by ports that require
some minor variations or a few extra functions.
Implement for hppaelf and armelf.
Fix header file include order in m68kcoff.em

23 years agoMove functions around in preparation for next patch
amodra [Fri, 28 Jul 2000 01:07:08 +0000 (01:07 +0000)]
Move functions around in preparation for next patch

23 years agoImplement -taso command line option.
nickc [Fri, 28 Jul 2000 00:57:45 +0000 (00:57 +0000)]
Implement -taso command line option.

23 years ago2000-07-27 H.J. Lu <hjl@gnu.org>
hjl [Fri, 28 Jul 2000 00:49:07 +0000 (00:49 +0000)]
2000-07-27  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_merge_symbol): Take one more argument,
dt_needed, to indicate if the symbol comes from a DT_NEEDED
entry. Don't overide the existing weak definition if dt_needed
is true.
(elf_link_add_object_symbols): Pass dt_needed to
elf_merge_symbol ().

23 years agoFix formatting
nickc [Fri, 28 Jul 2000 00:42:18 +0000 (00:42 +0000)]
Fix formatting

23 years agoZero the allocated contents of reloc sections.
nickc [Thu, 27 Jul 2000 22:35:08 +0000 (22:35 +0000)]
Zero the allocated contents of reloc sections.

23 years agoRemove obsolete entries:
davidsb [Thu, 27 Jul 2000 22:06:27 +0000 (22:06 +0000)]
Remove obsolete entries:
 - 'Why is gcc failing'
 - 'Why can't bison find bison.simple or bison.hairy?'
Remove disclaimer from up-to-date entries (possibly with some minor changes):
 - 'How is fork() implemented?'
 - 'How do symbolic links work?'
 - 'How do I compile a Win32 executable that doesn't use Cygwin?'
 - 'How do I make the console window go away?'
 - 'Why does make complain about a "missing separator"?'
 - 'Why can't we redistribute Microsoft's Win32 headers?'
 - 'How can I debug what's going on?'
 - 'Can I use a system trace mechanism instead?'
 - 'Can I use the gdb debugger to debug programs built by VC++?'
 - 'Where can I find info on x86 assembly?'
 - 'Why not use DJGPP?'

23 years agoEntry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
davidsb [Thu, 27 Jul 2000 21:29:19 +0000 (21:29 +0000)]
Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
when unpacking tar.gz archives.

23 years agoEntry 'How should I set my PATH?': Don't omit Windows system directories.
davidsb [Thu, 27 Jul 2000 21:13:16 +0000 (21:13 +0000)]
Entry 'How should I set my PATH?':  Don't omit Windows system directories.

23 years agoFix typo.
law [Thu, 27 Jul 2000 18:50:48 +0000 (18:50 +0000)]
Fix typo.

23 years agoAdded missing ChangeLog entry.
corinna [Thu, 27 Jul 2000 18:30:57 +0000 (18:30 +0000)]
Added missing ChangeLog entry.

23 years ago* testsuite/winsup.api/winsup.exp: ignore stdout by default
dj [Thu, 27 Jul 2000 17:30:48 +0000 (17:30 +0000)]
* testsuite/winsup.api/winsup.exp: ignore stdout by default
* testsuite/winsup.api/crlf.c: non-verbose by default

* winsup.h: prune out windows headers we don't normally need
* assert.cc: add wingdi.h and winuser.h
* fhandler_console.cc: ditto
* fhandler_windows.cc: ditto
* select.cc: ditto
* spawn.cc: ditto
* strace.cc: ditto
* tty.cc: ditto
* window.cc: ditto
* hinfo.cc: add winsock.h
* syscalls.cc: add winnls.h
* uinfo.cc: ditto

* include/windows.h: optimize non-inclusion of repeat headers

23 years ago* Usability improvement
fche [Thu, 27 Jul 2000 15:45:20 +0000 (15:45 +0000)]
* Usability improvement

2000-07-27  Frank Ch. Eigler  <fche@redhat.com>

From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.in (install): Install run.1 man page.

23 years ago* libc/include/math.h: Use appropriate dll import linkage for Cygwin.
cgf [Thu, 27 Jul 2000 14:49:09 +0000 (14:49 +0000)]
* libc/include/math.h: Use appropriate dll import linkage for Cygwin.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
cgf [Thu, 27 Jul 2000 14:26:03 +0000 (14:26 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
for files >= 2GB and <= 4GB.

23 years agoDon't clean *.igen.
cagney [Thu, 27 Jul 2000 12:03:19 +0000 (12:03 +0000)]
Don't clean *.igen.

23 years ago2000-06-23 Doug Evans <dje@casey.transmeta.com>
cagney [Thu, 27 Jul 2000 11:56:34 +0000 (11:56 +0000)]
2000-06-23  Doug Evans  <dje@casey.transmeta.com>
* Makefile.in (headers,nltvals.def): Merge.

23 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
cagney [Thu, 27 Jul 2000 11:49:04 +0000 (11:49 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * nrun.c (main): Print the simulator statistics only in
        verbose mode.
        * hw-properties.h (hw_find_integer_array_property): Fix
        prototype (use signed_cell).

23 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
cagney [Thu, 27 Jul 2000 11:37:34 +0000 (11:37 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * sim-events.c (sim_events_remain_time): New function returning
        the time that remains before the event is raised.
        * hw-events.c (hw_event_remain_time): Likewise.
        * sim-events.h (sim_events_remain_time): Declare.
        * hw-events.h (hw_event_remain_time): Declare.

23 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
cagney [Thu, 27 Jul 2000 11:34:30 +0000 (11:34 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * sim-hw.c: Use <errno.h> instead of <sys/errno.h>
        (OPTION_HW_LIST): New option --hw-list to list the devices.
        (hw_option_handler): List the device tree with 'sim_hw_print'.

23 years agoAdd m68hc11 configry.
cagney [Thu, 27 Jul 2000 11:29:14 +0000 (11:29 +0000)]
Add m68hc11 configry.

23 years agoNew simulator.
cagney [Thu, 27 Jul 2000 11:23:39 +0000 (11:23 +0000)]
New simulator.

23 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
cagney [Thu, 27 Jul 2000 11:07:01 +0000 (11:07 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
(MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
(EXTENDED): Define for 16-bit word size.
* sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
* sim-types.h: Added support for 16-bit targets.

23 years ago* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
cagney [Thu, 27 Jul 2000 09:39:50 +0000 (09:39 +0000)]
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
correctly.

23 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
cagney [Thu, 27 Jul 2000 07:18:31 +0000 (07:18 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* configure.tgt: Recognize the 68hc11.
* m68hc11-tdep.c: New file for 68hc11 target.
* config/m68hc11/m68hc11.mt: New file for 68hc11 port.

* configure.tgt: When 68hc11, set gdb_multi_arch.

23 years agoClarify texinfo/
cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/

23 years agoKazu Hirata's formatting fixes.
amodra [Thu, 27 Jul 2000 04:05:04 +0000 (04:05 +0000)]
Kazu Hirata's formatting fixes.

23 years agoMove GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.
cagney [Thu, 27 Jul 2000 04:01:23 +0000 (04:01 +0000)]
Move GDB_MULTI_ARCH selection to configure*.  Makes tm.h optional.

23 years agofix typo.
cgf [Thu, 27 Jul 2000 03:05:38 +0000 (03:05 +0000)]
fix typo.

23 years ago * config/mh-openedition.h: Added -DLE370 definition.
law [Thu, 27 Jul 2000 02:01:16 +0000 (02:01 +0000)]
    * config/mh-openedition.h: Added -DLE370 definition.

23 years ago * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
law [Thu, 27 Jul 2000 01:49:21 +0000 (01:49 +0000)]
    * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
        __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
        Cast program to 'char *' in errmsg_arg assignment.
        (PWAIT_ERROR): Define.
(pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
        to DJGPP's WIF* macros.

23 years ago* nm.c (main): Ignore '-X32_64' as an option.
geoffk [Thu, 27 Jul 2000 01:39:45 +0000 (01:39 +0000)]
* nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.

23 years ago2000-07-26 Jimmy Guo <guo@cup.hp.com>
msnyder [Thu, 27 Jul 2000 00:54:12 +0000 (00:54 +0000)]
2000-07-26  Jimmy Guo       <guo@cup.hp.com>

        * config/convex/tm-convex.h: Remove stray control characters.
        * config/m68k/tm-altos.h: Ditto.
        * config/tahoe/tm-tahoe.h: Ditto.

23 years ago * getcwd.c: Include string.h, stdlib.h for prototypes
law [Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)]
    * getcwd.c: Include string.h, stdlib.h for prototypes

23 years ago * Makefile.in (rename.o, waitpid.o): Depend on config.h
law [Wed, 26 Jul 2000 23:24:05 +0000 (23:24 +0000)]
    * Makefile.in (rename.o, waitpid.o): Depend on config.h
        * rename.c: include config.h, unistd.h
        * waitpid.c: include config.h, sys/wait.h

23 years ago2000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Wed, 26 Jul 2000 23:04:44 +0000 (23:04 +0000)]
2000-07-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte,
  sh_sh4_register_raw_size, sh_sh4_register_virtual_type,
  sh_fetch_pseudo_register, sh_store_pseudo_register,
  sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs,
  they should be numbered as drx fvy where x and y are multiples of
  2 and 4 respectively.

* config/sh/tm-sh.h: Fix names of pseudo regs.

23 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
brolley [Wed, 26 Jul 2000 22:45:49 +0000 (22:45 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
(cgen_hw_lookup_by_num): Ditto.
(cgen_operand_lookup_by_name): Ditto.
(print_address): Ditto.
(print_keyword): Ditto.
* cgen-dis.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
* cgen-asm.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
(cgen_parse_keyword): Ditto.

23 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
brolley [Wed, 26 Jul 2000 22:44:42 +0000 (22:44 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.

23 years agoWrong date on last entry.
brolley [Wed, 26 Jul 2000 22:40:39 +0000 (22:40 +0000)]
Wrong date on last entry.

23 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
brolley [Wed, 26 Jul 2000 22:39:08 +0000 (22:39 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen.c (queue_fixup): Declare opinfo.
(gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
(gas_cgen_md_operand): Ditto.
(gas_cgen_md_apply_fix3): Ditto.

23 years agoGive signal_exit noreturn attribute.
cgf [Wed, 26 Jul 2000 20:36:19 +0000 (20:36 +0000)]
Give signal_exit noreturn attribute.

23 years ago* exceptions.cc (signal_exit): Renamed from "really+exit". Always sets
cgf [Wed, 26 Jul 2000 20:13:27 +0000 (20:13 +0000)]
* exceptions.cc (signal_exit): Renamed from "really+exit".  Always sets
EXIT_SIGNAL bit and reorganizes exit value for backwards cygwin handling.
(handle_exceptions): Call signal_exit.  Set "core dumped" bit.
(sig_handle): Call signal_exit.  Set "core dumped" bit appropriately.

23 years agoAdssign copyright to FSF
nickc [Wed, 26 Jul 2000 19:59:35 +0000 (19:59 +0000)]
Adssign copyright to FSF

23 years ago * environ.cc (posify): Revert previous patch.
corinna [Wed, 26 Jul 2000 18:51:14 +0000 (18:51 +0000)]
    * environ.cc (posify): Revert previous patch.
        (_addenv): Remove check_null_empty_path from here.
        (putenv): Call check_nullempty_path.
        (setenv): Call check_nullempty_path for name as well here.
        Don't report an error if value is empty string.
        (environ_init): Revert usage of newp.

23 years ago* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
cgf [Wed, 26 Jul 2000 17:48:49 +0000 (17:48 +0000)]
* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
size bigger than 2Gb and less than 4Gb

23 years ago * security.cc (lookup_name): Search on local machine first if
corinna [Wed, 26 Jul 2000 15:44:58 +0000 (15:44 +0000)]
    * security.cc (lookup_name): Search on local machine first if
        myself->domain is not empty.

23 years ago* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
cgf [Wed, 26 Jul 2000 13:59:23 +0000 (13:59 +0000)]
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.

23 years agoAdd missing ChangeLog entry.
cgf [Wed, 26 Jul 2000 13:42:01 +0000 (13:42 +0000)]
Add missing ChangeLog entry.

23 years ago * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
corinna [Wed, 26 Jul 2000 11:48:38 +0000 (11:48 +0000)]
    * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
        Change type to enum. Change storage class to static. Adjust comments.
        (read_etc_passwd): Set passwd_state to different values when loaded
        from file in contrast to being emulated.
        (search_for): Return default passwd entry if passwd is emulated or
        it's a request for the current user. Otherwise return NULL.

23 years ago* syscalls.cc (statfs): Use path_conv method to convert input path.
cgf [Wed, 26 Jul 2000 01:56:48 +0000 (01:56 +0000)]
* syscalls.cc (statfs): Use path_conv method to convert input path.

23 years ago* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.
cgf [Wed, 26 Jul 2000 01:44:16 +0000 (01:44 +0000)]
* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.

23 years agoNew entry (Programming Questions): 'Why doesn't gdb handle signals?'
davidsb [Tue, 25 Jul 2000 21:35:08 +0000 (21:35 +0000)]
New entry (Programming Questions):  'Why doesn't gdb handle signals?'

23 years agoEntry 'Is the Cygwin library multi-thread-safe?': Update for latest release.
davidsb [Tue, 25 Jul 2000 21:16:44 +0000 (21:16 +0000)]
Entry 'Is the Cygwin library multi-thread-safe?':  Update for latest release.

23 years agoEntry 'Are mixed-case filenames possible with Cygwin?': Expand slightly,
davidsb [Tue, 25 Jul 2000 20:49:59 +0000 (20:49 +0000)]
Entry 'Are mixed-case filenames possible with Cygwin?':  Expand slightly,
add reference to coolview.

23 years ago2000-07-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Tue, 25 Jul 2000 20:41:07 +0000 (20:41 +0000)]
2000-07-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk-cmds.c (map_arg_registers): Set numregs to include the
        pseudo regs as well.

23 years agoNew entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.
davidsb [Tue, 25 Jul 2000 20:13:38 +0000 (20:13 +0000)]
New entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.

23 years agoEntry 'Can I use my own malloc?': Add warning about _malloc_r from newlib.
davidsb [Tue, 25 Jul 2000 19:50:31 +0000 (19:50 +0000)]
Entry 'Can I use my own malloc?':  Add warning about _malloc_r from newlib.

23 years ago* configure.host (*-*-aix*): AIX has 'long long' always.
geoffk [Tue, 25 Jul 2000 19:29:42 +0000 (19:29 +0000)]
* configure.host (*-*-aix*): AIX has 'long long' always.

23 years ago* coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
geoffk [Tue, 25 Jul 2000 19:25:40 +0000 (19:25 +0000)]
* coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
(xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.
(xcoff_write_archive_contents_big): Don't update the offset
of the symbol table, xcoff_write_armap will do it.

23 years agoEntry 'Is it OK to have multiple copies of the DLL?':
davidsb [Tue, 25 Jul 2000 19:17:31 +0000 (19:17 +0000)]
Entry 'Is it OK to have multiple copies of the DLL?':
Emphasise that no, it's not OK.

23 years agoChanged 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.
davidsb [Tue, 25 Jul 2000 19:00:29 +0000 (19:00 +0000)]
Changed 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.

23 years agoFile not needed - it is provided at the top level
nickc [Mon, 24 Jul 2000 22:06:51 +0000 (22:06 +0000)]
File not needed - it is provided at the top level

23 years agoAdd GPL copyright notices to uncopyrighted files.
nickc [Mon, 24 Jul 2000 20:59:03 +0000 (20:59 +0000)]
Add GPL copyright notices to uncopyrighted files.
Add copy of GPL.

23 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Mon, 24 Jul 2000 20:39:21 +0000 (20:39 +0000)]
2000-07-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific
  pseudo registers.
(DO_REGISTERS_INFO): Define.

* sh-tdep.c (sh_sh4_register_name): New function.
(sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update
  signature.
(sh_show_regs_command): New function. Actual function called by
  the 'regs' command.
(sh_register_byte): Rename to...
(sh_default_register_byte): ...New function.
(sh_sh4_register_byte): New function.
(sh_register_raw_size): Rename to...
(sh_default_register_raw_size): ...New function.
(sh_sh4_register_raw_size): New function.
(sh_sh4_register_virtual_type): New function.
(sh_sh4_build_float_register_type): New function.
(sh_fetch_pseudo_register, sh_store_pseudo_register): New
  functions.
(fv_reg_base_num, dr_reg_base_num): New functions.
(do_fv_register_info, do_dr_register_info, sh_do_pseudo_register,
  sh_do_fp_register, sh_do_register, sh_print_register,
  sh_do_registers_info): New functions.
(sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update
  architecture specific parts.
(_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.