aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-30 * dwarf2read.c (dw2_find_symbol_file): Initialize filename beforeDoug Evans2-0/+8
calling init_cutu_and_read_dies.
2013-04-30 * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf asHans-Peter Nilsson2-1/+6
a negative pattern instead of cris*-*-*.
2013-04-30line omitted from previous delta.Nick Clifton1-0/+2
2013-04-30ld/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.Will Newton5-19/+26
ld/testsuite/ChangeLog: 2013-04-30 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. * ld-arm/ifunc-17.dd: Update offsets for linker script. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise.
2013-04-30 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sectionsNick Clifton2-3/+8
are sorted by descending order of alignment.
2013-04-302013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw4-2/+15
config/ * picflag.m4: Merge from GCC. * dfp.m4: Ditto. * bootstrap-asan.mk: Ditto. * ChangeLog: Ditto.
2013-04-30Fix display of structures/bitfields in register description.Walfred Tedeschi5-1/+104
Add support for displaying structures and bitfields for registers when executing "maint print c-tdesc". This command is also used when converting the xml target description file into c file. Example of the behaviour is given below reporting a snipet of the xml file and a snippet of the c code generated. XML file contains: ... <union id="vecint"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </union> <struct id="struct1"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </struct> <struct id="struct2" size="8"> <field name="f1" start="0" end="34"/> <field name="f2" start="63" end="63"/> </struct> ... Setting this xml file as target description file and issuing the maintenance print c-tdesc the following output is obtained: feature = tdesc_create_feature (result, "extra"); field_type = tdesc_named_type (feature, "int8"); tdesc_create_vector (feature, "v4int8", field_type, 4); field_type = tdesc_named_type (feature, "int16"); tdesc_create_vector (feature, "v2int16", field_type, 2); type = tdesc_create_union (feature, "vecint"); field_type = tdesc_named_type (feature, "v4int8"); tdesc_add_field (type, "v4", field_type); field_type = tdesc_named_type (feature, "v2int16"); tdesc_add_field (type, "v2", field_type); C output is not supported type "struct1". This is finally the issue. 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com> * target-descriptions.c (maint_print_c_tdesc_cmd): Add case to parse structures as register types and bitfields. testsuite/ * gdb.xml/maint_print_struct.exp: New file. * gdb.xml/maint_print_struct.xml: New file. Change-Id: I2e20b095d508319c80275e724a9452c7e2834067 Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
2013-04-30 PR binutils/15417Nick Clifton2-1/+7
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to zero.
2013-04-30Fix date in some of my recent ChangeLog entries...Joel Brobecker1-3/+3
2013-04-30Fix -Wpointer-sign warning in sol-thread.cJoel Brobecker2-3/+10
This fixes a couple of compiler warnings in rw_common when calling target_read_memory/target_write_memory due to the type of parameter "buf" (char *) not matching what these function expect (gdb_byte *). gdb/ChangeLog: * sol-thread.c (rw_common): Change type of parameter "buf" to "gdb_byte *". (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to rw_common to "gdb_byte *" instead of "char *".
2013-04-30Fix build error in sol-thread.c:info_cbJoel Brobecker2-8/+17
gdb/ChangeLog: * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type of local variable msym to const struct bound_minimal_symbol. Adjust use accordingly. [ti.ti_state == TD_THR_SLEEP]: Likewise.
2013-04-30Add myself as a maintainer.Walfred Tedeschi2-0/+5
Change-Id: Ie1b0cb082a384144eef327e9294949e9bacc4415
2013-04-302013-04-30 Samuel Thibault <samuel.thibault@gnu.org>Thomas Schwinge2-1/+20
* i386gnu-nat.c (CREG_OFFSET): New macro. (creg_offset): New array. (CREG_ADDR): Use creg_offset instead of reg_offset.
2013-04-30mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2-8/+7
gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-30Delete ChangeLog entry with no corresponding change in sources.Joel Brobecker1-6/+0
This ChangeLog entry was the result of a result of botched commit which resulted in the ChangeLog update being checked in, while the actual code code itself did not make it to CVS. This patch deletes the entry in gdb/ChangeLog titled: mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
2013-04-30filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>Joel Brobecker2-1/+6
gdb/ChangeLog: * common/filestuff.c: Replace #include <dirent.h> by #include "gdb_dirent.h".
2013-04-30filestuff.c: Use gdb_stat.h instead of <sys/stat.h>Joel Brobecker2-1/+6
gdb/ChangeLog: * common/filestuff.c: Replace #include <sys/stat.h> by #include "gdb_stat.h".
2013-04-30 * elflink.c (bfd_elf_record_link_assignment): Dont makeAlan Modra2-1/+7
STV_INTERNAL symbols STV_HIDDEN.
2013-04-30daily updateAlan Modra1-1/+1
2013-04-30*** empty log message ***gdbadmin1-1/+1
2013-04-29 PR python/14204:Tom Tromey2-12/+68
* gdb.texinfo (Python API): Fix menu entry. (Blocks In Python): Fix subsubsection text. Rewrite intro. Define global and static block. Add example. Clarify block relationship for inline functions.
2013-04-29 * gdb.texinfo (Python API): Mention Python help and keywordTom Tromey2-7/+43
arguments. Move pagination text to Basic Python. (Basic Python): Put pagination text here. Document close-on-exec, SIGCHLD, and SIGINT.
2013-04-292013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com>Cary Coutant11-20/+194
gold/ * output.cc (Output_section::add_merge_input_section): Allow to merge sections if the alignment is more than character size. * merge.h (Output_merge_string::Output_merge_string): Remove assert. * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count only not-null strings. Check the alignment of strings. * stringpool.h (Stringpool_template<Stringpool_char>::Stringpool_template): Add alignment as the argument. (Stringpool_template<Stringpool_char>::addralign_): New class member. * stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset): Align non-zero length strings according to the addralign_. (Stringpool_template<Stringpool_char>::set_string_offsets): Updating offsets according to the given alignment. * testsuite/Makefile.am (text_section_grouping): Test if string literals are getting merged. * testsuite/Makefile.in: Regenerate. * testsuite/merge_string_literals_1.c: New file. * testsuite/merge_string_literals_2.c: Ditto. * testsuite/merge_string_literals.sh: Ditto.
2013-04-29 * config.guess: Update from config repo.Jan-Benedict Glaw3-20/+33
* config.sub: Ditto.
2013-04-29 * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark fromNick Clifton15-648/+834
fragmented .debug_line sections associated with unmarked code sections. * dwarf.c (read_debug_line_header): New function. Reads in a header in a .debug_line section. (display_debug_lines_raw): Use new function. Handle fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise. * readelf.c (process_section_headers): Handle fragmenatry .debug_line sections. (display_debug_section): Likewise. * as.c (Options): Add -gdwarf-sections. (parse_args): Likewise. * as.h (flag_dwarf_sections): Declare. * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. (process_entries): When -gdwarf-sections is enabled generate fragmentary .debug_line sections. (out_debug_line): Set the section for the .debug_line section end symbol. * doc/as.texinfo: Document -gdwarf-sections. * NEWS: Mention -gdwarf-sections. * gas/elf/dwarf2-3.d: Fix expected readelf output. * scripttempl/DWARF.sc: Add support for .debug_line.* and .debug_line_end.
2013-04-29mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker1-0/+6
gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-29Use gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2-7/+7
gdb/ChangeLog: * m32r-tdep.c (m32r_write_pc): Delete. (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-29 * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning forPierre Muller2-3/+9
editCase function rule. (get_DW_AT_signature_type): Likewise.
2013-04-29bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.Will Newton12-8/+99
bfd/ChangeLog: 2013-04-24 Will Newton <will.newton@linaro.org> * elf32-arm.c (elf32_arm_populate_plt_entry): Call elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. ld/testsuite/ChangeLog: 2013-04-24 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Add IFUNC test 17. * ld-arm/ifunc-17.dd: New file. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise. * ld-arm/ifunc-17.s: Likweise. * ld-arm/ifunc-1.rd: Reorder relocs to match linker output. * ld-arm/ifunc-2.rd: Likewise. * ld-arm/ifunc-5.rd: Likewise. * ld-arm/ifunc-6.rd: Likewise.
2013-04-29ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.Will Newton2-19/+35
The test for ld/12942 fails with gcc versions before 4.7.0. This patch disables this test with these versions of gcc. ld/testsuite/ChangeLog: 2013-04-29 Will Newton <will.newton@linaro.org> * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
2013-04-29 * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocationNick Clifton2-6/+13
error check up and add error message.
2013-04-29 * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.Pierre Muller2-1/+5
2013-04-29 * emultempl/pe.em [cygwin]: Do not merge rdata with v2Nick Clifton2-6/+13
psuedo-relocs.
2013-04-29Add ARI marker to get_DW_AT_signature_type.Joel Brobecker2-2/+6
gdb/ChangeLog: * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
2013-04-29daily updateAlan Modra1-1/+1
2013-04-29*** empty log message ***gdbadmin1-1/+1
2013-04-28ld/Thomas Schwinge29-28/+59
* scripttempl/armbpabi.sc: Replace "source" usage with ".". * scripttempl/avr.sc: Likewise. * scripttempl/elf.sc: Likewise. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32msp430.sc: Likewise. * scripttempl/elf32msp430_3.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/elfxgate.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/epiphany_4x4.sc: Likewise. * scripttempl/i386beos.sc: Likewise. * scripttempl/i386go32.sc: Likewise. * scripttempl/ia64vms.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/mmo.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/v850_rh850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
2013-04-28gdb/Yao Qi2-24/+30
* solib-dsbt.c (fetch_loadmap): Re-indent. (displacement_from_map, enable_break2): Likewise. (dsbt_relocate_section_addresses): Likewise.
2013-04-28daily updateAlan Modra1-1/+1
2013-04-28*** empty log message ***gdbadmin1-1/+1
2013-04-27 * target-reloc.h (relocate_section): If the reloc offset is out ofIan Lance Taylor8-9/+47
range, pass VIEW as NULL to relocate.relocate. * arm.cc (Target_arm:Relocate::relocate): Check for a NULL view. * i386.cc (Target_i386::Relocate::relocate): Likewise. * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise. * sparc.cc (Target_sparc::Relocate::relocate): Likewise. * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise. * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
2013-04-27*** empty log message ***gdbadmin1-1/+1
2013-04-27daily updateAlan Modra1-1/+1
2013-04-262013-04-26 Geoff Pike <gpike@chromium.org>Cary Coutant7-34/+309
gold/ * gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks(). * layout.cc (Hash_task): New class. (Layout::queue_build_id_tasks): New function. (Layout::write_build_id): Handle single-thread portion of build ID computation. (In some cases, all of it is single-threaded.) Replace {sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same functionality in fewer lines of code. * layout.h (Layout::queue_build_id_tasks): New function declaration. * options.h (General_options): make "--build-id" default to tree rather than sha1. Add two new options related to --build-id=tree: --build-id-chunk-size-for-treehash and --build-id-min-file-size-for-treehash. * Makefile.am: add testing of --build-id=tree and related new options (these tests will be invoked by "make check"). * Makefile.in: Regenerate.
2013-04-26 * MAINTAINERS: Add myself and Cary as gold maintainers.Ian Lance Taylor2-0/+6
2013-04-26fix changelog entry: we still have 2013, not 2014Christian Groessler1-1/+1
2013-04-26 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdlineChristian Groessler2-7/+15
according to the target parameter. Don't call s_segm since s_segm calls bfd_set_arch_mach using stdoutput, but stdoutput isn't initialized yet. (md_begin): Call s_segm according to target parameter from command line.
2013-04-26 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).Nick Clifton2-0/+6
2013-04-26GDB 7.6 released.gdbadmin1-0/+4
2013-04-26Add missing test files from 2013-03-21 commit.Will Newton3-0/+22