platform/upstream/binutils.git
21 years ago* bfd.c (struct _bfd): Added id field.
Alexandre Oliva [Mon, 27 Jan 2003 23:40:39 +0000 (23:40 +0000)]
* bfd.c (struct _bfd): Added id field.
* opncls.c (_bfd_id_counter): New static variable.
(_bfd_new_bfd): Use it.
* bfd-in2.h: Rebuilt.

21 years ago* gas/mips/n32-consec.d: New.
Alexandre Oliva [Mon, 27 Jan 2003 23:01:55 +0000 (23:01 +0000)]
* gas/mips/n32-consec.d: New.
* gas/mips/n32-consec.s: New.
* gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and
mips64*-linux* systems.

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

21 years ago* configure.in (em): Set to irix on all Irix systems.
Alexandre Oliva [Mon, 27 Jan 2003 22:45:58 +0000 (22:45 +0000)]
* configure.in (em): Set to irix on all Irix systems.
* configure: Rebuilt.
* config/te-irix.h: New file.
* config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
whether to use Irix-specific 64-bit format.

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

* sentinel-frame.h, sentinel-frame.c: New files.
* Makefile.in (frame.o): Update dependencies.
(SFILES): Add sentinel-frame.c.
(sentinel_frame_h): Define.
(COMMON_OBS): Add sentinel-frame.o.
(sentinel-frame.o): Specify dependencies.
* frame.c: Include "sentinel-frame.h".
(frame_register_unwind): Rewrite assuming that there is always a a
->next frame.
(frame_register, generic_unwind_get_saved_register): Ditto.
(frame_read_unsigned_register, frame_read_signed_register): Ditto.
(create_sentinel_frame, unwind_to_current_frame): New functions.
(get_current_frame): Rewrite using create_sentinel_frame and
unwind_to_current_frame.  When possible, always create a frame.
(create_new_frame): Set next to the sentinel frame.
(get_next_frame): Rewrite.  Don't go below the level 0 frame.
(deprecated_update_frame_pc_hack): Update the next frame's PC and
ID cache when necessary.
(frame_saved_regs_id_unwind): Use frame_relative_level.
(deprecated_generic_get_saved_register): Use frame_relative_level,
get_frame_saved_regs, get_frame_pc, get_frame_base and
get_next_frame.
(frame_saved_regs_register_unwind): Use get_frame_saved_regs and
frame_register.

21 years ago * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
Daniel Jacobowitz [Mon, 27 Jan 2003 21:16:06 +0000 (21:16 +0000)]
* gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.

21 years ago * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
Daniel Jacobowitz [Mon, 27 Jan 2003 20:25:35 +0000 (20:25 +0000)]
* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
(maintenance_set_profile_cmd): Use error () instead of warning ().

21 years ago* configure.in: Revert 24Jan change.
Alexandre Oliva [Mon, 27 Jan 2003 19:47:23 +0000 (19:47 +0000)]
* configure.in:  Revert 24Jan change.
* configure:  Regenerate.

21 years ago * configure.in: Check that -pg works if using --enable-profiling.
Daniel Jacobowitz [Mon, 27 Jan 2003 14:36:56 +0000 (14:36 +0000)]
* configure.in: Check that -pg works if using --enable-profiling.
Check for monstartup and _mcleanup regardless of --enable-profiling.
* maint.c: Check for monstartup and _mcleanup before using them.
* config.in: Regenerated.
* configure: Regenerated.

21 years ago * Avoid designated initializers.
Martin Schwidefsky [Mon, 27 Jan 2003 08:44:21 +0000 (08:44 +0000)]
* Avoid designated initializers.

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

21 years agoinclude/
Daniel Jacobowitz [Sun, 26 Jan 2003 07:33:29 +0000 (07:33 +0000)]
include/
* hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
(struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
(htab_create_alloc_ex): New prototype.
(htab_set_functions_ex): New prototype.
libiberty/
* hashtab.c (htab_create_alloc_ex): New function.
(hatab_set_functions_ex): New function.
(htab_delete, htab_expand): Support alternate allocation functions.

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

21 years ago * elf32-sparc.c (bfd_elf32_new_section_hook): Define.
Alan Modra [Sat, 25 Jan 2003 08:20:38 +0000 (08:20 +0000)]
* elf32-sparc.c (bfd_elf32_new_section_hook): Define.

21 years agomerge from gcc
DJ Delorie [Sat, 25 Jan 2003 00:23:30 +0000 (00:23 +0000)]
merge from gcc

21 years ago*** empty log message ***
gdbadmin [Sat, 25 Jan 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agobfd/
Jakub Jelinek [Fri, 24 Jan 2003 23:44:45 +0000 (23:44 +0000)]
bfd/
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Add TLS relocs.
(elf32_sparc_rev32_howto): New variable.
(sparc_reloc_map): Add TLS relocs.
(elf32_sparc_reloc_type_lookup, elf32_sparc_info_to_howto):
Handle REV32.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc, elf32_sparc_mkobject):
New functions.
(struct elf32_sparc_dyn_relocs, struct elf32_sparc_link_hash_entry,
struct elf32_sparc_link_hash_table):
New structures.
(elf32_sparc_tdata, elf32_sparc_local_got_tls_type,
elf32_sparc_hash_table): Define.
(link_hash_newfunc, elf32_sparc_link_hash_table_create,
create_got_section, elf32_sparc_create_dynamic_sections,
elf32_sparc_copy_indirect_symbol, elf32_sparc_tls_transition): New
functions.
(elf32_sparc_check_relocs): Handle TLS relocs.  Add dynamic reloc
reference counting.
(elf32_sparc_gc_sweep_hook): Likewise.
(elf32_sparc_adjust_dynamic_symbol): Likewise.
(elf32_sparc_size_dynamic_sections): Likewise.
(elf32_sparc_relocate_section): Likewise.
(allocate_dynrelocs, readonly_dynrelocs, dtpoff_base, tpoff):
New functions.
(elf32_sparc_object_p): Allocate backend private object data.
(bfd_elf32_bfd_link_hash_table_create,
elf_backend_copy_indirect_symbol, bfd_elf32_mkobject,
elf_backend_can_refcount): Define.
(elf_backend_create_dynamic_sections): Define to
elf32_sparc_create_dynamic_sections.
* reloc.c: Add SPARC TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-sparc.c (sparc64_elf_howto_table): Add TLS relocs.
(sparc_reloc_map): Likewise.
gas/
* config/tc-sparc.c (sparc_ip): Handle TLS % operators.
(tc_gen_reloc): Handle TLS relocs.
(sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
* config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
relocs.
* config/obj-elf.c (obj_elf_section_word): Handle tls.
(obj_elf_type): Handle tls_object.
include/
* elf/sparc.h: Add TLS relocs.  Move R_SPARC_REV32 to 252.
ld/testsuite/
* ld-sparc/sparc.exp: New.
* ld-sparc/tlsg32.s: New test.
* ld-sparc/tlsg32.sd: Likewise.
* ld-sparc/tlsg64.s: Likewise.
* ld-sparc/tlsg64.sd: Likewise.
* ld-sparc/tlslib.s: Likewise.
* ld-sparc/tlsnopic.s: Likewise.
* ld-sparc/tlspic.s: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin32.s: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.
* ld-sparc/tlssunbin64.dd: Likewise.
* ld-sparc/tlssunbin64.rd: Likewise.
* ld-sparc/tlssunbin64.s: Likewise.
* ld-sparc/tlssunbin64.sd: Likewise.
* ld-sparc/tlssunbin64.td: Likewise.
* ld-sparc/tlssunbinpic32.s: Likewise.
* ld-sparc/tlssunbinpic64.s: Likewise.
* ld-sparc/tlssunnopic32.dd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.s: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.s: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-sparc/tlssunpic32.s: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunpic32.td: Likewise.
* ld-sparc/tlssunpic64.dd: Likewise.
* ld-sparc/tlssunpic64.rd: Likewise.
* ld-sparc/tlssunpic64.s: Likewise.
* ld-sparc/tlssunpic64.sd: Likewise.
* ld-sparc/tlssunpic64.td: Likewise.

21 years agodaily update
Alan Modra [Fri, 24 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Fri, 24 Jan 2003 21:31:35 +0000 (21:31 +0000)]
merge from gcc

21 years ago * ld-s390/s390.exp: New file.
Martin Schwidefsky [Fri, 24 Jan 2003 17:20:25 +0000 (17:20 +0000)]
* ld-s390/s390.exp: New file.
* ld-s390/tlsbin_64.dd: New file.
* ld-s390/tlsbin_64.rd: New file.
* ld-s390/tlsbin_64.s: New file.
* ld-s390/tlsbin_64.sd: New file.
* ld-s390/tlsbin_64.td: New file.
* ld-s390/tlsbin.dd: New file.
* ld-s390/tlsbinpic_64.s: New file.
* ld-s390/tlsbinpic.s: New file.
* ld-s390/tlsbin.rd: New file.
* ld-s390/tlsbin.s: New file.
* ld-s390/tlsbin.sd: New file.
* ld-s390/tlsbin.td: New file.
* ld-s390/tlslib_64.s: New file.
* ld-s390/tlslib.s: New file.
* ld-s390/tlspic1_64.s: New file.
* ld-s390/tlspic1.s: New file.
* ld-s390/tlspic2_64.s: New file.
* ld-s390/tlspic2.s: New file.
* ld-s390/tlspic_64.dd: New file.
* ld-s390/tlspic_64.rd: New file.
* ld-s390/tlspic_64.sd: New file.
* ld-s390/tlspic_64.td: New file.
* ld-s390/tlspic.dd: New file.
* ld-s390/tlspic.rd: New file.
* ld-s390/tlspic.sd: New file.
* ld-s390/tlspic.td: New file.

21 years ago * s390.h: Add s390 TLS relocations.
Martin Schwidefsky [Fri, 24 Jan 2003 17:15:29 +0000 (17:15 +0000)]
* s390.h: Add s390 TLS relocations.

21 years ago * config/tc-s390.c (s390_tls_suffix): New function.
Martin Schwidefsky [Fri, 24 Jan 2003 17:14:25 +0000 (17:14 +0000)]
* config/tc-s390.c (s390_tls_suffix): New function.
(elf_suffix_type): Add suffix enums for TLS relocations.
(s390_elf_suffix): Add suffix strings for TLS relocations.
(s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
bfd relocations.
(md_gather_operands): Map new instruction operand/elf suffix
combinations for TLS to bfd relocations.
(tc_s390_fix_adjustable): Add new TLS relocations.
(tc_s390_force_relocation): Likewise.
(md_apply_fix3): Likewise.

21 years ago * bfd-in2.h: Regenerate.
Martin Schwidefsky [Fri, 24 Jan 2003 17:12:42 +0000 (17:12 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_mkobject, elf_s390_tls_transition,
s390_tls_reloc, dtpoff_base, tpoff, invalid_tls_insn): New functions.
(elf_howto_table): Add TLS relocs.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_link_hash_entry): Add tls_type.
(elf_s390_hash_entry, elf_s390_obj_tdata, elf_s390_local_got_tls_type):
New macros.
(elf_s390_link_hash_table): Add tls_ldm_got.
(link_hash_newfunc): Initialize tls_type.
(elf_s390_link_hash_table_create): Initialize refcount of tls_ldm_got.
(elf_s390_copy_indirect_symbol): Copy tls_type information.
(elf_s390_check_relocs): Support TLS relocs.
(elf_s390_gc_sweep_hook): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject): Define for TLS.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add s390 TLS relocations.

21 years ago Fix name of --enable-install-libbfd switch.
Nick Clifton [Fri, 24 Jan 2003 16:50:24 +0000 (16:50 +0000)]
 Fix name of --enable-install-libbfd switch.

21 years agoUpdate copyright date
Alan Modra [Fri, 24 Jan 2003 01:12:30 +0000 (01:12 +0000)]
Update copyright date

21 years agoNo, really this time.
Nathanael Nerode [Fri, 24 Jan 2003 00:39:51 +0000 (00:39 +0000)]
No, really this time.

21 years ago*** empty log message ***
gdbadmin [Fri, 24 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * config/tc-hppa.h (DIFF_EXPR_OK): Define.
Alan Modra [Thu, 23 Jan 2003 23:17:57 +0000 (23:17 +0000)]
* config/tc-hppa.h (DIFF_EXPR_OK): Define.
(MD_APPLY_SYM_VALUE): Move.

21 years ago* symfile.c (syms_from_objfile): Don't print the "(no debugging
Jim Blandy [Thu, 23 Jan 2003 23:17:28 +0000 (23:17 +0000)]
* symfile.c (syms_from_objfile): Don't print the "(no debugging
symbols found)" message here; we haven't checked for a separate
debug info file yet, so we don't know yet.
(symbol_file_add_with_addrs_or_offsets): Print it here, after
we've looked everywhere.  Also, there's no need to print a special
message when we're loading the separate debug info file: the one
symbol_file_add prints is fine.

21 years agogdb/ChangeLog:
Jim Blandy [Thu, 23 Jan 2003 23:03:32 +0000 (23:03 +0000)]
gdb/ChangeLog:
2003-01-23  Alexander Larsson <alexl@redhat.com>
    Jim Blandy  <jimb@redhat.com>

Add support for executables whose debug info has been separated
out into a separate file, leaving only a link behind.
* objfiles.h (struct objfile): New fields: separate_debug_objfile
and separate_debug_objfile_backlink.
(put_objfile_before): New declaration.
* symfile.c: #include "filenames.h".
(symbol_file_add_with_addrs_or_offsets): If this objfile has its
debug info in a separate file, read that, too. Save the addrs
argument, so we can use it again to read the separated debug info;
syms_from_objfile modifies the table we pass it.
(reread_symbols): After re-reading an objfile, call
reread_separate_symbols to refresh its separate debug info
objfile, if it has one.
(reread_separate_symbols, find_separate_debug_file,
get_debug_link_info, separate_debug_file_exists): New functions.
(debug_file_directory): New global var.
(_initialize_symfile): Initialize debug_file_directory, and
provide the new `set debug-file-directory' command to let the user
change it.
* objfiles.c (free_objfile): If this objfile has its debug info in
a separate objfile, free that one too.  If this is itself a
separate debug info objfile, clear our parent's backlink.
(put_objfile_before): New function.
* utils.c (gnu_debuglink_crc32): New function.
* defs.h (gnu_debuglink_crc32): New declaration.
* Makefile.in (symfile.o): Note dependency on "filenames.h".
* configure.in: Handle --with-separate-debug-dir config option.
* acinclude.m4 (AC_DEFINE_DIR): New macro.
* acconfig.h (DEBUGDIR): New macro.
* configure, aclocal.m4, config.in: Regenerated.

gdb/doc/ChangeLog:
2003-01-23  Jim Blandy  <jimb@redhat.com>

* gdb.texinfo (Separate Debug Files): New section.

21 years agodaily update
Alan Modra [Thu, 23 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps.
Alan Modra [Thu, 23 Jan 2003 22:37:21 +0000 (22:37 +0000)]
* ld-alpha/tlsbin.sd: Cope with truncated address in data dumps.
* ld-alpha/tlsbin.td: Likewise.
* ld-alpha/tlsbinr.sd: Likewise.

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 23 Jan 2003 22:33:55 +0000 (22:33 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Revert previous change.
* configure: Regenerate.

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 23 Jan 2003 19:55:19 +0000 (19:55 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Make rda native-only.
* configure: Regenerate.

21 years agoAdd SH2E support
Nick Clifton [Thu, 23 Jan 2003 18:50:57 +0000 (18:50 +0000)]
Add SH2E support

21 years ago * gas/s390/reloc.s: Add test for PLT reloc against locally defined
Martin Schwidefsky [Thu, 23 Jan 2003 17:34:38 +0000 (17:34 +0000)]
* gas/s390/reloc.s: Add test for PLT reloc against locally defined
but global function.
* gas/s390/reloc.d: Likewise.
* gas/s390/reloc64.s: Likewise.
* gas/s390/reloc64.d: Likewise.

21 years ago * symbols.c (S_FORCE_RELOC): Add "strict" param.
Alan Modra [Thu, 23 Jan 2003 12:51:05 +0000 (12:51 +0000)]
* symbols.c (S_FORCE_RELOC): Add "strict" param.
* symbols.h (S_FORCE_RELOC): Likewise.
* config/obj-aout.h (S_FORCE_RELOC): Likewise.
* config/obj-bout.h (S_FORCE_RELOC): Likewise.
* config/obj-coff.h (S_FORCE_RELOC): Likewise.
* config/obj-ieee.h (S_FORCE_RELOC): Likewise.
* config/obj-vms.h (S_FORCE_RELOC): Likewise.
* write.c (generic_force_reloc): New function.
(TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
(adjust_reloc_syms): Adjust S_FORCE_RELOC call.
* as.h (generic_force_reloc): Declare.
* doc/internals.texi (S_FORCE_RELOC): Update.
(TC_FORCE_RELOCATION_SUB_SAME): Update.

* config/tc-alpha.c (alpha_force_relocation): Adjust to use
generic_force_reloc.
(alpha_fix_adjustable): Likewise.
* config/tc-arm.c (arm_force_relocation): Likewise.
* config/tc-cris.c (md_cris_force_relocation): Likewise.
* config/tc-frv.c (frv_force_relocation): Likewise.
* config/tc-i386.c (md_apply_fix3): Likewise.
* config/tc-ia64.c (ia64_force_relocation): Likewise.
* config/tc-ip2k.c (ip2k_force_relocation): Likewise.
* config/tc-m32r.c (m32r_force_relocation): Likewise.
* config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
* config/tc-mcore.c (mcore_force_relocation): Likewise.
* config/tc-mips.c (mips_force_relocation): Likewise.
* config/tc-mmix.c (mmix_force_relocation): Likewise.
* config/tc-ppc.c (ppc_force_relocation): Likewise.
* config/tc-s390.c (tc_s390_force_relocation): Likewise.
* config/tc-sh.c (sh_force_relocation): Likewise.
(md_pcrel_from_section): Likewise.
* config/tc-sparc.c (tc_gen_reloc): Likewise.
* config/tc-v850.c (v850_force_relocation): Likewise.
* config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
* config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
* config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
* config/tc-sparc.h (tc_fix_adjustable): Likewise.

* config/tc-d10v.c (d10v_force_relocation): Delete.
* config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-dlx.c (md_dlx_force_relocation): Delete.
* config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-fr30.c (fr30_force_relocation): Delete.
* config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-mn10300.c (mn10300_force_relocation): Delete.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
* config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
* config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
* config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
* config/tc-openrisc.c (openrisc_force_relocation): Delete.
* config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
* config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
* config/tc-i386.c (i386_force_relocation): Delete.
* config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
BFD_ASSEMBLER.
(EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
* config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
S_FORCE_RELOC.
(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
* config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.

21 years agoinclude/elf/ChangeLog
Alan Modra [Thu, 23 Jan 2003 11:51:35 +0000 (11:51 +0000)]
include/elf/ChangeLog
* sh.h: Split out various bits to bfd/elf32-sh64.h.

include/opcode/ChangeLog
* m68hc11.h (cpu6812s): Define.

bfd/ChangeLog
* elf-bfd.h (struct bfd_elf_section_data): Remove tdata.  Change
dynindx to an int.  Rearrange for better packing.
* elf.c (_bfd_elf_new_section_hook): Don't alloc if already done.
* elf32-mips.c (bfd_elf32_new_section_hook): Define.
* elf32-sh64.h: New.  Split out from include/elf/sh.h.
(struct _sh64_elf_section_data): New struct.
(sh64_elf_section_data): Don't dereference sh64_info (was tdata).
* elf32-sh64-com.c: Include elf32-sh64.h.
* elf32-sh64.c: Likewise.
(sh64_elf_new_section_hook): New function.
(bfd_elf32_new_section_hook): Define.
(sh64_elf_fake_sections): Adjust for sh64_elf_section_data change.
(sh64_bfd_elf_copy_private_section_data): Likewise.
(sh64_elf_final_write_processing): Likewise.
* elf32-sparc.c (struct elf32_sparc_section_data): New.
(elf32_sparc_new_section_hook): New function.
(SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
(sec_do_relax): Define.
(elf32_sparc_relax_section): Adjust to use sec_do_relax.
(elf32_sparc_relocate_section): Likewise.
* elf64-mips.c (bfd_elf64_new_section_hook): Define.
* elf64-mmix.c (struct _mmix_elf_section_data): New.
(mmix_elf_section_data): Define.  Use throughout file.
(mmix_elf_new_section_hook): New function.
(bfd_elf64_new_section_hook): Define.
* elf64-ppc.c (struct _ppc64_elf_section_data): New.
(ppc64_elf_section_data): Define.  Use throughout.
(ppc64_elf_new_section_hook): New function.
(bfd_elf64_new_section_hook): Define.
* elf64-sparc.c (struct sparc64_elf_section_data): New.
(sparc64_elf_new_section_hook): New function.
(SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
(sec_do_relax): Define.
(sparc64_elf_relax_section): Adjust to use sec_do_relax.
(sparc64_elf_relocate_section): Likewise.
(bfd_elf64_new_section_hook): Define.
* elfn32-mips.c (bfd_elf32_new_section_hook): Define.
* elfxx-mips.c (struct _mips_elf_section_data): New.
(mips_elf_section_data): Define.  Use throughout.
(_bfd_mips_elf_new_section_hook): New function.
(mips_elf_create_got_section): Don't alloc used_by_bfd.
* elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare.
* elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

opcodes/ChangeLog
* sh64-dis.c: Include elf32-sh64.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

gas/ChangeLog
* config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
sh64_elf_section_data.
* config/tc-sh64.h: Include elf32-sh64.h.
* config/tc-m68hc11.c: Don't include stdio.h.
(md_show_usage): Fix missing continuation.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

ld/ChangeLog
* emultempl/sh64elf.em: Include elf32-sh64.h.
(sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
sh64_elf_section_data.
(sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.

21 years agoRemove an extra "i" in --dll-search-prefix.
Nick Clifton [Thu, 23 Jan 2003 09:30:44 +0000 (09:30 +0000)]
Remove an extra "i" in --dll-search-prefix.
Move a cross-80th-column-margin "an" to the next line.

21 years ago* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
Jim Blandy [Thu, 23 Jan 2003 08:06:36 +0000 (08:06 +0000)]
* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
like the old symbol_file_add, but taking new arguments: you can
now pass in either a `struct section_addr_info' list to say where
each section is loaded, or a `struct section_offsets' table.  Pass
these new arguments through to syms_from_objfile as appropriate.
(symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
with the appropriate quiescent values for the new arguments.

21 years ago* symfile.c: #include "gdb_assert.h".
Jim Blandy [Thu, 23 Jan 2003 07:30:18 +0000 (07:30 +0000)]
* symfile.c: #include "gdb_assert.h".
(syms_from_objfile): Add the ability to pass in a section offset
table directly, as an alternative to the section_addr_info table.
Document arguments better.
(symbol_file_add): Pass extra arguments to syms_from_objfile.
* symfile.h (syms_from_objfile): Update declaration.
* rs6000-nat.c (objfile_symbol_add): Pass new arguments to
syms_from_objfile.
* Makefile.in (symfile.o): List dependency on $(gdb_assert_h).

21 years ago * gdb.exp (gdb_test_multiple): New function, cloned from
Daniel Jacobowitz [Thu, 23 Jan 2003 01:35:21 +0000 (01:35 +0000)]
* gdb.exp (gdb_test_multiple): New function, cloned from
gdb_test.  Accept a list of expect arguments as the third
parameter.
(gdb_test): Use it.

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

21 years ago Original patch by Tom Tromey <tromey@cygnus.com> and
Daniel Jacobowitz [Wed, 22 Jan 2003 23:50:35 +0000 (23:50 +0000)]
Original patch by Tom Tromey <tromey@cygnus.com> and
Jason Molenda <jmolenda@apple.com>.
* Makefile.in (PROFILE_CFLAGS): Substitute from configure.
(INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
* NEWS: Mention profiling.
* configure.in (--enable-gdbtk): Fix typo.
(--enable-profiling): New.  Set PROFILE_CFLAGS.
* maint.c (maintenance_set_profile_cmd): Remove NOTYET.
Fill in function.
(profiling_state): New variable.
(mcleanup_wrapper): New function.
(_initialize_maint): Remove NOTYET, fix call to
add_setshow_boolean_cmd for "maint set profile".
* configure: Regenerated.

21 years ago * gdb.texinfo (Maintenance Commands): Add "maint set profile"
Daniel Jacobowitz [Wed, 22 Jan 2003 23:50:13 +0000 (23:50 +0000)]
* gdb.texinfo (Maintenance Commands): Add "maint set profile"
and "maint show profile".

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

21 years agoInclude fopen-bin.h not fopen-same.h for mingw32 hosts.
Nick Clifton [Wed, 22 Jan 2003 10:10:25 +0000 (10:10 +0000)]
Include fopen-bin.h not fopen-same.h for mingw32 hosts.

21 years ago * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
Richard Henderson [Wed, 22 Jan 2003 00:47:58 +0000 (00:47 +0000)]
    * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
        (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value.
        (elf64_alpha_adjust_dynamic_symbol): Set them.
        (elf64_alpha_size_plt_section_1): Reset them when plt entry removed.
        (elf64_alpha_relax_tls_get_addr): Handle LDM relocs.  Frob the
        symbol index when relaxing LDM to TPREL.
        (elf64_alpha_relax_section): Likewise.  Allow relaxation of GD
        relocs, even if the target isn't locally defined.
        (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero.
        (elf64_alpha_relocate_section): Likewise.  Force TP-relative
        relocs vs symndx 0 to the tp base.

21 years agoNew TLS tests for Alpha.
Richard Henderson [Wed, 22 Jan 2003 00:41:59 +0000 (00:41 +0000)]
New TLS tests for Alpha.

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

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

21 years ago2003-01-21 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 21 Jan 2003 21:39:31 +0000 (21:39 +0000)]
2003-01-21  Martin M. Hunt  <hunt@redhat.com>

* Makefile.in (install-gdbtk): Install PNG images too.

21 years ago2003-01-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 21 Jan 2003 19:43:48 +0000 (19:43 +0000)]
2003-01-21  Andrew Cagney  <ac131313@redhat.com>

* exec.c (text_start): Delete global variable.
(exec_file_attach): Make text_start local to the function.
* inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
* valops.c (hand_function_call): Delete code that handles
BEFORE_TEXT_END and AFTER_TEXT_END.
* gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
of CALL_DUMMY_LOCATION.
* gdbarch.c: Regenerate.
* inferior.h (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end): Delete functions.
(text_end): Delete extern declaration.

21 years ago2003-01-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 21 Jan 2003 19:32:42 +0000 (19:32 +0000)]
2003-01-21  Andrew Cagney  <ac131313@redhat.com>

* frame.h (FRAME_OBSTACK_ZALLOC): Define.
* blockframe.c (backtrace_below_main): Move to "frame.c".
(frame_chain_valid): Delete check for backtrace_below_main.
(_initialize_blockframe): Delete initialization, move ``set
backtrace-below-main'' command to "frame.c".
(do_flush_frames_sfunc): Delete function.
* frame.c: Include "command.h" and "gdbcmd.h".
(frame_type_from_pc): New function.
(create_new_frame): Use frame_type_from_pc.
(legacy_get_prev_frame): New function.
(get_prev_frame): Rewrite.  When an old style frame, call
legacy_get_prev_frame.  Otherwize, unwind the PC first.
(_initialize_frame): Add ``set backtrace-below-main'' command.
* Makefile.in (frame.o): Update dependencies.

21 years agofix typo in previous entry
Nick Clifton [Tue, 21 Jan 2003 17:11:56 +0000 (17:11 +0000)]
fix typo in previous entry

21 years agoFix generation of tic3xcoff_onchip.c
Nick Clifton [Tue, 21 Jan 2003 17:09:47 +0000 (17:09 +0000)]
Fix generation of tic3xcoff_onchip.c

21 years agoAdd support for i386-*-aros triple.
Nick Clifton [Tue, 21 Jan 2003 16:08:31 +0000 (16:08 +0000)]
Add support for i386-*-aros triple.

21 years agoAll NetBSD ELF targets should pass these tests.
Nick Clifton [Tue, 21 Jan 2003 15:54:09 +0000 (15:54 +0000)]
All NetBSD ELF targets should pass these tests.

21 years ago(display_debug_loc): Skip address base changes.
Nick Clifton [Tue, 21 Jan 2003 15:41:10 +0000 (15:41 +0000)]
(display_debug_loc): Skip address base changes.

21 years ago * elf32-ppc.c (struct ppc_elf_dyn_relocs): Define.
Andreas Schwab [Tue, 21 Jan 2003 12:55:11 +0000 (12:55 +0000)]
* elf32-ppc.c (struct ppc_elf_dyn_relocs): Define.
(struct ppc_elf_link_hash_entry): Define.
(ppc_elf_hash_entry): New function.
(struct ppc_elf_link_hash_table): Define.
(ppc_elf_hash_table): New function.
(ppc_elf_link_hash_newfunc): New function.
(ppc_elf_link_hash_table_create): New function.
(ppc_elf_copy_indirect_symbol): New function.
(allocate_dynrelocs): New function.
(readonly_dynrelocs): New function.
(ppc_elf_size_dynamic_sections): Allocate space for dynamic
relocs and determine DT_TEXTREL.
(ppc_elf_check_relocs): Don't do that here, just count the
dynamic relocs.
(ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the
removed section.
(bfd_elf32_bfd_link_hash_table_create): Define.
(elf_backend_copy_indirect_symbol): Define.

21 years ago * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
Richard Henderson [Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)]
    * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
        TPREL also get a reloc if shared.  Remove SREL support.
        (elf64_alpha_emit_dynrel): New.
        (elf64_alpha_relocate_section): Use it.  Resolve dynamic TPREL
        and GOTTPREL relocs to local symbols against the tp base.
        (elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel.

        * elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got
        use count before clobbering r_type.
        (elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn
        ordering would mean dataflow inspection is necessary.

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

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

21 years agoUpdates for fixing tic4x arch tagging of its object files.
Svein Seldal [Mon, 20 Jan 2003 22:34:39 +0000 (22:34 +0000)]
Updates for fixing tic4x arch tagging of its object files.

* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks.
* include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug
* include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros
* ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
* ld/Makefile.in: Regenerate
* ld/configure.tgt: Added extra target emulations
* ld/emulparams/tic3xcoff.sh: Remove old settings
* ld/emulparams/tic4xcoff.sh: Ditto
* ld/emulparams/tic3xcoff-onchip.sh: Added new
* ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
* ld/scripttempl/tic3xcoff.sc: Remove

21 years agomerge from gcc
DJ Delorie [Mon, 20 Jan 2003 19:03:56 +0000 (19:03 +0000)]
merge from gcc

21 years agoTreat elfNN_bed like other macros defined in elfxx-target.h and #undef it
Nick Clifton [Mon, 20 Jan 2003 18:06:21 +0000 (18:06 +0000)]
Treat elfNN_bed like other macros defined in elfxx-target.h and #undef it
before #define'ing it.

21 years ago2003-01-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 20 Jan 2003 15:40:07 +0000 (15:40 +0000)]
2003-01-20  Elena Zannoni  <ezannoni@redhat.com>

* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations.  Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.

21 years ago * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
Alan Modra [Mon, 20 Jan 2003 12:57:59 +0000 (12:57 +0000)]
* ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.

21 years ago * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
Martin Schwidefsky [Mon, 20 Jan 2003 11:51:38 +0000 (11:51 +0000)]
* s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
gotplt and pltoff relocations.

21 years ago * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
Martin Schwidefsky [Mon, 20 Jan 2003 11:50:38 +0000 (11:50 +0000)]
* gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
relocations.
* gas/s390/reloc.s: Likewise.
* gas/s390/reloc64.d: Likewise.
* gas/s390/reloc64.s: Likewise.

21 years ago * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
Martin Schwidefsky [Mon, 20 Jan 2003 11:48:32 +0000 (11:48 +0000)]
* config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
gotplt and pltoff relocations.
(s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
(s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
gotplt and pltoff to bfd relocations.
(md_gather_operands): Map new instruction operand/elf suffix
combinations to bfd relocations.
(tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
to the list of unadjustable relocations.
(tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
and pltoff relocations.
(md_apply_fix3): Add the new relocations.

21 years ago * bfd-in2.h: Regenerate.
Martin Schwidefsky [Mon, 20 Jan 2003 11:46:33 +0000 (11:46 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.

21 years ago * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
Martin Schwidefsky [Mon, 20 Jan 2003 10:22:26 +0000 (10:22 +0000)]
    * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
        with a subsy symbol.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 20 Jan 2003 01:01:47 +0000 (01:01 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
DEPRECATED_REGISTERS_INFO.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 20 Jan 2003 00:46:42 +0000 (00:46 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Replace `Blanket Write Privs' with `Global
Maintainers'.  Update `Various Maintainers'.

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

21 years ago * configure.in: Add missing \.
Nathanael Nerode [Sun, 19 Jan 2003 23:45:39 +0000 (23:45 +0000)]
* configure.in: Add missing \.
* configure: Rebuilt.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 19 Jan 2003 23:27:28 +0000 (23:27 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
* gdbarch.sh (POP_FRAME): Change to function with predicate.
Suppress actual parameters when `-'.
* gdbarch.h, gdbarch.c: Regenerate.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 19 Jan 2003 22:24:50 +0000 (22:24 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
code handling dummy frames.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 19 Jan 2003 17:39:16 +0000 (17:39 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* frame-unwind.h (frame_unwind_pop_ftype): Declare.
(struct frame_unwind): Add field pop.
* frame.h (frame_pop): Declare.
* frame.c (frame_saved_regs_pop): New function.
(trad_frame_unwinder): Add frame_saved_regs_pop.
(frame_pop): New function.
* dummy-frame.c (dummy_frame_pop): New function.
(discard_innermost_dummy): New function.
(generic_pop_dummy_frame): Use discard_innermost_dummy.
(dummy_frame_unwind): Add dummy_frame_pop.
* infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
* valops.c (hand_function_call): Ditto.
* stack.c (return_command): Ditto.

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

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 19 Jan 2003 04:06:47 +0000 (04:06 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* cris-tdep.c: Fix function declaration indentation.
* dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
* mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
* rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
* symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
* xcoffread.c, config/pa/tm-hppa.h: Ditto.
* config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.

21 years agodaily update
Alan Modra [Sat, 18 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-16 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 18 Jan 2003 17:43:14 +0000 (17:43 +0000)]
2003-01-16  Michael Chastain  <mec@shout.net>

* README (Unpacking and Installation -- quick overview):
Warn against ".../gdb-5.3/gdb/configure".

21 years ago2003-01-16 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 18 Jan 2003 17:41:34 +0000 (17:41 +0000)]
2003-01-16  Michael Chastain  <mec@shout.net>

* gdb.texinfo (Installing GDB): Warn against
".../gdb-VERSION/gdb/configure".
(Separate Objdir): Likewise.

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 18 Jan 2003 17:25:23 +0000 (17:25 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 18 Jan 2003 15:55:53 +0000 (15:55 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.

21 years ago*** empty log message ***
gdbadmin [Sat, 18 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
Richard Henderson [Fri, 17 Jan 2003 23:43:20 +0000 (23:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
        PAL entry points.

21 years ago * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
Jakub Jelinek [Fri, 17 Jan 2003 23:27:57 +0000 (23:27 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
R_IA64_TPREL64[LM]SB against non-global symbol properly.

* ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
* ld-ia64/tlspic.rd: Adjust.
* ld-ia64/tlspic.dd: Adjust.
* ld-ia64/tlspic.sd: Adjust.

21 years agodaily update
Alan Modra [Fri, 17 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
Stephane Carrez [Fri, 17 Jan 2003 22:51:28 +0000 (22:51 +0000)]
* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
of relocs for memory bank addressing.

21 years ago * config/tc-m68hc11.c (md_show_usage): Update usage.
Stephane Carrez [Fri, 17 Jan 2003 22:29:54 +0000 (22:29 +0000)]
* config/tc-m68hc11.c (md_show_usage): Update usage.
(md_parse_option): Recognize -m68hcs12.
(m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
HCS12.
* doc/as.texinfo (Overview): Document new option -m68hcs12.

21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 20:24:51 +0000 (20:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.

21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 19:24:16 +0000 (19:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.

(and fix date of previous ChangeLog entry; oops.)

21 years ago2003-01-16 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 19:22:27 +0000 (19:22 +0000)]
2003-01-16  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 17 Jan 2003 19:12:19 +0000 (19:12 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* main.c (captured_main): Don't use PTR.
* cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
* gdbtypes.c (lookup_primitive_typename): Ditto.
(lookup_struct_elt_type): Ditto.
* f-valprint.c (info_common_command): Ditto.
(list_all_visible_commons): Ditto.
* jv-typeprint.c (java_type_print_base): Ditto.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 17 Jan 2003 16:56:52 +0000 (16:56 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c.  Rename
i386-interix-nat.c and i386-interix-tdep.c.  Rename
m68klinux-nat.c and m68klinux-tdep.c.  Rename
config/mips/tm-linux.h and config/mips/tm-linux64.h.  Rename
bfd/po/.cvsignore and opcodes/po/.cvsignore.  Rename
gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
* main.c (captured_main): Use xfree, not free.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
Andreas Jaeger [Fri, 17 Jan 2003 10:36:49 +0000 (10:36 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
skip ':'.

21 years ago * configure.in (baseargs): Avoid using \| in sed regular
Jakub Jelinek [Fri, 17 Jan 2003 08:00:16 +0000 (08:00 +0000)]
* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.