From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7971 invoked by alias); 1 Feb 2013 20:35:40 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 7002 invoked by uid 9674); 1 Feb 2013 20:35:37 -0000 Date: Fri, 01 Feb 2013 20:35:00 -0000 Message-ID: <20130201203536.6983.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-absdir: Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel-mix' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel-mix-default X-Git-Refname: refs/heads/archer-jankratochvil-absdir X-Git-Reftype: branch X-Git-Oldrev: 025d7cc5769192751cd98fd9cd612b898eeb7cff X-Git-Newrev: 2b9902d6567ecebbe196598b67ca65149c116a2b X-SW-Source: 2013-q1/txt/msg00035.txt.bz2 List-Id: The branch, archer-jankratochvil-absdir has been updated via 2b9902d6567ecebbe196598b67ca65149c116a2b (commit) via 3e2bd393021fdc18721caf248662f0060d68fd79 (commit) via 3c7b6127d1c537edec301a2c605673f9e4e6cc19 (commit) via f33462cd33c41c0e55a29f75a5d1495233930f05 (commit) via 55a6b03622d6cdeeb0b48d665c33162e67e17a3b (commit) via 68f63ad0ba158a76ff99ef36fef588a59848766b (commit) via 1f30d9b77fd54e963b78f4378f203743c0d2d8f4 (commit) via b346570342a5ca9475fbe4c7b5e5d42f9de250d8 (commit) via a5b98b3b2b340c71be21a34acb9ae12e22998efd (commit) via 470380a339a1d2c29c5c12e79ce74fb45c3dc62f (commit) via a333736a12dfafebf71b672ebd3bc5bd596358d3 (commit) via 12895536897f1f299f4e27e9bcffb7743eac76f2 (commit) via b1aab79172c560e99be2d30b85a173939cb10128 (commit) via ce0df1e3542e6597547f1ed517296869df09fea3 (commit) via 9cca7c9ea2e26c3e275c4d1091f1228af7e59b4c (commit) via 79ecdcdedff9228e4802b365dc9d8bbe2e279783 (commit) via 58cbfb174637c250d4cf8f3d9902303eba1a2aa5 (commit) via b159cecffc20708e74ef7fe34e05a8223156e562 (commit) via 8be2de3f7798e372c0be3894b570f3f56b25fd08 (commit) via a0bbccb0896ea3b18b56cc337b28b5513169fce8 (commit) via 186cc2fc60622fe5f8ed5f5155afffba89a980c2 (commit) via b8bd96eae0f0e99236bc5d3cb23cd5c75e73aa31 (commit) via 6d0b14096c833308fc7df9b270f8530cd092650a (commit) via 27fd2ffc85ffa64e53306d04abc1b2ada2a26e9a (commit) via 13c9b7e12d21ed6403f66bd5d12b7f2509123f89 (commit) via d5ba5b9794399e2e69f573fc90c54cb9487984b6 (commit) via 9b5d917dcdfe1f9c6af1676df8b5fd6b21651257 (commit) via 5c424db3dfe023da2beba5b9035950e97d2e1c70 (commit) via aeeb9a4d35c32b6df818bc149a831a65ca2c6924 (commit) via 06c12972e5e656bdc30930d3435fa91e84f6eb37 (commit) via 2e1861546a3200f4b98c889a3c4a57fd19145a2e (commit) via ec8b361c688b220ed5392aa14c50cca04da28fe0 (commit) via d08f6e9e44366b755fc0ce32d96f18225e1891fd (commit) via 38974e8a375a2c70629e58351dae85375ef4d380 (commit) via 7ded62da0d1e873b1b86018f16b442b46347124c (commit) via bf3ef00700fd866218020f1d67138dd64986a637 (commit) via bf056ec3c9f4f3ce83cb45ea310c3dd676c877ea (commit) via d3e3baae6bb3881df8adb6fdf52225c4987f5284 (commit) via 34cc7b068b8d9e8a9155b00b28e74698f571e709 (commit) via cd4facd7eba6fe3566a33154ece3b6448ec6b8db (commit) via f281ee6ef8632b17fd43f6db89af5e6b4286f3a6 (commit) via 02998939238cb637e10ad20269cbafeb6d969ec7 (commit) via a17222dbc801b5ce71cdd27f163297136e6890e6 (commit) from 025d7cc5769192751cd98fd9cd612b898eeb7cff (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 2b9902d6567ecebbe196598b67ca65149c116a2b Merge: 025d7cc 3e2bd39 Author: Jan Kratochvil Date: Fri Feb 1 21:33:36 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel-mix' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel-mix-default commit 3e2bd393021fdc18721caf248662f0060d68fd79 Merge: fd0c7dc 3c7b612 Author: Jan Kratochvil Date: Fri Feb 1 21:33:35 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel-mix commit 3c7b6127d1c537edec301a2c605673f9e4e6cc19 Merge: 7680789 f33462c Author: Jan Kratochvil Date: Fri Feb 1 21:33:35 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal-macrorel commit f33462cd33c41c0e55a29f75a5d1495233930f05 Merge: 6cfc98a 55a6b03 Author: Jan Kratochvil Date: Fri Feb 1 21:33:34 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab-dw2fullreal commit 55a6b03622d6cdeeb0b48d665c33162e67e17a3b Merge: 6ebd1db 68f63ad Author: Jan Kratochvil Date: Fri Feb 1 21:33:34 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui-psymtab commit 68f63ad0ba158a76ff99ef36fef588a59848766b Merge: 796e78c 1f30d9b Author: Jan Kratochvil Date: Fri Feb 1 21:33:33 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2-tui commit 1f30d9b77fd54e963b78f4378f203743c0d2d8f4 Merge: 29135d9 b346570 Author: Jan Kratochvil Date: Fri Feb 1 21:33:33 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname-config' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config-simple2 commit b346570342a5ca9475fbe4c7b5e5d42f9de250d8 Merge: 66d2941 a5b98b3 Author: Jan Kratochvil Date: Fri Feb 1 21:33:32 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname-tuifullname' into xfullpath-locsymtab-isabs-expandfullname-tuifullname-config commit a5b98b3b2b340c71be21a34acb9ae12e22998efd Merge: c1d6145 470380a Author: Jan Kratochvil Date: Fri Feb 1 21:33:31 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs-expandfullname' into xfullpath-locsymtab-isabs-expandfullname-tuifullname commit 470380a339a1d2c29c5c12e79ce74fb45c3dc62f Merge: 83ac245 a333736 Author: Jan Kratochvil Date: Fri Feb 1 21:33:31 2013 +0100 Merge branch 'xfullpath-locsymtab-isabs' into xfullpath-locsymtab-isabs-expandfullname commit a333736a12dfafebf71b672ebd3bc5bd596358d3 Merge: 9fd1ea2 1289553 Author: Jan Kratochvil Date: Fri Feb 1 21:33:30 2013 +0100 Merge branch 'xfullpath-locsymtab' into xfullpath-locsymtab-isabs commit 12895536897f1f299f4e27e9bcffb7743eac76f2 Merge: 8d4ef5b b1aab79 Author: Jan Kratochvil Date: Fri Feb 1 21:33:29 2013 +0100 Merge branch 'xfullpath' into xfullpath-locsymtab commit b1aab79172c560e99be2d30b85a173939cb10128 Merge: ac57bb3 ce0df1e Author: Jan Kratochvil Date: Fri Feb 1 21:33:26 2013 +0100 Merge remote-tracking branch 'gdb/master' into xfullpath Conflicts: gdb/utils.c commit ce0df1e3542e6597547f1ed517296869df09fea3 Author: Tom Tromey Date: Fri Feb 1 18:08:52 2013 +0000 2013-02-01 Jan Kratochvil Tom Tromey * gdb.dwarf2/method-ptr.exp: Link with c++. * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count. commit 9cca7c9ea2e26c3e275c4d1091f1228af7e59b4c Author: Alan Modra Date: Fri Feb 1 11:06:37 2013 +0000 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol clears def_regular. commit 79ecdcdedff9228e4802b365dc9d8bbe2e279783 Author: gdbadmin Date: Fri Feb 1 00:00:03 2013 +0000 *** empty log message *** commit 58cbfb174637c250d4cf8f3d9902303eba1a2aa5 Author: Alan Modra Date: Thu Jan 31 23:00:04 2013 +0000 daily update commit b159cecffc20708e74ef7fe34e05a8223156e562 Author: Tom Tromey Date: Thu Jan 31 19:55:15 2013 +0000 * jit.c (jit_program_space_data): Rename from jit_inferior_data; 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. commit 8be2de3f7798e372c0be3894b570f3f56b25fd08 Author: Tom Tromey Date: Thu Jan 31 19:52:02 2013 +0000 PR gdb/13987: * jit.c (struct jit_inferior_data) : 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. commit a0bbccb0896ea3b18b56cc337b28b5513169fce8 Author: Aleksandar Ristovski Date: Thu Jan 31 19:18:57 2013 +0000 2013-01-31 Aleksandar Ristovski * 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 commit 186cc2fc60622fe5f8ed5f5155afffba89a980c2 Author: Aleksandar Ristovski Date: Thu Jan 31 18:46:11 2013 +0000 2013-01-31 Aleksandar Ristovski * 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 commit b8bd96eae0f0e99236bc5d3cb23cd5c75e73aa31 Author: Aleksandar Ristovski Date: Thu Jan 31 18:37:35 2013 +0000 2013-01-31 Aleksandar Ristovski * 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 commit 6d0b14096c833308fc7df9b270f8530cd092650a Author: Aleksandar Ristovski Date: Thu Jan 31 18:31:48 2013 +0000 2013-01-31 Aleksandar Ristovski * 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 commit 27fd2ffc85ffa64e53306d04abc1b2ada2a26e9a Author: Tom Tromey Date: Thu Jan 31 17:41:05 2013 +0000 PR c++/14998: * 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. commit 13c9b7e12d21ed6403f66bd5d12b7f2509123f89 Author: Tom Tromey Date: Thu Jan 31 17:32:33 2013 +0000 * lib/dwarf.exp (namespace Dwarf): New. commit d5ba5b9794399e2e69f573fc90c54cb9487984b6 Author: Aleksandar Ristovski Date: Thu Jan 31 16:32:42 2013 +0000 2013-01-31 Aleksandar Ristovski * target.c (target_read_string): Remove unused origlen. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00754.html commit 9b5d917dcdfe1f9c6af1676df8b5fd6b21651257 Author: Aleksandar Ristovski Date: Thu Jan 31 16:27:45 2013 +0000 2013-01-31 Aleksandar Ristovski * 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 commit 5c424db3dfe023da2beba5b9035950e97d2e1c70 Author: Tom Tromey Date: Thu Jan 31 16:06:47 2013 +0000 * gdb.texinfo (Target Commands): Fix typo. commit aeeb9a4d35c32b6df818bc149a831a65ca2c6924 Author: Aleksandar Ristovski Date: Thu Jan 31 13:52:49 2013 +0000 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. (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 commit 06c12972e5e656bdc30930d3435fa91e84f6eb37 Author: Tristan Gingold Date: Thu Jan 31 09:55:40 2013 +0000 2013-01-31 Tristan Gingold * 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. commit 2e1861546a3200f4b98c889a3c4a57fd19145a2e Author: Kai Tietz Date: Thu Jan 31 08:10:37 2013 +0000 PR other/543413 * md5.c (md5_process_block): Handle case that size_t is a wider-integer-scalar a 32-bit unsigned integer. commit ec8b361c688b220ed5392aa14c50cca04da28fe0 Author: Alan Modra Date: Thu Jan 31 07:32:44 2013 +0000 PR ld/15056 * 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. commit d08f6e9e44366b755fc0ce32d96f18225e1891fd Author: Alan Modra Date: Thu Jan 31 06:28:45 2013 +0000 bfd/ * 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. commit 38974e8a375a2c70629e58351dae85375ef4d380 Author: gdbadmin Date: Thu Jan 31 00:00:03 2013 +0000 *** empty log message *** commit 7ded62da0d1e873b1b86018f16b442b46347124c Author: Alan Modra Date: Wed Jan 30 23:00:04 2013 +0000 daily update commit bf3ef00700fd866218020f1d67138dd64986a637 Author: Alan Modra Date: Wed Jan 30 22:31:30 2013 +0000 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. commit bf056ec3c9f4f3ce83cb45ea310c3dd676c877ea Author: Tom Tromey Date: Wed Jan 30 20:42:11 2013 +0000 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". commit d3e3baae6bb3881df8adb6fdf52225c4987f5284 Author: Tom Tromey Date: Wed Jan 30 20:37:58 2013 +0000 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. * utils.c (gnu_debuglink_crc32): Remove. * utils.h (gnu_debuglink_crc32): Don't declare. commit 34cc7b068b8d9e8a9155b00b28e74698f571e709 Author: Tom Tromey Date: Wed Jan 30 18:45:33 2013 +0000 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) (read_structure_type, read_enumeration_type): Remove cast. commit cd4facd7eba6fe3566a33154ece3b6448ec6b8db Author: Tom Tromey Date: Wed Jan 30 17:19:51 2013 +0000 * dwarf2read.c (read_namespace_type): Remove cast. (read_typedef): Likewise. commit f281ee6ef8632b17fd43f6db89af5e6b4286f3a6 Author: Kai Tietz Date: Wed Jan 30 16:52:34 2013 +0000 PR other/54620 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. commit 02998939238cb637e10ad20269cbafeb6d969ec7 Author: yufeng Date: Wed Jan 30 15:43:31 2013 +0000 include/opcode/ 2013-01-30 Yufeng Zhang * aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2. opcodes/ 2013-01-30 Yufeng Zhang * 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 * gas/aarch64/alias.s: Add new tests. * gas/aarch64/alias.d: Update. * gas/aarch64/no-aliases.d: Update. commit a17222dbc801b5ce71cdd27f163297136e6890e6 Author: Alan Modra Date: Wed Jan 30 10:07:26 2013 +0000 revert last commit ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 29 + bfd/elf32-rx.c | 14 +- bfd/elf32-tilepro.c | 32 +- bfd/elf64-ppc.c | 37 +- bfd/elfxx-sparc.c | 23 + bfd/elfxx-tilegx.c | 32 +- bfd/mach-o.c | 17 +- bfd/version.h | 2 +- gdb/ChangeLog | 153 +++++ gdb/auto-load.c | 1 - gdb/ax-gdb.c | 4 +- gdb/ax-general.c | 3 - gdb/blockframe.c | 5 - gdb/break-catch-sig.c | 1 - gdb/c-exp.y | 2 +- gdb/c-lang.c | 16 +- gdb/c-typeprint.c | 6 +- gdb/charset.c | 1 - gdb/cli/cli-cmds.c | 3 - gdb/completer.c | 1 - gdb/continuations.c | 2 - gdb/corelow.c | 3 - gdb/cp-namespace.c | 4 - gdb/doc/ChangeLog | 4 + gdb/doc/gdb.texinfo | 2 +- gdb/dwarf2-frame.c | 2 - gdb/dwarf2loc.c | 2 - gdb/dwarf2read.c | 21 +- gdb/event-top.c | 3 - gdb/exec.c | 8 +- gdb/gdb_bfd.c | 1 - gdb/gnu-v3-abi.c | 1 - gdb/hppa-tdep.c | 2 +- gdb/i386-tdep.c | 2 - gdb/infcmd.c | 1 - gdb/infrun.c | 6 +- gdb/jit.c | 166 ++++-- gdb/jv-lang.c | 2 - gdb/jv-valprint.c | 1 - gdb/linux-nat.c | 2 - gdb/linux-thread-db.c | 1 - gdb/m2-typeprint.c | 3 - gdb/macroexp.c | 3 - gdb/mi/mi-cmd-catch.c | 1 - gdb/mi/mi-main.c | 9 +- gdb/objc-lang.c | 2 - gdb/objfiles.c | 3 - gdb/python/py-gdb-readline.c | 2 +- gdb/python/python.c | 2 - gdb/regcache.c | 2 - gdb/solib-svr4.c | 3 - gdb/solib-target.c | 1 - gdb/stack.c | 2 - gdb/symfile.c | 2 +- gdb/symtab.c | 15 +- gdb/target.c | 4 +- gdb/testsuite/ChangeLog | 20 + gdb/testsuite/gdb.base/jit.exp | 60 ++- gdb/testsuite/gdb.dwarf2/method-ptr.cc | 21 + gdb/testsuite/gdb.dwarf2/method-ptr.exp | 97 +++ gdb/testsuite/lib/dwarf.exp | 729 ++++++++++++++++++++++ gdb/thread.c | 1 - gdb/tui/tui-disasm.c | 4 +- gdb/utils.c | 70 --- gdb/utils.h | 3 - gdb/valarith.c | 3 +- gdb/valops.c | 1 - gdb/valprint.c | 1 - gdb/varobj.c | 1 - gdb/version.in | 2 +- include/ChangeLog | 8 + include/md5.h | 5 + include/opcode/ChangeLog | 4 + include/opcode/aarch64.h | 7 +- include/sha1.h | 5 + libiberty/ChangeLog | 6 + libiberty/md5.c | 3 +- opcodes/ChangeLog | 15 + opcodes/aarch64-asm-2.c | 218 ++++---- opcodes/aarch64-asm.c | 18 +- opcodes/aarch64-dis-2.c | 1006 ++++++++++++++++--------------- opcodes/aarch64-dis.c | 21 +- opcodes/aarch64-gen.c | 4 +- opcodes/aarch64-opc-2.c | 97 ++-- opcodes/aarch64-tbl.h | 12 +- 85 files changed, 2117 insertions(+), 997 deletions(-) create mode 100644 gdb/testsuite/gdb.dwarf2/method-ptr.cc create mode 100644 gdb/testsuite/gdb.dwarf2/method-ptr.exp First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff85ec7..7614ca0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,32 @@ +2013-02-01 Alan Modra + + * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol + clears def_regular. + +2013-01-31 Tristan Gingold + + * 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 Alan Modra + David S. Miller + + PR ld/15056 + * 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-31 Alan Modra + + * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". + +2013-01-31 Alan Modra + + * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. + 2013-01-28 Alan Modra * elf64-ppc.c: Use %T to print symbols names and remove redundant diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index 8b61142..5000eb7 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -3098,15 +3098,9 @@ rx_elf_object_p (bfd * abfd) { Elf_Internal_Shdr *sec = elf_tdata(abfd)->elf_sect_ptr[u]; -<<<<<<< elf32-rx.c - if (phdr[i].p_offset <= (bfd_vma) sec->sh_offset - && (bfd_vma)sec->sh_offset <= phdr[i].p_offset + (phdr[i].p_filesz - 1) - && sec->sh_size > 0) -======= if (phdr[i].p_filesz && phdr[i].p_offset <= (bfd_vma) sec->sh_offset && (bfd_vma)sec->sh_offset <= phdr[i].p_offset + (phdr[i].p_filesz - 1)) ->>>>>>> 1.20 { /* Found one! The difference between the two addresses, plus the difference between the two file offsets, is @@ -3119,7 +3113,7 @@ rx_elf_object_p (bfd * abfd) The correct LMA for the section is fffc0140 + (2050-2010). */ - phdr[i].p_vaddr = sec->sh_addr - (sec->sh_offset - phdr[i].p_offset); + phdr[i].p_vaddr = sec->sh_addr + (sec->sh_offset - phdr[i].p_offset); break; } } @@ -3129,15 +3123,9 @@ rx_elf_object_p (bfd * abfd) bsec = abfd->sections; while (bsec) { -<<<<<<< elf32-rx.c - if (bsec->flags & (SEC_LOAD | SEC_ALLOC) - && phdr[i].p_offset <= (bfd_vma) bsec->filepos - && (bfd_vma) bsec->filepos <= phdr[i].p_offset + (phdr[i].p_filesz - 1)) -======= if (phdr[i].p_filesz && phdr[i].p_vaddr <= bsec->vma && bsec->vma <= phdr[i].p_vaddr + (phdr[i].p_filesz - 1)) ->>>>>>> 1.20 { bsec->lma = phdr[i].p_paddr + (bsec->vma - phdr[i].p_vaddr); } diff --git a/bfd/elf32-tilepro.c b/bfd/elf32-tilepro.c index fc49e2b..db37403 100644 --- a/bfd/elf32-tilepro.c +++ b/bfd/elf32-tilepro.c @@ -1868,11 +1868,33 @@ tilepro_elf_gc_mark_hook (asection *sec, if (h != NULL) { switch (ELF32_R_TYPE (rel->r_info)) - { - case R_TILEPRO_GNU_VTINHERIT: - case R_TILEPRO_GNU_VTENTRY: - break; - } + { + case R_TILEPRO_GNU_VTINHERIT: + case R_TILEPRO_GNU_VTENTRY: + return NULL; + } + } + + /* FIXME: The test here, in check_relocs and in relocate_section + dealing with TLS optimization, ought to be !info->executable. */ + if (info->shared) + { + switch (ELF32_R_TYPE (rel->r_info)) + { + case R_TILEPRO_TLS_GD_CALL: + /* This reloc implicitly references __tls_get_addr. We know + another reloc will reference the same symbol as the one + on this reloc, so the real symbol and section will be + gc marked when processing the other reloc. That lets + us handle __tls_get_addr here. */ + h = elf_link_hash_lookup (elf_hash_table (info), "__tls_get_addr", + FALSE, FALSE, TRUE); + BFD_ASSERT (h != NULL); + h->mark = 1; + if (h->u.weakdef != NULL) + h->u.weakdef->mark = 1; + sym = NULL; + } } return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 2f6999b..310b9d6 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -4074,7 +4074,7 @@ ppc_stub_name (const asection *input_section, const Elf_Internal_Rela *rel) { char *stub_name; - bfd_size_type len; + ssize_t len; /* rel->r_addend is actually 64 bit, but who uses more than +/- 2^31 offsets from a sym as a branch target? In fact, we could @@ -4088,10 +4088,10 @@ ppc_stub_name (const asection *input_section, if (stub_name == NULL) return stub_name; - sprintf (stub_name, "%08x.%s+%x", - input_section->id & 0xffffffff, - h->elf.root.root.string, - (int) rel->r_addend & 0xffffffff); + len = sprintf (stub_name, "%08x.%s+%x", + input_section->id & 0xffffffff, + h->elf.root.root.string, + (int) rel->r_addend & 0xffffffff); } else { @@ -4100,13 +4100,13 @@ ppc_stub_name (const asection *input_section, if (stub_name == NULL) return stub_name; - sprintf (stub_name, "%08x.%x:%x+%x", - input_section->id & 0xffffffff, - sym_sec->id & 0xffffffff, - (int) ELF64_R_SYM (rel->r_info) & 0xffffffff, - (int) rel->r_addend & 0xffffffff); + len = sprintf (stub_name, "%08x.%x:%x+%x", + input_section->id & 0xffffffff, + sym_sec->id & 0xffffffff, + (int) ELF64_R_SYM (rel->r_info) & 0xffffffff, + (int) rel->r_addend & 0xffffffff); } - if (stub_name[len - 2] == '+' && stub_name[len - 1] == '0') + if (len > 2 && stub_name[len - 2] == '+' && stub_name[len - 1] == '0') stub_name[len - 2] = 0; return stub_name; } @@ -7056,14 +7056,15 @@ dec_dynrel_count (bfd_vma r_info, void *vpp = &elf_section_data (sec)->local_dynrel; pp = (struct elf_dyn_relocs **) vpp; } - - /* elf_gc_sweep may have already removed all dyn relocs associated - with local syms for a given section. Don't report a dynreloc - miscount. */ - if (*pp == NULL) - return TRUE; } + /* elf_gc_sweep may have already removed all dyn relocs associated + with local syms for a given section. Also, symbol flags are + changed by elf_gc_sweep_symbol, confusing the test above. Don't + report a dynreloc miscount. */ + if (*pp == NULL && info->gc_sections) + return TRUE; + while ((p = *pp) != NULL) { if (p->sec == sec) @@ -9772,7 +9773,7 @@ build_plt_stub (struct ppc_link_hash_table *htab, { bfd_put_32 (obfd, CMPLDI_R2_0, p), p += 4; bfd_put_32 (obfd, BNECTR_P4, p), p += 4; - bfd_put_32 (obfd, B_DOT + cmp_branch_off, p), p += 4; + bfd_put_32 (obfd, B_DOT | (cmp_branch_off & 0x3fffffc), p), p += 4; } else bfd_put_32 (obfd, BCTR, p), p += 4; diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c index 196d566..9684ffd 100644 --- a/bfd/elfxx-sparc.c +++ b/bfd/elfxx-sparc.c @@ -1873,6 +1873,29 @@ _bfd_sparc_elf_gc_mark_hook (asection *sec, return NULL; } + /* FIXME: The test here, in check_relocs and in relocate_section + dealing with TLS optimization, ought to be !info->executable. */ + if (info->shared) + { + switch (SPARC_ELF_R_TYPE (rel->r_info)) + { + case R_SPARC_TLS_GD_CALL: + case R_SPARC_TLS_LDM_CALL: + /* This reloc implicitly references __tls_get_addr. We know + another reloc will reference the same symbol as the one + on this reloc, so the real symbol and section will be + gc marked when processing the other reloc. That lets + us handle __tls_get_addr here. */ + h = elf_link_hash_lookup (elf_hash_table (info), "__tls_get_addr", + FALSE, FALSE, TRUE); + BFD_ASSERT (h != NULL); + h->mark = 1; + if (h->u.weakdef != NULL) + h->u.weakdef->mark = 1; + sym = NULL; + } + } + return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); } diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c index b28d1a8..cd92bf9 100644 --- a/bfd/elfxx-tilegx.c +++ b/bfd/elfxx-tilegx.c @@ -2107,11 +2107,33 @@ tilegx_elf_gc_mark_hook (asection *sec, if (h != NULL) { switch (TILEGX_ELF_R_TYPE (rel->r_info)) - { - case R_TILEGX_GNU_VTINHERIT: - case R_TILEGX_GNU_VTENTRY: - break; - } + { + case R_TILEGX_GNU_VTINHERIT: + case R_TILEGX_GNU_VTENTRY: + return NULL; + } + } + + /* FIXME: The test here, in check_relocs and in relocate_section + dealing with TLS optimization, ought to be !info->executable. */ + if (info->shared) + { + switch (TILEGX_ELF_R_TYPE (rel->r_info)) + { + case R_TILEGX_TLS_GD_CALL: + /* This reloc implicitly references __tls_get_addr. We know + another reloc will reference the same symbol as the one + on this reloc, so the real symbol and section will be + gc marked when processing the other reloc. That lets + us handle __tls_get_addr here. */ + h = elf_link_hash_lookup (elf_hash_table (info), "__tls_get_addr", + FALSE, FALSE, TRUE); + BFD_ASSERT (h != NULL); + h->mark = 1; + if (h->u.weakdef != NULL) + h->u.weakdef->mark = 1; + sym = NULL; + } } return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 7f4b968..e3bfa58 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -3979,6 +3979,18 @@ bfd_mach_o_scan_start_address (bfd *abfd) cmd = &mdata->commands[i].command.thread; break; } + else if (mdata->commands[i].type == BFD_MACH_O_LC_MAIN + && mdata->nsects > 1) + { + bfd_mach_o_main_command *main_cmd = &mdata->commands[i].command.main; + bfd_mach_o_section *text_sect = mdata->sections[0]; + if (text_sect) + { + abfd->start_address = main_cmd->entryoff + + (text_sect->addr - text_sect->offset); + return TRUE; + } + } if (cmd == NULL) return FALSE; @@ -4121,10 +4133,11 @@ bfd_mach_o_scan (bfd *abfd, } } - if (bfd_mach_o_scan_start_address (abfd) < 0) + /* Sections should be flatten before scanning start address. */ + bfd_mach_o_flatten_sections (abfd); + if (!bfd_mach_o_scan_start_address (abfd)) return FALSE; - bfd_mach_o_flatten_sections (abfd); return TRUE; } diff --git a/bfd/version.h b/bfd/version.h index f257eda..0e43552 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20130130 +#define BFD_VERSION_DATE 20130201 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b2193b..e4cbe05 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,156 @@ +2013-01-31 Tom Tromey + + * jit.c (jit_program_space_data): Rename from jit_inferior_data; + 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 Tom Tromey + + PR gdb/13987: + * jit.c (struct jit_inferior_data) : 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. + +2013-01-31 Aleksandar Ristovski + + * 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. + +2013-01-31 Aleksandar Ristovski + + * 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. + +2013-01-31 Aleksandar Ristovski + + * 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. + +2013-01-31 Aleksandar Ristovski + + * 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. + +2013-01-31 Tom Tromey + + PR c++/14998: + * dwarf2read.c (read_tag_ptr_to_member_type): Handle + TYPE_CODE_FUNC. + +2013-01-31 Aleksandar Ristovski + + * target.c (target_read_string): Remove unused origlen. + +2013-01-31 Aleksandar Ristovski + + * 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. + +2013-01-31 Aleksandar Ristovski + + * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. + (svr4_read_so_list): Remove unused lmo. + * solib-target.c (solib_target_relocate_section_addresses): Remove + unused flags. + +2013-01-30 Tom Tromey + + * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". + +2013-01-30 Tom Tromey + + * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. + * utils.c (gnu_debuglink_crc32): Remove. + * utils.h (gnu_debuglink_crc32): Don't declare. + +2013-01-30 Tom Tromey + + * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) + (read_structure_type, read_enumeration_type): Remove cast. + +2013-01-30 Tom Tromey + + * dwarf2read.c (read_namespace_type): Remove cast. + (read_typedef): Likewise. + 2013-01-29 Tom Tromey * dwarf2read.c (free_dwo_file): Remove assert. diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 850c704..b12995b 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -178,7 +178,6 @@ auto_load_expand_dir_vars (const char *string) static void auto_load_safe_path_vec_update (void) { - VEC (char_ptr) *dir_vec = NULL; unsigned len; int ix; hooks/post-receive -- Repository for Project Archer.