aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-07-12Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.Fred Fish2-1/+5
2006-07-12 Fred Fish <fnf@specifix.com> * sim-endian.h (asm/byteorder.h): Don't include private kernel header.
2006-07-12 * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corruptedDaniel Jacobowitz2-1/+11
or missing location list information. Suggested by Jan Kratochvil <lace@jankratochvil.net>.
2006-07-12 * Makefile.in (arm_linux_tdep_h): New variable.Daniel Jacobowitz8-292/+356
(arm-linux-nat.o, arm-linux-tdep.o): Update. * arm-linux-nat.c: Include "arm-linux-tdep.h". (typeNone, typeSingle, typeDouble, typeExtended) (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): Delete. (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, and collect_nwfpe_register. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use new regset functions. * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". (arm_apcs_32): New declaration. (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) (typeExtended, supply_nwfpe_register, collect_nwfpe_register) (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) (arm_linux_regset_from_core_section): New. (arm_linux_init_abi): Register arm_linux_regset_from_core_section. * arm-linux-tdep.h: New file. * arm-tdep.h (struct regset): Declare. (struct gdbarch_tdep): Add gregset, fpregset members. * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/arm/linux.mt (TDEPFILES): Add corelow.o.
2006-07-12 * infrun.c (handle_inferior_event): Fixed typos in printf.Daniel Jacobowitz2-8/+12
2006-07-12 * remote.c (REMOTE_ALIGN_WRITES): New.Daniel Jacobowitz2-3/+43
(remote_write_bytes): Align large write packets. Remove unused payload_start variable.
2006-07-12gdb/Daniel Jacobowitz9-144/+408
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv. (remote_supported_packet): Remove #if 0. (remote_protocol_features): Add qPart:auxv:read. (remote_unescape_input): New function. (readchar): Don't mask off the high bit. (read_frame): Use fputstrn_filtered for packet data. (getpkt_sane): Return the number of bytes read or -1. Use fputstrn_unfiltered. (remote_read_qxfer): New. (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV. (_initialize_remote): Update packet registration. * defs.h (fputstrn_filtered): New prototype. * utils.c (fputstrn_filtered): New. * NEWS: Mention qXfer. gdb/doc/ * gdb.texinfo (OS Information): Update qPart reference to qXfer. (Remote configuration): Likewise. (Overview): Move @cindex to the start of a paragraph. Talk about binary data encoding. (Packets): Refer to the overview for the details of the X packet encoding. (General Query Packets): Remove qPart description. Add qXfer description. Add an anchor to qSupported. Correct feature table title. Add a new feature for qXfer:auxv:read. (Interrupts): Add a missing parenthesis. gdb/gdbserver/ * server.c (decode_xfer_read, write_qxfer_response): New. (handle_query): Take a packet length argument. Handle qXfer:auxv:read instead of qPart:auxv:read. Mention it in the qSupported response. (main): Update call to handle_query.
2006-07-12 * target.c (target_read): Stop if target_read_partial returns 0Daniel Jacobowitz11-165/+206
when some bytes have already been read. (target_write): Likewise for target_write_partial. (target_read_partial, target_write_partial): Make static. (target_read_alloc): New. * target.h: Doc fixes. (target_read_partial, target_write_partial): Delete prototypes. (target_read_alloc): New prototype. * auxv.c (target_auxv_read): Delete. (target_auxv_search, fprint_target_auxv): Use target_read_alloc. * auxv.h (target_auxv_read): Delete prototype. * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc. * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise. * linux-nat.c (linux_nat_make_corefile_notes): Likewise. * procfs.c (procfs_make_note_section): Likewise. * remote.c (remote_xfer_partial): Don't loop here. * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
2006-07-12 * arm-linux-tdep.c: Doc fixes.Daniel Jacobowitz2-9/+82
(ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT) (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT) (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New constants. (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support the new signal frame layouts.
2006-07-12 * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.Daniel Jacobowitz6-2/+26
* gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. * gdbarch.sh: Correct comment.
2006-07-12 * MAINTAINERS: Add Alfred Szmidt for the Hurd.Daniel Jacobowitz2-0/+5
2006-07-12bfd/H.J. Lu14-1/+348
2006-07-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/2884 * elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from the old versioned dynamic definition to the new one with non-default visibility. Hide the symbol if it is hidden or internal. ld/testsuite/ 2006-07-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/2884 * ld-elf/begin.c: New file. * ld-elf/end.c: Likewise. * ld-elf/endhidden.c: Likewise. * ld-elf/endprotected.c: Likewise. * ld-elf/foo.c: Likewise. * ld-elf/foo.map: Likewise. * ld-elf/hidden.out: Likewise. * ld-elf/main.c: Likewise. * ld-elf/normal.out: Likewise. * ld-elf/shared.exp: Likewise. * lib/ld-lib.exp (run_cc_link_tests): New.
2006-07-12bfd/Richard Sandiford5-0/+19
2006-07-12 Matthew R. Dempsky <mrd@alkemio.org> * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32. ld/testsuite/ 2006-07-12 Richard Sandiford <richard@codesourcery.com> * ld-m68k/merge-ok-1c.d: New test. * ld-m68k/m68k.exp: Run it.
2006-07-12Fix grammatical error in ChangeLog entryNick Clifton1-1/+1
2006-07-12* config/tc-sh.c (md_apply_fix): Do not allow the generic code inNick Clifton6-0/+68
fixup_segment() to repeat a range check on a value that have already been checked here. * gas/sh/basic.exp: Run "too_large" dump test. * gas/sh/too_large.s: New test file. Check that .byte directives do not generate a bogus overflow message. * gas/sh/too_large.s: New test control file.
2006-07-12daily updateAlan Modra1-1/+1
2006-07-12*** empty log message ***gdbadmin1-1/+1
2006-07-11 * ld-cris/libdso-2.d: Adjust for recent hash-related changes.Hans-Peter Nilsson2-9/+13
2006-07-11* alpha-tdep.h (ALPHA_INSN_SIZE): New define.Mark Kettenis2-0/+7
2006-07-11daily updateAlan Modra1-1/+1
2006-07-11*** empty log message ***gdbadmin1-1/+1
2006-07-10include/Jakub Jelinek25-76/+757
* bfdlink.h (struct bfd_link_info): Add emit_hash and emit_gnu_hash bitfields. include/elf/ * common.h (SHT_GNU_HASH, DT_GNU_HASH): Define. ld/ * scripttempl/elf.sc: Add .gnu.hash section. * emultempl/elf32.em (OPTION_HASH_STYLE): Define. (gld${EMULATION_NAME}_add_options): Register --hash-style option. (gld${EMULATION_NAME}_handle_option): Handle it. (gld${EMULATION_NAME}_list_options): Document it. * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. * ld.texinfo: Document --hash-style option. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH. (bfd_section_from_shdr, elf_fake_sections, assign_section_numbers): Handle SHT_GNU_HASH. (special_sections_g): Include .gnu.hash section. (bfd_elf_gnu_hash): New function. * elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes. (struct elf_backend_data): Add elf_hash_symbol method. * elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash only if info->emit_hash, create .gnu.hash section if info->emit_gnu_hash. (struct collect_gnu_hash_codes): New type. (elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms, _bfd_elf_hash_symbol): New functions. (compute_bucket_count): Don't compute HASHCODES array, instead add that and NSYMS as arguments. Use bed->s->sizeof_hash_entry instead of bed->s->arch_size / 8. Fix .hash size estimation. When not optimizing, use the number of hashed symbols rather than dynsymcount. (bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash, and ADD DT_GNU_HASH if info->emit_gnu_hash. (bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash, adjust compute_bucket_count caller. Create and populate .gnu.hash section if info->emit_gnu_hash. (elf_link_output_extsym): Only populate .hash section if finfo->hash_sec != NULL. (bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH. * elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined. (elfNN_bed): Add elf_backend_hash_symbol. * elf64-x86-64.c (elf64_x86_64_hash_symbol): New function. (elf_backend_hash_symbol): Define. * elf32-i386.c (elf_i386_hash_symbol): New function. (elf_backend_hash_symbol): Define. binutils/ * readelf.c (get_dynamic_type): Handle DT_GNU_HASH. (get_section_type_name): Handle SHT_GNU_HASH. (dynamic_info_DT_GNU_HASH): New variable. (process_dynamic_section): Handle DT_GNU_HASH. (process_symbol_table): Print also DT_GNU_HASH histogram. ld/testsuite/ * ld-powerpc/tlsso32.r: Adjust. * ld-powerpc/tlsso32.d: Adjust. * ld-powerpc/tlsso32.g: Adjust. * ld-powerpc/tlsso.r: Adjust. * ld-powerpc/tlsso.g: Adjust. * ld-powerpc/tlstocso.g: Adjust.
2006-07-10* alphaobsd-tdep.c: New file.Mark Kettenis6-6/+157
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a handler for GDB_OSABI_OPENBSD_ELF. * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c. (alphaobsd-tdep.o): New target. * config/alpha/obsd.mt: New file. * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
2006-07-10 * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.Richard Henderson4-26/+60
* alpha-tdep.c (alpha_register_byte): Remove. (alpha_extract_struct_value_address): Remove. (alpha_return_value): New. (alpha_return_in_memory_always): New. (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value instead of set_gdbarch_deprecated_use_struct_convention, set_gdbarch_extract_return_value, set_gdbarch_store_return_value, or set_gdbarch_deprecated_extract_struct_value_address. * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from alphafbsd_use_struct_convention, remove gcc_p argument. (alphafbsd_init_abi): Set tdep->return_in_memory instead of set_gdbarch_deprecated_use_struct_convention.
2006-07-10* po/zh_TW.po: New Chinese (traditional) translation.Nick Clifton4-4/+1924
* configure.in (ALL_LINGUAS): Add zh_TW. * configure: Regenerate.
2006-07-10daily updateAlan Modra1-1/+1
2006-07-10*** empty log message ***gdbadmin1-1/+1
2006-07-09* alphabsd-tdep.h (alphanbsd_regset_from_core_section): NewMark Kettenis3-28/+32
prototype. * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle a.out-style core file format here. Make global. (alphanbsd_regset_from_core_section): Remove. (alphanbsd_sigtramp_offset): Make static. (alphanbsd_aout_init_abi): Remove. (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for a.out style core files. (_initialize_alphanbsd_tdep): Do not register a handler for GDB_OSABI_NETBSD_AOUT.
2006-07-09Fix typo.Mark Kettenis1-1/+1
2006-07-09* alphabsd-tdep.h: Tweak comments.Mark Kettenis4-73/+189
(SIZOEF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove. * alphanbsd-tdep.c: Reorder includes. Include "regset.h". (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines. (alphanbsd_supply_fpregset, alphanbsd_supply_gregset) (alphanbsd_aout_supply_gregset): New functions. (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset): New variables. (alphanbsd_regset_from_core_section) (alphanbsd_aout_regset_from_core_section): New functions. (fetch_core_registers, fetch_elfcore_registers): Remove functions. (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables. (alphanbsd_init_abi): Set regset_from_core_section. (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New functions. (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer. Use alphanbsd_aout_init_abi whre appropriate. Don't call deprecated_add_core_fns. * Makefile.in (alphanbsd-tdep.o): Update dependencies.
2006-07-09* alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)Mark Kettenis2-6/+10
(alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
2006-07-09* alphanbsd-tdep.c (alphanbsd_init_abi): UseMark Kettenis2-4/+12
svr4_lp64_fetch_link_map_offsets instead of nbsd_lp64_solib_svr4_fetch_link_map_offsets.
2006-07-09daily updateAlan Modra1-1/+1
2006-07-09*** empty log message ***gdbadmin1-1/+1
2006-07-08Wrap long line.Mark Kettenis1-2/+2
2006-07-08*** empty log message ***gdbadmin1-1/+1
2006-07-08daily updateAlan Modra1-1/+1
2006-07-07Add Broadcom SB-1A support.Jim Wilson2-0/+7
* config/tc-mips.c (mips_cpu_info_table): Add sb1a.
2006-07-07* gdb.arch/alpha-step.exp (test_stepi): Do not include trailingMark Kettenis2-4/+9
spaces/tabs in regular expressions since they might not be there.
2006-07-072006-07-07 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-0/+109
* gdb.base/ifelse.exp: New file.
2006-07-07PR ld/2874Nick Clifton2-9/+13
* ld.texinfo: Remove "Using LD" from the title since it is redundant.
2006-07-07*** empty log message ***gdbadmin1-1/+1
2006-07-07daily updateAlan Modra1-1/+1
2006-07-062006-07-06 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-0/+13
* parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type, write_exp_elt_intern): Zero initialize tmp.
2006-07-06PR ld/2877Nick Clifton2-2/+7
* ld.texinfo: Fix spelling mistakes.
2006-07-06PR binutils/2877Nick Clifton4-28/+40
* doc/as.texi: Fix spelling typo: branchs => branches. * doc/c-m68hc11.texi: Likewise. * config/tc-m68hc11.c: Likewise. Support old spelling of command line switch for backwards compatibility.
2006-07-062006-07-06 Mohammed Adnène Trojette <adn@diwi.org>Nick Clifton2-2/+6
PR binutils/2875 * doc/binutils.texi (readelf): Fix spelling typo.
2006-07-06PR binutils/2879Nick Clifton3-3/+11
* doc/binutils.texi: Document -T shorthand for --target switch. * strings.c: Update comment to include -T option.
2006-07-06daily updateAlan Modra1-1/+1
2006-07-06*** empty log message ***gdbadmin1-1/+1
2006-07-05gdb/Daniel Jacobowitz12-693/+21
* remote.c (remote_xfer_partial): Remove KOD support. * target.h (enum target_object): Remove TARGET_OBJECT_KOD. * MAINTAINERS: Move Kernel Object Display entry to past maintainers. * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): Remove KOD support. * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands. * NEWS: Mention KOD. * kod.h, kod.c, kod-cisco.c: Delete files. gdb/doc/ * doc/gdb.texinfo (KOD): Remove node. (GDB/MI Kod Commands): Remove commented out node.