binutils-gdb.git
24 years agoAdd 'avr' to Makefile.am
Nick Clifton [Sun, 9 Apr 2000 20:25:17 +0000 (20:25 +0000)]
Add 'avr' to Makefile.am
Add M32R docs to as.texinfo

24 years agoRename gdbarch-utils.[hc] to arch-utils.[hc]
Andrew Cagney [Sun, 9 Apr 2000 14:37:28 +0000 (14:37 +0000)]
Rename gdbarch-utils.[hc] to arch-utils.[hc]

24 years agoRename gdbarch-utils.[hc] to arch-utils.[hc].
Andrew Cagney [Sun, 9 Apr 2000 14:35:35 +0000 (14:35 +0000)]
Rename gdbarch-utils.[hc] to arch-utils.[hc].

24 years agoFix printf botch.
Andrew Cagney [Sun, 9 Apr 2000 14:15:43 +0000 (14:15 +0000)]
Fix printf botch.

24 years ago2000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.c
Andrew Cagney [Sun, 9 Apr 2000 13:29:52 +0000 (13:29 +0000)]
2000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.c
(fetch_inferior_registers, store_inferior_registers): replace calls to
target_xfer_memory() with target_read_memory() and
target_write_memory().

24 years agoCompare VALUE_ADDRESS() return value with ZERO not NULL.
Andrew Cagney [Sun, 9 Apr 2000 13:02:10 +0000 (13:02 +0000)]
Compare VALUE_ADDRESS() return value with ZERO not NULL.

24 years agoRemove ``-W -Wall'' from top-level Makefile/configure.
Andrew Cagney [Sun, 9 Apr 2000 12:17:43 +0000 (12:17 +0000)]
Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it.  Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.

