Andreas Jaeger [Sat, 28 May 2005 11:44:49 +0000 (11:44 +0000)]
2005-05-28 Eli Zaretskii <eliz@gnu.org>
* configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS.
* config.in, configure: Regenerate.
Hans-Peter Nilsson [Sat, 28 May 2005 08:49:13 +0000 (08:49 +0000)]
* MAINTAINERS: Change cris-elf state to non-broken.
* cp-name-parser.y (parse_escape): Initialize target_char to zero.
Hans-Peter Nilsson [Sat, 28 May 2005 08:47:30 +0000 (08:47 +0000)]
* cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
Alan Modra [Sat, 28 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 28 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Mark Mitchell [Fri, 27 May 2005 17:27:03 +0000 (17:27 +0000)]
* config/default.exp (CC): Use find_gcc.
(CFLAGS): Define, if no definition is provided.
(CXX): Likewise.
(CXXFLAGS): Likewise.
Orjan Friberg [Fri, 27 May 2005 14:36:13 +0000 (14:36 +0000)]
2005-05-27 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (crisv32_scan_prologue): Add.
(cris_frame_unwind_cache, cris_skip_prologue): Call
crisv32_scan_prologue when debugging CRISv32.
Orjan Friberg [Fri, 27 May 2005 13:51:06 +0000 (13:51 +0000)]
* Tweaked last ChangeLog entry.
Orjan Friberg [Fri, 27 May 2005 13:47:59 +0000 (13:47 +0000)]
2005-05-27 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_frame_prev_register, cris_sigtramp_frame_prev_register)
(cris_return_value): Use gdb_byte for byte buffers.
(struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
Zack Weinberg [Fri, 27 May 2005 07:11:45 +0000 (07:11 +0000)]
* config/tc-arm.h (TC_FIX_TYPE): Change to int.
(TC_INIT_FIX_DATA): Initialize to 0, not NULL.
* config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
(md_apply_fix3): Delete fix_is_thumb variable; refer to
fixP->tc_fix_data directly in the sole place it was used.
Explicitly truncate value, *valP, fixP->fx_addnumber, and
fixP->fx_offset to 32 bits, for consistent behavior between 32-
and 64-bit hosts.
Jan Beulich [Fri, 27 May 2005 06:28:04 +0000 (06:28 +0000)]
gas/
2005-05-27 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (struct proc_pending): New.
(unwind): Replace proc_start with proc_pending.
(unwind_diagnostic): Check unwind.proc_pending.sym.
(dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
Check if previous proc not closed. Record all entry points.
(dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
Set symbol sizes for entry points recorded in dot_proc. Check
arguments for consistency with respective .proc's.
(md_assemble): Replace unwind.proc_start with
unwind.proc_pending.sym.
gas/testsuite/
2005-05-27 Jan Beulich <jbeulich@novell.com>
* gas/ia64/proc.l: Adjust.
Jan Beulich [Fri, 27 May 2005 06:25:22 +0000 (06:25 +0000)]
gas/
2005-05-27 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
and last_ptr. Check all in-use slots for first one with non-NULL
unwind_record. Don't reload end_ptr before second update round.
Chris Demetriou [Fri, 27 May 2005 04:51:52 +0000 (04:51 +0000)]
2005-05-26 Chris Demetriou <cgd@netbsd.org>
* MAINTAINERS (Write After Approval): Remove myself.
Andrew Cagney [Fri, 27 May 2005 04:39:33 +0000 (04:39 +0000)]
2005-05-27 Andrew Cagney <cagney@gnu.org>
* jv-lang.c (get_java_utf8_name): Add cast.
(evaluate_subexp_java): Use gdb_byte for buffers.
* jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
for buffers.
* scm-lang.c (scm_get_field, scm_unpack)
(scm_evaluate_string): Use gdb_byte for buffers.
(scm_lookup_name): Add cast.
* scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
gdb_byte for buffers.
* tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
* tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
* value.h (check_field): Change "name" to a string.
* valops.c (check_field): Change "name" to a string.
* scm-lang.h (scm_parse): Use gdb_byte for buffers.
* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Initialize all fields of sal
structures.
* cli/cli-cmds.c (list_command): Use gdb_byte for buffers.
gdbadmin [Fri, 27 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 27 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Andreas Schwab [Thu, 26 May 2005 22:23:15 +0000 (22:23 +0000)]
* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
Chris Demetriou [Thu, 26 May 2005 21:37:09 +0000 (21:37 +0000)]
2005-05-26 Chris Demetriou <cgd@netbsd.org>
* MAINTAINERS: Update my mail address, move myself to the
"Past maintainers" section.
Chris Demetriou [Thu, 26 May 2005 21:31:57 +0000 (21:31 +0000)]
2005-05-26 David Ung <davidu@mips.com>
* mips.igen (mips32r2, mips64r2): New ISA models. Add new model
tags to all instructions which are applicable to the new ISAs.
(do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
vr.igen.
* mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
instructions.
* vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
to mips.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
* configure: Regenerate.
Andrew Cagney [Thu, 26 May 2005 20:49:03 +0000 (20:49 +0000)]
2005-05-26 Andrew Cagney <cagney@gnu.org>
* command.h (add_setshow_integer_cmd): Make VAR an integer.
* cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
* valops.c (value_string): Add a cast.
* eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
* breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
byte buffers.
* target.h (struct target_ops): For to_insert_hw_breakpoint and
to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
* breakpoint.h (struct bp_location): Make shadow_contents a
gdb_byte buffer.
* cli/cli-setshow.c (do_setshow_command): Fix cast.
* cli/cli-dump.c (restore_section_callback)
(restore_binary_file): Use gdb_byte for byte buffers.
* proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
(ps_xfer_memory): Use gdb_byte for byte buffers.
* tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
for string buffers.
* ser-tcp.c (net_open): Make len a socklen_t.
Andrew Cagney [Thu, 26 May 2005 19:28:23 +0000 (19:28 +0000)]
2005-05-26 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and
Andrew Cagney implemented the original GDB/MI.
Maciej W. Rozycki [Thu, 26 May 2005 18:51:11 +0000 (18:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and
stop processing of options if one of invalid size is
encountered.
(_bfd_mips_elf_section_from_shdr): Likewise.
(_bfd_mips_elf_fake_sections): Reset the type of empty special
sections.
Jim Wilson [Thu, 26 May 2005 18:46:12 +0000 (18:46 +0000)]
Fix issues noticed while reviewing Jan Beulich's MLX template bug fix.
* config/tc-ia64.c (extra_goodness): Update comment.
(md_begin): Add debugging code to print best_template table.
Richard Henderson [Thu, 26 May 2005 16:14:33 +0000 (16:14 +0000)]
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove
plt_old_section, plt_old_value.
(elf64_alpha_adjust_dynamic_symbol): Don't set it.
(elf64_alpha_size_plt_section_1): Don't use it.
Jakub Jelinek [Thu, 26 May 2005 07:41:13 +0000 (07:41 +0000)]
* elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and
first shdr has sh_size == 0. Fail if e_shnum is large to cause
arithmetic overflow when allocating the i_shdr array.
Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check.
Richard Henderson [Thu, 26 May 2005 07:14:03 +0000 (07:14 +0000)]
* elf64-alpha.c: Update all function definitions to ISO C. Remove
all function prototypes; rearrange functions into def-use order.
Jim Wilson [Thu, 26 May 2005 00:41:43 +0000 (00:41 +0000)]
Patch from Steve Ellcey for ia64-hpux testsuite failure.
gas/ia64/global.d: Change --sym to --syms.
gdbadmin [Thu, 26 May 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 26 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Richard Henderson [Wed, 25 May 2005 23:32:36 +0000 (23:32 +0000)]
include/
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.
Richard Henderson [Wed, 25 May 2005 20:00:40 +0000 (20:00 +0000)]
* elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iteration
in the presence of deleting elements.
(elf64_alpha_size_got_sections): Zero dead got section size.
Paolo Bonzini [Wed, 25 May 2005 14:23:03 +0000 (14:23 +0000)]
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (stage[+id+]-start): Iterate over target module as well.
(Dependencies): Consider target modules for bootstrap dependencies.
Make target bootstrap modules depend on each stage's gcc.
* Makefile.in: Regenerate.
H.J. Lu [Wed, 25 May 2005 14:10:08 +0000 (14:10 +0000)]
2005-05-25 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/group-1.d: Updated.
* gas/ia64/group-2.d: Likewise.
Jan Beulich [Wed, 25 May 2005 07:17:08 +0000 (07:17 +0000)]
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
template.
Jan Beulich [Wed, 25 May 2005 07:13:19 +0000 (07:13 +0000)]
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
BFD_RELOC_UNUSED when determining the width of the reloc.
Jan Beulich [Wed, 25 May 2005 07:08:51 +0000 (07:08 +0000)]
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
section entry.
Jan Beulich [Wed, 25 May 2005 06:59:36 +0000 (06:59 +0000)]
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_radix): Rewrite.
gas/testsuite/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* gas/ia64/radix.s: New.
* gas/ia64/radix.l: New.
* gas/ia64/ia64.exp: Run new test.
Jan Beulich [Wed, 25 May 2005 06:55:41 +0000 (06:55 +0000)]
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
and next_slot_frag.
(alloc_record): Remove references to next_slot_number and
next_slot_frag.
(emit_one_bundle): Likewise.
Jan Beulich [Wed, 25 May 2005 06:50:23 +0000 (06:50 +0000)]
gas/testsuite/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/intelok.d: Account for 32-bit displacements being shown
in hex.
opcodes/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (OP_E): In Intel mode, display 32-bit displacements in
hex (but retain it being displayed as signed). Remove redundant
checks. Add handling of displacements for 16-bit addressing in Intel
mode.
H.J. Lu [Wed, 25 May 2005 06:49:53 +0000 (06:49 +0000)]
2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
* ld-mmix/bpo-6.d: Updated.
* ld-mmix/bpo-19.d: Likewise.
Jan Beulich [Wed, 25 May 2005 06:47:58 +0000 (06:47 +0000)]
opcodes/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (prefix_name): Remove pointless mode_64bit check.
(OP_E): Remove redundant REX_EXTZ handling. Remove pointless
masking of 'rm' in 16-bit memory address handling.
H.J. Lu [Wed, 25 May 2005 06:30:25 +0000 (06:30 +0000)]
2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/group0b.d: Updated.
* gas/elf/group1b.d: Likewise.
Andrew Cagney [Wed, 25 May 2005 03:12:13 +0000 (03:12 +0000)]
2005-05-24 Andrew Cagney <cagney@gnu.org>
* rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
for byte buffers.
(rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
(rs6000_software_single_step, sstep_breaks, skip_prologue)
(rs6000_push_dummy_call, rs6000_push_dummy_call)
(rs6000_push_dummy_call, rs6000_push_dummy_call)
(rs6000_register_to_value, e500_pseudo_register_read)
(rs6000_store_return_value, e500_pseudo_register_write)
(rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
(do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
(ppc_sysv_abi_broken_return_value)
(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
(ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
* ppc-linux-tdep.c (ppc_linux_in_sigtramp)
(ppc_linux_at_sigtramp_return_path)
(ppc_linux_skip_trampoline_code)
(ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
* rs6000-tdep.c (rs6000_value_to_register)
(rs6000_register_to_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value)
(ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
(ppc_linux_memory_remove_breakpoint): Ditto.
gdbadmin [Wed, 25 May 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 25 May 2005 00:00:09 +0000 (00:00 +0000)]
daily update
DJ Delorie [Tue, 24 May 2005 21:01:33 +0000 (21:01 +0000)]
merge from gcc
Ulrich Weigand [Tue, 24 May 2005 16:12:58 +0000 (16:12 +0000)]
* s390-tdep.c (s390_frame_prev_register): Change type of last
argument to 'gdb_byte *'.
(s390_stub_frame_prev_register): Likewise.
(s390_sigtramp_frame_prev_register): Likewise.
Kris Warkentin [Tue, 24 May 2005 15:43:21 +0000 (15:43 +0000)]
2005-05-24 Kris Warkentin <kewarken@qnx.com>
* config/i386/nto.mt: Remove remote-nto.o.
Nick Clifton [Tue, 24 May 2005 15:30:38 +0000 (15:30 +0000)]
(handle_v6_thumb_insn): New function.
(ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined instruction
binary is encountered.
Corinna Vinschen [Tue, 24 May 2005 14:21:19 +0000 (14:21 +0000)]
* Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
check.
H.J. Lu [Tue, 24 May 2005 13:53:30 +0000 (13:53 +0000)]
2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_groups): Report group section
index. Check if the section member index is valid.
Orjan Friberg [Tue, 24 May 2005 08:27:01 +0000 (08:27 +0000)]
2005-05-24 Orjan Friberg <orjanf@axis.com>
* config/djgpp/fnchange.lst: Add mappings for
gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
Alan Modra [Tue, 24 May 2005 00:27:58 +0000 (00:27 +0000)]
* emultempl/ppc32elf.em (after_allocation): Don't call
ppc_elf_set_sdata_syms when relocatable.
gdbadmin [Tue, 24 May 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 24 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update
Michael Snyder [Mon, 23 May 2005 21:19:48 +0000 (21:19 +0000)]
2005-05-23 Michael Snyder <msnyder@redhat.com>
From Nora Pan <qpan@mvista.com>
* linux-nat.c (read_mapping): Don't stumble over entries in
mapping that have name but zero inode.
Andrew Cagney [Mon, 23 May 2005 19:32:28 +0000 (19:32 +0000)]
2005-05-23 Andrew Cagney <cagney@gnu.org>
* target.h (child_xfer_memory): Use gdb_byte for byte buffer
parameters.
* inftarg.c (child_xfer_partial): Update.
* wince.c (child_xfer_memory): Update.
* win32-nat.c (child_xfer_memory): Update.
* rs6000-nat.c (child_xfer_memory): Update.
* infptrace.c (child_xfer_memory): Update.
* dcache.c (struct dcache_block): Use gdb_byte for the byte
buffers.
(dcache_read_line, dcache_xfer_memory, dcache_poke_byte)
(dcache_peek_byte, dcache_write_line): Ditto.
Andrew Cagney [Mon, 23 May 2005 18:20:03 +0000 (18:20 +0000)]
2005-05-23 Andrew Cagney <cagney@gnu.org>
* auxv.h (target_auxv_read, procfs_xfer_auxv)
(target_auxv_parse): Use gdb_byte for byte buffer parameters.
* auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse)
(target_auxv_search, fprint_target_auxv): Update.
Fred Fish [Mon, 23 May 2005 17:45:42 +0000 (17:45 +0000)]
Approved by nickc@redhat.com:
2005-05-23 Fred Fish <fnf@specifixinc.com>
* addr2line.c (unwind_inlines): New flag for 'i' option.
(usage): Document '-i' option.
(long_options): Recognize '--inlines'.
(translate_addresses): Loop, calling bfd_find_inliner_info as
necessary and printing multiple output lines.
(main): Handle 'i' option.
* doc/binutils.texi (addr2line): Document '-i' option.
* NEWS: Mention new addr2line '-i' option.
Fred Fish [Mon, 23 May 2005 17:44:55 +0000 (17:44 +0000)]
Approved by nickc@redhat.com
2005-05-23 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add inliner_chain member.
(struct funcinfo): Add caller_func, caller_file, caller_line.
tag, and nesting_level members.
(lookup_address_in_function_table): Change first passed parameter
from "struct funcinfo *" to "struct comp_unit *".
(lookup_address_in_function_table): Dereference unit to find function
table.
(lookup_address_in_function_table): Traverse the function list to
create a chain of inlined functions back to the first non inlined
function.
(scan_unit_for_functions): Remember tag and nesting level. Handle
DW_AT_call_file and DW_AT_call_line.
(comp_unit_find_nearest_line): Adjust lookup_address_in_function_table
call to pass unit pointer instead of function table pointer. For
inlined functions, save pointer to the inliner chain.
(_bfd_dwarf2_find_nearest_line): Initialize inliner_chain to NULL.
(_bfd_dwarf2_find_inliner_info): New function that returns information
from the inliner chain after a call to bfd_find_nearest_line.
* bfd.c (bfd_find_inliner_info): Define using BFD_SEND.
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Add entry for
NAME##_find_inliner_info.
(bfd_target): Add _bfd_find_inliner_info.
* bfd-in2.h: Regenerate.
* libbfd-in.h (_bfd_nosymbols_find_inliner_info): Define as
macro that always returns bfd_false.
(_bfd_dwarf2_find_inliner_info): Declare.
* libbfd.h: Regenerate.
* elf32-arm.c (elf32_arm_find_inliner_info): New function
that calls _bfd_dwarf2_find_inliner_info.
(bfd_elf32_find_inliner_info): Define to elf32_arm_find_inliner_info.
* elfxx-mips.c (_bfd_mips_elf_find_inliner_info): New function
that calls _bfd_dwarf2_find_inliner_info.
* elfxx-mips.h (_bfd_mips_elf_find_inliner_info): Declare.
* elfn32-mips.c (bfd_elf32_find_inliner_info): Define to
_bfd_mips_elf_find_inliner_info.
* elf64-mips.c (bfd_elf64_find_inliner_info): Ditto.
* elf32-mips.c (bfd_elf32_find_inliner_info): Ditto.
* elf.c (_bfd_elf_find_inliner_info): New function that calls
_bfd_dwarf2_find_inliner_info.
* elf-bfd.h (_bfd_elf_find_inliner_info): Declare.
* elfxx-target.h (bfd_elfNN_find_inliner_info): Define to
_bfd_elf_find_inliner_info.
* coffgen.c (coff_find_inliner_info): New function that
calls _bfd_dwarf2_find_inliner_info.
* libcoff-in.h (coff_find_inliner_info): Declare.
* libcoff.h: Regenerate.
* coff-rs6000.c (rs6000coff_vec): Add coff_find_inliner_info.
(pmac_xcoff_vec) Ditto.
* coff64-rs6000.c (rs6000coff64_vec): Ditto.
(aix5coff64_vec): Ditto.
* aout-target.h (MY_find_inliner_info): Define as
_bfd_nosymbols_find_inliner_info.
* aout-tic30.c (MY_find_inliner_info): Ditto.
* binary.c (binary_find_inliner_info): Ditto.
* i386msdos.c (msdos_find_inliner_info): Ditto.
* ihex.c (ihex_find_inliner_info): Ditto.
* libaout.h (aout_32_find_inliner_info): Ditto.
* libecoff.h (_bfd_ecoff_find_inliner_info): Ditto.
* mach-o.c (bfd_mach_o_find_inliner_info): Ditto.
* mmo.c (mmo_find_inliner_info): Ditto.
* nlm-target.h (nlm_find_inliner_info): Ditto.
* pef.c (bfd_pef_find_inliner_info): Ditto.
* ppcboot.c (ppcboot_find_inliner_info): Ditto.
* srec.c (srec_find_inliner_info): Ditto.
* tekhex.c (tekhex_find_inliner_info): Ditto.
* versados.c (versados_find_inliner_info): Ditto.
* xsym.c (bfd_sym_find_inliner_info): Ditto.
* ieee.c (ieee_find_inliner_info): New function that always
returns FALSE.
* oasys.c (oasys_find_inliner_info): Ditto.
* vms.c (vms_find_inliner_info): Ditto.
Dave Anglin [Mon, 23 May 2005 16:26:43 +0000 (16:26 +0000)]
* hppa.h (FLAG_STRICT): Correct comment.
(pa_opcodes): Update load and store entries to allow both PA 1.X and
PA 2.0 mneumonics when equivalent. Entries with cache control
completers now require PA 1.1. Adjust whitespace.
Alan Modra [Mon, 23 May 2005 16:22:25 +0000 (16:22 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): For old gcc -fPIC code
force old plt layout.
Nick Clifton [Mon, 23 May 2005 12:12:00 +0000 (12:12 +0000)]
(fetch_indirect_string): Display a warning message when a corrupt
DW_FORM_strp value is encountered.
(process_debug_info): Mention that the compilation unit offset is being
displayed in hexadecimal.
(display_debug_lines): Fix typo in name of .debug_line section.
Orjan Friberg [Mon, 23 May 2005 11:20:07 +0000 (11:20 +0000)]
2005-05-23 Orjan Friberg <orjanf@axis.com>
* linux-cris-low.c: New file with support for CRIS.
* linux-crisv32-low.c: Ditto for CRISv32.
* Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c.
(clean): Add reg-cris.c and reg-crisv32.c.
Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c,
reg-crisv32.o, and reg-crisv32.c to make rules.
* configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of
recognized targets.
Orjan Friberg [Mon, 23 May 2005 10:48:03 +0000 (10:48 +0000)]
* Last commit contained the wrong ChangeLog entry.
Orjan Friberg [Mon, 23 May 2005 10:43:18 +0000 (10:43 +0000)]
2005-05-23 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c: Tweak values for cris-mode.
Orjan Friberg [Mon, 23 May 2005 10:41:33 +0000 (10:41 +0000)]
2005-05-23 Orjan Friberg <orjanf@axis.com>
* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
documentation. Add documentation for cris-mode.
Joel Brobecker [Mon, 23 May 2005 03:28:38 +0000 (03:28 +0000)]
* mdebugread.c (record_minimal_symbol): New procedure.
(parse_partial_symbols): Use record_minimal_symbol to record
the new minimal symbols instead of prim_record_minimal_symbol
and prim_record_minimal_symbol_and_info.
Richard Henderson [Mon, 23 May 2005 01:26:58 +0000 (01:26 +0000)]
* elf64-alpha.c (elf64_alpha_relax_section): Ignore non-allocated
sections.
(elf64_alpha_check_relocs): Likewise.
(elf64_alpha_relocate_section): Don't emit dynamic relocations to
non-allocated sections.
gdbadmin [Mon, 23 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 23 May 2005 00:00:03 +0000 (00:00 +0000)]
daily update
Richard Henderson [Sun, 22 May 2005 22:13:21 +0000 (22:13 +0000)]
* elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to
undefweak to use zero register. Call elf64_alpha_relax_got_load
if not all uses removed.
(elf64_alpha_relax_got_load): Relax undefweak to lda zero.
(elf64_alpha_relax_section): Handle undefweak symbols.
(elf64_alpha_calc_dynrel_sizes): Don't add relocs for undefweak.
(elf64_alpha_size_rela_got_1): Likewise.
(elf64_alpha_relocate_section): Likewise.
Richard Henderson [Sun, 22 May 2005 22:07:31 +0000 (22:07 +0000)]
* elf64-alpha.c (elf64_alpha_relax_section): Only operate
on SEC_CODE sections.
Richard Henderson [Sun, 22 May 2005 21:02:19 +0000 (21:02 +0000)]
* ld-elfweak/dsow.dsym: Adjust for non-zero ST_OTHER.
* ld-elfweak/weak.dsym: Likewise.
* ld-selective/selective.exp: Don't test alpha.
Mark Kettenis [Sun, 22 May 2005 20:40:26 +0000 (20:40 +0000)]
* NEWS: Mention OpenBSD/arm as a new native configuration.
Mark Kettenis [Sun, 22 May 2005 20:36:19 +0000 (20:36 +0000)]
* armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be
defined.
(armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
Make static.
(armnbsd_store_registers): Rename from armnbsd_store_registers.
Make static.
(_initialize_arm_netbsd_nat): Construct and add target vector.
* Makefile.in (armnbsd-nat.o): Update dependencies.
* config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
intarg.o, add inf-ptrace.o.
(NAT_FILE): Set to solib.h.
* config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
(NAT_FILE): Remove.
Mark Kettenis [Sun, 22 May 2005 20:11:12 +0000 (20:11 +0000)]
* arm-tdep.c (arm_extract_return_value, arm_store_return_value):
Change type of last argument to `gdb_byte *'.
Dave Anglin [Sun, 22 May 2005 20:02:16 +0000 (20:02 +0000)]
* som.c (try_prev_fixup): Changed type of subspace_reloc_sizep to
unsigned int *.
(som_write_space_strings): Change type of tmp_space and p to char *.
(som_write_symbol_strings): Likewise. Also change type of comp to
char *comp[4].
(som_begin_writing): Change type of strings_size to unsigned int.
(som_finish_writing): Likewise.
(som_slurp_reloc_table): Change type of external_relocs to unsigned
char *.
* som.h (struct som_section_data_struct): Change type of reloc_stream
field to unsigned char *.
Mark Kettenis [Sun, 22 May 2005 19:11:42 +0000 (19:11 +0000)]
* configure.host: Add arm*-*-openbsd*.
* configure.tgt: Add arm*-*-openbsd*.
Andrew Cagney [Sun, 22 May 2005 14:53:35 +0000 (14:53 +0000)]
2005-05-22 Andrew Cagney <cagney@gnu.org>
* frame.h (frame_register_unwind, frame_unwind_register)
(get_frame_register, frame_register, put_frame_register)
(get_frame_memory, safe_frame_unwind_memory)
(frame_register_read): Use gdb_byte for byte buffer parameters.
* trad-frame.h (trad_frame_get_register)
(frame_get_prev_register): Ditto.
* frame-unwind.h (frame_prev_register_ftype): Ditto.
* frame.c (frame_pop, frame_register, frame_unwind_register)
(get_frame_register, frame_unwind_register_signed)
(frame_unwind_register_unsigned, frame_unwind_unsigned_register)
(frame_register_read, get_frame_memory): Update.
* trad-frame.c (trad_frame_get_prev_register): Update.
(trad_frame_get_register): Update.
* gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto.
* breakpoint.c (deprecated_read_memory_nobpt): Update.
* corefile.c (read_memory): Update.
* tramp-frame.c (tramp_frame_prev_register): Update.
* valops.c (value_assign): Update.
* sentinel-frame.c (sentinel_frame_prev_register): Update.
* std-regs.c (value_of_builtin_frame_fp_reg)
(value_of_builtin_frame_pc_reg): Update.
* infcmd.c (default_print_registers_info): Update
* dummy-frame.c (dummy_frame_prev_register): Update.
* findvar.c (value_of_register, value_from_register): Update.
* tui/tui-regs.c (tui_register_format, tui_get_register): Update.
* mi/mi-main.c (register_changed_p, get_register): Update.
Nick Clifton [Sun, 22 May 2005 05:55:15 +0000 (05:55 +0000)]
Fix typo
Dave Anglin [Sun, 22 May 2005 01:40:28 +0000 (01:40 +0000)]
* config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
only if an instruction match is found.
Alan Modra [Sun, 22 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 22 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Sat, 21 May 2005 23:43:59 +0000 (23:43 +0000)]
2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ld.1): Revert the last 2 changes.
(info-recursive): Depend on ld.1.
* Makefile.in: Regenerated.
H.J. Lu [Sat, 21 May 2005 22:22:20 +0000 (22:22 +0000)]
2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ld.1): Depend on "info" instead of
"configdoc.texi ldver.texi".
* Makefile.in: Regenerated.
H.J. Lu [Sat, 21 May 2005 21:31:13 +0000 (21:31 +0000)]
2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ld.1): Depend on "info".
* Makefile.in: Regenerated.
Alan Modra [Sat, 21 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 21 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Fri, 20 May 2005 22:02:08 +0000 (22:02 +0000)]
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't eliminate
copy relocations for VxWorks.
Daniel Jacobowitz [Fri, 20 May 2005 21:57:12 +0000 (21:57 +0000)]
bfd/
* bfd/elf32-ppc.c (struct ppc_elf_link_hash_entry): Add new field
has_sda_refs.
(ppc_elf_copy_indirect_symbol): Copy has_sda_refs.
(ppc_elf_check_relocs): Set has_sda_refs.
(ppc_elf_adjust_dynamic_symbol): Check has_sda_refs before eliminating
copy relocations. Use has_sda_refs to place variables in .sbss.
(ppc_elf_finish_dynamic_symbol): Use has_sda_refs to place variables in
.sbss.
ld/testsuite/
* ld-powerpc/sdalib.s, ld-powerpc/sdadyn.s, ld-powerpc/sdadyn.d: New
files.
* ld-powerpc/powerpc.exp: Run the new test.
Bob Wilson [Fri, 20 May 2005 19:53:18 +0000 (19:53 +0000)]
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Make sure that
xtensa_default_isa is initialized.
Bob Wilson [Fri, 20 May 2005 19:09:54 +0000 (19:09 +0000)]
* ld-undefined/undefined.exp: Revert xfail for xtensa-*-*.
Bob Wilson [Fri, 20 May 2005 19:01:56 +0000 (19:01 +0000)]
* config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
to addition in argument to xtensa_dwarf2_emit_insn.
Eli Zaretskii [Fri, 20 May 2005 18:17:47 +0000 (18:17 +0000)]
* configure.ac: Fix bad description of _MSE_INT_H that caused each
word in config.in to be enclosed in [].
* config.in: Regenerate.
Eli Zaretskii [Fri, 20 May 2005 18:07:12 +0000 (18:07 +0000)]
*** empty log message ***
Eli Zaretskii [Fri, 20 May 2005 18:06:37 +0000 (18:06 +0000)]
* configure, config.in: Regenerate.
Eli Zaretskii [Fri, 20 May 2005 14:59:59 +0000 (14:59 +0000)]
*** empty log message ***
Eli Zaretskii [Fri, 20 May 2005 14:58:38 +0000 (14:58 +0000)]
* gdb.texinfo (Numbers): Explain the example and make the wording
more acurate.
Eli Zaretskii [Fri, 20 May 2005 11:32:51 +0000 (11:32 +0000)]
* configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS.