aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-01-18merge from gccDJ Delorie2-0/+6
2006-01-18fix typoArnold Metselaar2-3/+3
2006-01-18Add tests for instructions with offsets.Arnold Metselaar4-0/+55
2006-01-18fixes related to indexed operandsArnold Metselaar2-17/+28
2006-01-18PR binutils/1391Nick Clifton4-3/+56
* objcopy.c (copy_object): For PE format targets set the VMA of a newly created gnu_debuglink section to a non-zero, aligned, contiguous value. * Makefile.am (objcopy.c): Add a dependency upon libbfd.h. * Makefile.in: Regenerate.
2006-01-18*** empty log message ***gdbadmin1-1/+1
2006-01-17* MAINTAINERS: Very belatedly remove myself from from the list of people caughtChristopher Faylor2-1/+5
up in the paper trail.
2006-01-17daily updateAlan Modra1-1/+1
2006-01-17gdb/ChangeLog:Jim Blandy5-8/+14
2006-01-17 Jim Blandy <jimb@redhat.com> * symtab.h (struct general_symbol_info): Use gdb_byte for value.bytes. * stabsread.c (define_symbol): Use gdb_byte for the buffer holding a floating-point constant's value. * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer to char *. * findvar.c (read_var_value): Eliminate needless temporary.
2006-01-17gdb/ChangeLog:Jim Blandy2-1/+6
2006-01-17 Jim Blandy <jimb@redhat.com> * dwarf2-frame.c (dwarf2_read_section): Update forward declaration to match prior change to dwarf2_read_section's type.
2006-01-172006-01-16 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam3-0/+114
* ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. * rs6000-tdep.c (insn_changes_sp_or_jumps) (rs6000_in_function_epilogue_p): New functions. (rs6000_gdbarch_init): Set in_function_epilogue_p.
2006-01-172006-01-17 Jim Blandy <jimb@redhat.com>Jim Blandy2-144/+162
* dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) (struct line_header, struct partial_die_info, struct dwarf_block): Use gdb_byte for members that refer to Dwarf section contents. (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, dwarf_decode_macros, load_comp_unit, load_partial_dies, locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, read_8_bytes, read_address, read_attribute, read_attribute_value, read_comp_unit, read_comp_unit_head, read_die_and_children, read_die_and_siblings, read_full_die, read_indirect_string, read_initial_length, read_n_bytes, read_offset, read_partial_die, read_signed_leb128, read_string, read_unsigned_leb128, skip_children, skip_leb128, skip_one_die): Same.
2006-01-17Use unsigned char to hold data to be disassembled.Arnold Metselaar2-6/+11
2006-01-17 PR binutils/1486Andreas Schwab8-24/+36
binutils/: * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS. * configure: Regenerate. * objdump.c (struct objdump_disasm_info): Don't check for DISASSEMBLER_NEEDS_RELOCS. (objdump_print_addr): Likewise. (disassemble_bytes): Check disassembler_needs_relocs from disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS at compile-time. (disassemble_section): Likewise. (disassemble_data): Initialize it. include/: * dis-asm.h (struct disassemble_info): Add disassembler_needs_relocs. objdump/: * disassemble.c (disassemble_init_for_target): Set disassembler_needs_relocs for bfd_arch_arm.
2006-01-172006-01-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-29/+31
PR binutils/2096 * dwarf2.c (comp_unit_contains_address): Update comment. (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of lma. Return TRUE only if both comp_unit_contains_address and comp_unit_find_nearest_line return TRUE. (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
2006-01-17 * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.Alan Modra5-9/+83
(bfd_elf_gc_mark_dynamic_ref_symbol): Declare. * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from elf_gc_mark_dynamic_ref_symbol. Make global. (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref. * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define. (elfNN_bed): Init new field. * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define. (ppc64_elf_gc_mark_dynamic_ref): New function.
2006-01-17 * complaints.c (stop_whining): Make signed.Daniel Jacobowitz3-4/+9
* linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
2006-01-17 * dwarf2read.c, remote-fileio.c, remote.h: Update copyrightDaniel Jacobowitz4-3/+8
notices.
2006-01-17 * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)Daniel Jacobowitz2-19/+33
(read_offset): Change BYTES_READ argument to unsigned int. (dwarf2_build_psymtabs_easy, read_comp_unit_head) (create_all_comp_units, dwarf2_get_pc_bounds) (dwarf_decode_line_header, var_decode_location) (dwarf_decode_macros): Change local BYTES_READ variables to unsigned int. (read_indirect_string): Remove obsolete cast.
2006-01-17 * remote-fileio.c (remote_fileio_return_success): Take a gdb_byteDaniel Jacobowitz4-59/+87
argument. (remote_fileio_func_open, remote_fileio_func_rename) (remote_fileio_func_unlink, remote_fileio_func_stat) (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) (remote_fileio_func_system): Cast the arguments to remote_read_bytes and remote_write_bytes. (remote_fileio_func_read, remote_fileio_func_write): Use a gdb_byte buffer. * remote.h (remote_read_bytes, remote_write_bytes): Update prototypes. * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument. (threadref_to_int): Replace bogus char * cast. (remote_unpack_thread_info_response): Use int for tag. (remote_threads_extra_info, remote_check_symbols): Cast string arguments to hex2bin. (remote_wait): Use a char buffer for packets and a gdb_byte buffer for registers. (remote_async_wait): Likewise. (remote_prepare_to_store, store_register_using_P) (remote_store_registers): Use gdb_byte buffers. (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer for MYADDR and char buffers for strings. (remote_xfer_partial): Add casts for string operations on READBUF. (remote_rcmd): Cast strings passed to bin2hex.
2006-01-17 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.Alan Modra2-4/+5
2006-01-17Update copyright dateNick Clifton1-1/+1
2006-01-17PR binutils/2159Nick Clifton2-2/+8
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters.
2006-01-17*** empty log message ***gdbadmin1-1/+1
2006-01-16split changelogsAlan Modra24-29982/+30110
2006-01-16daily updateAlan Modra1-1/+1
2006-01-16 * aclocal.m4: Regenerate.Mark Mitchell2-2/+51
2006-01-16Sync top level config files from the master config repositoryNick Clifton3-17/+48
2006-01-162006-01-16 Paul Brook <paul@codesourcery.com>Paul Brook6-17/+364
opcodes/ * m68k-opc.c(m68k_opcodes): Fix opcodes for ColdFire f?abss, f?add?, and f?sub? instructions. gas/testsuite/ * gas/m68k/all.exp: Add mcf-fpu. * gas/m68k/mcf-fpu.d: New file. * gas/m68k/mcf-fpu.s: New file.
2006-01-16Add new Chinese (simplified) translationNick Clifton8-22/+2979
2006-01-16Fix email address in previous deltaNick Clifton1-1/+1
2006-01-16Fix duplicated word typoNick Clifton2-1/+5
2006-01-16 * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,Nathan Sidwell2-36/+175
MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS. (mt_register_name): Lazily synthesize name for coprocessor pseudo array registers. (mt_copro_register_type): New. Broken out of ... (mt_register_type): ... here. Use it. Deal with coprocessor pseudo array. (mt_select_coprocessor): New. (mt_pseudo_register_read, mt_pseudo_register_write): Deal with coprocessor pseudo array.
2006-01-162006-01-16 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-0/+11
* breakpoint.c (insert_breakpoints): Check that a thread exists before inserting thread specific breakpoints.
2006-01-16*** empty log message ***gdbadmin1-1/+1
2006-01-15daily updateAlan Modra1-1/+1
2006-01-15* osabi.c (generic_elf_osabi_sniffer): Fix typo in previousMark Kettenis2-1/+4
commit.
2006-01-15* alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.Mark Kettenis8-69/+11
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. * config/alpha/nm-nbsd.h: Remove file. * config/alpha/nm-fbsd.h: Remove file * config/alpha/nbsd.mh (NAT_FILE): Remove. * config/alpha/fbsd.mh (NAT_FILE): Remove.
2006-01-15 * macroexp.c (expand): Initialize argc.Daniel Jacobowitz3-4/+12
* stabsread.c (read_type): Handle errors from read_args. (read_args): Return NULL for errors.
2006-01-15* osabi.c (generic_elf_osabi_sniffer): Use memcmp instead ofMark Kettenis2-1/+7
strcmp to compare string to a byte buffer.
2006-01-15 * printcmd.c (output_command): Always initialize fmt.size.Daniel Jacobowitz4-25/+40
(printf_command): Use gdb_byte. * symfile.c (separate_debug_file_exists): Use gdb_byte. (load_section_callback, read_target_long_array): Likewise. (simple_read_overlay_table, simple_read_overlay_region_table) (simple_overlay_update_1): Correct calls to read_target_long_array. * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *. Also change local pointers. (val_print_string): Use gdb_byte.
2006-01-15* alphafbsd-tdep.c: Include "solib-svr4.h".Mark Kettenis6-13/+27
(alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_lp64_fetch_link_map_offsets. * Makefile.in (alphafbsd-tdep.o): Update dependencies. * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/alpha/nm-fbsd.h: Don't include "solib.h".
2006-01-15 * source.c (_initialize_source): Use add_setshow_integer_cmd.Daniel Jacobowitz2-1/+5
2006-01-15 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.Daniel Jacobowitz3-64/+33
* gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped function name.
2006-01-15 * linux-fork.c (delete_fork_command, detach_fork_command): UseDaniel Jacobowitz2-3/+8
PIDGET.
2006-01-15 * gdb.base/checkpoint.c: Update copyright notice. IncludeDaniel Jacobowitz2-5/+9
<stdlib.h>.
2006-01-15* arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):Mark Kettenis7-368/+56
Remove. (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove function. (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets) (mips64_linux_svr4_fetch_link_map_offsets): Remove functions. (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets where appropriate. * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets): Simply call svr4_ilp32_fetch_link_map_offsets. (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call svr4_lp64_fetch_link_map_offsets. * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove function. (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. * s390-tdep.c (s390_svr4_fetch_link_map_offsets) (s390x_svr4_fetch_link_map_offsets): Remove functions. (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets where appropriate.
2006-01-152006-01-05 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+5
* m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
2006-01-15* arm-tdep.c (arm_return_value): Change type of readbuf andMark Kettenis2-3/+7
writebuf arguments to `gdb_byte *'.
2006-01-15* s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".Mark Kettenis3-8/+10
* Makefile.in (s390-tdep.o): Update dependencies.