binutils-gdb.git
20 years ago2003-12-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 1 Dec 2003 14:53:42 +0000 (14:53 +0000)]
2003-12-01  Andrew Cagney  <cagney@redhat.com>

Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
m680[01]0-sun-sunos3* as obsolete.
* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
* config/m68k/sun3os4.mh: Mark file obsolete.
* config/m68k/xm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mh: Mark file obsolete.
* config/m68k/nm-sun3.h: Mark file obsolete.
* config/m68k/xm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mh: Mark file obsolete.
* config/m68k/sun2os3.mh: Mark file obsolete.
* config/m68k/nm-sun2.h: Mark file obsolete.
* config/m68k/xm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mh: Mark file obsolete.
* config/m68k/nm-sysv4.h: Mark file obsolete.
* config/m68k/xm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mh: Mark file obsolete.
* config/m68k/nm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mh: Mark file obsolete.
* config/m68k/xm-dpx2.h: Mark file obsolete.
* config/m68k/nm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mh: Mark file obsolete.
* config/m68k/xm-delta68.h: Mark file obsolete.
* config/m68k/nm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mh: Mark file obsolete.
* config/m68k/xm-3b1.h: Mark file obsolete.
* config/m68k/sun3os4.mt: Mark file obsolete.
* config/m68k/tm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mt: Mark file obsolete.
* config/m68k/tm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mt: Mark file obsolete.
* config/m68k/tm-sun2os4.h: Mark file obsolete.
* config/m68k/sun2os3.mt: Mark file obsolete.
* config/m68k/tm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mt: Mark file obsolete.
* config/m68k/tm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mt: Mark file obsolete.
* config/m68k/tm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mt: Mark file obsolete.
* config/m68k/tm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mt: Mark file obsolete.
* config/m68k/tm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mt: Mark file obsolete.
* config/m68k/tm-3b1.h: Mark file obsolete.

20 years ago * ld-sh/sh64/shmix-1.s: Add align to match data alignment.
Kaz Kojima [Mon, 1 Dec 2003 12:01:22 +0000 (12:01 +0000)]
* ld-sh/sh64/shmix-1.s: Add align to match data alignment.
* ld-sh/sh64/shmix-3.s: Likewise.
* ld-sh/sh64/mix1.sd: Update.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix1-noexp.sd: Likewise.
* ld-sh/sh64/mix2.sd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/mix2-noexp.sd: Likewise.

20 years ago * gas/sh/basic.exp: Define ASFLAGS appropriately and don't do
Kaz Kojima [Mon, 1 Dec 2003 11:59:14 +0000 (11:59 +0000)]
* gas/sh/basic.exp: Define ASFLAGS appropriately and don't do
dsp test for sh64/sh5 targets.
* gas/sh/sh64/crange1.s: Tidy up to match data alignment.
* gas/sh/sh64/crange1-1.d: Update.
* gas/sh/sh64/crange1-2.d: Likewise.
* gas/sh/sh64/datal32-3.d: Likewise.
* gas/sh/sh64/datal64-3.d: Likewise.
* gas/sh/sh64/localcom-1.d: Likewise.

20 years agoUpdate for changed section alignment.
Alan Modra [Mon, 1 Dec 2003 06:56:51 +0000 (06:56 +0000)]
Update for changed section alignment.

20 years ago * coff-rs6000.c: Remove ARGSUSED and VARARGS.
Kazu Hirata [Mon, 1 Dec 2003 06:33:01 +0000 (06:33 +0000)]
* coff-rs6000.c: Remove ARGSUSED and VARARGS.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* elf32-vax.c: Likewise.
* hash.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* ihex.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* pdp11.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* section.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.

20 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
Alan Modra [Mon, 1 Dec 2003 06:28:56 +0000 (06:28 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
hash table type rather than testing creator flavour.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Only create stub_file bfd if hash table creator is as expected.
(gld${EMULATION_NAME}_finish): Test stub_file.

20 years ago * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
Alan Modra [Mon, 1 Dec 2003 06:28:24 +0000 (06:28 +0000)]
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
* elf.c (_bfd_elf_merge_sections): Adjust to suit.
(_bfd_elf_link_just_syms): Likewise.
(bfd_elf_get_needed_list): Likewise.
(bfd_elf_get_runpath_list): Likewise.
(_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
* elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
creator flavour.
(elf32_hppa_set_gp): Look up output sections rather than using htab.
* elf32-i960.c: Comment fix.  Formatting.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
rather than testing creator flavour.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
is_elf_hash_table change.  Remove redundant test.
(bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
testing creator flavour.
(elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
(_bfd_elf_fix_symbol_flags): Likewise.
(_bfd_elf_adjust_dynamic_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.  Remove redundant
checks.  Use is_elf_hash_table rather than testing creator flavour.
Use hash_table throughout in place of info->hash.
(elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
(NAME(bfd_elf,size_dynamic_sections)): Likewise.  Remove redundant
check.
(elf_bfd_final_link): Adjust for is_elf_hash_table change.
(elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
testing creator flavour.
(elf_gc_sections): Add is_elf_hash_table check.
(elf_gc_common_finalize_got_offsets): Likewise.
(elf_bfd_discard_info): Adjust for is_elf_hash_table change.  Remove
redundant check.
* elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
rather than testing creator flavour.

20 years ago*** empty log message ***
gdbadmin [Mon, 1 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 30 Nov 2003 23:13:34 +0000 (23:13 +0000)]
2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.

20 years agodaily update
Alan Modra [Sun, 30 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * symbols.c: Convert to ISO-C.
Kazu Hirata [Sun, 30 Nov 2003 19:07:12 +0000 (19:07 +0000)]
* symbols.c: Convert to ISO-C.
* symbols.h: Likewise.

20 years ago * ChangeLog: Fix typos.
Kazu Hirata [Sun, 30 Nov 2003 18:40:41 +0000 (18:40 +0000)]
* ChangeLog: Fix typos.
* ecoff.c: Fix comment typos.
* ecofflink.c: Likewise.
* format.c: Likewise.
* hp300hpux.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.h: Likewise.
* mipsbsd.c: Likewise.
* oasys.c: Likewise.
* opncls.c: Likewise.
* peXXigen.c: Likewise.
* reloc.c: Likewise.
* reloc16.c: Likewise.
* section.c: Likewise.
* simple.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* syms.c: Likewise.
* targets.c: Likewise.
* tekhex.c: Likewise.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
* xcofflink.c: Likewise.
* xsym.h: Likewise.
* bfd-in2.h: Regenerate.

20 years ago2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)]
2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.

20 years ago*** empty log message ***
gdbadmin [Sun, 30 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
Mark Kettenis [Sat, 29 Nov 2003 13:55:17 +0000 (13:55 +0000)]
* gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.

20 years ago2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 29 Nov 2003 06:56:06 +0000 (06:56 +0000)]
2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.

20 years ago * cxxfilt.c (usage): Mention new -p/--no-params options.
Ian Lance Taylor [Sat, 29 Nov 2003 04:03:22 +0000 (04:03 +0000)]
* cxxfilt.c (usage): Mention new -p/--no-params options.

20 years ago* x86-64-tdep.c (MAX_CLASSES): Remove macro.
Mark Kettenis [Sat, 29 Nov 2003 00:54:41 +0000 (00:54 +0000)]
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.

20 years ago*** empty log message ***
gdbadmin [Sat, 29 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 28 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * z8k-dis.c: Convert to ISO C90.
Christian Groessler [Fri, 28 Nov 2003 20:12:17 +0000 (20:12 +0000)]
* z8k-dis.c: Convert to ISO C90.
* z8kgen.c: Convert to ISO C90.
(opt): Move long opcode for "ldb rdb,imm8" after short one, now
the short one is created when assembling.
* z8k-opc.h: Regenerate with new z8kgen.c.

21 years ago * config/tc-z8k.c: Convert to ISO-C.
Christian Groessler [Fri, 28 Nov 2003 20:10:18 +0000 (20:10 +0000)]
* config/tc-z8k.c: Convert to ISO-C.
* config/tc-z8k.h: Likewise.

21 years ago * cpu-z8k.c: Convert to ISO C90.
Christian Groessler [Fri, 28 Nov 2003 20:07:44 +0000 (20:07 +0000)]
* cpu-z8k.c: Convert to ISO C90.
* coff-z8k.c: Likewise.

21 years agoFix building for FreeBSD
Nick Clifton [Fri, 28 Nov 2003 08:47:07 +0000 (08:47 +0000)]
Fix building for FreeBSD

21 years ago * Makefile.am (install-exec-local): Remove common term from string
Alan Modra [Fri, 28 Nov 2003 04:58:41 +0000 (04:58 +0000)]
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.

21 years ago2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 28 Nov 2003 03:31:24 +0000 (03:31 +0000)]
2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.

21 years ago*** empty log message ***
gdbadmin [Fri, 28 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
Mark Kettenis [Thu, 27 Nov 2003 23:33:07 +0000 (23:33 +0000)]
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
zero.  Reorganize code a bit.

21 years agodaily update
Alan Modra [Thu, 27 Nov 2003 23:00:12 +0000 (23:00 +0000)]
daily update

21 years ago* dwarf2-frame.c: Fix another comment.
Mark Kettenis [Thu, 27 Nov 2003 20:50:43 +0000 (20:50 +0000)]
* dwarf2-frame.c: Fix another comment.

21 years ago* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
Mark Kettenis [Thu, 27 Nov 2003 20:40:52 +0000 (20:40 +0000)]
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.

21 years ago* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
Mark Kettenis [Thu, 27 Nov 2003 20:35:38 +0000 (20:35 +0000)]
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention.  Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.

21 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 Nov 2003 19:18:38 +0000 (19:18 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add license info for long long routines added to
        stdlib.

21 years ago * read.c: Convert to ISO-C.
Kazu Hirata [Thu, 27 Nov 2003 19:14:41 +0000 (19:14 +0000)]
* read.c: Convert to ISO-C.
* read.h: Likewise.

21 years ago * elf32-arm.h: Fix comment typos.
Kazu Hirata [Thu, 27 Nov 2003 18:49:39 +0000 (18:49 +0000)]
* elf32-arm.h: Fix comment typos.
* elf32-d30v.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfn32-mips.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.

21 years ago* dwarf2-frame.c: Fix some comments and whitespace problems.
Mark Kettenis [Thu, 27 Nov 2003 17:17:04 +0000 (17:17 +0000)]
* dwarf2-frame.c: Fix some comments and whitespace problems.

21 years ago* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
Alexandre Oliva [Thu, 27 Nov 2003 16:43:25 +0000 (16:43 +0000)]
* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
Add link info argument.
* elf32-i370.c (elf_backend_modify_segment_map): Likewise.
* elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
* elf.c (assign_file_positions_except_relocs,
assign_file_positions_for_segments): Likewise.  Adjust calls.

21 years ago* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
Mark Kettenis [Thu, 27 Nov 2003 13:28:50 +0000 (13:28 +0000)]
* i386nbsd-tdep.c: Don't include "gdbtypes.h".  Include
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset.  Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs.  Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns.  Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.

21 years ago* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
Mark Kettenis [Thu, 27 Nov 2003 12:43:36 +0000 (12:43 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
.note.netbsdcore.procinfo section to recognize NetBSD core files.

21 years ago* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
Mark Kettenis [Thu, 27 Nov 2003 12:28:35 +0000 (12:28 +0000)]
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
of the note.

21 years agoCheck for alignment when emitting constants on the sh-elf target
Nick Clifton [Thu, 27 Nov 2003 08:29:29 +0000 (08:29 +0000)]
Check for alignment when emitting constants on the sh-elf target

21 years agoEnsure that we have write permission before overwriting a file.
Nick Clifton [Thu, 27 Nov 2003 08:24:01 +0000 (08:24 +0000)]
Ensure that we have write permission before overwriting a file.

21 years ago* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
Alexandre Oliva [Thu, 27 Nov 2003 02:30:55 +0000 (02:30 +0000)]
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
referencing symbol in a different section.

21 years ago* gas/frv/reloc1.[sd]: Test references to external symbols and
Alexandre Oliva [Thu, 27 Nov 2003 02:30:17 +0000 (02:30 +0000)]
* gas/frv/reloc1.[sd]: Test references to external symbols and
inter-section references too.

21 years agomerge from gcc
DJ Delorie [Thu, 27 Nov 2003 01:17:34 +0000 (01:17 +0000)]
merge from gcc

21 years ago*** empty log message ***
gdbadmin [Thu, 27 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 26 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 26 Nov 2003 22:04:00 +0000 (22:04 +0000)]
2003-11-26  Michael Chastain  <mec.gnu@mindspring.com>

* cp-abi.c: Update copyright years.

21 years ago * config/tc-z8k.c (s_segm): Fix indentation.
Christian Groessler [Wed, 26 Nov 2003 21:24:53 +0000 (21:24 +0000)]
* config/tc-z8k.c (s_segm): Fix indentation.
(md_apply_fix3): Likewise.
(cc_names): Add alias names for the names generated by the
disassembler.
(get_cc_operand): Be case insensitive.
(get_operands): Improve error handling for cc operands.
(check_operand): Not used, remove.
(md_assemble): Remove unused variable prev_opcode.  Skip
whitespace until end-of-line only.  Restore *op_end after call to
hash_find.

21 years ago * gas/z8k/jmp-cc.d: New file.
Christian Groessler [Wed, 26 Nov 2003 21:23:43 +0000 (21:23 +0000)]
* gas/z8k/jmp-cc.d: New file.
* gas/z8k/jmp-cc.s: New file.
* gas/z8k/ret-cc.d: New file.
* gas/z8k/ret-cc.s: New file.
* gas/z8k/z8k.exp: Run new tests.

21 years ago * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
Richard Sandiford [Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)]
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues.  Store the adjusted addend in the GOT slot.

21 years agoRevert change to t01_mov test.
Nick Clifton [Wed, 26 Nov 2003 13:18:23 +0000 (13:18 +0000)]
Revert change to t01_mov test.
Fix ldm/stm verifying code to allow er4-er7 for H8SX.

21 years agoAdd a comment describing the difference between readelf and objdump.
Nick Clifton [Wed, 26 Nov 2003 11:49:10 +0000 (11:49 +0000)]
Add a comment describing the difference between readelf and objdump.

21 years ago* gdb.objc/objcdecode.exp: Test for PR objc/1238.
Adam Fedor [Wed, 26 Nov 2003 04:23:25 +0000 (04:23 +0000)]
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
* gdb.objc/objcdecode.m: New file.

21 years ago* gdb.objc/nondebug.exp: Test for PR objc/1236.
Adam Fedor [Wed, 26 Nov 2003 04:21:51 +0000 (04:21 +0000)]
* gdb.objc/nondebug.exp: Test for PR objc/1236.
* gdb.objc/nondebug.m: New file.

21 years ago * gdb.asm/asm-source.exp: Make sure the final link succeeds on
Ben Elliston [Wed, 26 Nov 2003 01:17:16 +0000 (01:17 +0000)]
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
NetBSD as it does on FreeBSD.  Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.

21 years ago*** empty log message ***
gdbadmin [Wed, 26 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Nov 2003 23:31:40 +0000 (23:31 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* thread-db.c (enable_thread_event): New function.  Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.

21 years ago * config/tc-h8300.c (h8_exp): Remove.
Kazu Hirata [Tue, 25 Nov 2003 23:09:47 +0000 (23:09 +0000)]
* config/tc-h8300.c (h8_exp): Remove.

21 years agodaily update
Alan Modra [Tue, 25 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Tue, 25 Nov 2003 22:35:33 +0000 (22:35 +0000)]
merge from gcc

21 years ago2003-11-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 25 Nov 2003 22:15:24 +0000 (22:15 +0000)]
2003-11-25  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.

21 years ago * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
Danny Smith [Tue, 25 Nov 2003 19:50:04 +0000 (19:50 +0000)]
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
option.
* dlltool.c (usage): Likewise.

21 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 17:39:07 +0000 (17:39 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/method.exp: Accept output of new demangler.

21 years agoFix typo in my e-mail address in last ChangeLog commit.
Michael Chastain [Tue, 25 Nov 2003 17:10:57 +0000 (17:10 +0000)]
Fix typo in my e-mail address in last ChangeLog commit.
Argh!

21 years ago Catch illegal register pairings in ldm/stm instructions.
Nick Clifton [Tue, 25 Nov 2003 16:13:36 +0000 (16:13 +0000)]
 Catch illegal register pairings in ldm/stm instructions.
Update test files to avoid illegal pairings.

21 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Nov 2003 16:01:36 +0000 (16:01 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD.  Add comments.
* Makefile.in (infrun.o): Update dependencies.

21 years ago2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 15:01:31 +0000 (15:01 +0000)]
2003-11-25  Michael Chastain  <mec@gnu.mindspring.com>

* gdb/class2.exp: New file.
* gdb/class2.cc: New file.

21 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 14:34:37 +0000 (14:34 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.

21 years agoSkip N_EXCL stabs when procesing N_BINCL stabs.
Nick Clifton [Tue, 25 Nov 2003 11:59:57 +0000 (11:59 +0000)]
Skip N_EXCL stabs when procesing N_BINCL stabs.

21 years ago * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
Alan Modra [Tue, 25 Nov 2003 02:14:25 +0000 (02:14 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
ppc_stub_plt_call to symbols defined in shared libs.

21 years ago*** empty log message ***
gdbadmin [Tue, 25 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 24 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Mon, 24 Nov 2003 19:33:33 +0000 (19:33 +0000)]
merge from gcc

21 years ago * aix5ppc-core.c: Fix comment typos.
Kazu Hirata [Mon, 24 Nov 2003 18:06:40 +0000 (18:06 +0000)]
* aix5ppc-core.c: Fix comment typos.
* aout-arm.c: Likewise.
* aout-ns32k.c: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
* bfdio.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* coff-i860.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-z8k.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* cofflink.c: Likewise.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-ns32k.c: Likewise.
* dwarf2.c: Likewise.
* bfd-in2.h: Regenerate.

21 years ago * listing.c: Convert to ISO-C.
Kazu Hirata [Mon, 24 Nov 2003 17:52:33 +0000 (17:52 +0000)]
* listing.c: Convert to ISO-C.
* listing.h: Likewise.
* macro.c: Likewise.
* macro.h: Likewise.

21 years ago * NEWS: Mention improved location expression support.
Daniel Jacobowitz [Mon, 24 Nov 2003 17:02:34 +0000 (17:02 +0000)]
* NEWS: Mention improved location expression support.

21 years ago * frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
Kevin Buettner [Mon, 24 Nov 2003 16:45:03 +0000 (16:45 +0000)]
* frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
(SPR_REGNUM_MAX): Delete.
* frv.c (gdb/sim-frv.h): Include.
(frvbf_fetch_register, frvbf_store_register): Use register number
constants from gdb/sim-frv.h.  Check availability of general
purpose and float registers.

21 years ago * app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
Jakub Jelinek [Mon, 24 Nov 2003 09:24:39 +0000 (09:24 +0000)]
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
when transitioning from states 14 or 15 to 0 or 1.

21 years ago * hash.c: Convert to ISO-C.
Kazu Hirata [Mon, 24 Nov 2003 03:37:58 +0000 (03:37 +0000)]
* hash.c: Convert to ISO-C.
* hash.h: Likewise.
* input-file.c: Likewise.
* input-file.h: Likewise.
* input-scrub.c: Likewise.
* itbl-ops.c: Likewise.
* itbl-ops.h: Likewise.

21 years ago*** empty log message ***
gdbadmin [Mon, 24 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 23:13:00 +0000 (23:13 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.

21 years agodaily update
Alan Modra [Sun, 23 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 21:49:12 +0000 (21:49 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_unwind_signed_register): Delete function.
* frame.h (frame_unwind_register_signed): Delete declaration.
* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.

21 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 21:32:42 +0000 (21:32 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.

21 years ago* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
Mark Kettenis [Sun, 23 Nov 2003 21:14:45 +0000 (21:14 +0000)]
* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
of gdb_test "run".

21 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 20:41:17 +0000 (20:41 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* defs.h (DEPRECATED_STREQN): Rename STREQN.
(DEPRECATED_STREQ): Rename STREQ.
* ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
* config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
* config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
* dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
* eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
* jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
* mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
* p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
* source.c, sparc-tdep.c, stack.c, target.c: Update.

21 years ago* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
Mark Kettenis [Sun, 23 Nov 2003 19:30:52 +0000 (19:30 +0000)]
* gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
"continue" into "run".

21 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 19:24:05 +0000 (19:24 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* elfread.c (elf_symtab_read): Delete STREQ from comment.

21 years ago2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 23 Nov 2003 18:24:46 +0000 (18:24 +0000)]
2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.

21 years ago2003-11-23 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 23 Nov 2003 17:48:00 +0000 (17:48 +0000)]
2003-11-23  Michael Chastain  <mec@shout.net>

Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.

21 years ago * config/tc-h8300.c (Hmode): Make it global.
Kazu Hirata [Sun, 23 Nov 2003 15:43:50 +0000 (15:43 +0000)]
* config/tc-h8300.c (Hmode): Make it global.
(Smode): Likewise.
(Nmode): Likewise.
(SXmode): Likewise.

21 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 02:48:40 +0000 (02:48 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_frame_xmalloc): Delete function.
(deprecated_set_frame_extra_info_hack): Delete function.
(deprecated_set_frame_saved_regs_hack): Delete function.
* frame.h (deprecated_frame_xmalloc): Delete declaration.
(deprecated_set_frame_extra_info_hack): Delete declaration.
(deprecated_set_frame_saved_regs_hack): Delete declaration.
* mcore-tdep.c (analyze_dummy_frame): Instead of
deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
and deprecated_set_frame_extra_info_hack use
deprecated_frame_xmalloc_with_cleanup.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Delete call to
deprecated_set_frame_saved_regs_hack.

21 years ago * README-vms: Fix comment typos.
Kazu Hirata [Sun, 23 Nov 2003 02:14:21 +0000 (02:14 +0000)]
* README-vms: Fix comment typos.
* as.h: Likewise.
* dwarf2dbg.c: Likewise.
* ecoff.c: Likewise.
* hash.c: Likewise.
* listing.c: Likewise.
* write.c: Likewise.

21 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 01:25:39 +0000 (01:25 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_frame_chain): Delete call to
deprecated_inside_entry_file.

21 years ago * cxxfilt.c (long_options): Add --no-params.
Ian Lance Taylor [Sun, 23 Nov 2003 01:10:45 +0000 (01:10 +0000)]
* cxxfilt.c (long_options): Add --no-params.
(main): Handle -p/--no-params.
* doc/binutils.texi (c++filt): Document -p/--no-params.

21 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 01:09:19 +0000 (01:09 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.

21 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 00:27:54 +0000 (00:27 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.

21 years ago*** empty log message ***
gdbadmin [Sun, 23 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 23:24:16 +0000 (23:24 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_register_convertible): Delete function.
(mips_register_convert_to_virtual): Delete function.
(mips_register_convert_to_raw): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_convertible",
"deprecated_register_convert_to_virtual", or
"deprecated_register_convert_to_raw".
(mips_pseudo_register_write, mips_pseudo_register_read): Handle
32/64 cooked to raw register conversions.