24 years ago* am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
Alexandre Oliva [Sun, 9 Apr 2000 09:04:54 +0000 (09:04 +0000)]
* am33.igen: Make SP-relative offsets unsigned.  Add `*am33' for
some instructions that were missing it.

24 years ago* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
Jim Blandy [Sat, 8 Apr 2000 22:35:35 +0000 (22:35 +0000)]
* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
Don't include "bfd-elf.h".
(address_significant_size): Delete variable.
(dwarf2_build_psymtabs_hard): Don't set it, or check for
consistency between it and the Dwarf 2 compilation unit header
address size.
(read_address): Don't mask off bits above
address_significant_size.
* Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
(elf_bfd_h): Remove variable; it's no longer used.

24 years ago*** empty log message ***
Jim Blandy [Sat, 8 Apr 2000 17:49:50 +0000 (17:49 +0000)]
*** empty log message ***

24 years ago* gdbint.texinfo (Using Different Register and Memory Data
Jim Blandy [Sat, 8 Apr 2000 17:49:31 +0000 (17:49 +0000)]
* gdbint.texinfo (Using Different Register and Memory Data
Representations): New section.
(REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE,
REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Document.

24 years agoFix copyright comments and file comments.
Timothy Wall [Sat, 8 Apr 2000 17:26:16 +0000 (17:26 +0000)]
Fix copyright comments and file comments.

24 years ago * configure.in (NEW_PROC_API): Escape square brackets when testing
Peter Schauer [Sat, 8 Apr 2000 11:13:17 +0000 (11:13 +0000)]
* configure.in (NEW_PROC_API):  Escape square brackets when testing
for solaris2.[678].
* configure:  Regenerate.

24 years ago* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
J.T. Conklin [Sat, 8 Apr 2000 05:10:43 +0000 (05:10 +0000)]
* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.

24 years agoFix dependency for elfarm-oabi.c
Nick Clifton [Sat, 8 Apr 2000 00:19:37 +0000 (00:19 +0000)]
Fix dependency for elfarm-oabi.c

24 years agoAdd support for BFD_RELOC_{ARM|THUMB}_PCREL_BLX relocs.
Nick Clifton [Sat, 8 Apr 2000 00:11:46 +0000 (00:11 +0000)]
Add support for BFD_RELOC_{ARM|THUMB}_PCREL_BLX relocs.

24 years agoAdd support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocs
Nick Clifton [Sat, 8 Apr 2000 00:10:49 +0000 (00:10 +0000)]
Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocs

24 years agoMerge arm-oabi.h into arm.h
Nick Clifton [Sat, 8 Apr 2000 00:09:26 +0000 (00:09 +0000)]
Merge arm-oabi.h into arm.h

24 years ago2000-04-07 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Fri, 7 Apr 2000 22:26:35 +0000 (22:26 +0000)]
2000-04-07  J.T. Conklin  <jtc@redback.com>

        * gdb.base/funcargs.exp: Relax patterns matching pointers to char.

24 years ago2000-04-07 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Fri, 7 Apr 2000 22:26:11 +0000 (22:26 +0000)]
2000-04-07  Scott Bambrough <scottb@netwinder.org>

* ChangeLog: Correct date on last entry.
* arm-linux-tdep.c (arm_linux_push_arguments): New function.
* config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
* config/arm/tm-embed: Fix build warning from redefinition of
LOWEST_PC.
* config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
* config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
TARGET_BYTE_ORDER.  Add TARGET_BYTE_ORDER_SELECTABLE_P to
override default in tm-arm.h.  Use default target byte order
from tm-arm.h.

24 years ago2000-04-05 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Fri, 7 Apr 2000 22:04:01 +0000 (22:04 +0000)]
2000-04-05  Scott Bambrough <scottb@netwinder.org>

* Makefile.in: Add dependency information for arm-linux-tdep.c.
* config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.

24 years ago2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 7 Apr 2000 20:27:29 +0000 (20:27 +0000)]
2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elfcore.h (elf_core_file_p): preserve value of tdata at entry,
        and restore it on failure.  Release newly allocated tdata on
        failure.

24 years agoFix linker segfault that occured when linking ia64-linux kernel.
Jim Wilson [Fri, 7 Apr 2000 18:36:04 +0000 (18:36 +0000)]
Fix linker segfault that occured when linking ia64-linux kernel.
* dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.
(decode_line_info): Set it.  Report error if unit->line_offset is
equal to or larger than it.

24 years ago * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
Peter Schauer [Fri, 7 Apr 2000 17:18:57 +0000 (17:18 +0000)]
* sol-thread.c (gdb_ps_addr_t):  New typedef, depends on definition
of PROC_SERVICE_IS_OLD.
(ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
rw_common):  Change argument type from psaddr_t to gdb_ps_addr_t.

24 years agoBFD and include/coff support for tic54x target.
Timothy Wall [Fri, 7 Apr 2000 17:06:58 +0000 (17:06 +0000)]
BFD and include/coff support for tic54x target.

24 years agoNote new "AT>" feature.
Timothy Wall [Fri, 7 Apr 2000 17:04:19 +0000 (17:04 +0000)]
Note new "AT>" feature.

24 years agoWhen GCC always enable certain warnings.
Andrew Cagney [Fri, 7 Apr 2000 08:57:39 +0000 (08:57 +0000)]
When GCC always enable certain warnings.
Allow configure to set CFLAGS (-g -O2) when GCC.

24 years agoA mostly cosmetic tidy up of warnings and error message reporting.
Alan Modra [Fri, 7 Apr 2000 04:34:50 +0000 (04:34 +0000)]
A mostly cosmetic tidy up of warnings and error message reporting.

24 years agoFrom 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
Andrew Cagney [Fri, 7 Apr 2000 04:33:21 +0000 (04:33 +0000)]
From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* procfs.c (init_procfs_ops):  Set procfs_ops.to_has_memory and
procfs_ops.to_has_all_memory to 1.

24 years ago2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 7 Apr 2000 03:59:23 +0000 (03:59 +0000)]
2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elfcore.h (elf_core_file_p): call backend_object_p which
        thereby gets an opportunity to update the arch/machine type.

24 years agoChangeLog for
Andrew Cagney [Fri, 7 Apr 2000 01:41:06 +0000 (01:41 +0000)]
ChangeLog for
/cvs/src/src/gdb/doc/gdb.texinfo,v  <--  gdb.texinfo
new revision: 1.13; previous revision: 1.12

24 years agoDeprecate sequence-id's.
Andrew Cagney [Fri, 7 Apr 2000 01:33:18 +0000 (01:33 +0000)]
Deprecate sequence-id's.

24 years ago * configure.in (_MSE_INT_H): Define on Solaris 7.
Nicholas Duffek [Fri, 7 Apr 2000 01:16:17 +0000 (01:16 +0000)]
* configure.in (_MSE_INT_H): Define on Solaris 7.
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
* acconfig.h (_MSE_INT_H): Define on Solaris 7.
* configure: Regenerate.
* config.in: Regenerate.

24 years ago * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Nicholas Duffek [Fri, 7 Apr 2000 01:14:10 +0000 (01:14 +0000)]
* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Change to rely on PIDGET etc.
* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
define.  Allow target to use procfs hardware watchpoints.
* config/sparc/nm-sun4sol2.h: ditto.
* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
definitions to use 16 bits for the pid, 15 bits for the tid, and
1 bit for the flag.
* config/sparc/tm-sun4sol2.h: ditto.
(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
for more than 15 thread increments.

24 years agoSEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).
Timothy Wall [Fri, 7 Apr 2000 00:58:07 +0000 (00:58 +0000)]
SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).

24 years ago * readelf.c (decode_location_expression): Loop through multiple
Jason Merrill [Fri, 7 Apr 2000 00:16:45 +0000 (00:16 +0000)]
    * readelf.c (decode_location_expression): Loop through multiple
        operations.
        (read_and_display_attr): Pass in length.

24 years ago * readelf.c (read_and_display_attr): Add CU offset to references.
Jason Merrill [Fri, 7 Apr 2000 00:15:00 +0000 (00:15 +0000)]
    * readelf.c (read_and_display_attr): Add CU offset to references.
        (display_debug_info): Pass it in.

24 years agoRemove spurious blank line
Nick Clifton [Thu, 6 Apr 2000 23:43:31 +0000 (23:43 +0000)]
Remove spurious blank line

24 years agoUpdate copyright notice
Nick Clifton [Thu, 6 Apr 2000 23:38:47 +0000 (23:38 +0000)]
Update copyright notice

24 years agoOnly check EF_xxx flags if the EABI version number is unknown.
Nick Clifton [Thu, 6 Apr 2000 23:32:19 +0000 (23:32 +0000)]
Only check EF_xxx flags if the EABI version number is unknown.

24 years agoDetect EM_AVR machine number
Nick Clifton [Thu, 6 Apr 2000 23:21:50 +0000 (23:21 +0000)]
Detect EM_AVR machine number

24 years agoAdd code to decode the e_flags field of an ARM ELF binary.
Nick Clifton [Thu, 6 Apr 2000 23:21:09 +0000 (23:21 +0000)]
Add code to decode the e_flags field of an ARM ELF binary.

24 years agoAdd definitions of flags in e_flags field from version A-08 of ARM ELF spec.
Nick Clifton [Thu, 6 Apr 2000 23:18:18 +0000 (23:18 +0000)]
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.

24 years ago * top.c (filename_completer): Set subsequent_name to 1 early on,
Eli Zaretskii [Thu, 6 Apr 2000 15:24:36 +0000 (15:24 +0000)]
* top.c (filename_completer): Set subsequent_name to 1 early on,
to prevent an infinite loop if the first file in the directory is
a backup file.

24 years ago * splay-tree.c (splay_tree_remove): New.
Richard Henderson [Thu, 6 Apr 2000 00:16:01 +0000 (00:16 +0000)]
    * splay-tree.c (splay_tree_remove): New.

24 years ago * splay-tree.h (splay_tree_remove): Declare.
Richard Henderson [Thu, 6 Apr 2000 00:15:35 +0000 (00:15 +0000)]
    * splay-tree.h (splay_tree_remove): Declare.

24 years ago* updating copyright dates ("1999" -> "1999, 2000")
Frank Ch. Eigler [Wed, 5 Apr 2000 22:31:29 +0000 (22:31 +0000)]
* updating copyright dates ("1999" -> "1999, 2000")

24 years agoopcodes:
Joern Rennecke [Wed, 5 Apr 2000 21:43:26 +0000 (21:43 +0000)]
opcodes:
* sh-opc.c (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
stc GBR,@-<REG_N> is available for arch_sh1_up.
Group parallel processing insn with identical mnemonics together.
Make three-operand psha / pshl come first.
gas:
* config/tc-sh.c (get_operands): There's no third operand if the
first operand is an immediate.

24 years agosh-dsp REPEAT support:
Joern Rennecke [Wed, 5 Apr 2000 21:23:05 +0000 (21:23 +0000)]
sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years ago* gprof.c (copyright): Do not use N_ in array initializer.
Alexandre Oliva [Wed, 5 Apr 2000 20:53:15 +0000 (20:53 +0000)]
* gprof.c (copyright): Do not use N_ in array initializer.

24 years ago*** empty log message ***
Jim Blandy [Wed, 5 Apr 2000 20:41:57 +0000 (20:41 +0000)]
*** empty log message ***

24 years ago* solib.c (update_solib_list): New function.
Jim Blandy [Wed, 5 Apr 2000 20:40:22 +0000 (20:40 +0000)]
* solib.c (update_solib_list): New function.
(solib_add): Call update_solib_list, and then read symbols.
(info_sharedlibrary_command): Call update_solib_list, not
solib_add.

24 years ago2000-04-05 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Wed, 5 Apr 2000 17:24:08 +0000 (17:24 +0000)]
2000-04-05  Scott Bambrough <scottb@netwinder.org>

* arm-linux-tdep.c: Resolve implicit function declarations by
including target.h and value.h.  Inclusion of symtab.h is
no longer needed.
* ChangeLog: Fix formatting of previous entry.

24 years agoUnable to build x86 hosted debugger for ARM Linux, due to missing target
Scott Bambrough [Wed, 5 Apr 2000 15:38:05 +0000 (15:38 +0000)]
Unable to build x86 hosted debugger for ARM Linux, due to missing target
dependencies.  Created ARM Linux specific arm-linux-tdep.c file and moved
missing code into it from arm-linux-nat.c.

2000-04-05  Scott Bambrough <scottb@netwinder.org>

* arm-linux-tdep.c: New file.
* arm-linux-nat.c (fetch_fpregs): Remove unused code.
  (arm_get_longjmp_target): Moved it and all defines
  it uses to arm-linux-tdep.c.
  (arm_linux_extract_return_value): Moved to
  arm-linux-tdep.c.
* config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.

24 years ago* config/tc-sparc.c (sparc_ip): Avoid string pasting.
Alexandre Oliva [Wed, 5 Apr 2000 09:38:43 +0000 (09:38 +0000)]
* config/tc-sparc.c (sparc_ip): Avoid string pasting.

24 years agoAdd --redefine-sym to objcopy.
Alan Modra [Wed, 5 Apr 2000 03:43:56 +0000 (03:43 +0000)]
Add --redefine-sym to objcopy.

24 years ago * infrun.c (handle_inferior_event): Call target_mourn_inferior
Nicholas Duffek [Wed, 5 Apr 2000 02:26:37 +0000 (02:26 +0000)]
* infrun.c (handle_inferior_event): Call target_mourn_inferior
instead of kill_target.

24 years ago2000-04-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 23:05:32 +0000 (23:05 +0000)]
2000-04-04  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_symbol_table): Correctly read in symbol
versioning information.

24 years ago * internals.texi (CPU backend): Document
Hans-Peter Nilsson [Tue, 4 Apr 2000 20:39:36 +0000 (20:39 +0000)]
* internals.texi (CPU backend): Document
TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.

24 years agoMove translated part of bug report string back into .c files so
Alan Modra [Tue, 4 Apr 2000 14:32:35 +0000 (14:32 +0000)]
Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.

24 years agoUse "gcc -MM" for dependencies, and update them.
Alan Modra [Tue, 4 Apr 2000 10:53:56 +0000 (10:53 +0000)]
Use "gcc -MM" for dependencies, and update them.

24 years agoUpdate todo
Daniel Berlin [Tue, 4 Apr 2000 05:13:44 +0000 (05:13 +0000)]
Update todo

24 years agoC++ changes for 5.0, finally committed.
Daniel Berlin [Tue, 4 Apr 2000 04:53:50 +0000 (04:53 +0000)]
C++ changes for 5.0, finally committed.

24 years agoStop GCC thinking a shift will overflow.
Andrew Cagney [Tue, 4 Apr 2000 04:16:48 +0000 (04:16 +0000)]
Stop GCC thinking a shift will overflow.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 02:11:36 +0000 (02:11 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* TODO: Remove the regex entry.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 02:08:52 +0000 (02:08 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
is defined and <regex.h> otherwise.

        * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* monitor.c: Likewise.
* osfsolib.c: Likewise.
* solib.c: Likewise.
* source.c: Likewise.
* symtab.c: Likewise.

* Makefile.in (REGEX): Changed to @REGEX@.
(REGEX_CFLAGS): New.
(REGEX1): Removed.
(ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
(INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).

* configure.in (--with-included-regex): New switch.
(REGEX): New. Subsstitue @REGEX@ in Makefile.in.
(REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
* configure: Regenerated.

24 years agoMention new PowerPC GNU/Linux native configuration.
Kevin Buettner [Mon, 3 Apr 2000 22:10:45 +0000 (22:10 +0000)]
Mention new PowerPC GNU/Linux native configuration.

24 years agoAIX 4.3 changes
Kevin Buettner [Mon, 3 Apr 2000 21:48:31 +0000 (21:48 +0000)]
AIX 4.3 changes

24 years ago2000-04-03 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Mon, 3 Apr 2000 21:33:21 +0000 (21:33 +0000)]
2000-04-03  J.T. Conklin  <jtc@redback.com>

        * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.

24 years ago* config/tc-mn10300.c (md_pseudo_table): Use constant names.
Alexandre Oliva [Mon, 3 Apr 2000 20:20:26 +0000 (20:20 +0000)]
* config/tc-mn10300.c (md_pseudo_table): Use constant names.
(md_begin): Likewise.
(HAVE_AM33): New macro.
(md_assemble): Use it.  Match r_regs and xr_regs only if
HAVE_AM33.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Mon, 3 Apr 2000 19:19:11 +0000 (19:19 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* cache.c (bfd_open_file): Unlink the output file only if
it has none zero size.

24 years agoIA-64 changes for linux threads
Kevin Buettner [Mon, 3 Apr 2000 19:10:50 +0000 (19:10 +0000)]
IA-64 changes for linux threads

24 years agoIA-64 changes
Kevin Buettner [Mon, 3 Apr 2000 18:58:48 +0000 (18:58 +0000)]
IA-64 changes

24 years ago*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:50:12 +0000 (17:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:49:40 +0000 (17:49 +0000)]
*** empty log message ***

24 years ago* solib.c (solib_add): Move all the code for loading symbol tables
Jim Blandy [Mon, 3 Apr 2000 17:45:17 +0000 (17:45 +0000)]
* solib.c (solib_add): Move all the code for loading symbol tables
below the code to sort out additions and removals.  That way, we
always catch all loaded shared libraries whose symbols we haven't
grabbed yet.

* solib.c (solib_add): Don't try to free a shared object's objfile
if it doesn't have one.  Duh.

* solib.c (solib_add): If a pattern was given, but it doesn't
match any currently loaded shared libraries, print a message;
don't just be silent.

24 years ago2000-04-03 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 3 Apr 2000 17:17:36 +0000 (17:17 +0000)]
2000-04-03  H.J. Lu  (hjl@gnu.org)

* size.c (usage): Use REPORT_BUGS_TO.

24 years ago * annotate.texi (Frame Annotations): Fix a cross-reference.
Eli Zaretskii [Mon, 3 Apr 2000 16:11:07 +0000 (16:11 +0000)]
* annotate.texi (Frame Annotations): Fix a cross-reference.

24 years ago * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
Eli Zaretskii [Mon, 3 Apr 2000 15:27:42 +0000 (15:27 +0000)]
* go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
two-dimensional array instead of faking it with index
arithmetics.

24 years ago * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
Eli Zaretskii [Mon, 3 Apr 2000 15:24:17 +0000 (15:24 +0000)]
* config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.

* config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
definition (and use the common one in tm-i386.h).
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
(I386_DJGPP_TARGET): Don't define, it's no longer required.
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
i386-tdep.c defines it for all x86 targets.
(LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.

* config/djgpp/fnchange.lst: Add i386-linux-tdep.c.

* config/djgpp/djcheck.sh: Edit the copyright year out of the test
results.  Fix editing of `main' arguments for non-GNU Sed.

