OSDN Git Service
msnyder [Thu, 1 Jun 2000 22:19:03 +0000 (22:19 +0000)]
2000-06-01 Michael Snyder <msnyder@seadog.cygnus.com>
* sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's
thread_db library) may cause this function to be called with an
illegal address, in which case procfs_to_xfer_memory will
return zero. Return an error code instead of looping forever.
jtc [Thu, 1 Jun 2000 22:06:15 +0000 (22:06 +0000)]
* config.bfd (i[3456]86-*-netbsdelf*): New target.
(i[3456]86-*-netbsdaout*): New target.
(i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
(i[3456]86-*-openbsd*): Likewise.
scottb [Thu, 1 Jun 2000 19:07:54 +0000 (19:07 +0000)]
The ARM assembler is not assembling the following instruction
correctly.
mrs lr, spsr
The string pointer is advanced to far before the check to set
the SPSR bit.
Thu Jun 01 2000 Scott Bambrough <scottb@netwinder.org>
* config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
nickc [Thu, 1 Jun 2000 18:19:59 +0000 (18:19 +0000)]
Applied patch from Kazu Hirata <kazu@hxi.com> to fix disassembly of inc.l
and dec.l instructions
cagney [Thu, 1 Jun 2000 10:25:59 +0000 (10:25 +0000)]
More updates.
cagney [Thu, 1 Jun 2000 10:09:29 +0000 (10:09 +0000)]
* trad-core.c: From hpux-core.c, include <dirent.h> or
<sys/ndir.h> when possible.
cgf [Thu, 1 Jun 2000 05:57:53 +0000 (05:57 +0000)]
* exceptions.cc: Remove unneeded include.
* dcrt0.cc: Wrap LoadDLLfunc stuff in dummy function.
* init.cc: Ditto.
* uinfo.cc: Ditto.
cgf [Thu, 1 Jun 2000 05:41:21 +0000 (05:41 +0000)]
* autoload.h: Put each info block in its own dummy static function.
jtc [Thu, 1 Jun 2000 04:13:36 +0000 (04:13 +0000)]
* configure.host: Add patterns for i[3456]86-*-netbsdaout*
and i[3456]86-*-netbsdelf*.
* config/i386/nm-nbsdelf.h: New file.
* config/i386/nbsdelf.mh: New file.
* config/i386/nm-nbsd.h: change include of nm-nbsd.h to
the more explicit config/nm-nbsd.h.
* config/i386/tm-nbsd.h: change include of tm-i386bsd.h to
tm-i386.h.
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define.
-------------------------------------------------------------------
nickc [Thu, 1 Jun 2000 00:11:30 +0000 (00:11 +0000)]
undo repvious delta
kettenis [Wed, 31 May 2000 23:27:44 +0000 (23:27 +0000)]
* NEWS: Mention FreeBSD/Alpha and FreeBSD/i386 3.x and up as new
native configurations.
kettenis [Wed, 31 May 2000 23:14:19 +0000 (23:14 +0000)]
* i386bsd-nat.c: Include "gregset.h".
(CANNOT_STORE_REGISTER): Define to cannot_fetch_register instead
of CANNOT_FETCH_REGISTER, if not already defined.
(supply_gregset): Call supply_register with NULL as its second
argument instead of supplying our own zeroed out buffer.
(fill_gregset): Copy contents of correct registers instead of the
contents of register REGNO.
kevinb [Wed, 31 May 2000 21:26:47 +0000 (21:26 +0000)]
Revert PARAMS removal.
kettenis [Wed, 31 May 2000 20:54:55 +0000 (20:54 +0000)]
* configure.host, configure.tgt (alpha*-*-freebsd*): New entry.
kettenis [Wed, 31 May 2000 20:26:46 +0000 (20:26 +0000)]
Add support for FreeBSD/Alpha.
* alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt,
config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h,
config/alpha/xm-fbsd.h: New files.
nickc [Wed, 31 May 2000 18:32:06 +0000 (18:32 +0000)]
Add comment describoing why dgettext() is used in _() macro.
dj [Wed, 31 May 2000 18:04:00 +0000 (18:04 +0000)]
* include/cygwin/version.h: use decimal, NOT octal
drepper [Wed, 31 May 2000 17:27:56 +0000 (17:27 +0000)]
Update.
drepper [Wed, 31 May 2000 17:27:51 +0000 (17:27 +0000)]
(_bfd_elf_slurp_version_tables): Correct reading of version
definitions. We must not assume they are sorted in the file
according to their index numbers.
msnyder [Wed, 31 May 2000 15:33:42 +0000 (15:33 +0000)]
Forgotten ChangeLog entry from an earlier commit.
davidsb [Wed, 31 May 2000 15:19:47 +0000 (15:19 +0000)]
Remove broken targets readme.info, faq.info
(at least until we know what to do with them)
corinna [Wed, 31 May 2000 14:43:23 +0000 (14:43 +0000)]
* fhandler.cc (fhandler_disk_file::open): Check for executable
even if ntsec is on if filesystem doesn't support ACLs.
corinna [Wed, 31 May 2000 12:32:59 +0000 (12:32 +0000)]
* dcrt0.cc: Use LoadDLLfuncEx for loading Crypto API functions
with parameter `notimp' set to 1.
cagney [Wed, 31 May 2000 10:54:59 +0000 (10:54 +0000)]
Add field ``name'' to floatformat.
muller [Wed, 31 May 2000 10:26:46 +0000 (10:26 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' list
cagney [Wed, 31 May 2000 10:18:58 +0000 (10:18 +0000)]
Import texinfo.tex from texinfo-4.0.
Add support for ``make pdf'' to the gdb/doc directory using pdftex.
amodra [Wed, 31 May 2000 08:59:59 +0000 (08:59 +0000)]
(elf_hppa_final_link_relocate) Fix handling of branches.
nickc [Tue, 30 May 2000 21:31:56 +0000 (21:31 +0000)]
Accept 80960* machine names (as generated by ieee.c)
cgf [Tue, 30 May 2000 21:24:49 +0000 (21:24 +0000)]
* path.cc (mount_info::conv_to_win32_path): Previous patch was too aggressive
in adding a trailing slash.
law [Tue, 30 May 2000 21:08:32 +0000 (21:08 +0000)]
* Makefile.in (objalloc.o): Depend on config.h
kdienes [Tue, 30 May 2000 21:06:42 +0000 (21:06 +0000)]
Add MAINTAINERS entries for Mac OS X / Objective-C code to be contributed by Apple.
nickc [Tue, 30 May 2000 21:04:24 +0000 (21:04 +0000)]
Undo part of previous delta, so that _() calls dgettext() not gettext().
hjl [Tue, 30 May 2000 20:51:36 +0000 (20:51 +0000)]
2000-05-30 H.J. Lu <hjl@gnu.org>
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
visibility bits if the symbol is undefined. Correctly handle
weak undefined symbols with hidden and internal attributes.
* elflink.h (elf_link_add_object_symbols): Always turn the
symbol into local if it has the hidden or internal attribute.
nickc [Tue, 30 May 2000 18:36:57 +0000 (18:36 +0000)]
Remove illegal instruciton pattern, since it is the same as the breakpoint
pattern.
nickc [Tue, 30 May 2000 18:35:31 +0000 (18:35 +0000)]
Replace defines with those from intl/libgettext.h to quieten gcc warnings.
cgf [Tue, 30 May 2000 17:18:05 +0000 (17:18 +0000)]
* libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
* libc/include/malloc.h: Ditto.
* libc/include/process.h: Ditto.
* libc/include/stdio.h: Ditto.
* libc/include/stdlib.h: Ditto.
* libc/include/time.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/errno.h: Ditto.
* libc/include/sys/signal.h: Ditto.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/time.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/include/string.h: Ditto. strsignal should return a const char *.
nickc [Tue, 30 May 2000 17:13:37 +0000 (17:13 +0000)]
Add support for v4 SystemMode.
cgf [Tue, 30 May 2000 13:45:20 +0000 (13:45 +0000)]
Needed for previous changes.
cagney [Tue, 30 May 2000 09:08:59 +0000 (09:08 +0000)]
* config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000.
* config.guess: Import CVS version 1.148 Tue May 30 09:00:06 2000
cagney [Tue, 30 May 2000 08:52:57 +0000 (08:52 +0000)]
Further re-arange into distinct sections.
amodra [Tue, 30 May 2000 07:47:55 +0000 (07:47 +0000)]
Fix my inept 2000-05-24 change.
cagney [Tue, 30 May 2000 01:29:26 +0000 (01:29 +0000)]
* gdbarch.sh: Add field ``postdefault''. Rename fields
``startup'' and ``default'' to ``staticdefault'' and
``predefault''. Fix initialization of valid_p. Create/compare
gdbarch.log.
cgf [Tue, 30 May 2000 00:38:51 +0000 (00:38 +0000)]
* Makefile.in: Remove libadvapi32.a.
* autoload.h: Add additional field to autoload block for handling unimplemented
functions.
(LoadDLLfuncEx): New function which accepts additional parameter for
controlling unimplemented function behavior.
(LoadDLLfunc): Use LoadDLLfuncEx.
* dcrt0.cc: Use new arguments for LoadDLLfunc. Add advapi32 routines.
(noload): Rewrite in assembler. Handle new unimplemented function type.
* exceptions.cc: Eliminate another vestige of StackWalk stuff.
* net.cc: Use new arguments for LoadDLLfunc.
* uinfo.cc: Ditto.
* config.h.in: Remove obsolete define.
* path.h (isdrive): New macro.
* dcrt0.cc (globify): Use new macro to determine if a string refers to an
MS-DOS drive.
* environ.cc (winenv): Ditto.
* spawn.cc (find_exec): Ditto.
* path.cc (get_raw_device_number): Ditto.
(mount_info::conv_to_posix_path): Ditto.
(chdir): Ditto.
(cygwin_posix_path_list_p): Ditto.
(cygwin_split_path): Ditto.
(path_conv::check): Move tmp_buf to beginning of function since it can be used
earlier in the loop. Use tmp_buf rather than 'root' to hold root information.
(mount_info::conv_to_win32_path): Add trailing slash to end of mount path when
it translates to a drive. Add defensive code to avoid writing beyond the end
of 'dst'.
cagney [Tue, 30 May 2000 00:03:56 +0000 (00:03 +0000)]
Move/rename GDB_GREGSET_T definitions for solaris 2.
nickc [Mon, 29 May 2000 22:05:27 +0000 (22:05 +0000)]
Fix compile time warning messages.
zack [Mon, 29 May 2000 20:45:32 +0000 (20:45 +0000)]
* hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
* objalloc.c: Include config.h. Include stdlib.h and don't
declare malloc or free if HAVE_STDLIB_H.
* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
else declare malloc without prototype. Include string.h if
HAVE_STRING_H, else declare memset without prototype. Don't
include stddef.h.
* sort.c: Bring over from GCC.
nickc [Mon, 29 May 2000 20:25:14 +0000 (20:25 +0000)]
Minor formatting tweak to make synchronisation easier.
nickc [Mon, 29 May 2000 20:10:32 +0000 (20:10 +0000)]
Update copyright dates
nickc [Mon, 29 May 2000 20:04:54 +0000 (20:04 +0000)]
Do not run test sfor c54x
nickc [Mon, 29 May 2000 19:56:44 +0000 (19:56 +0000)]
Remove RCS date string in order to make synchronisation easier.
nickc [Mon, 29 May 2000 19:38:39 +0000 (19:38 +0000)]
Define GPR_CLEAR
nickc [Mon, 29 May 2000 19:35:50 +0000 (19:35 +0000)]
fix spelling mistake in comment
nickc [Mon, 29 May 2000 19:34:13 +0000 (19:34 +0000)]
Remove RCS tags to make synchronisation easier.
nickc [Mon, 29 May 2000 19:28:53 +0000 (19:28 +0000)]
Use GPR_CLEAR instead of GPR_SET
nickc [Mon, 29 May 2000 19:26:48 +0000 (19:26 +0000)]
replace GPR_SET with GPR_CLEAR
nickc [Mon, 29 May 2000 19:05:41 +0000 (19:05 +0000)]
minor formatting tweaks to aid syncronisation
nickc [Mon, 29 May 2000 19:02:56 +0000 (19:02 +0000)]
minor formatting tweaks to aid syncronisation
pb [Mon, 29 May 2000 18:48:25 +0000 (18:48 +0000)]
2000-05-29 Philip Blundell <philb@gnu.org>
* doc/as.texinfo: (Local Labels): Delete misplaced mention of ARM.
pb [Mon, 29 May 2000 18:20:07 +0000 (18:20 +0000)]
2000-05-29 Philip Blundell <philb@gnu.org>
* ppcboot.c: Add packed attribute if compiling with GCC.
pb [Mon, 29 May 2000 18:18:42 +0000 (18:18 +0000)]
2000-05-29 Philip Blundell <philb@gnu.org>
* doc/as.texinfo: Update copyright dates.
* NEWS: Mention ARM ELF support.
cagney [Mon, 29 May 2000 13:18:15 +0000 (13:18 +0000)]
Purge symtab of make_cleanup_func.
Pass correct arg to make_cleanup_free_search_symbols.
amodra [Mon, 29 May 2000 05:16:19 +0000 (05:16 +0000)]
(_bfd_elf_link_hash_table_init): Initialize dynlocal.
amodra [Sun, 28 May 2000 23:30:29 +0000 (23:30 +0000)]
Use BFD's _. ie. dgettext ("gprof", ..) vs. gettext (..)
nickc [Sun, 28 May 2000 19:25:07 +0000 (19:25 +0000)]
Include year 2000 in copyright message
nickc [Sun, 28 May 2000 19:24:21 +0000 (19:24 +0000)]
Include year 2000 in copyright message
nickc [Sun, 28 May 2000 19:22:12 +0000 (19:22 +0000)]
Fix capitialisation of setnaces in comment.
kevinb [Sun, 28 May 2000 16:26:17 +0000 (16:26 +0000)]
Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.
kevinb [Sun, 28 May 2000 01:12:25 +0000 (01:12 +0000)]
PARAMS removal.
aoliva [Sat, 27 May 2000 21:40:22 +0000 (21:40 +0000)]
* config/tc-mn10300.c (md_assemble): Copy size to real_size before
it is modified, and use the real_size to compute the frag address
for dwarf2 line info.
denisc [Sat, 27 May 2000 15:36:58 +0000 (15:36 +0000)]
* emulparams/avr1200.sh (STACK): Define as 0.
* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
* emulparams/avr4433.sh (STACK): Likewise.
* emulparams/avr44x4.sh (STACK): Likewise.
* emulparams/avr85xx.sh (STACK): Likewise.
* emulparams/avrmega103.sh (STACK): Likewise.
* emulparams/avrmega161.sh (STACK): Likewise.
* emulparams/avrmega603.sh (STACK): Likewise.
* scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
(__stack): Define from ${STACK} for main().
corinna [Sat, 27 May 2000 14:00:20 +0000 (14:00 +0000)]
* fhandler_random.cc (read): Use CRYPT_MACHINE_KEYSET in
call to CryptAcquireContext() to serve users that did not
log in interactively.
corinna [Sat, 27 May 2000 13:59:33 +0000 (13:59 +0000)]
* include/wincrypt.h: Add missing CRYPT_MACHINE_KEYSET define.
amodra [Sat, 27 May 2000 13:41:11 +0000 (13:41 +0000)]
Fix "make dep-in" and "make dep"
Previous rules had problems due to automake moving variables around.
msnyder [Fri, 26 May 2000 23:22:40 +0000 (23:22 +0000)]
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
* gregset.h: New file. Typedefs for gdb_gregset_t and
gdb_fpregset_t, prototypes for supply_gregset and friends.
* procfs.c: Include gregset.h. Delete local prototypes for
supply_gregset etc., and local typedef gdb_gregset_t etc.
* sol-thread.c: Include gregset.h, delete local prototypes,
add appropriate casts to gdb_gregset_t.
* uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
arm-linux-nat.c, alpha-nat.c: Include gregset.h.
* config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T.
* config/sparc/tm-sun4sol2.h: Ditto.
jjohnstn [Fri, 26 May 2000 22:42:38 +0000 (22:42 +0000)]
2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
* libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
* libm/common/s_log1p.c (log1p): Likewise.
* libm/common/s_scalbn.c (scalbn): Likewise.
* libm/math/e_log.c: Likewise.
* libm/math/e_asin.c: Likewise.
* libm/math/ef_asin.c: Likewise.
* libm/math/e_j0.c (pzero, qzero): Remove redundant test.
* libm/math/e_j1.c (pone, qone): Likewise.
* libm/math/ef_j0.c (pzerof, qzerof): Likewise.
* libm/math/ef_j1.c (ponef, qonef): Likewise.
* libm/mathfp/e_j0.c (pzero, qzero): Likewise.
* libm/mathfp/e_j1.c (pone, qone): Likewise.
* libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
* libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
nickc [Fri, 26 May 2000 21:11:33 +0000 (21:11 +0000)]
When calling getopt_long indicate that the 'd' switch takes an optional
argument, whereas the 'D' switch takes no argument at all.
dj [Fri, 26 May 2000 18:46:47 +0000 (18:46 +0000)]
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
amodra [Fri, 26 May 2000 14:14:20 +0000 (14:14 +0000)]
Update dependencies.
amodra [Fri, 26 May 2000 13:16:03 +0000 (13:16 +0000)]
missed this in the last commit.
amodra [Fri, 26 May 2000 13:11:55 +0000 (13:11 +0000)]
Eli Zaretskii's DOSish file name patches.
aoliva [Fri, 26 May 2000 12:50:58 +0000 (12:50 +0000)]
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
corinna [Fri, 26 May 2000 09:17:08 +0000 (09:17 +0000)]
* errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE.
amodra [Fri, 26 May 2000 07:32:26 +0000 (07:32 +0000)]
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
jakub [Fri, 26 May 2000 06:45:54 +0000 (06:45 +0000)]
* config/tc-sparc.c (sparc_relax): New.
(md_longopts): Add -relax and -no-relax options.
(md_parse_options, md_show_usage): Likewise.
(md_apply_fix3): Optimize tail call into branch always if possible.
jakub [Fri, 26 May 2000 06:41:33 +0000 (06:41 +0000)]
* elf64-sparc.c (sparc64_elf_relax_section): New.
(sparc64_elf_relocate_section): Optimize tail call into branch always
if possible.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
(elf32_sparc_relax_section): New.
jakub [Fri, 26 May 2000 06:39:51 +0000 (06:39 +0000)]
* elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
Remove unusued variables.
(sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
(sparc64_elf_merge_private_bfd_data): Fix shared library case from
previous fix, so that shared libs really don't influence targets
extension mask and memory model.
cgf [Fri, 26 May 2000 06:24:58 +0000 (06:24 +0000)]
* sigproc.h (sigframe::set): Accept a default frame pointer.
* sigproc.cc (sig_send): Use passed in frame pointer, if appropriate.
cagney [Fri, 26 May 2000 06:15:49 +0000 (06:15 +0000)]
Fix bitrot in tui-file.c.
cagney [Fri, 26 May 2000 04:11:33 +0000 (04:11 +0000)]
Configure TUI to use <ncurses.h> when available.
aoliva [Fri, 26 May 2000 01:54:33 +0000 (01:54 +0000)]
* m10300-dis.c (disassemble): Don't assume 32-bit longs when
sign-extending operands.
cgf [Thu, 25 May 2000 22:39:48 +0000 (22:39 +0000)]
* configure.in: Don't assume that cinstall directory exists.
dlindsay [Thu, 25 May 2000 22:35:05 +0000 (22:35 +0000)]
New short-conditional-branch packing rules for D10V.
cgf [Thu, 25 May 2000 22:28:43 +0000 (22:28 +0000)]
* configure.in: Don't assume that cinstall directory exists.
dlindsay [Thu, 25 May 2000 22:23:45 +0000 (22:23 +0000)]
Define the ALONE flag bit, for use in the opcode table.
dlindsay [Thu, 25 May 2000 22:21:38 +0000 (22:21 +0000)]
Add ALONE flag to most of the short branch instructions.
cgf [Thu, 25 May 2000 21:45:04 +0000 (21:45 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.
cgf [Thu, 25 May 2000 21:02:28 +0000 (21:02 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered
by path_conv.
cgf [Thu, 25 May 2000 19:48:45 +0000 (19:48 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.
scottb [Thu, 25 May 2000 18:24:33 +0000 (18:24 +0000)]
Replace SKIP_SOLIB_RESOLVER stub with something that works.
2000-05-25 Scott Bambrough <scottb@netwinder.org>
* arm-linux-tdep.c (find_minsym_and_objfile): New.
(skip_hurd_resolver): New.
(arm_linux_skip_solib_resolver): New.
(arm_skip_solib_resolver): Removed.
* config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use
arm_linux_skip_solib_resolver.
kettenis [Thu, 25 May 2000 17:18:01 +0000 (17:18 +0000)]
* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
* configure.in: Add checks for r_fs and r_gs members of
`struct reg'.
* config.in, configure: Regenerated.