aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-02gdb/testsuite/Jan Kratochvil2-1/+5
* lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2013-02-02*** empty log message ***gdbadmin1-1/+1
2013-02-01daily updateAlan Modra1-1/+1
2013-02-01Add missing file from the previous commit.Andreas Tobler2-0/+397
2013-02-012013-02-01 Andreas Tobler <andreast@fgznet.ch>Andreas Tobler6-422/+119
* Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. (HFILES_NO_SRCDIR): Add ppc64-tdep.h. (ALLDEPFILES): Add ppc64-tdep.c. * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add ppc64-tdep.o to gdb_target_obs. * ppc64-tdep.h: New file. * ppc64-tdep.c: New file. (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from ppc-linux-tdep.c to here. (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move from ppc-linux-tdep.c to here. (ppc64_convert_from_func_ptr_addr): Rename from ppc64_linux_convert_from_func_ptr_addr to ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to here. * rs6000-tdep.c: (read_insn): Move from ppc-linux-tdep.c to here. (insns_match_pattern, insn_d_field, insn_ds_field): Move from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. * ppc-linux-tdep.c: Include ppc64-tdep.h. Removed above functions. (ppc_linux_init_abi): Adjust.
2013-02-012013-02-01 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski2-2/+4
* ada-valprint.c (ada_print_floating): Remove unused 'len'. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00732.html
2013-02-012013-02-01 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski2-3/+4
* ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00732.html
2013-02-01Garbage collect deprecated_pc_in_call_dummyPedro Alves3-36/+5
I noticed there are no users of deprecated_pc_in_call_dummy left in the tree. The last user was ARM. Usage removed here: http://sourceware.org/ml/gdb-patches/2010-03/msg00820.html This deletes the function. 2013-02-01 Pedro Alves <palves@redhat.com> * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
2013-02-01gdb/Jan Kratochvil6-6/+55
* elfread.c (elf_symfile_read): Limit separate debug info additions to files with no separate debug info. * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. * symfile.c (read_symbols): Call find_separate_debug_file_in_section only for files with no separate debug info. gdb/testsuite/ * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug, ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now ${binfile}.mini_debuginfo-debuglink and ${binfile}.mini_debuginfo-debuglink.xz.
2013-02-01 * gdb.dwarf2/method-ptr.exp: Use correct form for non-stringTom Tromey2-4/+9
attributes.
2013-02-012013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>Tom Tromey3-1/+8
Tom Tromey <tromey@redhat.com> * gdb.dwarf2/method-ptr.exp: Link with c++. * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2013-02-01 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbolAlan Modra2-6/+12
clears def_regular.
2013-02-01*** empty log message ***gdbadmin1-1/+1
2013-01-31daily updateAlan Modra1-1/+1
2013-01-31 * jit.c (jit_program_space_data): Rename from jit_inferior_data;Tom Tromey2-66/+77
change type. (struct jit_program_space_data): Rename from jit_inferior_data. Update comments. (get_jit_program_space_data): Rename from get_jit_inferior_data. Change return type. Attach data to program space. (jit_program_space_data_cleanup): Rename from jit_inferior_data_cleanup; change argument type. (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', change type. (jit_register_code): Update. (jit_update_inferior_cache): Remove. (jit_breakpoint_deleted): Get jit data from the location's program space. (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to 'ps_data', change type. (jit_inferior_init, jit_breakpoint_re_set_internal) (jit_event_handler): Update. (free_objfile_data): Get data from objfile's program space. (_initialize_jit): Update.
2013-01-31 PR gdb/13987:Tom Tromey4-39/+144
* jit.c (struct jit_inferior_data) <cached_code_address, jit_breakpoint>: New fields. (jit_breakpoint_re_set_internal): Fix logging. Only create breakpoint if cached address has changed. (jit_update_inferior_cache, jit_breakpoint_deleted): New functions. (_initialize_jit): Register breakpoint deleted observer. gdb/testsuite * gdb.base/jit.exp (compile_jit_test): New proc. Add PIE tests.
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski3-8/+13
* infrun.c (handle_syscall_event): Remove unused gdbarch. (save_infcall_suspend_state): Ifdef out unused inf. (restore_infcall_suspend_state): Ifdef out unused inf. * jit.c (jit_register_code): Remove unused i, b, inf_data. (jit_frame_sniffer): Remove unused inf_data. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00773.html
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski4-21/+12
* c-exp.y (classify_inner_name): Remove unused type. * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, need_escape. (c_get_string): Remove unused kind. * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00759.html
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski34-73/+53
* charset.c (intermediate_encoding): Remove unused i. * completer.c (signal_completer): Remove unused i. * continuations.c (discard_my_continuations_1): Remove unused continuation_ptr. * corelow.c (core_close): Remove unuseD name. (get_core_siginfo): Remove unused pid. * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused i, cps. * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. (loclist_describe_location): Remove unused first. * event-top.c (command_line_handler): Remove unused got_eof. * exec.c (exec_close_1): Remove unused need_symtab_cleanup. (resize_section_table): Remove unused old_value. * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. * i386-tdep.c (i386_process_record): Remove unused rex. * infcmd.c (get_return_value): Remove unused uiout. * jv-lang.c (type_from_class): Remove unused is_array. * jv-valprint.c (java_val_print): Remove unused i. * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. * m2-typeprint.c (m2_print_type): Remove unused code. * macroexp.c (get_character_constant): Remove unused body_start. (macro_stringify): Remove unused result. * objc-lang.c (find_methods): Remove unused gdbarch. * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. * regcache.c (regcache_cooked_read): Remove unused gdbarch. * stack.c (print_frame_args): Remove unused summary. * thread.c (thread_apply_command): Remove unused p. * valarith.c (value_x_unop): Remove unused mangle_ptr. * valops.c (search_struct_method): Remove unused skip. * valprint.c (generic_val_print): Remove unused byte_order. * varobj.c (varobj_update): Remove unused changed. * cli/cli-cmds.c (complete_command): Remove unused next_item. (alias_command): Remove unused c. * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused format. (mi_cmd_data_write_memory): Remove unused word_format. (mi_cmd_data_write_memory_bytes): Remove unused r. * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused p_start, p_end. * python/python.c (_initialize_python): Remove unused cmd_name, cmd. * tui/tui-disasm.c (tui_set_disassem_content): Remove unused line_width. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00766.html
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski3-15/+11
* dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. * symtab.c (iterate_over_symtabs): Remove unused s. (find_pc_sect_symtab): Remove unused pspAce. (find_pc_sect_line): Remove unused alt_symtab. (find_pcs_for_symtab_line): Remove unused ix, previous_function. (completion_list_add_name): Remove unused newsize. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00764.html
2013-01-31 PR c++/14998:Tom Tromey5-0/+138
* dwarf2read.c (read_tag_ptr_to_member_type): Handle TYPE_CODE_FUNC. gdb/testsuite * gdb.dwarf2/method-ptr.cc: New file. * gdb.dwarf2/method-ptr.exp: New file.
2013-01-31 * lib/dwarf.exp (namespace Dwarf): New.Tom Tromey2-0/+732
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski2-3/+5
* target.c (target_read_string): Remove unused origlen. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00754.html
2013-01-312013-01-31 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski6-13/+9
* auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. * ax-general.c (ax_print): Remove unused is_float. * blockframe.c (block_innermost_frame): Remove unused start, end. * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00752.html
2013-01-31 * gdb.texinfo (Target Commands): Fix typo.Tom Tromey2-1/+5
2013-01-31 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.Aleksandar Ristovski3-4/+7
(svr4_read_so_list): Remove unused lmo. * solib-target.c (solib_target_relocate_section_addresses): Remove unused flags. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00744.html
2013-01-312013-01-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+21
* mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections earlier. Fix status checking of bfd_mach_o_scan_start_address. (bfd_mach_o_scan_start_address): Handle LC_MAIN.
2013-01-31 * ld-cris/libdso-13.d: Adjust for --enable-new-dtags nowHans-Peter Nilsson2-2/+2
default for *-*-linux-* by passing explicitly for all targets.
2013-01-312013-01-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-12/+17
* gas/ppc/test1xcoff32.d: Updated. * gas/all/fwdexp.d: Adjusted for AIX.
2013-01-31 PR other/543413Kai Tietz2-2/+7
* md5.c (md5_process_block): Handle case that size_t is a wider-integer-scalar a 32-bit unsigned integer.
2013-01-31 PR ld/15056Alan Modra4-10/+87
* elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit references to __tls_get_addr. * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct vtinherit and vtentry reloc handling too. * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
2013-01-31bfd/Alan Modra11-19/+34
* elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". ld/testsuite/ * ld-powerpc/tlsexe.d: Update for changed stub names. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.d: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.r: Likewise.
2013-01-31Tweak last entry.Hans-Peter Nilsson1-1/+2
2013-01-31 * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now default.Hans-Peter Nilsson2-1/+6
2013-01-31*** empty log message ***gdbadmin1-1/+1
2013-01-30daily updateAlan Modra1-1/+1
2013-01-30 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.Alan Modra2-1/+5
2013-01-30 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".Tom Tromey2-1/+5
2013-01-30 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.Tom Tromey4-75/+7
* utils.c (gnu_debuglink_crc32): Remove. * utils.h (gnu_debuglink_crc32): Don't declare.
2013-01-30 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)Tom Tromey2-4/+9
(read_structure_type, read_enumeration_type): Remove cast.
2013-01-30 * dwarf2read.c (read_namespace_type): Remove cast.Tom Tromey2-2/+7
(read_typedef): Likewise.
2013-01-30 PR other/54620Kai Tietz3-0/+18
PR target/39064 * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if stdint.h and sys/types.h headers are present. * sha1.h (sha1_uintptr, sha1_uint32): Likewise.
2013-01-30include/opcode/Yufeng Zhang14-661/+815
2013-01-30 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2. opcodes/ 2013-01-30 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and ushll2 with F_HAS_ALIAS. Add entries for sxtl, sxtl2, uxtl and uxtl2. * aarch64-asm.c (convert_xtl_to_shll): New function. (convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by calling convert_xtl_to_shll. * aarch64-dis.c (convert_shll_to_xtl): New function. (convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by calling convert_shll_to_xtl. * aarch64-gen.c: Update copyright year. * aarch64-asm-2.c: Re-generate. * aarch64-dis-2.c: Re-generate. * aarch64-opc-2.c: Re-generate. gas/testsuite/ 2013-01-30 Yufeng Zhang <yufeng.zhang@arm.com> * gas/aarch64/alias.s: Add new tests. * gas/aarch64/alias.d: Update. * gas/aarch64/no-aliases.d: Update.
2013-01-30 * config/tc-metag.c: Make SWAP instruction less permissive with its operands.Nick Clifton5-5/+51
* gas/metag/metacore21-invalid.s: Add invalid SWAP testcases * gas/metag/metacore21-invalid.l: Add expected output for invalid SWAP testcases
2013-01-30revert last commitAlan Modra1-13/+1
2013-01-30*** empty log message ***gdbadmin1-1/+1
2013-01-29daily updateAlan Modra1-1/+1
2013-01-29* config/tc-rl78.c (rl78_cons_fix_new): Handle user-specifiedDJ Delorie3-1/+35
relocs in .word/.etc statements.
2013-01-29 * dwarf2read.c (free_dwo_file): Remove assert.Tom Tromey4-1/+12
gdb/testsuite * gdb.dwarf2/fission-reread.exp: Add unload test.
2013-01-29 * value.c (deprecated_set_value_modifiable): Remove.Tom Tromey3-7/+5
* value.h (deprecated_set_value_modifiable): Remove.