24 years agoFix a typo (comtaining -> containing).
Eli Zaretskii [Mon, 3 Apr 2000 15:17:37 +0000 (15:17 +0000)]
Fix a typo (comtaining -> containing).

24 years ago * symfile.c (map_overlay_command, unmap_overlay_command): Fix
Eli Zaretskii [Mon, 3 Apr 2000 15:16:13 +0000 (15:16 +0000)]
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.

24 years ago * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
Eli Zaretskii [Mon, 3 Apr 2000 15:12:59 +0000 (15:12 +0000)]
* Makefile.in (copying.c): Depend on copying.txt, not COPYING.
(copying.txt): New target, a link to COPYING.

24 years agoTidy some code. Print pc rel addresses as signed.
Alan Modra [Mon, 3 Apr 2000 14:17:43 +0000 (14:17 +0000)]
Tidy some code.  Print pc rel addresses as signed.

24 years agoMove bug report string to one place.
Alan Modra [Mon, 3 Apr 2000 14:10:05 +0000 (14:10 +0000)]
Move bug report string to one place.

24 years agoNEWS file update
Daniel Berlin [Mon, 3 Apr 2000 13:24:08 +0000 (13:24 +0000)]
NEWS file update

24 years agoDon't emit relative relocations for non-loaded sections in shared objects.
Alan Modra [Mon, 3 Apr 2000 12:42:18 +0000 (12:42 +0000)]
Don't emit relative relocations for non-loaded sections in shared objects.
Fix for DWARF-2 sections .debug_info and .debug_line.

