binutils-gdb.git
21 years ago2003-01-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 2 Jan 2003 14:36:48 +0000 (14:36 +0000)]
2003-01-02  Andrew Cagney  <ac131313@redhat.com>

* stabs.texinfo: Remove obsolete text.
* gdbint.texinfo: Ditto.
* gdb.texinfo: Ditto.

21 years ago2003-01-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 2 Jan 2003 14:27:27 +0000 (14:27 +0000)]
2003-01-02  Andrew Cagney  <ac131313@redhat.com>

* valarith.c (value_binop): Delete obsolete code and comments.
* configure.host: Ditto.
* buildsym.h (make_blockvector): Ditto.
* buildsym.c (make_blockvector): Ditto.
* defs.h (enum language): Ditto.
(chill_demangle): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
(set_cu_language): Ditto.
(handle_producer): Ditto.
* expprint.c (print_subexp): Ditto.
* gdbtypes.c (chill_varying_type): Ditto.
* gdbtypes.h (builtin_type_chill_bool): Ditto.
(builtin_type_chill_char, builtin_type_chill_long): Ditto.
(builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
(chill_varying_type): Ditto.
* language.h (_LANG_chill): Ditto.
* language.c (binop_result_type, integral_type): Ditto.
(character_type, string_type, structured_type): Ditto.
(lang_bool_type, binop_type_check): Ditto.
* stabsread.h (os9k_stabs): Ditto.
* stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
(define_symbol, read_type, read_struct_fields): Ditto.
(read_array_type, read_enum_type, read_huge_number): Ditto.
(read_range_type, start_stabs): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* symtab.c (symbol_init_language_specific): Ditto.
(symbol_init_demangled_name, symbol_demangled_name): Ditto.
* symtab.h (struct general_symbol_info): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* typeprint.c (typedef_print): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* valops.c (value_cast, search_struct_field, value_slice): Delete
obsolete code.
(varying_to_slice): Delete function.
* value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
(varying_to_slice): Delete declaration.
* MAINTAINERS: Update.

21 years ago* configure.in: Reorganize "Checks for library functions section"
Mark Kettenis [Thu, 2 Jan 2003 11:45:34 +0000 (11:45 +0000)]
* configure.in: Reorganize "Checks for library functions section"
a bit.  Remove check for `btowc' and `isascii' functions.
* configure: Regenerated.

21 years agoRework IP2k linker relxation.
Nick Clifton [Thu, 2 Jan 2003 11:26:17 +0000 (11:26 +0000)]
Rework IP2k linker relxation.

21 years ago* acconfig.h (_MSE_INT_H): Remove.
Mark Kettenis [Thu, 2 Jan 2003 11:14:33 +0000 (11:14 +0000)]
* acconfig.h (_MSE_INT_H): Remove.
* configure.in: Create "Checks for header files" section, and move
appropriate tests there.  Don't check for objlist.h, wchar.h,
wctype.h and asm/debugreg.h.  Rewrite Solaris 2.[78] <curses.h>
misdetection fix.  Also add "Checks for types", "Checks for
compiler characteristics" and "Checks for library functions"
sections.
* config.in, configure: Regenerated.

21 years agoAdd do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.
Nick Clifton [Thu, 2 Jan 2003 10:26:41 +0000 (10:26 +0000)]
Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.

21 years ago * ldfile.c: Fix comment typos.
Kazu Hirata [Thu, 2 Jan 2003 03:53:53 +0000 (03:53 +0000)]
* ldfile.c: Fix comment typos.
* ldlang.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.

21 years ago * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
Daniel Jacobowitz [Thu, 2 Jan 2003 01:20:26 +0000 (01:20 +0000)]
* doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
$(CPU_DOCS)".
* doc/Makefile.in: Regenerate.

21 years ago* configure.in: Create "Checks for programs" section, and move
Mark Kettenis [Thu, 2 Jan 2003 00:51:28 +0000 (00:51 +0000)]
* configure.in: Create "Checks for programs" section, and move
appropriate tests there.

21 years ago * src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.
Daniel Jacobowitz [Thu, 2 Jan 2003 00:50:57 +0000 (00:50 +0000)]
* src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.

21 years ago Suggested by Manfred Hollstein <manfred.h@gmx.net>:
Daniel Jacobowitz [Thu, 2 Jan 2003 00:47:44 +0000 (00:47 +0000)]
Suggested by Manfred Hollstein <manfred.h@gmx.net>:
* Makefile.am (ld.1): Depend on configdoc.texi
and ldver.texi.
* Makefile.in: Regenerated.

21 years ago*** empty log message ***
gdbadmin [Thu, 2 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.in: Create "Checks for libraries" section, and move
Mark Kettenis [Wed, 1 Jan 2003 23:50:46 +0000 (23:50 +0000)]
* configure.in: Create "Checks for libraries" section, and move
appropriate tests there.  Cleanup check for wctype in libw.  Use
AC_SEARCH_LIBS to see whether we need libsocket.
* configure: Regenerated.

21 years agodaily update
Alan Modra [Wed, 1 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * config/obj-elf.c (special_sections): Work around HP's incorrect usage
Dave Anglin [Wed, 1 Jan 2003 16:56:34 +0000 (16:56 +0000)]
    * config/obj-elf.c (special_sections): Work around HP's incorrect usage
        of .init and .fini sections for array initializers and finalizers.

21 years ago2002-12-31 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 1 Jan 2003 01:06:13 +0000 (01:06 +0000)]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Move "di" into the
        right order alphabetically, and make all hex constants use
        lower-case letters.

21 years ago*** empty log message ***
gdbadmin [Wed, 1 Jan 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 31 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.in: Rebuilt.
Tom Tromey [Tue, 31 Dec 2002 22:51:53 +0000 (22:51 +0000)]
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.

21 years ago2002-12-31 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 31 Dec 2002 21:31:32 +0000 (21:31 +0000)]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (check_branch_bug, mark_branch_bug): Remove.
        * mips.igen: Remove all invocations of check_branch_bug and
        mark_branch_bug.

21 years ago * configure.in: Fix use of $program_transform_name.
Andreas Schwab [Tue, 31 Dec 2002 18:00:11 +0000 (18:00 +0000)]
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.

21 years ago* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.
Mark Kettenis [Tue, 31 Dec 2002 13:05:02 +0000 (13:05 +0000)]
* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.
* config.in, configure: Regenerated.

21 years ago* gdb_dirent.h: Cleanup and update code to match the example in
Mark Kettenis [Tue, 31 Dec 2002 12:41:00 +0000 (12:41 +0000)]
* gdb_dirent.h: Cleanup and update code to match the example in
the Autoconf manual.
* configure.in: Call AC_HEADER_DIRENT.  Remove dirent.h,
sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS.
* configure: Regenerated.

21 years ago[ gas/ChangeLog ]
Chris Demetriou [Tue, 31 Dec 2002 08:11:18 +0000 (08:11 +0000)]
[ gas/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
the "+D" operand, which will be used only by the disassembler.

[ gas/testsuite/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/cp0sel-names-mips32.d: New test.
* gas/mips/cp0sel-names-mips32r2.d: New test.
* gas/mips/cp0sel-names-mips64.d: New test.
* gas/mips/cp0sel-names-numeric.d: New test.
* gas/mips/cp0sel-names-sb1.d: New test.
* gas/mips/cp0sel-names.s: New test source file.
* gas/mips/mips.exp: Run new tests.

[ include/opcode/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* mips.h: Note that the "+D" operand type name is now used.

[ opcodes/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* mips-dis.c (mips_cp0sel_name): New structure.
(mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2)
(mips_cp0sel_names_sb1): New arrays.
(mips_arch_choice): New structure members "cp0sel_names" and
"cp0sel_names_len".
(mips_arch_choices): Add references to new cp0sel_names arrays
as appropriate, and make all existing entries reference
appropriate mips_XXX_names_numeric arrays rather than simply
using NULL.
(mips_cp0sel_names, mips_cp0sel_names_len): New variables.
(lookup_mips_cp0sel_name): New function.
(set_default_mips_dis_options): Set mips_cp0sel_names and
mips_cp0sel_names_len as appropriate.  Remove now-unnecessary
checks for NULL register name arrays.
(parse_mips_dis_option): Likewise.
(print_insn_arg): Handle "+D" operand type.
* mips-opc.c (mips_builtin_opcodes): Add new "+D" variants
of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register
names symbolically.

21 years ago[ gas/testsuite/ChangeLog ]
Chris Demetriou [Tue, 31 Dec 2002 07:42:20 +0000 (07:42 +0000)]
[ gas/testsuite/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/elf_arch_mips1.d: New test.
* gas/mips/elf_arch_mips2.d: New test.
* gas/mips/elf_arch_mips3.d: New test.
* gas/mips/elf_arch_mips4.d: New test.
* gas/mips/elf_arch_mips5.d: New test.
* gas/mips/elf_arch_mips32.d: New test.
* gas/mips/elf_arch_mips32r2.d: New test.
* gas/mips/elf_arch_mips64.d: New test.
* gas/mips/empty.s: New test source file.
* gas/mips/mips.exp: Run new tests.

* gas/mips/elf_ase_mips16.d: Change to use empty.s
* gas/mips/elf_ase_mips16.s: Remove.

21 years agooops - omitted from previous delta
Nick Clifton [Tue, 31 Dec 2002 07:40:56 +0000 (07:40 +0000)]
oops - omitted from previous delta

21 years agofix date on last entry. *sigh*
Chris Demetriou [Tue, 31 Dec 2002 07:35:09 +0000 (07:35 +0000)]
fix date on last entry.  *sigh*

21 years ago[ bfd/ChangeLog ]
Chris Demetriou [Tue, 31 Dec 2002 07:29:29 +0000 (07:29 +0000)]
[ bfd/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case.
* archures.c (bfd_mach_mipsisa32r2): New define.
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_mipsisa32r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa32r2.
* elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2.
(_bfd_mips_elf_final_write_processing): Add
bfd_mach_mipsisa32r2 case.
(_bfd_mips_elf_merge_private_bfd_data): Handle merging of
binaries marked as using MIPS32 Release 2.

[ binutils/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
changes in MIPS -M options.

[ gas/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
CPU variants.
* configure: Regenerate.
* config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
(macro_build): Handle "K" operand.
(macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
CPU_HAS_DROR and CPU_HAS_ROR are currently used.
(mips_ip): New variable "lastpos", and implement "+A", "+B",
and "+C" operands for MIPS32 Release 2 ins/ext instructions.
Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
(validate_mips_insn): Implement "+" as a way to extend the
allowed operands, and implement "K", "+A", "+B", and "+C"
operands.
(OPTION_MIPS32R2): New define.
(md_longopts): Add entry for OPTION_MIPS32R2.
(OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
(md_parse_option): Handle OPTION_MIPS32R2.
(s_mipsset): Reimplement handling of ".set mipsN" options
and add support for ".set mips32r2".
(mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
(md_show_usage): Document "-mips32r2" option.
* doc/as.texinfo: Document "-mips32r2" option.
* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/cp0-names-mips32r2.d: New test.
* gas/mips/hwr-names-mips32r2.d: New test.
* gas/mips/hwr-names-numeric.d: New test.
* gas/mips/hwr-names.s: New test source file.
* gas/mips/mips32r2.d: New test.
* gas/mips/mips32r2.s: New test source file.
* gas/mips/mips32r2-ill.l: New test.
* gas/mips/mips32r2-ill.s: New test source file.
* gas/mips/mips.exp: Add mips32r2 architecture data array
entry.  Run new tests mentioned above.

[ include/elf/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* mips.h (E_MIPS_ARCH_32R2): New define.

[ include/opcode/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* mips.h: Document "+" as the start of two-character operand
type names, and add new "K", "+A", "+B", and "+C" operand types.
(OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB)
(OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New
defines.

[ opcodes/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

* mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric)
(mips_hwr_names_mips3264r2): New arrays.
(mips_arch_choice): New "hwr_names" member.
(mips_arch_choices): Adjust for structure change, and add a new
entry for "mips32r2" ISA.
(mips_hwr_names): New variable.
(set_default_mips_dis_options): Set mips_hwr_names.
(parse_mips_dis_option): New "hwr-names" option which sets
mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names.
(print_insn_arg): Change return type to "int"
and use that to indicate number of characters consumed.
Add support for "+" operand extension character, "+A", "+B",
"+C", and "K" operands.
(print_insn_mips): Adjust for changes to print_insn_arg.
(print_mips_disassembler_options): Adjust for "hwr-names"
addition and "reg-names" change.
* mips-opc (I33): New define (shorthand for INSN_ISA32R2).
(mips_builtin_opcodes): Note that "nop" and "ssnop" are special
forms of "sll".  Add new MIPS32 Release 2 instructions: ehb,
di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2,
rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh.
Note that hardware rotate instructions (ror, rorv) can be
used on MIPS32 Release 2, and add the official mnemonics
for them (rotr, rotrv) and the similar "rotl" mnemonic for
left-rotate.

21 years agoobjc-exp.y (parse_number): Cast sscanf arguments to proper type.
Adam Fedor [Tue, 31 Dec 2002 04:48:32 +0000 (04:48 +0000)]
objc-exp.y (parse_number): Cast sscanf arguments to proper type.
(yylex): Initialize c to avoid uninitialized warning.

21 years ago * configure.in (baseargs): Don't remove first configure argument.
Daniel Jacobowitz [Tue, 31 Dec 2002 03:28:41 +0000 (03:28 +0000)]
* configure.in (baseargs): Don't remove first configure argument.
* configure: Regenerated.

21 years ago*** empty log message ***
gdbadmin [Tue, 31 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 30 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years agoAdd support for msp430.
Nick Clifton [Mon, 30 Dec 2002 19:25:13 +0000 (19:25 +0000)]
Add support for msp430.

21 years ago(HAVE_REALPATH): New entry.
Nick Clifton [Mon, 30 Dec 2002 12:37:58 +0000 (12:37 +0000)]
(HAVE_REALPATH): New entry.
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.

21 years agoNew win32 topics: 'symbol aliasing' and 'export dll symbols'.
Nick Clifton [Mon, 30 Dec 2002 11:44:51 +0000 (11:44 +0000)]
New win32 topics: 'symbol aliasing' and 'export dll symbols'.

21 years agoAdded some more pseudo opcodes for system call processing.
Nick Clifton [Mon, 30 Dec 2002 10:50:32 +0000 (10:50 +0000)]
Added some more pseudo opcodes for system call processing.

21 years ago * doc/fdl.texi: Revert the last change.
Kazu Hirata [Mon, 30 Dec 2002 02:47:27 +0000 (02:47 +0000)]
* doc/fdl.texi: Revert the last change.

21 years ago*** empty log message ***
gdbadmin [Mon, 30 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 29 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl (local-distclean): Don't remove...
Alexandre Oliva [Sun, 29 Dec 2002 19:05:04 +0000 (19:05 +0000)]
* Makefile.tpl (local-distclean): Don't remove...
(multilib.ts): ... this.  Moved into...
(multilib.out): ... this.  Don't use sub-make.
($(BUILD_SUBDIR)/[+module+]/Makefile, [+module+]/Makefile,
$(TARGET_SUBDIR)/[+module+]/Makefile, gcc/Makefile): Moved into...
(configure-build-[+module+], configure-[+module+],
configure-target-[+module+], configure-gcc): ... these.  Test
for Makefile existence.  Drop config.status from dependencies.
* Makefile.in: Rebuilt.
* configure.in: Move gcc-version-trigger to the end of
ac_configure_args.  Add comments to maybedep.tmp and
serdep.tmp.  Introduce --disable-serial-configure.  Remove
nonopt from baseargs, matching and removing corresponding
whitespace while at it.
* configure: Rebuilt.

21 years ago*** empty log message ***
gdbadmin [Sun, 29 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* tracepoint.c (ISATTY): Removed.
Mark Kettenis [Sat, 28 Dec 2002 23:22:21 +0000 (23:22 +0000)]
* tracepoint.c (ISATTY): Removed.

21 years agodaily update
Alan Modra [Sat, 28 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * elf.c (elf_sort_sections): Don't reorder .tbss.
Jakub Jelinek [Sat, 28 Dec 2002 21:15:35 +0000 (21:15 +0000)]
* elf.c (elf_sort_sections): Don't reorder .tbss.
(assign_file_positions_for_segments): Only adjust off/voff
for increased alignment in PT_LOAD or PT_NOTE segment,
but adjust p_filesz for .tbss too.  in PT_LOAD consider
.tbss to have zero memory size.
(copy_private_bfd_data) [SECTION_SIZE]: Define.
[IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it.
[INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections
into PT_TLS segment.  Never put SHF_TLS sections in
segments other than PT_TLS or PT_LOAD.

* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt
sh_entsize.

21 years ago* configure.in (host_configargs): Replace reference to
Alexandre Oliva [Sat, 28 Dec 2002 17:58:05 +0000 (17:58 +0000)]
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

21 years ago* acx.m4: Name cache variables properly.
Alexandre Oliva [Sat, 28 Dec 2002 17:57:49 +0000 (17:57 +0000)]
* acx.m4: Name cache variables properly.
(NCN_STRICT_CHECK_TOOL): If program is not found and
value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2,
depending on whether build != host or not.
(NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix.

21 years ago* Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of
Alexandre Oliva [Sat, 28 Dec 2002 16:25:00 +0000 (16:25 +0000)]
* Makefile.tpl ($(NOTPARALLEL)): Move to the end.  Bring uses of
program_transform_name to standard idiom.
(AUTOGEN, AUTOCONF): Define.
(Makefile.in): Use $(AUTOGEN).
(Makefile): Depend on config.status, and use autoconf-style rule to
build it.  Move original commands to...
(config.status): ... this new target.
(configure): Add $(srcdir).  Depend on config/acx.m4.  Use
$(AUTOCONF).
* Makefile.in: Rebuilt.

21 years ago * Makefile.tpl: Fix dramatic bustage due to change in
Nathanael Nerode [Sat, 28 Dec 2002 09:13:56 +0000 (09:13 +0000)]
* Makefile.tpl: Fix dramatic bustage due to change in
program_transform_name.
* Makefile.in: Regenerate.

* configure.in: Remove unnecessary PATH setting.
* configure: Regnerate.

* configure.in: Don't default to unprefixed tools unless
the native tools will work.
* configure: Regenerate.

21 years agomissed in previous giant commit
Nathanael Nerode [Sat, 28 Dec 2002 07:09:49 +0000 (07:09 +0000)]
missed in previous giant commit

21 years ago(toplev)
Nathanael Nerode [Sat, 28 Dec 2002 07:09:15 +0000 (07:09 +0000)]
(toplev)
* configure.in: Convert to autoconf script.  Blow away lots
of now-redundant Makefile fragments.
* configure: Generate using Autoconf.
* Makefile.tpl: Rewrite to reflect autoconfiscation.
* Makefile.in: Regenerate.
(config)
* acx.m4: New.
* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
mh-riscos, mh-sysv: Delete.
* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.

21 years ago*** empty log message ***
gdbadmin [Sat, 28 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-12-27 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 27 Dec 2002 23:51:49 +0000 (23:51 +0000)]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Define the notion of an "architecture data
        array," add comments indicating how to add a new architecture and
        suggestions for adding new tests.  Populate the architecture data
        array with many known architectures and convert many tests to
        be run for multiple architectures.
        (mips_arches): New global array.
        (mips_arch_create, mips_arch_list_all, mips_arch_data)
        (mips_arch_displayname, mips_arch_properties)
        (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches)
        (mips_arch_list_matching): New functions to operate on mips_arches.
        (run_dump_test_arch, run_dump_test_arches, run_list_test_arch)
        (run_list_test_arches): New functions.
        (run_list_test): Document and add an optional "test name" argument.
        * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags,
        and CPU names from test names.
        * gas/mips/add.d: Likewise.
        * gas/mips/and.d: Likewise.
        * gas/mips/dli.d: Likewise.
        * gas/mips/jal-empic-elf-2.d: Likewise.
        * gas/mips/jal-empic-elf-3.d: Likewise.
        * gas/mips/jal-empic-elf.d: Likewise.
        * gas/mips/lb-svr4pic.d: Likewise.
        * gas/mips/lb.d: Likewise.
        * gas/mips/mips32.d: Likewise.
        * gas/mips/mips4.d: Likewise.
        * gas/mips/mips64.d: Likewise.
        * gas/mips/rol-hw.d: Likewise.
        * gas/mips/rol.d: Likewise.
        * gas/mips/rol64-hw.d: Likewise.
        * gas/mips/rol64.d: Likewise.
        * gas/mips/elf-jal.d: Likewise.  Also, indicate ELF in test name.
        * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this
        test uses the -mdmx flag.
        * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that
        this test uses the -mips3d flag.
        * gas/mips/mips64-mips3d-incl.d: New file.

21 years ago * configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
Nathanael Nerode [Fri, 27 Dec 2002 23:28:25 +0000 (23:28 +0000)]
* configure: Remove unneeded 'export's.  Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.

* ChangeLog: Move a couple of entries from here to winsup/cygwin,
where they belong.

21 years agodaily update
Alan Modra [Fri, 27 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update

21 years agoFix ChangeLog for previous: mips-dis.c now includes libiberty.h
Chris Demetriou [Fri, 27 Dec 2002 18:18:58 +0000 (18:18 +0000)]
Fix ChangeLog for previous: mips-dis.c now includes libiberty.h

21 years ago[ binutils/ChangeLog ]
Chris Demetriou [Fri, 27 Dec 2002 08:00:31 +0000 (08:00 +0000)]
[ binutils/ChangeLog ]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * doc/binutils.texi (objdump): Document MIPS -M options.

[ gas/testsuite/ChangeLog ]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/cp0-names-mips32.d: New file.
        * gas/mips/cp0-names-mips64.d: New file.
        * gas/mips/cp0-names-numeric.d: New file.
        * gas/mips/cp0-names-sb1.d: New file.
        * gas/mips/cp0-names.s: New file.
        * gas/mips/fpr-names-32.d: New file.
        * gas/mips/fpr-names-64.d: New file.
        * gas/mips/fpr-names-n32.d: New file.
        * gas/mips/fpr-names-numeric.d: New file.
        * gas/mips/fpr-names.s: New file.
        * gas/mips/gpr-names-32.d: New file.
        * gas/mips/gpr-names-64.d: New file.
        * gas/mips/gpr-names-n32.d: New file.
        * gas/mips/gpr-names-numeric.d: New file.
        * gas/mips/gpr-names.s: New file.
        * gas/mips/mips.exp: Run new tests.

[ include/ChangeLog ]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * dis-asm.h (print_mips_disassembler_options): Prototype.

[ include/opcode/ChangeLog ]
2002-12-19  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3)
        (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2)
        (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1)
        (OP_OP_SDC2, OP_OP_SDC3): Define.

[ opcodes/ChangeLog ]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * disassemble.c (disassembler_usage): Add invocation of
        print_mips_disassembler_options.
        * mips-dis.c (print_mips_disassembler_options)
        (set_default_mips_dis_options, parse_mips_dis_option)
        (parse_mips_dis_options, choose_abi_by_name, choose_arch_by_name)
        (choose_arch_by_number): New functions.
        (mips_abi_choice, mips_arch_choice): New structures.
        (mips32_reg_names, mips64_reg_names, reg_names): Remove.
        (mips_gpr_names_numeric, mips_gpr_names_oldabi)
        (mips_gpr_names_newabi, mips_fpr_names_numeric)
        (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64)
        (mips_cp0_names_numeric, mips_cp0_names_mips3264)
        (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices)
        (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names)
        (mips_cp0_names): New variables.
        (print_insn_args): Use new variables to print GPR, FPR, and CP0
        register names.
        (mips_isa_type): Remove.
        (print_insn_mips): Remove ISA and CPU setup since it is now done...
        (_print_insn_mips): Here.  Remove register setup code, and
        call set_default_mips_dis_options and parse_mips_dis_options
        instead.
        (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.

21 years ago* fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
Christopher Faylor [Fri, 27 Dec 2002 05:31:29 +0000 (05:31 +0000)]
* fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
* fhandler_console.cc (fhandler_console::send_winch_maybe): If appropriate,
call tty master function to handle screen size change.
* fhandler_tty.cc (fhandler_tty_master::set_winsize): New function.
(fhandler_tty_master::init): Call set_winsize to set initial screen size.

21 years ago* fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to that
Christopher Faylor [Fri, 27 Dec 2002 03:54:59 +0000 (03:54 +0000)]
* fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to that
of console in which tty is operating.
(process_input): Semi-revert previous change.  Need to just use current
terminfo settings since this function is running in a thread, blocked when the
terminfo changes.

21 years ago*** empty log message ***
gdbadmin [Fri, 27 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 26 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago Continuing work to convert the hppa targets to multiarch partil.
Joel Brobecker [Thu, 26 Dec 2002 20:10:13 +0000 (20:10 +0000)]
    Continuing work to convert the hppa targets to multiarch partil.

        * hppa-tdep.c: Add some missing forward declarations.
        (frameless_function_invocation): Prefix the function name
        by "hppa_" to avoid polluting the namespace.  Update all calls
        to use the new function name.
        (saved_pc_after_call): Ditto.
        (init_extra_frame_info): Ditto.
        (frame_chain): Ditto.
        (push_dummy_frame): Ditto.
        (target_read_pc): Ditto.
        (target_write_pc): Ditto.
        (in_solib_call_trampoline): Ditto.
        (in_solib_return_trampoline): Ditto.
        (skip_trampoline_code): Ditto.
        (hppa_read_fp): New function, renamed from target_read_fp.
        (hppa_target_read_fp): New function, using hppa_read_fp.
        This function conforms to the function profile for the
        READ_FP gdbarch method.
        (hppa_extract_struct_value_address): New function, extracted
        from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS
        macro.
        (hppa_frame_num_args): New function.
        (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target.

        * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros
        inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
        for the switch to multiarch partial.
        Update some of the macros definitions to match some changes
        described above in the name of the function they are calling.
        (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will
        not be straightforward to convert. Do now wrap it inside
        "#if !... #endif" to remember that this macro has still not
        been taken care of.
        (FIX_CALL_DUMMY): Likewise.

21 years ago Continuing work to convert the hppa targets to multiarch partial.
Joel Brobecker [Thu, 26 Dec 2002 09:36:43 +0000 (09:36 +0000)]
   Continuing work to convert the hppa targets to multiarch partial.

       * hppa-tdep.c: (hppa_register_raw_size): New function replacing
       the body of macro REGISTER_RAW_SIZE.
       * hppa-hpux-tdep.c: Add new functions replacing macro bodies from
       config/pa/tm-hppah.h. These functions will be used to initialize
       the gdbarch structure.
       (hppa_hpux_pc_in_sigtramp): New function.
       (hppa_hpux_frame_saved_pc_in_sigtramp): New function.
       (hppa_hpux_frame_base_before_sigtramp): New function.
       (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function.
       Add gdbcore.h #include.
       * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition
       of this gdbarch-eligible macro to a call to the new associated
       function.
       * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise.
       (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro
       into a call to the new associated function.
       (FRAME_BASE_BEFORE_SIGTRAMP): Likewise.
       (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise.
       * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.

21 years ago * sim-h8300.h: Remove ^M.
Kazu Hirata [Thu, 26 Dec 2002 06:14:43 +0000 (06:14 +0000)]
* sim-h8300.h: Remove ^M.

21 years ago * compile.c: Fix formatting.
Kazu Hirata [Thu, 26 Dec 2002 05:44:46 +0000 (05:44 +0000)]
* compile.c: Fix formatting.
* inst.h: Likewise.

21 years ago*** empty log message ***
gdbadmin [Thu, 26 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 25 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
Alexandre Oliva [Wed, 25 Dec 2002 21:20:31 +0000 (21:20 +0000)]
* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
(dwarf2_finish): Use it.
* doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Override.

21 years ago*** empty log message ***
gdbadmin [Wed, 25 Dec 2002 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 24 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 24 Dec 2002 20:14:30 +0000 (20:14 +0000)]
2002-12-24  David Carlton  <carlton@math.stanford.edu>

* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.

21 years agoAdd GNU/Linux specific support for the n32 and n64 MIPS ABIs.
Kevin Buettner [Tue, 24 Dec 2002 19:21:10 +0000 (19:21 +0000)]
Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.

21 years ago * Makefile.tpl (multilib.out): Fix missing space.
Andreas Schwab [Tue, 24 Dec 2002 17:23:30 +0000 (17:23 +0000)]
* Makefile.tpl (multilib.out): Fix missing space.
* Makefile.in: Regenerate.

21 years agogdb.base/maint.exp: Update expect output to include 'ObjC'.
Adam Fedor [Tue, 24 Dec 2002 04:03:46 +0000 (04:03 +0000)]
gdb.base/maint.exp: Update expect output to include 'ObjC'.

21 years agomaint.c (maintenance_demangle): Add switch to demangle
Adam Fedor [Tue, 24 Dec 2002 03:57:58 +0000 (03:57 +0000)]
maint.c (maintenance_demangle): Add switch to demangle
ObjC language symbols as well.

21 years ago* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
DJ Delorie [Tue, 24 Dec 2002 03:43:44 +0000 (03:43 +0000)]
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.

21 years ago(lookup_objc_class, lookup_child_selector): Remove
Adam Fedor [Tue, 24 Dec 2002 03:42:36 +0000 (03:42 +0000)]
(lookup_objc_class, lookup_child_selector): Remove
last argument from complaint function call.

21 years ago*** empty log message ***
gdbadmin [Tue, 24 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * exec.c (print_section_info): Add FIXME comments regarding format
Kevin Buettner [Mon, 23 Dec 2002 23:36:39 +0000 (23:36 +0000)]
* exec.c (print_section_info): Add FIXME comments regarding format
string choices.

21 years agodaily update
Alan Modra [Mon, 23 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* gdbint.texinfo (Target Architecture Definition): Update
Mark Kettenis [Mon, 23 Dec 2002 18:53:16 +0000 (18:53 +0000)]
* gdbint.texinfo (Target Architecture Definition): Update
description of gdbarch_register_osabi.

21 years ago2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 23 Dec 2002 17:53:41 +0000 (17:53 +0000)]
2002-12-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary leftovers.

2002-12-22  Geoffrey Keating  <geoffk@apple.com>

* config/mt-aix43: Delete.

2002-12-21  Geoffrey Keating  <geoffk@apple.com>

* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands.
* configure (tooldir): Handle extra_ranlibflags_for_target.

21 years ago * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
Daniel Jacobowitz [Mon, 23 Dec 2002 17:07:28 +0000 (17:07 +0000)]
* config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.

* config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 23 Dec 2002 16:56:25 +0000 (16:56 +0000)]
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
and current_directory initialization.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 23 Dec 2002 16:43:18 +0000 (16:43 +0000)]
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): Delete 'force_return' variable.
(lookup_symbol_aux_minsyms): Delete 'force_return' argument.
(search_symbols): Call lookup_symbol_aux_minsyms to find debugging
information associated to a minsym, not lookup_symbol.

21 years ago * readelf.c (main): Reset dump request after each file.
Andreas Schwab [Mon, 23 Dec 2002 13:18:02 +0000 (13:18 +0000)]
* readelf.c (main): Reset dump request after each file.

21 years ago * ldmain.c (main): Init "strip_discarded".
Alan Modra [Mon, 23 Dec 2002 12:05:38 +0000 (12:05 +0000)]
* ldmain.c (main): Init "strip_discarded".
* lexsup.c (OPTION_STRIP_DISCARDED): Define.
(OPTION_NO_STRIP_DISCARDED): Define.
(ld_options): Add "strip-discarded" and "no-strip-discarded".
(parse_args): Handle them.

21 years ago * elflink.h (elf_link_output_extsym): Heed strip_discarded.
Alan Modra [Mon, 23 Dec 2002 11:53:59 +0000 (11:53 +0000)]
* elflink.h (elf_link_output_extsym): Heed strip_discarded.

21 years ago * bfdlink.h (struct bfd_link_info): Add "strip_discarded".
Alan Modra [Mon, 23 Dec 2002 11:53:12 +0000 (11:53 +0000)]
* bfdlink.h (struct bfd_link_info): Add "strip_discarded".

21 years agoChange linker's default behaviour - it will now reject binary files whoes
Nick Clifton [Mon, 23 Dec 2002 10:45:03 +0000 (10:45 +0000)]
Change linker's default behaviour - it will now reject binary files whoes
architecture it does not recognise, unless it has explicitly told to accept
them.

21 years agoAdd support for 'S' encoding to strings - display 8-bit characters.
Nick Clifton [Mon, 23 Dec 2002 10:37:38 +0000 (10:37 +0000)]
Add support for 'S' encoding to strings - display 8-bit characters.

21 years ago* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
Jim Blandy [Mon, 23 Dec 2002 00:02:02 +0000 (00:02 +0000)]
* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
rather than as part of the output file name.

21 years ago*** empty log message ***
gdbadmin [Mon, 23 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* gdb.base/attach.exp: There's no need to copy the test program to
Jim Blandy [Sun, 22 Dec 2002 23:53:48 +0000 (23:53 +0000)]
* gdb.base/attach.exp: There's no need to copy the test program to
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.

21 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 22 Dec 2002 23:24:29 +0000 (23:24 +0000)]
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Sun, 22 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* gdb.c++/psmang.exp: Doc fix.
Jim Blandy [Sun, 22 Dec 2002 02:58:43 +0000 (02:58 +0000)]
* gdb.c++/psmang.exp: Doc fix.

21 years ago*** empty log message ***
gdbadmin [Sun, 22 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 21 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
Jim Blandy [Sat, 21 Dec 2002 22:56:56 +0000 (22:56 +0000)]
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
test.

21 years ago* x86-64-tdep.h (x86_64_init_abi): New prototype.
Mark Kettenis [Sat, 21 Dec 2002 21:09:58 +0000 (21:09 +0000)]
* x86-64-tdep.h (x86_64_init_abi): New prototype.
* x86-64-tdep.c (i386_fp_regnum_p): Remove function.
(x86_64_init_abi): Make non-static.  Set number of pseudo
registers to 0.
(x86_64_gdbarch_init): Remove function.
(_initialize_x86_64_tdep): Renove register_gdbarch_init call.
Remove code dealing with dissambly.
* x86-64-linux-tdep.c (x86_64_linux_init_abi): New function.
(_initialize_x86_64_linux_tdep): New function.
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and
i386-tdep.o.