OSDN Git Service
Andrew Cagney [Tue, 6 Jun 2000 06:19:57 +0000 (06:19 +0000)]
Delete TARGET_MONITOR_PROMPT.
Daniel Berlin [Tue, 6 Jun 2000 00:38:10 +0000 (00:38 +0000)]
Revert an accidental commit
Michael Snyder [Tue, 6 Jun 2000 00:08:01 +0000 (00:08 +0000)]
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
elfcore_grok_psinfo): Add code to allow debugging a 32-bit
corefile on a 64-bit (Sparc Solaris) host. Also clean up
a few old comments.
Daniel Berlin [Mon, 5 Jun 2000 20:49:53 +0000 (20:49 +0000)]
C++ improvements
Daniel Berlin [Mon, 5 Jun 2000 20:47:28 +0000 (20:47 +0000)]
New tests, fix old tests, make more tests work
H.J. Lu [Mon, 5 Jun 2000 20:46:21 +0000 (20:46 +0000)]
2000-06-05 H.J. Lu <hjl@gnu.org>
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
an error when seeing an undefined symbol with hidden/internal
attribute. It is handled in *_relocate_section ().
Mark Kettenis [Mon, 5 Jun 2000 18:59:40 +0000 (18:59 +0000)]
* acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
Renamed from HAVE_R_FS.
(HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
* configure, config.in: Regenerated.
H.J. Lu [Mon, 5 Jun 2000 18:15:35 +0000 (18:15 +0000)]
Remove the `/* Fall through. */' comment in elf_link_output_extsym ()
for the indirect symbol.
H.J. Lu [Mon, 5 Jun 2000 17:21:32 +0000 (17:21 +0000)]
2000-06-05 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_fix_symbol_flags): Follow the link for the
indirect symbol for the ELF_LINK_NON_ELF bit.
(elf_link_output_extsym): Don't output the indirect symbol even
if the ELF_LINK_NON_ELF bit is set.
Andrew Cagney [Mon, 5 Jun 2000 05:20:58 +0000 (05:20 +0000)]
More updates.
Andrew Cagney [Sun, 4 Jun 2000 13:46:37 +0000 (13:46 +0000)]
Add host_pointer_to_address() and address_to_host_pointer(). Add
signed_pointer_to_address() etc. Rename generic_pointer_to_address()
to unsigned_pointer_to_address() etc.
Andrew Cagney [Sun, 4 Jun 2000 01:58:49 +0000 (01:58 +0000)]
Eliminate safe_strsignal().
Kevin Buettner [Sun, 4 Jun 2000 00:41:10 +0000 (00:41 +0000)]
Eliminate PARAMS from function pointer declarations.
Christopher Faylor [Sun, 4 Jun 2000 00:28:17 +0000 (00:28 +0000)]
* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushed
before deleting and restoring it.
(safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning
it.
(handle_load_dll): Split into two functions so that WFI can handle shared
library events.
(child_solib_loaded_library_pathname): New function.
(child_clear_solibs): New function. Clears shared library list.
(child_solib_add): New function. Adds shared library symbols.
(dll_symbol_command): New function. Handles "dll-symbol" command.
(info_dll_command): New function. Handles info "sharedlibrary" command.
(handle_exceptions): Eliminate 'ignore_trap' argument.
(get_child_debug_event): Eliminate two arguments. Return "pid" when
appropriate. Break out on most events to allow WFI to handle stuff.
(child_wait): Accomodate get_child_debug_event changes.
(child_attach): Clear thread list and list of loaded dlls.
(child_create_inferior): Clear list of loaded dlls. Use wait_for_inferior in a
loop to look for first "trap".
(child_resume): Avoid accessing a possibly-freed thread pointer.
(_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
dll", and "info sharedlibrary" commands.
* config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
Christopher Faylor [Sat, 3 Jun 2000 05:04:14 +0000 (05:04 +0000)]
* win32-nat.c: Fix up gcc warnings throughout.
(handle_load_dll): Change DLL name to lower case.
(handle_exception): Add a second argument indicating whether a breakpoint
should be ignored. Return a 0 if the breakpoint was ignored.
(get_child_debug_event): Pass argument to handle_exception to control whether a
breakpoint should be ignored.
(child_create_inferior): Use modern cygwin API. Explicitly clear last_sig.
Pass FIRST_EXCEPTION to get_child_debug_event for detection of first
breakpoint.
* configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change.
* configure: Regenerate.
Christopher Faylor [Sat, 3 Jun 2000 03:27:30 +0000 (03:27 +0000)]
* configure.in: Detect correct versions of ranlib and windres when
cross-compiling.
* configure: Regenerate.
Alan Modra [Sat, 3 Jun 2000 01:57:29 +0000 (01:57 +0000)]
Fix name clash
J.T. Conklin [Fri, 2 Jun 2000 23:15:28 +0000 (23:15 +0000)]
* configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
* config/i386/nbsdelf.mt: New file.
* config/i386/tm-nbsdelf.h: New file.
* config/i386/tm-nbsd.h: change include of tm-nbsd.h to
the more explicit config/tm-nbsd.h.
Mark Kettenis [Fri, 2 Jun 2000 19:04:51 +0000 (19:04 +0000)]
* alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
register number when used as index into fpr_regs array.
Nick Clifton [Fri, 2 Jun 2000 18:09:28 +0000 (18:09 +0000)]
Fix formatting
Andrew Cagney [Fri, 2 Jun 2000 01:59:13 +0000 (01:59 +0000)]
Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
Mark Kettenis [Thu, 1 Jun 2000 22:29:37 +0000 (22:29 +0000)]
* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.
Michael Snyder [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.
J.T. Conklin [Thu, 1 Jun 2000 22:06:18 +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.
Nick Clifton [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
Andrew Cagney [Thu, 1 Jun 2000 10:26:00 +0000 (10:26 +0000)]
More updates.
Andrew Cagney [Thu, 1 Jun 2000 10:09:30 +0000 (10:09 +0000)]
* trad-core.c: From hpux-core.c, include <dirent.h> or
<sys/ndir.h> when possible.
J.T. Conklin [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.
-------------------------------------------------------------------
Mark 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.
Mark 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.
Kevin Buettner [Wed, 31 May 2000 21:26:48 +0000 (21:26 +0000)]
Revert PARAMS removal.
Mark Kettenis [Wed, 31 May 2000 20:54:55 +0000 (20:54 +0000)]
* configure.host, configure.tgt (alpha*-*-freebsd*): New entry.
Mark 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.
Nick Clifton [Wed, 31 May 2000 18:32:07 +0000 (18:32 +0000)]
Add comment describoing why dgettext() is used in _() macro.
Ulrich Drepper [Wed, 31 May 2000 17:27:56 +0000 (17:27 +0000)]
Update.
Ulrich 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.
Michael Snyder [Wed, 31 May 2000 15:33:42 +0000 (15:33 +0000)]
Forgotten ChangeLog entry from an earlier commit.
Andrew Cagney [Wed, 31 May 2000 10:55:00 +0000 (10:55 +0000)]
Add field ``name'' to floatformat.
Pierre Muller [Wed, 31 May 2000 10:26:46 +0000 (10:26 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' list
Andrew 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.
Alan Modra [Wed, 31 May 2000 09:00:00 +0000 (09:00 +0000)]
(elf_hppa_final_link_relocate) Fix handling of branches.
Nick Clifton [Tue, 30 May 2000 21:31:56 +0000 (21:31 +0000)]
Accept 80960* machine names (as generated by ieee.c)
Jeff Law [Tue, 30 May 2000 21:08:32 +0000 (21:08 +0000)]
* Makefile.in (objalloc.o): Depend on config.h
Klee Dienes [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.
Nick Clifton [Tue, 30 May 2000 21:04:24 +0000 (21:04 +0000)]
Undo part of previous delta, so that _() calls dgettext() not gettext().
H.J. Lu [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.
Nick Clifton [Tue, 30 May 2000 18:36:57 +0000 (18:36 +0000)]
Remove illegal instruciton pattern, since it is the same as the breakpoint
pattern.
Nick Clifton [Tue, 30 May 2000 18:35:35 +0000 (18:35 +0000)]
Replace defines with those from intl/libgettext.h to quieten gcc warnings.
Nick Clifton [Tue, 30 May 2000 17:13:37 +0000 (17:13 +0000)]
Add support for v4 SystemMode.
Andrew 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
Andrew Cagney [Tue, 30 May 2000 08:52:57 +0000 (08:52 +0000)]
Further re-arange into distinct sections.
Andrew 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.
Andrew Cagney [Tue, 30 May 2000 00:03:57 +0000 (00:03 +0000)]
Move/rename GDB_GREGSET_T definitions for solaris 2.
Zack Weinberg [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.
Nick Clifton [Mon, 29 May 2000 19:38:39 +0000 (19:38 +0000)]
Define GPR_CLEAR
Nick Clifton [Mon, 29 May 2000 19:35:50 +0000 (19:35 +0000)]
fix spelling mistake in comment
Nick Clifton [Mon, 29 May 2000 19:34:13 +0000 (19:34 +0000)]
Remove RCS tags to make synchronisation easier.
Nick Clifton [Mon, 29 May 2000 19:28:53 +0000 (19:28 +0000)]
Use GPR_CLEAR instead of GPR_SET
Nick Clifton [Mon, 29 May 2000 19:26:48 +0000 (19:26 +0000)]
replace GPR_SET with GPR_CLEAR
Nick Clifton [Mon, 29 May 2000 19:05:41 +0000 (19:05 +0000)]
minor formatting tweaks to aid syncronisation
Phil Blundell [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.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file format.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file targets.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file hash.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file syms.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file opncls.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file libbfd.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file linker.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file reloc.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file section.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file init.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file configure.info was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file configure.info-1 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file configure.info-3 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file configure.info-2 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:52 +0000 (14:08 +0000)]
file standards.info was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file archures.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file elfcode.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-1 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-4 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-7 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file aoutx.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file core.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file cache.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-2 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file elf.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-5 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-6 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file archive.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info-3 was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfd.info was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file coffcode.texi was initially added on branch binutils-2_10-branch.
Phil Blundell [Mon, 29 May 2000 14:08:51 +0000 (14:08 +0000)]
file bfdt.texi was initially added on branch binutils-2_10-branch.
Andrew 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.
Alan Modra [Mon, 29 May 2000 05:16:19 +0000 (05:16 +0000)]
(_bfd_elf_link_hash_table_init): Initialize dynlocal.
Nick Clifton [Sun, 28 May 2000 19:25:07 +0000 (19:25 +0000)]
Include year 2000 in copyright message
Nick Clifton [Sun, 28 May 2000 19:22:12 +0000 (19:22 +0000)]
Fix capitialisation of setnaces in comment.
Kevin Buettner [Sun, 28 May 2000 16:26:17 +0000 (16:26 +0000)]
Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.
Kevin Buettner [Sun, 28 May 2000 01:12:42 +0000 (01:12 +0000)]
PARAMS removal.
Michael Snyder [Fri, 26 May 2000 23:22:41 +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.