24 years agoAdd 16-bit immediate tests.
Alan Modra [Mon, 3 Apr 2000 12:20:55 +0000 (12:20 +0000)]
Add 16-bit immediate tests.

24 years ago * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
Hans-Peter Nilsson [Mon, 3 Apr 2000 12:05:31 +0000 (12:05 +0000)]
* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
adjustments.

24 years ago * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:44:45 +0000 (11:44 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
BFD_RELOC_16 to switch for extended relocs.
(MY_swap_ext_reloc_in): New.
(MY_swap_ext_reloc_out): New.
(NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
than NAME(aout,swap_ext_reloc_in) for extended relocs.
(NAME(aout,squirt_out_relocs)): Similarly use
MY_swap_ext_reloc_out.
(aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.

24 years ago * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:29:28 +0000 (11:29 +0000)]
* aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.

24 years agoCorrect 2000-02-26 change.
Alan Modra [Mon, 3 Apr 2000 11:19:51 +0000 (11:19 +0000)]
Correct 2000-02-26 change.

24 years agoUpdate removing anything fixed.
Andrew Cagney [Mon, 3 Apr 2000 08:47:48 +0000 (08:47 +0000)]
Update removing anything fixed.

24 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
Jeff Law [Mon, 3 Apr 2000 06:55:06 +0000 (06:55 +0000)]
    * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
        the R_PCRWORD_B case.

24 years agoRevert white space changes. Need way of stopping this happening.
Andrew Cagney [Mon, 3 Apr 2000 06:52:38 +0000 (06:52 +0000)]
Revert white space changes.  Need way of stopping this happening.

24 years agoRe-indent (almost). Several cases where indent was getting it wrong
Andrew Cagney [Mon, 3 Apr 2000 05:30:13 +0000 (05:30 +0000)]
Re-indent (almost).  Several cases where indent was getting it wrong
were omitted.

24 years agoDelete add_minsym_to_demangled_hash_table from symtabs.h. Static function.
Andrew Cagney [Mon, 3 Apr 2000 04:47:27 +0000 (04:47 +0000)]
Delete add_minsym_to_demangled_hash_table from symtabs.h.  Static function.

24 years agoRe-indent gdb-events.h, gdb-events.c using gdb-events.sh.
Andrew Cagney [Mon, 3 Apr 2000 04:43:26 +0000 (04:43 +0000)]
Re-indent gdb-events.h, gdb-events.c using gdb-events.sh.

24 years ago * gdbtypes.c (safe_parse_type): New wrapper function to ignore
Nicholas Duffek [Mon, 3 Apr 2000 03:39:09 +0000 (03:39 +0000)]
* gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type().
(check_stub_method): Call safe_parse_type instead of
parse_and_eval_type().
* wrapper.c (gdb_parse_and_eval_type): New wrapper function.
(wrap_parse_and_eval_type): New support function.
* wrapper.h (gdb_parse_and_eval_type): Prototype.
(wrap_parse_and_eval_type): Prototype.

24 years agoUpdate winsup stuff.
Christopher Faylor [Mon, 3 Apr 2000 01:26:01 +0000 (01:26 +0000)]
Update winsup stuff.