OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoremove include/rapi.h
cgf [Thu, 9 Nov 2000 18:07:16 +0000 (18:07 +0000)]
remove include/rapi.h

23 years ago * dir.cc (readdir): Avoid reading from the beginning when
corinna [Thu, 9 Nov 2000 13:32:33 +0000 (13:32 +0000)]
    * dir.cc (readdir): Avoid reading from the beginning when
        readdir is called after a previous call has returned NULL.

23 years ago Add auto-solib-add support for AIX, remove obsolete and unused
schauer [Thu, 9 Nov 2000 09:48:59 +0000 (09:48 +0000)]
Add auto-solib-add support for AIX, remove obsolete and unused
SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code.
* rs6000-nat.c (vmap_symtab):  Do not try to modify offsets
if symbols are not yet loaded.
(vmap_add_symbols):  New function to add symbols for a vmap entry.
(add_vmap):  Turn errors into warnings, return NULL vmap upon
failure. Add symbols via vmap_add_symbols only if requested.
(xcoff_relocate_core):  Allow debugging of core files without an
executable file. Handle NULL returns from add_vmap gracefully.
* xcoffsolib.c (solib_add):  Remove, no longer needed.
(solib_info):  Do not check for new shared libraries if there is no
inferior process.
(sharedlibrary_command):  Made static.
Do not check for new shared libraries if there is no inferior process.
Add symbols for requested shared libraries via vmap_add_symbols.
(_initialize_solib):  Add `set auto-solib-add' command.
* xcoffsolib.h (vmap_add_symbols):  Add prototype declaration.

* config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT):  Move from here ...
* config/rs6000/nm-rs6000.h:  ... to here, this is an AIX native
feature.
* config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h,
config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h:
Remove #undef PC_LOAD_SEGMENT.
* config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt
(TDEPFILES):  Move xcoffsolib.o from here ...
* config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh
(NATDEPFILES):  ... to here, xcoffsolib.o contains AIX native code
only.
* rs6000-tdep.c:  Remove #include xcoffsolib.h, no longer needed.
* xcoffsolib.h (xcoff_relocate_symtab_hook):  Remove declaration.
* rs6000-nat.c (_initialize_core_rs6000):  Remove setting of
xcoff_relocate_symtab_hook, no longer needed.
* xcoffsolib.c (solib_info, sharedlibrary_command):  Remove
xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab
directly, as xcoffsolib.c is now compiled in native AIX configurations
only.
* Makefile.in:  Update dependencies for rs6000-tdep.o, rs6000-nat.o
and xcoffsolib.o.

23 years ago * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
cagney [Thu, 9 Nov 2000 06:48:48 +0000 (06:48 +0000)]
* MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
* vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h".
(vax_print_insn): Change ``d'' to a const char pointer.

23 years agoIncrease cygwin heap size.
cgf [Thu, 9 Nov 2000 02:39:45 +0000 (02:39 +0000)]
Increase cygwin heap size.

23 years ago* select.cc (peek_pipe): Deal with pending newline in pty_master.
cgf [Thu, 9 Nov 2000 02:03:33 +0000 (02:03 +0000)]
* select.cc (peek_pipe): Deal with pending newline in pty_

23 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 9 Nov 2000 01:37:43 +0000 (01:37 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.
* coff-alpha.c: Likewise.
* coff-apollo.c: Likewise.
* coff-aux.c: Likewise.

23 years ago2000-11-08 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Wed, 8 Nov 2000 23:58:46 +0000 (23:58 +0000)]
2000-11-08  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdbarch.sh: Spelling correction: registrary -> registry.
        * gdbarch.c: Ditto.

23 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 8 Nov 2000 23:57:04 +0000 (23:57 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.

23 years ago2000-11-09 Ben Elliston <bje@redhat.com>
bje [Wed, 8 Nov 2000 23:19:44 +0000 (23:19 +0000)]
2000-11-09  Ben Elliston  <bje@redhat.com>

* sim-fpu.c (sim_fpu_one): Set exponent to 0.
(sim_fpu_two): Set exponent to 1.

23 years ago* Spelling corrections.
bje [Wed, 8 Nov 2000 23:12:43 +0000 (23:12 +0000)]
* Spelling corrections.

23 years agoCorrect unwind region length calculations.
wilson [Wed, 8 Nov 2000 20:55:21 +0000 (20:55 +0000)]
Correct unwind region length calculations.
* config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
(struct unwind): Add next_slot_frag field.
(slot_index): New parameters slot_frag and first_frag.  Add code
to add in frag sizes when different.  Add comments.
(fixup_unw_records): New locals first_frag and last_frag.  Pass new
arguments to slot_index.
(emit_one_bundle): Set slot_frag field.  Set next_slot_number after
loop end.  Set next_slot_frag field.

23 years ago* mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes.
cgf [Wed, 8 Nov 2000 20:39:45 +0000 (20:39 +0000)]
* mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes.
* mount.cc (show_cygdrive_prefixes): Remove function.
* mount.cc (show_cygdrive_info): New function.  Actually, show_cygdrive_info is
really an enhanced version of show_cygdrive_prefixes renamed to
show_cygdrive_info that also displays the user and system flags.

23 years ago* environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in
cgf [Wed, 8 Nov 2000 20:36:36 +0000 (20:36 +0000)]
* environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in
conjunction with older binaries.
(environ_init): Ditto.
* external.cc (get_cygdrive_info): New function.
* external.cc (get_cygdrive_prefixes): Change to use get_cygdrive_info but toss
the user and system flags.
* external.cc (cygwin_internal): Add new CW_GET_CYGDRIVE_INFO case.
* path.cc (mount_info::get_cygdrive_prefixes): Remove method.
* path.cc (mount_info::get_cygdrive_info): New method.  Actually,
get_cygdrive_info is really an enhanced version of get_cygdrive_prefixes
renamed to get_cygdrive_info that also gets the user and system flags.
* shared_info.h (get_cygdrive_prefixes): Remove method.
* shared_info.h (get_cygdrive_info): New method.
* include/cygwin/version.h: Bump minor API version due to adding
CW_GET_CYGDRIVE_INFO to cygwin_internal.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_INFO.

23 years ago * mkgroup.c (load_netapi): New function to load netapi32.dll functions
corinna [Wed, 8 Nov 2000 15:00:02 +0000 (15:00 +0000)]
    * mkgroup.c (load_netapi): New function to load netapi32.dll functions
        dynamically so that mkgroup works on 9x/ME as well.
        Use corresponding function pointers throughout.
        (usage): Change to `int'. Change text to be conformant to mkpasswd.
        (main): Use `getlongopt' to process options.
        Special handling to create a group entry on 9x/ME.
        * mkpasswd.c (load_netapi): New function to load netapi32.dll functions
        dynamically so that mkpasswd works on 9x/ME as well.
        Use corresponding function pointers throughout.
        (usage): Change to `int'. Change text to be conformant to mkgroup.
        (main): Use `getlongopt' to process options.
        Special handling to create a passwd entry on 9x/ME.
        Change conditional to create an entry for the local administrators
        group when appropriate.

23 years agoWork around targets that don't yet define JB_PC or JB_ELEMENT_SIZE.
cagney [Wed, 8 Nov 2000 12:26:15 +0000 (12:26 +0000)]
Work around targets that don't yet define JB_PC or JB_ELEMENT_SIZE.

23 years agoRename get_longjmp_target to m68k_get_longjmp_target. Update all m68k
cagney [Wed, 8 Nov 2000 11:55:34 +0000 (11:55 +0000)]
Rename get_longjmp_target to m68k_get_longjmp_target.  Update all m68k
targets.

23 years ago* gdbserver/configure.in (files): Don't link nm-empty.h when a
cagney [Wed, 8 Nov 2000 11:39:20 +0000 (11:39 +0000)]
* gdbserver/configure.in (files): Don't link nm-empty.h when a
non-native target.
* configure: Regenerate.

23 years ago * elf64-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
rth [Wed, 8 Nov 2000 07:54:30 +0000 (07:54 +0000)]
    * elf64-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
        Set it before bfd_elf64_bfd_final_link call.  Use it after the call.
        * section.c (bfd_set_section_contents): Call memcpy if
        section->contents set and location not equal to contents plus offset.

23 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 8 Nov 2000 06:38:10 +0000 (06:38 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* bfd.c: Fix formatting.
* binary.c: Likewise.
* bout.c: Likewise.

23 years agoProtoization.
kevinb [Wed, 8 Nov 2000 05:10:18 +0000 (05:10 +0000)]
Protoization.

23 years agoAIX5 changes.
kevinb [Wed, 8 Nov 2000 04:12:40 +0000 (04:12 +0000)]
AIX5 changes.

23 years ago2000-11-07 Daniel Berlin <dberlin@redhat.com>
dberlin [Wed, 8 Nov 2000 02:50:49 +0000 (02:50 +0000)]
2000-11-07  Daniel Berlin  <dberlin@redhat.com>

        * dwarf2read.c: Revert June 5th change for caching of types,
        as per Jim Blandy's request.

23 years agoHandle srdata sections emitted by Intel compiler.
wilson [Wed, 8 Nov 2000 00:39:32 +0000 (00:39 +0000)]
Handle srdata sections emitted by Intel compiler.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.

23 years ago2000-11-07 H.J. Lu <hjl@gnu.org>
hjl [Wed, 8 Nov 2000 00:24:23 +0000 (00:24 +0000)]
2000-11-07  H.J. Lu  <hjl@gnu.org>

* doc/as.texinfo (.symver): Updated for versioned symbol
reference.

* obj.h (format_ops): Add the frob_file_before_adjust field.

* config/obj-aout.c (aout_format_ops): Set the
frob_file_before_adjust field to 0.
* config/obj-coff.c (coff_format_ops): Likewise.
* config/obj-ecoff.c (ecoff_format_ops): Likewise.

* config/obj-elf.c (obj_elf_symver): Allow duplicated version
name.
(elf_frob_file_before_adjust): New function to remove unneeded
versioned symbols from the symbol table.
(elf_format_ops): Set the frob_file_before_adjust field to
elf_frob_file_before_adjust.

* config/obj-elf.h (obj_frob_file_before_adjust): Defined if
not defined.

* config/obj-multi.h (obj_frob_file_before_adjust): Defined.

23 years agoApply patch from Peter Targett to fix building arc-elf32 target.
nickc [Wed, 8 Nov 2000 00:06:33 +0000 (00:06 +0000)]
Apply patch from Peter Targett to fix building arc-elf32 target.

23 years ago * autoload.cc: Add autoload statement for `WSASetLastError'.
corinna [Tue, 7 Nov 2000 20:01:09 +0000 (20:01 +0000)]
    * autoload.cc: Add autoload statement for `WSASetLastError'.
        * net.cc (cygwin_connect): Change error code to WSAEINPROGRESS
        when connect returns WSAEWOULDBLOCK.

23 years agoFix memory corruption with --gstabs and short length filenames.
nickc [Tue, 7 Nov 2000 19:36:08 +0000 (19:36 +0000)]
Fix memory corruption with --gstabs and short length filenames.

23 years ago2000-11-07 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 7 Nov 2000 19:11:31 +0000 (19:11 +0000)]
2000-11-07  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* armnetbsd.c: Likewise.

23 years agoFix typos.
cgf [Tue, 7 Nov 2000 19:00:02 +0000 (19:00 +0000)]
Fix typos.

23 years agoLast change was actually made by Matthew Green.
brolley [Tue, 7 Nov 2000 17:25:30 +0000 (17:25 +0000)]
Last change was actually made by Matthew Green.

23 years ago2000-11-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 7 Nov 2000 17:20:24 +0000 (17:20 +0000)]
2000-11-07  Dave Brolley  <brolley@redhat.com>

* cgen-dis.in (print_insn): All insns which can fit into insn_value
must be loaded there in their entirety.

23 years agoFix for H8 ld problem.
amodra [Tue, 7 Nov 2000 05:04:03 +0000 (05:04 +0000)]
Fix for H8 ld problem.

23 years agoUpdate copyright.
cgf [Tue, 7 Nov 2000 02:21:33 +0000 (02:21 +0000)]
Update copyright.

23 years agoia64-hpux patches from Steve Ellcey.
wilson [Tue, 7 Nov 2000 01:21:09 +0000 (01:21 +0000)]
ia64-hpux patches from Steve Ellcey.
* config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
Change M to m for -milp32 or -mlp64 to match gcc.
(dot_endp): Use bytes_per_address instead of 8.
(emit_one_bundle): Use number_to_chars_littleendian instead of
md_number_to_chars.
(fix_insn): Likewise.
(ia64_init): New function.
(ia64_target_format): New function.
(md_begin): Set endianness, arch, and machine as appropriate.
* config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
Make these macros depend on TE_HPUX macro.
(TARGET_FORMAT): Define.
(HOST_SPECIAL_INIT): Define.
* config/te-hpux.h: New file.
* configure.in: Add "ia64-*-hpux*" target to configure.
* configure: Regenerate.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 7 Nov 2000 01:18:45 +0000 (01:18 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* dwarf2dbg.c: Likewise.
* itbl-ops.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* messages.c: Likewise.
* read.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* write.c: Likewise.

23 years agoFix a few minor Changlog formatting problems.
wilson [Tue, 7 Nov 2000 01:16:25 +0000 (01:16 +0000)]
Fix a few minor Changlog formatting problems.

23 years agoia64-hpux patches from Steve Ellcey.
wilson [Tue, 7 Nov 2000 00:43:24 +0000 (00:43 +0000)]
ia64-hpux patches from Steve Ellcey.
* archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines
to differentiate elf32 and elf64 on ia64.
* bfd-in2.h: Regenerate.
* config.bfd: Add target for "ia64*-*-hpux*".
* configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
* configure: Regenerate.
* cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure.
* targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
* Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
from elfxx-ia64.c.  Add depenency rules for making elf32-ia64.lo.
* Makefile.in: Regnerate.
* elf64-ia64.c: Deleted
* elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.

23 years ago2000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Mon, 6 Nov 2000 23:12:29 +0000 (23:12 +0000)]
2000-11-06  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

        * wrapper.c (gdb_value_assign): New function.  Longjump-free
        version of value_assign.
        (wrap_value_assign): New function. Wrapper for value_assign.
        * wrapper.h: Add declaration for the above.
        * varobj.c (varobj_set_value): Use gdb_value_assign, not
        value_assign which can longjump.  Do not change varobj value if
        assign fails.

23 years ago* dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section.
cgf [Mon, 6 Nov 2000 23:12:05 +0000 (23:12 +0000)]
* dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section.
(dll_crt0_1): Move sigthread lock initialization to earlier in startup.
* exceptions.cc (interrupt_on_return): Remove previous kludgy attempt to detect
an invalid frame.
(call_handler): Eliminate inner for loop.  Grab signal critical section lock
where appropriate.
* sigproc.cc (proc_subproc): Restore uid setting.
* sigproc.h (sigthread): Reinstitute sigthread lock as a critical section.
(sigframe): Grab the sigthread lock before clearing frame to avoid having the
signal thread use an invalid frame.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 6 Nov 2000 22:56:13 +0000 (22:56 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.
* aout-arm.c: Likewise.
* aout-cris.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.

23 years ago2000-11-06 Fernando Nasser <fnasser@cygnus.com>
fnasser [Mon, 6 Nov 2000 22:44:32 +0000 (22:44 +0000)]
2000-11-06  Fernando Nasser  <fnasser@cygnus.com>

        From  Steven Johnson  <sbjohnson@ozemail.com.au>:

        This set of changes add "hookpost-" as an expansion on the original
        hooking of commands to GDB. A Hook may now be run "AFTER" execution of
        a command as well as before.

        * command.h (struct cmd_list_element): Changed elements hook and hookee
        to hook_pre and hookee_pre respectively. Added hook_post and hookee_post
        for the post hook command operation. Added hook_in so that an executing
        hook can be flagged to prevent recursion.
        * command.c (add_cmd): Changed initilization of cmd_list_element to
        reflect above changes.
        (delete_cmd): Remove both pre and post hooks.
        (help_cmd): Notify that the command has pre and/or post hooks.
        * infrun.c (normal_stop): Change references to hook_pre from hook.
        * top.c (execute_command): Run both pre and post hooks.
        (define_command): Allow definition of both pre and post hooks.
        The definition of pre-hooks is done as before, with the "hook-"
        prefix for backward compatibility.

23 years ago2000-11-06 Fernando Nasser <fnasser@cygnus.com>
fnasser [Mon, 6 Nov 2000 22:40:16 +0000 (22:40 +0000)]
2000-11-06  Fernando Nasser  <fnasser@cygnus.com>

        * interface.tcl (show_warning): Add missing argument to ide_messageBox
        and add comments explaining why we use it for windows.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 6 Nov 2000 21:55:46 +0000 (21:55 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* input-file.c: Fix formatting.
* input-file.h: Likewise.
* input-scrub.c: Likewise.

23 years ago * gdb.base/callfuncs.c (main): Moved to end of file, call
schauer [Mon, 6 Nov 2000 20:38:01 +0000 (20:38 +0000)]
* gdb.base/callfuncs.c (main):  Moved to end of file, call
t_double_values to initialize the FPU before inferior calls are made.
* gdb.base/callfuncs.exp:  Test for register preservation after calling
inferior functions.  Add tests for continuining, finishing and
returning from a stop in a call dummy.

23 years agoAdd GNU Free Documentation License
nickc [Mon, 6 Nov 2000 20:27:26 +0000 (20:27 +0000)]
Add GNU Free Documentation License

23 years agoAdd GNU Free Documentation License
nickc [Mon, 6 Nov 2000 20:26:50 +0000 (20:26 +0000)]
Add GNU Free Documentation License

23 years ago * stack.c (return_command): Pop dummy frame if we just returned from
schauer [Mon, 6 Nov 2000 20:25:36 +0000 (20:25 +0000)]
* stack.c (return_command):  Pop dummy frame if we just returned from
a stop in a call dummy.

23 years ago2000-11-05 Philip Blundell <philb@gnu.org>
pb [Mon, 6 Nov 2000 19:38:10 +0000 (19:38 +0000)]
2000-11-05  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
BFDs containing no sections to be merged, regardless of their flags.

2000-11-04  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_relocate_section): Suppress error message
if a relocation for an undefined symbol also results in an
overflow.

23 years agoAdd GNU Free Documentation License
nickc [Mon, 6 Nov 2000 19:24:15 +0000 (19:24 +0000)]
Add GNU Free Documentation License

23 years ago* config.sub: Add support for Sun Chorus
cgf [Mon, 6 Nov 2000 19:21:51 +0000 (19:21 +0000)]
* config.sub: Add support for Sun Chorus

23 years ago* config.bfd: Add support for Sun Chorus.
cgf [Mon, 6 Nov 2000 18:47:14 +0000 (18:47 +0000)]
* config.bfd: Add support for Sun Chorus.

23 years ago* path.cc (mount_info::read_cygdrive_info_from_registry): Use
cgf [Mon, 6 Nov 2000 16:40:29 +0000 (16:40 +0000)]
* path.cc (mount_info::read_cygdrive_info_from_registry): Use
CYGWIN_INFO_CYGDRIVE_PREFIX, CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX, and
CYGWIN_INFO_CYGDRIVE_FLAGS.
* path.cc (mount_info::write_cygdrive_info_to_registry): Use
CYGWIN_INFO_CYGDRIVE_PREFIX and CYGWIN_INFO_CYGDRIVE_FLAGS.
* path.cc (mount_info::remove_cygdrive_info_from_registry): Ditto.
* path.cc (mount_info::get_cygdrive_prefixes): Use CYGWIN_INFO_CYGDRIVE_PREFIX.
* include/cygwin/version.h: Add CYGWIN_INFO_CYGDRIVE_FLAGS,
CYGWIN_INFO_CYGDRIVE_PREFIX, and CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX.

23 years ago * Makefile.in: increment VERSION.
earnie [Mon, 6 Nov 2000 16:17:16 +0000 (16:17 +0000)]
* Makefile.in: increment VERSION.
(dist:) Rename to srcdist.  Create new dist target to call
srcdist and bindist targets.
(srcdist:) New target.
(clean-top:) add call to mostlyclean-top and add rm of distribution
tarballs.
* lib/Makefile.in: (uninstall:) modify to remove files from the
new w32api subdirectory and to remove w32api subdirectory.
(xuninstall:) Ditto.
TODO: Add a task to redo the clean targets of Makefile.in

23 years ago* errno.cc (strerror): Change EAGAIN case to return "Resource temporarily
cgf [Mon, 6 Nov 2000 16:13:44 +0000 (16:13 +0000)]
* errno.cc (strerror): Change EAGAIN case to return "Resource temporarily
unavailable" instead of "No more processes".

23 years ago * libc/include/sys/types.h: Change type of i to `size_t' in
corinna [Mon, 6 Nov 2000 11:59:53 +0000 (11:59 +0000)]
    * libc/include/sys/types.h: Change type of i to `size_t' in
        FD_ZERO macro to avoid compiler warnings.

23 years agoFix compilation warnings as otherwise we fail the test.
amodra [Mon, 6 Nov 2000 10:07:06 +0000 (10:07 +0000)]
Fix compilation warnings as otherwise we fail the test.

23 years agoFix typo.
cgf [Mon, 6 Nov 2000 06:38:21 +0000 (06:38 +0000)]
Fix typo.

23 years ago* child_info.h (child_info): Add pppid_handle for closing the parent's of the
cgf [Mon, 6 Nov 2000 06:36:32 +0000 (06:36 +0000)]
* child_info.h (child_info): Add pppid_handle for closing the parent's of the
parent handle.
* dcrt0.cc (_dll_crt0): Close parent's parent handle when spawned or forked.
* debug.cc (add_handle): Correct erroneous reference to handle structure when
printing warning.
* exceptions.cc (interrupt_now): Always return 1.
(interrupt_on_return): Accept a sigthread argument.  Check to see if this
argument has been trashed prior to setting up the stack return.
(call_handler): Add a loop around attempts to dispatch signals to detect case
where interrupt_on_return fails.
(_sigdelayed): Set up a temporary frame pointer prior to calling stuff that
could trigger an interrupt or the stack walking code will be very confused.
* fork.cc (fork_parent): Move a lot of the setup of the child process into
proc_subproc.
* spawn.cc (spawn_guts): Ditto.  Use ppid_handle to contact logical parent when
reparenting.
* pinfo.h (_pinfo): Remember the logical handle of the parent process.
* sigproc.cc (proc_subproc): Record most stuff necessary for the _pinfo
structure that is inferrable from myself when adding children.
(wait_sig): Always set 'pending_signals' flag when about to kick off the signal
scanning loop.  Reset it only if there are no pending signals.

23 years agoProtoization.
kevinb [Mon, 6 Nov 2000 04:53:13 +0000 (04:53 +0000)]
Protoization.

23 years ago2000-11-05 David O'Brien <obrien@FreeBSD.org>
obrien [Sun, 5 Nov 2000 23:31:45 +0000 (23:31 +0000)]
2000-11-05  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Recognize alpha-*-freebsd*.
* configure: Regenerate.

I had this in my local tree for along time and had gotten approval for this
on Mon, 22 May 2000 15:45:01 -0700 but somehow managed to never commit it.

Approved by:  Nick Clifton <nickc@cygnus.com>
              Message-Id: <200005222245.PAA14600@elmo.cygnus.com>

23 years agoFix spelling error.
cgf [Sun, 5 Nov 2000 22:11:37 +0000 (22:11 +0000)]
Fix spelling error.

23 years agoAdd include of "dwarf2dbg.h"
nickc [Sun, 5 Nov 2000 19:28:56 +0000 (19:28 +0000)]
Add include of "dwarf2dbg.h"

23 years agoRemove extraneous whitepaces
nickc [Sun, 5 Nov 2000 19:18:34 +0000 (19:18 +0000)]
Remove extraneous whitepaces

23 years ago* pinfo (wait_subproc): Son of neverending debug tweaking.
cgf [Sun, 5 Nov 2000 18:47:28 +0000 (18:47 +0000)]
* pinfo (wait_subproc): Son of neverending debug tweaking.

23 years ago*** empty log message ***
nickc [Sun, 5 Nov 2000 17:14:08 +0000 (17:14 +0000)]
*** empty log message ***

23 years ago* pinfo (wait_subproc): Neverending debug tweaking.
cgf [Sun, 5 Nov 2000 16:47:00 +0000 (16:47 +0000)]
* pinfo (wait_subproc): Neverending debug tweaking.

23 years ago* pinfo.cc (winpids:add): New method.
cgf [Sun, 5 Nov 2000 06:42:23 +0000 (06:42 +0000)]
* pinfo.cc (winpids:add): New method.
(winpids::enumNT): New method renamed from EnumProcessesNT.  Use add method to
add elements to the lists.
(winpids::enum9x): New method renamed from EnumProcesses9x.  Use add method to
add elements to the lists.
(winpids::enum_init): Accept 'winpid' parameter to control whether to add all
windows pids to the list.
(winpids::release): New method.
* pinfo.h (winpids): Reflect above changes.
* signal.cc (kill_pgrp): Ditto.
* external.cc (fillout_pinfo): Ditto.

23 years ago* ldlex.l (yy_create_string_buffer): Init all structure fields.
amodra [Sun, 5 Nov 2000 06:27:14 +0000 (06:27 +0000)]
* ldlex.l (yy_create_string_buffer): Init all structure fields.

* Makefile.am (DISTCLEANFILES): Add stringify.sed.
Move 2000-11-02 Makefile.in changes to this file.

23 years ago* exceptions.cc (handle_sigsuspend): Record frame here for signalling.
cgf [Sun, 5 Nov 2000 03:08:39 +0000 (03:08 +0000)]
* exceptions.cc (handle_sigsuspend): Record frame here for signalling.
(set_process_mask): Ditto.

23 years ago* sigproc.cc (wait_subproc): Still more debugging cleanup.
cgf [Sat, 4 Nov 2000 19:25:54 +0000 (19:25 +0000)]
* sigproc.cc (wait_subproc): Still more debugging cleanup.

23 years ago * hashtab.c (htab_expand): Change to return int. Use calloc or
hp [Sat, 4 Nov 2000 07:54:27 +0000 (07:54 +0000)]
* hashtab.c (htab_expand): Change to return int.  Use calloc or
  xcalloc depending on htab->return_allocation_failure.  Return zero
  if calloc fails.
(htab_create): Update comment to cover memory allocation.
(htab_try_create): New.
(htab_find_slot_with_hash): Return NULL if htab_expand fails.
   Update comment to cover this.

23 years ago * hashtab.h (struct htab): Add member return_allocation_failure.
hp [Sat, 4 Nov 2000 07:48:51 +0000 (07:48 +0000)]
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype.  Mention which functions may
return NULL when this is used.

23 years ago* pinfo.cc (EnumProcessesNT): Avoid 0 pids.
cgf [Sat, 4 Nov 2000 05:54:56 +0000 (05:54 +0000)]
* pinfo.cc (EnumProcessesNT): Avoid 0 pids.
(EnumProcesses9x): Ditto.
* sigproc.cc (remove_childe): Eliminate.
(proc_subproc): Move remove_child stuff here.
(wait_subproc): Synchronize with proc_subproc when error occurs.  Add more
debugging info.
* sigproc.h (procstuff): Add an entry.
* spawn.cc (spawn_guts): Add sigframe here.

23 years ago* lib/Makefile.in: Install header files in w32api subdirectory.
cgf [Sat, 4 Nov 2000 02:51:36 +0000 (02:51 +0000)]
* lib/Makefile.in: Install header files in w32api subdirectory.

23 years ago* sigproc.cc (wait_subproc): Refine debug output.
cgf [Sat, 4 Nov 2000 01:08:23 +0000 (01:08 +0000)]
* sigproc.cc (wait_subproc): Refine debug output.

23 years agoProtoization.
kevinb [Sat, 4 Nov 2000 00:46:46 +0000 (00:46 +0000)]
Protoization.

23 years agoIn new_symbol(), relocate symbol address by base address of the section
kevinb [Fri, 3 Nov 2000 22:38:38 +0000 (22:38 +0000)]
In new_symbol(), relocate symbol address by base address of the section
it is in instead of using the base address of the .text section.

23 years ago* TODO: Note abstraction layer violation where "ocd reset" command
jtc [Fri, 3 Nov 2000 22:00:56 +0000 (22:00 +0000)]
* TODO: Note abstraction layer violation where "ocd reset" command
must invalidate the dcache, and how this might be fixed.

* monitor.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(monitor_open): Removed code that created local dcache.
(flush_monitor_dcache): Removed (unused function).
(monitor_resume): Removed call to dcache_invd().
(monitor_load): Likewise.
(monitor_xfer_memory): Changed to call monitor_write_memory(),
monitor_write_memory_block(), and monitor_read_memory() instead
of dcache_xfer_memory().
* monitor.h (flush_monitor_dcache): Removed (unused function).
* ocd.c (#include "dcache.h"): Removed.
(ocd_dcache): Removed.
(ocd_open): Removed code that created local dcache.
(ocd_resume): Removed call to dcache_invd().
(ocd_xfer_memory): Changed to call ocd_write_bytes() and
ocd_read_bytes() instead of dcache_xfer_memory().
(bdm_reset_command): Invalidate target dcache.
* remote-bug.c (bug_load): Remove call to dcache_invd().
(bug_resume): Likewise.
(bug_settings): Remove dcache, readfunc, and writefunc fields
from initializer.
(bug_xfer_memory): Changed to call bug_read_memory() and
bug_write_memory() instead of dcache_xfer_memory().
* remote-nindy.c (#include "dcache.h"): Removed.
(nindy_dcache): Removed.
(nindy_open): Removed code that created local dcache.
(nindy_resume): Removed call to dcache_invd().
(nindy_load): Likewise.
(nindy_xfer_inferior_memory): Changed to call ninMemPut() and
ninMemGet() instead of dcache_xfer_memory().
* remote-sds.c (#include "dcache.h"): Removed.
(sds_dcache): Removed.
(sds_open): Removed code that created local dcache.
(sds_resume): Removed call to dcache_invd().
(sds_xfer_memory): Changed to call sds_write_bytes() and
sds_read_bytes() instead of dcache_xfer_memory().
* remote-utils.c (gr_open): Removed code that created local dcache.
* remote-utils.h (#include "dcache.h"): Removed.
(struct gr_settings): Removed dcache, readfunc, and writefunc fields.
(gr_get_dcache, gr_set_dcache): Removed macro definitions.
* remote.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(remote_open_1): Removed code that created local dcache.
(remote_async_open_1): Likewise.
(remote_resume): Removed call to dcache_invd().
(remote_async_resume): Likewise.
(remote_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
* wince.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(child_create_inferior): Removed code that created local dcache.
(child_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
(child_resume): Removed call to dcache_invd().

* target.c (target_dcache): Added.
(target_load): Invalidate target_dcache.
(do_xfer_memory): New function.
(target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
(target_xfer_memory_partial): Likewise.
(initialize_targets): Create target_dcache.
* target.h (#include "dcache.h"): Added.
(target_open): Invalidate target_dcache.
(target_resume): Likewise.
(do_xfer_memory): New declaration.

* dcache.c (dcache_init): Removed reading and writing arguments.
(dcache_struct): Removed read_memory and write_memory fields.
(dcache_write_line): Call do_xfer_memory.
(dcache_read_line): Likewise.
(dcache_xfer_memory): Likewise.
(dcache_invalidate): Renamed from dcache_invd.
(dcache_init): Updated.
(dcache_xfer_memory): Updated.
* dcache.h (memxferfunc): Removed definition.

23 years ago * hashtab.c: Change void * to PTR where necessary.
hp [Fri, 3 Nov 2000 20:55:25 +0000 (20:55 +0000)]
* hashtab.c: Change void * to PTR where necessary.
(htab_create, htab_expand): Correct formatting of comment before
function.

23 years ago * hashtab.h: Change void * to PTR where necessary.
hp [Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)]
* hashtab.h: Change void * to PTR where necessary.

23 years agoUse ${CONSTRUCTING...} to enclose constructors and destructors.
nickc [Fri, 3 Nov 2000 19:49:04 +0000 (19:49 +0000)]
Use ${CONSTRUCTING...} to enclose constructors and destructors.

23 years ago * objfiles.c (objfile_relocate): Relocate ei.entry_point with
schauer [Fri, 3 Nov 2000 19:00:05 +0000 (19:00 +0000)]
* objfiles.c (objfile_relocate):  Relocate ei.entry_point with
its section offset, use SECT_OFF_TEXT only as a fallback.

23 years ago* pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an
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.

23 years agoFix readelf -S and readelf -s tests for MIPS and v850
nickc [Fri, 3 Nov 2000 01:59:12 +0000 (01:59 +0000)]
Fix readelf -S and readelf -s tests for MIPS and v850

23 years agoAdd --srec-len and --srec-forceS3 switches to objcopy
nickc [Fri, 3 Nov 2000 01:47:13 +0000 (01:47 +0000)]
Add --srec-len and --srec-forceS3 switches to objcopy

23 years agoAdd support for -storm-chaos
nickc [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos

23 years agoAdd support for *-storm-chaos target
nickc [Thu, 2 Nov 2000 23:03:21 +0000 (23:03 +0000)]
Add support for *-storm-chaos target

23 years agoPreserve copy of case clobber opcodes so that .req pseudo op works
nickc [Thu, 2 Nov 2000 19:32:47 +0000 (19:32 +0000)]
Preserve copy of case clobber opcodes so that .req pseudo op works

23 years agoSWitch over to using dwarf2_generate_asm_lineno
nickc [Thu, 2 Nov 2000 19:17:04 +0000 (19:17 +0000)]
SWitch over to using dwarf2_generate_asm_lineno

23 years ago2000-11-02 Theo Honohan <th@futuretv.com>
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.

23 years ago* ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h.
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.

23 years ago* pinfo.cc (EnumProcessesNT): New function. Eliminates dependence on psapi.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'.

23 years agoProtoization.
kevinb [Thu, 2 Nov 2000 03:18:48 +0000 (03:18 +0000)]
Protoization.

23 years ago* exceptions.cc (interruptible): Remove obsolete tests.
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.

23 years ago * kill.cc (main): Return 1 in case of errors.
corinna [Thu, 2 Nov 2000 01:03:00 +0000 (01:03 +0000)]
    * kill.cc (main): Return 1 in case of errors.

23 years agoFixed the partial implementation of the text wrapping option
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.

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

23 years ago2000-11-01 Dave Brolley <brolley@cygnus.com>
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.

23 years ago2000-11-01 Dave Brolley <brolley@cygnus.com>
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.