aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-15opcodes/Peter Bergner7-0/+37
* ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics. gas/testsuite/ * gas/ppc/common.d ("nop", "xnop"): Add tests. * gas/ppc/common.s: Likewise. * gas/ppc/power7.d ("yield", "mdoio", "mdoom"): Add tests. * gas/ppc/power7.s: Likewise.
2012-08-15 * gdb_bfd.c (struct gdb_bfd_data) <archive_bfd>: New field.Tom Tromey2-1/+26
(gdb_bfd_ref): Initialize new field. (gdb_bfd_unref): Unref the archive BFD. (gdb_bfd_openr_next_archived_file): Acquire a reference to the parent archive.
2012-08-15 PR python/14387:Tom Tromey9-19/+63
* python/py-bpevent.c (create_breakpoint_event_object): Update comment. * python/py-event.c (evpy_add_attribute): Update comment. * python/py-exitedevent.c (create_exited_event_object): Fix reference counting and error handling. * python/py-newobjfileevent.c (create_new_objfile_event_object): Fix reference counting. * python/py-signalevent.c (create_signal_event_object): Fix reference counting and error handling. * python/py-stopevent.c (emit_stop_event): Fix reference counting. * python/py-threadevent.c (get_event_thread): Return a borrowed reference. * python/py-type.c (convert_field): Fix reference counting.
2012-08-15 * dwarf2read.c (dwarf_decode_macro_bytes)Tom Tromey2-24/+31
<DW_MACRO_GNU_transparent_include>: Use pointer to included data as hash key.
2012-08-15 * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call toIan Lance Taylor2-1/+6
unsupported_relocal_local to call unsupported_reloc_global.
2012-08-15gdb: improve usage stringsMike Frysinger3-9/+33
This adds Usage strings to a bunch of commands, tweaks the grammar in a few, and improves the help text for the handle command. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-15*** empty log message ***gdbadmin1-1/+1
2012-08-15daily updateAlan Modra1-1/+1
2012-08-14 * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S localMaciej W. Rozycki2-339/+244
macros, use local variables for info struct member accesses, update the type of the variable used to hold the instruction word. (print_insn_mips, print_mips16_insn_arg): Likewise. (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use local variables for info struct member accesses. (print_insn_micromips): Add GET_OP_S local macro. (_print_insn_mips): Update the type of the variable used to hold the instruction word.
2012-08-14 * gdbtypes.c (struct extra): Delete, unused.Doug Evans2-6/+2
2012-08-14 * gdbtypes.c: Whitespace cleanup.Doug Evans2-17/+34
(address_space_name_to_int): Remove "extern" from definition. (_initialize_gdbtypes): Declare with initialize_file_ftype.
2012-08-14 * gdbtypes.c (make_pointer_type): Remove redundant setting ofDoug Evans2-3/+5
TYPE_POINTER_TYPE (type).
2012-08-14gdb/testsuite/Jan Kratochvil2-1/+4
* gdb.base/attach-twice.exp: Remove excessive ps exec.
2012-08-14Terminate register name when reporting bad registerH.J. Lu6-0/+31
gas/ PR gas/14457 * config/tc-i386.c (i386_att_operand): Terminate register name when reporting bad register. gas/testsuite/ PR gas/14457 * gas/i386/i386.exp: Run reg-bad. * gas/i386/reg-bad.l: New. * gas/i386/reg-bad.s: Likewise.
2012-08-142012-08-14 Gary Benson <gbenson@redhat.com>Gary Benson2-1/+5
* solib-svr4.c (svr4_free_library_list): Use free_so.
2012-08-14oops - accidentally omitted from previous deltaNick Clifton1-1/+1
2012-08-14Updated Ukranian translations.Nick Clifton5-42/+2303
2012-08-14 PR ld/14265Nick Clifton16-18/+246
* script-sections.cc (Sections_element::output_section_name): Add keep return parameter. (Output_section_element::match_name): Add keep return parameter. Return the value of the keep_ member. * script-sections.h (class Output_section): Update output_section_name prototype. * layout.cc (Layout::keep_input_section): New public member function. (Layout::choose_output_section): Pass keep parameter to output_section_name. * layout.h (class Layout): Add keep_input_section. * object.cc (Sized_relobj_file::do_layout): Check for kept input sections. * testsuite/Makefile.am: Add a test. * testsuite/Makefile.in: Regenerate. * testsuite/pr14265.c: Source file for the test. * testsuite/pr14265.t: Linker script for the test. * testsuite/pr14265.sh: Shell script for the test. * ld-gc/gc.exp: Add a new test. * ld-gc/pr14265.c: Source file for the new test. * ld-gc/pr14265.t: Linker script for the new test. * ld-gc/pr14265.d: Expected symbol dump.
2012-08-14 * target.h (Target::output_section_name): New function.Alan Modra4-1/+40
(Target::do_output_section_name): New function. * layout.cc (Layout::choose_output_section): Call the above. * powerpc.cc (Target_powerpc::do_output_section_name): New function.
2012-08-14 * gas/mmix/err-fb-2.s: New test.Hans-Peter Nilsson2-0/+30
2012-08-14 * config/tc-mmix.c (loc_asserts): New variable.Hans-Peter Nilsson2-5/+110
(mmix_greg_internal): Handle expressions not determinable at first pass. (s_loc): Ditto. Record expressions where the section isn't determinable at the first pass, and assume they don't refer to other sections. (mmix_md_end): Verify that recorded LOC expressions weren't to other sections, else emit error messages.
2012-08-14elfcpp/Alan Modra4-32/+87
* powerpc.h: Add more relocs. (R_PPC_REL16*): Rename to R_POWERPC_REL16*. gold/ * powerpc.cc: Update for renamed R_PPC_REL16 relocs. (Output_data_got_powerpc::do_write): Don't rely on base class lookup for replace_constant call. (Output_data_plt_powerpc::do_print_to_mapfile): New function. (Output_data_glink::do_print_to_mapfile): New function. (Target_powerpc::Scan::local): Ignore R_PPC64_TOCSAVE. (Target_powerpc::Relocate::relocate): Likewise.
2012-08-14 * powerpc.cc (Powerpc_relobj::set_got2_shndx): Delete.Alan Modra2-61/+50
(Powerpc_relobj::do_find_special_sections): Don't use set_got2_shndx. (Output_data_glink::add_entry,find_entry): Remove shndx param. (class Glink_sym_ent): Rename from struct Glink_sym_ent. Remove all references to shndx_. Handle special case for R_PPC_PLTREL24 here. (class Glink_sym_ent_hash): Rename from struct Glink_sym_ent_hash. (Output_data_glink::do_write): Retrieve got2_shdnx from object. (Target_powerpc::make_plt_entry): Don't special case R_PPC_PLTREL24 here. (Target_powerpc::Scan::global): Nor on make_plt_entry call. (Target_powerpc::Relocate::relocate): Nor on glink->find_entry call.
2012-08-14*** empty log message ***gdbadmin1-1/+1
2012-08-14daily updateAlan Modra1-1/+1
2012-08-13 * gdb.base/help.exp: Update expected output.Doug Evans2-1/+2
2012-08-13 * ld-mips-elf/export-class-call16-o32.dd: New test.Maciej W. Rozycki14-0/+347
* ld-mips-elf/export-class-call16-o32-irix.dd: New test. * ld-mips-elf/export-class-call16-o32.gd: New test. * ld-mips-elf/export-class-call16-n32.dd: New test. * ld-mips-elf/export-class-call16-n32.gd: New test. * ld-mips-elf/export-class-call16-n64.dd: New test. * ld-mips-elf/export-class-call16-n64.gd: New test. * ld-mips-elf/export-class-call16-def.s: New test source. * ld-mips-elf/export-class-call16-o32.s: New test source. * ld-mips-elf/export-class-call16-n32.s: New test source. * ld-mips-elf/export-class-call16-n64.s: New test source. * ld-mips-elf/export-class-call16.ld: New test linker script. * ld-mips-elf/mips-elf.exp: Run the new tests.
2012-08-13 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look upMaciej W. Rozycki2-1/+7
the options section in the output rather than input BFD to decide if to add a DT_MIPS_OPTIONS tag.
2012-08-13gdb: ignore generated go-exp.cMike Frysinger2-0/+5
2012-08-13 * config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* intoMaciej W. Rozycki2-2/+5
#ifdef BFD64.
2012-08-13oops, aciidental commitNick Clifton1-6/+0
2012-08-13Add support for 64-bit ARM architecture: AArch64Nick Clifton307-39/+68333
2012-08-13 * value.c (show_convenience): Tweak comment.Doug Evans6-17/+55
(_initialize_values): Mention convenience functions in the help text for "show convenience". doc/ * gdb.texinfo (Convenience Vars): Update text for "show convenience" to include functions. testsuite/ * gdb.base/default.exp: Update expected output of "show convenience".
2012-08-13 include/opcode/Maciej W. Rozycki13-171/+301
* mips.h (mips_opcode): Add the exclusions field. (OPCODE_IS_MEMBER): Remove macro. (cpu_is_member): New inline function. (opcode_is_member): Likewise. opcodes/ * micromips-opc.c (micromips_opcodes): Update comment. * mips-opc.c (mips_builtin_opcodes): Likewise. Mark coprocessor instructions for IOCT as appropriate. * mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with opcode_is_member. * configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with the result of a check for the -Wno-missing-field-initializers GCC option. * Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable. (mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to compilation. (mips16-opc.lo): Likewise. (micromips-opc.lo): Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. gas/ * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros. (is_opcode_valid): Remove coprocessor instruction exclusions. Replace OPCODE_IS_MEMBER with opcode_is_member. (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with opcode_is_member. (macro): Remove coprocessor instruction exclusions.
2012-08-13 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.Maciej W. Rozycki2-0/+40
(s_cplocal, s_cprestore, s_cpreturn): Likewise.
2012-08-13 * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handlingMaciej W. Rozycki2-1/+9
of protected symbols.
2012-08-13gdb/Yao Qi6-20/+10
* std-operator.def: Remove TERNOP_SLICE_COUNT. * breakpoint.c (watchpoint_exp_is_const): Remove handling to TERNOP_SLICE_COUNT. * eval.c (evaluate_subexp_standard): Likewise. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise.
2012-08-13gdb/Yao Qi8-46/+12
* std-operator.def: Remove OP_BITSTRING. * breakpoint.c (watchpoint_exp_is_const): Update. * eval.c (evaluate_subexp_standard): Remove handling to OP_BITSTRING. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise. * valops.c (value_bitstring): Remove. * value.h: Remove the declaration of 'value_bitstring'.
2012-08-13daily updateAlan Modra1-1/+1
2012-08-13*** empty log message ***gdbadmin1-1/+1
2012-08-12 * powerpc.cc: Whitespace fixes. Wrap overly long lines.Alan Modra2-156/+169
(glink insn constants): Use uint32_t. (Output_data_glink::add_entry): Use insert, not [] operator.
2012-08-12*** empty log message ***gdbadmin1-1/+1
2012-08-12daily updateAlan Modra1-1/+1
2012-08-11 * object.h (Sized_relobj_file::find_shdr): New function.Alan Modra6-599/+1367
(Sized_relobj_file::find_special_sections): New function. * object.cc (Sized_relobj_file::find_shdr): New function. (Sized_relobj_file::find_eh_frame): Use find_shdr. (Sized_relobj_file::find_special_sections): New function, split out.. (Sized_relobj_file::do_read_symbols): ..from here. * output.h (Output_data_got::replace_constant): New function. (Output_data_got::num_entries): New function. (Output_data_got::last_got_offset,set_got_size): Use num_entries. (Output_data_got::got_offset): Protected rather than private. (Output_data_got::replace_got_entry): New function. * output.cc (Output_data_got::replace_got_entry): New function. * powerpc.cc (class Powerpc_relobj): New. (class Powerpc_relocate_functions): Delete all psymval variants or convert to value,addend type. Delete pcrela, pcrela_unaligned. Implement _ha functions using corresponding _hi function. (Powerpc_relobj::find_special_sections): New function. (Target_powerpc::do_make_elf_object): New function. (class Output_data_got_powerpc): New. (class Output_data_glink): New. (class Powerpc_scan_relocatable_reloc): New. Many more changes througout file.
2012-08-112012-08-10 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-3/+6
* linespec.c (find_methods): Remove unused variables `i1' and `name_len'. (decode_line_full): Likewise for `arg_start'.
2012-08-112012-08-10 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-3/+6
* gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'. (zlib_decompress_section): Likewise for `section_data'. (gdb_bfd_map_section): Likewise for `buf' and `retbuf'.
2012-08-11*** empty log message ***gdbadmin1-1/+1
2012-08-11daily updateAlan Modra1-1/+1
2012-08-10Enable FMA instructions for bdver2H.J. Lu7-2/+100
gas/testsuite/ PR gas/14423 * gas/i386/arch-10-bdver2.d: New file. * gas/i386/x86-64-arch-2-bdver2.d: Likewise. * gas/i386/i386.exp: Run new test opcodes/ 2012-08-11 Saravanan Ekanathan <saravanan.ekanathan@amd.com> PR gas/14423 * i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS. * i386-init.h: Regenerated.
2012-08-10 Add $_memeq, $_regex, $_streq, $_strlen convenience functions.Doug Evans12-3/+405
* NEWS: Document them. * data-directory/Makefile.in (PYTHON_FILES): Add function/__init__.py, function/strfns.py. * python/py-type.c (typy_array_1): New function. (typy_array): Call it. (typy_vector): New function. (type_object_methods): Add "vector". * python/lib/gdb/function/__init__.py: New file. * python/lib/gdb/function/strfns.py: New file. doc/ * gdb.texinfo (Convenience Funs): New node. (Types In Python): Document Type.vector. testsuite/ * gdb.python/py-strfns.c: New file. * gdb.python/py-strfns.exp: New file. * gdb.python/py-type.exp (test_fields): Add vector tests.