OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

23 years ago2000-11-01 Ben Elliston <bje@redhat.com>
bje [Wed, 1 Nov 2000 11:56:53 +0000 (11:56 +0000)]
2000-11-01  Ben Elliston  <bje@redhat.com>

* sim-test.scm (cgen-build.sh): Include "-*- Asm -*-" in test cases.

23 years ago2000-10-31 Philip Blundell <philb@gnu.org>
pb [Wed, 1 Nov 2000 07:20:03 +0000 (07:20 +0000)]
2000-10-31  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.

23 years ago * CONTRIBUTIONS: New file.
earnie [Wed, 1 Nov 2000 01:22:08 +0000 (01:22 +0000)]
* CONTRIBUTIONS: New file.
* README: Change the maintained by header.
* TODO: Add a note about checking the TODO.

23 years ago2000-10-31 Eric Christopher <echristo@cygnus.com>
echristo [Wed, 1 Nov 2000 00:54:00 +0000 (00:54 +0000)]
2000-10-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
or pc-relative, else use fx_offset.

23 years ago * include/basetyps.h: add comment for GUID_DEFINED
earnie [Wed, 1 Nov 2000 00:37:23 +0000 (00:37 +0000)]
* include/basetyps.h: add comment for GUID_DEFINED
* include/lm.h: add includes for lmerr.h and lmserver.h
* include/lmcons.h: add W2K typedefs LMSTR, LMCSTR
* include/lmerr.h:  add error codes
* include/lmserver.h: replace LPTSTR with LPWSTR,
LPTCSTR with LPWCSTR in structures and prototypes
* include/lmshare.h: ditto
* include/lmuse.h: ditto
* include/lmstats.h: ditto
* include/oleauto.h: add function prototype SystemTimeToVariantTime
* include/winbase.h: change first argument of CommConfigDialog to const
* include/windowsx.h: add macros  defining FAR versions of
mem and string functions for porting from Win16 code
* include/winioctl.h:  added IOCTL_STORAGE defines
* include/winnetwk.h:  added WNNC_NET flags
* include/winnt.h: add include of <basetsd.h>;
add structs; add pointer typedefs  for TOKEN structs
* include/winsock.h: add guard around BSD-ish typedefs
* include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros
* include/basetsd.h: new file
* include/raserror.h: ditto
* include/rassapi.h: ditto
* include/ras.h: ditto
comment from Earnie: replaced original ras.h contribution with Danny's
contribution as it is more complete.
* include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__

23 years agoAdd Eric Christopher as maintainer for MN10300
nickc [Wed, 1 Nov 2000 00:37:12 +0000 (00:37 +0000)]
Add Eric Christopher as maintainer for MN10300

23 years agoAdd tag support. Error for dangling qualifying predicates.
wilson [Wed, 1 Nov 2000 00:00:34 +0000 (00:00 +0000)]
Add tag support.  Error for dangling qualifying predicates.
* config/tc-ia64.c (struct md): New field tag_fixups.
(ia64_flush_insns): Handle tag_fixups.  Error if dangling
qualifying predicate.
(emit_one_bundle): Delete spurious multiplication by one.  Handle
tag_fixups.
(ia64_start_line): Error if dangling qualifying predicate.
(defining_tag): New static variable.
(ia64_unrecognized_line, case '['): Parse tags.
(ia64_frob_label): Create tag_fixups.
(md_assemble): Reset md.qp.X_op after using it.

23 years ago2000-10-31 Ben Elliston <bje@redhat.com>
bje [Tue, 31 Oct 2000 23:50:09 +0000 (23:50 +0000)]
2000-10-31  Ben Elliston  <bje@redhat.com>

* gas-test.scm (cgen-build.sh): Allow the generated script to run
with no command line arguments if the gas build directory can be
determined.

23 years ago* path.h (has_exec_chars): Standard function for checking for executable magic
cgf [Tue, 31 Oct 2000 23:14:29 +0000 (23:14 +0000)]
* path.h (has_exec_chars): Standard function for checking for executable magic
numbers.
* path.cc (symlink_info::check): Use the above function.
* fhandler.cc (fhandler_disk_file::open): Ditto.

23 years ago* path.cc (_readlink): Return ENOENT when file does not exist.
cgf [Tue, 31 Oct 2000 23:01:20 +0000 (23:01 +0000)]
* path.cc (_readlink): Return ENOENT when file does not exist.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23 years ago* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
cgf [Sat, 28 Oct 2000 05:39:38 +0000 (05:39 +0000)]
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
with g++.  Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.

23 years agoCleanup formatting on some files. Remove excessive whitespace.
cgf [Sat, 28 Oct 2000 05:00:00 +0000 (05:00 +0000)]
Cleanup formatting on some files.  Remove excessive whitespace.

23 years ago* strace.cc (main): Add a '-b' option.
cgf [Sat, 28 Oct 2000 00:21:41 +0000 (00:21 +0000)]
* strace.cc (main): Add a '-b' option.

23 years ago2000-10-27 Syd Polk <spolk@redhat.com>
spolk [Fri, 27 Oct 2000 23:39:06 +0000 (23:39 +0000)]
2000-10-27  Syd Polk  <spolk@redhat.com>

* itk/win/Makefile.in: Install itk dll when installing libraries.

23 years ago2000-10-27 Philip Blundell <philb@gnu.org>
pb [Fri, 27 Oct 2000 22:24:51 +0000 (22:24 +0000)]
2000-10-27  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise.  Print an error
message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
all mismatches, not just the first one.

23 years ago* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
jtc [Fri, 27 Oct 2000 19:17:56 +0000 (19:17 +0000)]
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.

* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

23 years agoAdd m68hc12 to list of supported configurations
nickc [Fri, 27 Oct 2000 18:57:33 +0000 (18:57 +0000)]
Add m68hc12 to list of supported configurations

23 years ago * autoload.cc: New file keeping all autoload stuff.
corinna [Fri, 27 Oct 2000 18:53:55 +0000 (18:53 +0000)]
    * autoload.cc: New file keeping all autoload stuff.
        * Makefile.in: Add autoload.o to dependencies.
        * dcrt0.cc: Move all autoload stuff to autoload.cc.
        * fhandler_mem.cc: Ditto.
        * net.cc: Ditto.
        * uinfo.cc: Ditto.

23 years ago* sigproc.cc (wait_sig): Add braces to avoid confusion.
cgf [Fri, 27 Oct 2000 15:38:32 +0000 (15:38 +0000)]
* sigproc.cc (wait_sig): Add braces to avoid confusion.

23 years agoCorrected spelling errors in comments.
davea [Fri, 27 Oct 2000 15:02:41 +0000 (15:02 +0000)]
Corrected spelling errors in comments.
gdbarch.{c,sh} removed a word from a comment.

23 years agohandle lower cased cpsr and spsr
aldyh [Fri, 27 Oct 2000 13:55:49 +0000 (13:55 +0000)]
handle lower cased cpsr and spsr