H.J. Lu [Sat, 3 Jun 2000 22:33:09 +0000 (22:33 +0000)]
2000-06-03 H.J. Lu <hjl@gnu.org>
* read.c (is_end_of_line): Put back `;'.
Alan Modra [Sat, 3 Jun 2000 13:06:33 +0000 (13:06 +0000)]
Update md_shortopts to what we actually handle.
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.
David O'Brien [Fri, 2 Jun 2000 18:55:04 +0000 (18:55 +0000)]
* strings.c (isgraphic): Interpret <TAB> as a printable character,
analogous to <SPACE>.
Approved by: Nick Clifton <nickc@cygnus.com>
<
200005222243.PAA14590@elmo.cygnus.com>
Nick Clifton [Fri, 2 Jun 2000 18:09:28 +0000 (18:09 +0000)]
Fix formatting
Alan Modra [Fri, 2 Jun 2000 02:52:10 +0000 (02:52 +0000)]
is_end_of_line fixes.
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.
Scott Bambrough [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.
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.
-------------------------------------------------------------------
Nick Clifton [Thu, 1 Jun 2000 00:11:31 +0000 (00:11 +0000)]
undo repvious delta
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.
Alan Modra [Tue, 30 May 2000 07:47:56 +0000 (07:47 +0000)]
Fix my inept 2000-05-24 change.
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.
Nick Clifton [Mon, 29 May 2000 22:05:27 +0000 (22:05 +0000)]
Fix compile time warning messages.
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 20:25:14 +0000 (20:25 +0000)]
Minor formatting tweak to make synchronisation easier.
Nick Clifton [Mon, 29 May 2000 20:10:32 +0000 (20:10 +0000)]
Update copyright dates
Nick Clifton [Mon, 29 May 2000 20:04:54 +0000 (20:04 +0000)]
Do not run test sfor c54x
Nick Clifton [Mon, 29 May 2000 19:56:44 +0000 (19:56 +0000)]
Remove RCS date string in order to make synchronisation easier.
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:48:26 +0000 (18:48 +0000)]
2000-05-29 Philip Blundell <philb@gnu.org>
* doc/as.texinfo: (Local Labels): Delete misplaced mention of ARM.
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 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.
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.
Alan Modra [Sun, 28 May 2000 23:30:29 +0000 (23:30 +0000)]
Use BFD's _. ie. dgettext ("gprof", ..) vs. gettext (..)
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.
Alexandre Oliva [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.
Denis Chertykov [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().
Alan Modra [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.
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.
Nick Clifton [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 Delorie [Fri, 26 May 2000 18:46:47 +0000 (18:46 +0000)]
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
Alan Modra [Fri, 26 May 2000 14:14:21 +0000 (14:14 +0000)]
Update dependencies.
Alan Modra [Fri, 26 May 2000 13:16:03 +0000 (13:16 +0000)]
missed this in the last commit.
Alan Modra [Fri, 26 May 2000 13:11:57 +0000 (13:11 +0000)]
Eli Zaretskii's DOSish file name patches.
Alexandre Oliva [Fri, 26 May 2000 12:50:58 +0000 (12:50 +0000)]
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
Alan Modra [Fri, 26 May 2000 07:32:26 +0000 (07:32 +0000)]
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
Jakub Jelinek [Fri, 26 May 2000 06:45:55 +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 Jelinek [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 Jelinek [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.
Andrew Cagney [Fri, 26 May 2000 06:15:49 +0000 (06:15 +0000)]
Fix bitrot in tui-file.c.
Andrew Cagney [Fri, 26 May 2000 04:11:34 +0000 (04:11 +0000)]
Configure TUI to use <ncurses.h> when available.
Alexandre Oliva [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.
Donald Lindsay [Thu, 25 May 2000 22:35:05 +0000 (22:35 +0000)]
New short-conditional-branch packing rules for D10V.
Donald Lindsay [Thu, 25 May 2000 22:23:45 +0000 (22:23 +0000)]
Define the ALONE flag bit, for use in the opcode table.
Donald Lindsay [Thu, 25 May 2000 22:21:38 +0000 (22:21 +0000)]
Add ALONE flag to most of the short branch instructions.
Scott Bambrough [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.
Mark 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.
Eli Zaretskii [Thu, 25 May 2000 13:55:48 +0000 (13:55 +0000)]
* ser-go32.c: Remove PARAMS.
Andrew Cagney [Thu, 25 May 2000 06:49:01 +0000 (06:49 +0000)]
Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".
Andrew Cagney [Thu, 25 May 2000 04:44:33 +0000 (04:44 +0000)]
Re-generate config.in.
Andrew Cagney [Thu, 25 May 2000 03:57:48 +0000 (03:57 +0000)]
File rename tweeks.
Alan Modra [Thu, 25 May 2000 02:05:08 +0000 (02:05 +0000)]
Ensure bfd_close after bfd_openw so we don't get multiple bfd_openw
calls for same file.
Jim Wilson [Thu, 25 May 2000 02:00:14 +0000 (02:00 +0000)]
IA-64 unwind info changes, fix errors, add missing pieces, and some cleanup.
* config/tc-ia64.c (dot_restorereg_p): New function.
(md_pseudo_table): Add restorereg.p.
...
Andrew Cagney [Thu, 25 May 2000 01:50:50 +0000 (01:50 +0000)]
Have TUI use the same configury mechanism as MI.
Andrew Cagney [Thu, 25 May 2000 01:07:17 +0000 (01:07 +0000)]
Update JimI's e-mail addres.
Update TODO - FreeBSD mostly fixed.
Hans-Peter Nilsson [Thu, 25 May 2000 00:39:59 +0000 (00:39 +0000)]
Delete pass on manually added dependency for readelf.o for new target
Mark Kettenis [Wed, 24 May 2000 22:32:58 +0000 (22:32 +0000)]
Add support for FreeBSD/i386 ELF.
* i386bsd-nat.c: New file.
* config/i386/tm-fbsd.h (HAVE_I387_REGS): Define.
Include "i386/tm-i386.h" instead of "i386/tm-i386b.h".
(NUM_REGS): Remove redefinition.
(USE_STRUCT_CONVENTION): Define.
(i386_float_info): Remove prototype.
(FLOAT_INFO): Remove define.
(JB_ELEMENT_SIZE): Define to 4.
(JB_PC): Define to 0.
(GET_LONGJMP_TARGET): Define.
(SIGTRAMP_START, SIGTRAMP_END): Define.
(SIGCONTEXT_PC_OFFSET): Define.
(IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS
* config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t.
(FETCH_INFERIOR_REGISTERS): Define.
(ATTACH_DETACH): Define.
(kernel_u_size): Remove PARAMS.
(register_u_addr): Use CORE_ADDR in prototype where appropriate.
Remove PARAMS.
(SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]:
Define.
[SVR4_SHARED_LIBS]: Include "elf/common.h".
Only define aliases for struct members from <link.h> if
!SVR4_SHARED_LIBS.
* config/i386/xm-fbsd.h: New file.
* config/i386/fbsd.mt (TDEPFILES): Remove solib.o.
* config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add
core-regset.o i387-nat.o i386bsd-nat.o.