From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29719 invoked by alias); 26 Feb 2010 17:50:14 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 29629 invoked by uid 9674); 26 Feb 2010 17:50:11 -0000 Date: Fri, 26 Feb 2010 17:50:00 -0000 Message-ID: <20100226175011.29610.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 5adcde54c088d5ba957133330569afa65b8aea0d X-Git-Newrev: ca310775e216d1c75c8da2f2fdbdd274ce36d402 X-SW-Source: 2010-q1/txt/msg00133.txt.bz2 List-Id: The branch, master has been updated via ca310775e216d1c75c8da2f2fdbdd274ce36d402 (commit) via cf2bb4dbd0774efa59feba2a3f29924fd1866d4c (commit) via 96c23bfd2863bcca7388653a7bc4c9f8a64a03be (commit) via 19adc57b71e929bb4ee1b807750ce92f8f01363f (commit) via 9e1796e9a4a9f95d2c2c580fcdce9bda794a6b42 (commit) via b3b1da048cb26c48c6244d58cf6365162d630b06 (commit) via 00ac3c866427a6ed7aad2f0adf74968b2f15753a (commit) via ba2fe9e294571f3cd743e73bba95a805eb7760e0 (commit) via 54548eb1d89b33c661e1b934e3a144ad95b8a15a (commit) via dd54093fb676cd53ee950955adc7641af170e640 (commit) via 843c58b91df63db4a3b8b7767bc0f62db0703252 (commit) via 3032800e2944edf58305c955cdd80c01d1da7c4c (commit) via 355ac0383d2738bbaefdf4fe7fdf0ee73ca49a3d (commit) via 057e39a32e1c3452366447ef0f643f214a25699d (commit) via 2de5199d4a8605fa2841e8519907ad086c007b4c (commit) via 6e1af507d8d0e5f1c8d11c75438953efebb25844 (commit) via f3baed3e4944f202f114e9e5d8780196f92892d2 (commit) via 07b30454a1c30ce45e3fc6b664425e4855b4eb20 (commit) via 11e54c1bd90cb4cabcde507e8d56e2724b4ca458 (commit) via b787cf42b1bd5f6ea342e602880a82ad9bcda7d7 (commit) via 2ce44621c197854d3eeeae52be5216136b8a414f (commit) via 9da779365c02b4a979f58503157c0a86866d1741 (commit) via e07f0f96488858cfca1dedbd7cb08bd48688fa5a (commit) via db816ff7acb5565e5697639e335312f795274c96 (commit) via ac58779be4c37e91a3698ec45c761d96e36b0074 (commit) via c343803c424bdf125a07ad296ad54fa3dc78bf6b (commit) via 8bf6105071ab1aa991a0761581fae80457f1a33d (commit) via f68240a5e33eced3032b0bfca5c00be8944fd275 (commit) via a75df5cc5dbb693f5a3d3fe1ad19e47b6b17b79e (commit) via e0605102fdc1d9fb8ece9a153cd133629b68c130 (commit) via dec1ff82828c0b4204098cca0098f57fbeb798a0 (commit) via 467de4645f4a796e272b2177b371fc746c50d5f2 (commit) via 0ecfd9a6f8fba15684db7bc4bcf47b40b23ef0d6 (commit) via 3a929926a790230e4b3318416ee6eebb0e3e35c5 (commit) via 3d2f6604064f5b1c97380e47a18e845d3c249916 (commit) via d07af9c058900dd21ebb83c73368581e52ef0a7c (commit) via 56e02e3cda921077c89036f7218ba2d7ff6a1924 (commit) via a3e8ea1a16851333fe7edceaee56ac820fe038dc (commit) via bd52951129aa12bbc76ea8f5e82dfd52fc84bf27 (commit) via bc789818d9edd2a590c3ec88241a286c955a25d0 (commit) via e1d57e45916ac9ae96db9a0e43ff813960a7e0c2 (commit) via 21d8857dbd932f03974c637113dd41d290c9f886 (commit) via 676f51cb9d6476a1babfde63a929337870d0f6f9 (commit) via a755137c422f4e4d6731f88b351c019860dc29d4 (commit) via c5f57473b148124bf0e9715e2362abf93bb981e3 (commit) via bd0d1758171d2af069e2a277eed5e6fa65919ab5 (commit) via 072ca5eae217783c4bb986bac3db1dd7c0b70c4b (commit) from 5adcde54c088d5ba957133330569afa65b8aea0d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit ca310775e216d1c75c8da2f2fdbdd274ce36d402 Merge: 5adcde54c088d5ba957133330569afa65b8aea0d cf2bb4dbd0774efa59feba2a3f29924fd1866d4c Author: Jan Kratochvil Date: Fri Feb 26 18:48:20 2010 +0100 Merge remote branch 'gdb/master' commit cf2bb4dbd0774efa59feba2a3f29924fd1866d4c Author: Pedro Alves Date: Fri Feb 26 15:03:09 2010 +0000 * NEWS: Add "New targets" section, and mention ARM Symbian support. commit 96c23bfd2863bcca7388653a7bc4c9f8a64a03be Author: Ulrich Weigand Date: Fri Feb 26 12:48:17 2010 +0000 * dwarf2loc.c (struct piece_closure): Remove ARCH member, add ADDR_SIZE member. (allocate_piece_closure): Update. (copy_pieced_value_closure): Likewise. (dwarf2_evaluate_loc_desc): Likewise. (read_pieced_value): Use DWARF address size instead of GDB's gdbarch_addr_bit as size of values on the DWARF stack. commit 19adc57b71e929bb4ee1b807750ce92f8f01363f Author: pmuldoon Date: Fri Feb 26 09:08:08 2010 +0000 2010-02-26 Phil Muldoon Tom Tromey * python/py-type.c (typy_lookup_typename): Add in block argument. If provided restrict lookup to specified blocks. (gdbpy_lookup_type): Likewise. (typy_lookup_type): Likewise. 2010-02-26 Phil Muldoon Tom Tromey * gdb.texinfo (Types In Python): Describe block argument in template_argument and gdb.lookup_type. commit 9e1796e9a4a9f95d2c2c580fcdce9bda794a6b42 Author: David S. Miller Date: Fri Feb 26 05:50:34 2010 +0000 gdb: Enable catch syscall test on sparc*-*-liunx and fix logic bug. gdb/testsuite/ 2010-02-25 David S. Miller * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and fix logic for setting all_syscalls_numbers. commit b3b1da048cb26c48c6244d58cf6365162d630b06 Author: gdbadmin Date: Fri Feb 26 00:00:33 2010 +0000 *** empty log message *** commit 00ac3c866427a6ed7aad2f0adf74968b2f15753a Author: Alan Modra Date: Thu Feb 25 23:00:05 2010 +0000 daily update commit ba2fe9e294571f3cd743e73bba95a805eb7760e0 Author: Pedro Alves Date: Thu Feb 25 20:30:58 2010 +0000 Symbian config gdb/ * arm-symbian-tdep.c: New. * configure.tgt (arm*-*-symbianelf*): New target. (*-*-symbianelf*): New OS. * osabi.c (gdb_osabi_names): Add Symbian. * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN. * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o. (ALLDEPFILES): Add arm-symbian-tdep.c. commit 54548eb1d89b33c661e1b934e3a144ad95b8a15a Author: Daniel Jacobowitz Date: Thu Feb 25 15:39:58 2010 +0000 * symfile.c (find_lowest_section): Include SEC_ALLOC sections. commit dd54093fb676cd53ee950955adc7641af170e640 Author: Nick Clifton Date: Thu Feb 25 11:15:48 2010 +0000 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop, mips_fix_loongson2f_jump): New variables. (md_longopts): Add New options -mfix-loongson2f-nop/jump, -mno-fix-loongson2f-nop/jump. (md_parse_option): Initialize variables via above options. (options): New enums for the above options. (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN. (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump): New functions. (append_insn): call fix_loongson2f(). (mips_handle_align): Replace the implicit nops. * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified for the new mips_handle_align(). * doc/c-mips.texi: Document the new options. * gas/mips/loongson-2f-2.s: New test of -mfix-loongson2f-nop. * gas/mips/loongson-2f-2.d: Likewise. * gas/mips/loongson-2f-3.s: New test of -mfix-loongson2f-jump. * gas/mips/loongson-2f-3.d: Likewise. * gas/mips/mips.exp: Run the new tests. * opcode/mips.h (LOONGSON2F_NOP_INSN): New macro. commit 843c58b91df63db4a3b8b7767bc0f62db0703252 Author: Alan Modra Date: Thu Feb 25 03:49:13 2010 +0000 bfd/ PR ld/11304 * elf.c (_bfd_elf_init_private_section_data): Rename need_group to final_link and invert. For final link allow some flags to differ. Don't specially allow flags to be all zero. ld/ * ldlang.c (init_os): Remove isec param. Don't check for bfd_section already set or call bfd_init_private_section_data here. (exp_init_os): Update init_os call. (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE flags. Call bfd_init_private_section_data here. (map_input_to_output_sections): Tidy. Update init_os calls. Use os->sectype to select sec flags for lang_data_statement. commit 3032800e2944edf58305c955cdd80c01d1da7c4c Author: Alan Modra Date: Thu Feb 25 01:00:13 2010 +0000 * ppc-dis.c (ppc_opts): Add PPC_OPCODE_E500MC for "e500mc64". commit 355ac0383d2738bbaefdf4fe7fdf0ee73ca49a3d Author: gdbadmin Date: Thu Feb 25 00:00:03 2010 +0000 *** empty log message *** commit 057e39a32e1c3452366447ef0f643f214a25699d Author: Pedro Alves Date: Wed Feb 24 23:11:27 2010 +0000 * mi/mi-main.c (mi_cmd_execute): Fix typo. commit 2de5199d4a8605fa2841e8519907ad086c007b4c Author: Alan Modra Date: Wed Feb 24 23:00:05 2010 +0000 daily update commit 6e1af507d8d0e5f1c8d11c75438953efebb25844 Author: Tom Tromey Date: Wed Feb 24 22:20:24 2010 +0000 * gdb.texinfo (Cygwin Native): Fix typo. commit f3baed3e4944f202f114e9e5d8780196f92892d2 Author: pmuldoon Date: Wed Feb 24 21:18:26 2010 +0000 2010-02-24 Phil Muldoon Tom Tromey Thiago Jung Bauermann * python/python.c (_initialize_python): Call gdbpy_initialize_symtabs, gdbpy_initialize_symbols and gdbpy_initialize_blocks. * python/python-internal.h: Declare struct symbol, block and symtab_and_line. Declare block_object_type and symbol_object_type (gdbpy_lookup_symbol gdbpy_block_for_pc) (symtab_and_line_to_sal_object, symtab_to_symtab_object) (symbol_to_symbol_object, block_to_block_object) (gdbpy_initialize_symtabs,gdbpy_initialize_symbols) (gdbpy_initialize_blocks ): Declare. * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal) (frapy_select): Add methods. (frapy_read_var): Add symbol branch. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab, py-block. (SUBDIR_PYTHON_SRCS): Likewise. (py-symbol.o): New rule. (py-symtab.o): Likewise. (py-block.o): Likewise. * python/py-symbol.c: New file. * python/py-symtab.c: Likewise. * python/py-block.c: Likewise. 2010-02-24 Phil Muldoon * Makefile.in: Add py-block and py-symbol. * gdb.python/py-symbol.exp: New File. * gdb.python/py-symtab.exp: New File. * gdb.python/py-block.exp: New File. * gdb.python/py-symbol.c: New File. * gdb.python/py-block.c: New File. 2010-02-24 Phil Muldoon * gdb.texinfo (Frames In Python): Add block, find_sal, function and select method descriptions. (Python API): Add Blocks In Python, Symbols in Python and Symbol Tables in Python to menu. (Blocks In Python): New node. (Symbols In Python): New node. (Symbol Tables in Python): New node. commit 07b30454a1c30ce45e3fc6b664425e4855b4eb20 Author: Pedro Alves Date: Wed Feb 24 20:49:50 2010 +0000 PR gdb/11321 * inferior.h (prepare_for_detach): Declare. (struct inferior) : New field. * infrun.c (prepare_for_detach): New. (handle_inferior_event) : Don't stop if detaching. * target.c (target_detach): Call prepare_for_detach. commit 11e54c1bd90cb4cabcde507e8d56e2724b4ca458 Author: Pedro Alves Date: Wed Feb 24 20:47:22 2010 +0000 Per-process displaced stepping queue. * infrun.c (displaced_step_ptid, displaced_step_request_queue) (displaced_step_gdbarch, displaced_step_closure, (displaced_step_original, displaced_step_copy): Move globals to this... (struct displaced_step_inferior_state): ... new structure. (displaced_step_inferior_states): New global. (get_displaced_stepping_state, add_displaced_stepping_state) (remove_displaced_stepping_state, infrun_inferior_exit): New functions. (displaced_step_clear): Add displaced_step_inferior_state parameter, and adjust to handle it. (displaced_step_clear_cleanup): Parameter is now a displaced_step_inferior_state. Adjust. (displaced_step_prepare): Adjust. (displaced_step_fixup, displaced_step_fixup) (infrun_thread_ptid_changed, resume): Adjust. (init_wait_for_inferior): Don't call displaced_step_clear. (infrun_thread_stop_requested): Rewrite. (_initialize_infrun): Install infrun_inferior_exit as inferior_exit observer. commit b787cf42b1bd5f6ea342e602880a82ad9bcda7d7 Author: Pedro Alves Date: Wed Feb 24 17:01:50 2010 +0000 * inferior.h (ptid_match): Declare. * infrun.c (ptid_match): New. * remote.c (queued_stop_reply): Rewrite and use ptid_match. (handle_notification): Add debug output. * linux-nat.c (ptid_match): Delete. commit 2ce44621c197854d3eeeae52be5216136b8a414f Author: David S. Miller Date: Wed Feb 24 15:14:30 2010 +0000 gdb: Add sparc*-*-linux catch syscall support. 2010-02-24 David S. Miller * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it. * syscalls/sparc-linux.xml: New. * syscalls/sparc64-linux.xml: New. * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files. * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define. (sparc32_linux_get_syscall_number): New function. (sparc32_linux_init_abi): Set syscall XML file name and hook up syscall number fetcher. * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define. (sparc64_linux_get_syscall_number): New function. (sparc64_linux_init_abi): Set syscall XML file name and hook up syscall number fetcher. commit 9da779365c02b4a979f58503157c0a86866d1741 Author: Nick Clifton Date: Wed Feb 24 15:11:42 2010 +0000 PR binutils/6773 * arm-dis.c (arm_opcodes): Replace addsubx with asx. Replace subaddx with sax. (thumb32_opcodes): Likewise. * gas/arm/arch7em.d: Replace expected disassembly of addsubx with asx. Also replace subaddx with sax. * gas/arm/archv6.d: Likewise. * gas/arm/thumb32.d: Likewise. commit e07f0f96488858cfca1dedbd7cb08bd48688fa5a Author: Nick Clifton Date: Wed Feb 24 14:21:50 2010 +0000 PR binutils/10858 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol table. commit db816ff7acb5565e5697639e335312f795274c96 Author: pmuldoon Date: Wed Feb 24 11:11:16 2010 +0000 2010-02-24 Phil Muldoon PR python/11314 * lib/gdb.exp (skip_python_tests): New function. * gdb.python/py-cmd.exp: Use skip_python_tests. * gdb.python/py-frame.exp: Likewise. * gdb.python/py-function.exp: Likewise. * gdb.python/py-prettyprint.exp: Likewise. * gdb.python/py-template.exp: Likewise. * gdb.python/py-type.exp: Likewise. * gdb.python/py-value.exp: Likewise. commit ac58779be4c37e91a3698ec45c761d96e36b0074 Author: Vladimir Prus Date: Wed Feb 24 07:51:44 2010 +0000 Multiexec MI * breakpoint.c (clear_syscall_counts): Take struct inferior*. * inferior.c (add_inferior_silent): Notify inferior_added observer. (delete_inferior_1): Notify inferior_removed observer. (exit_inferior_1): Pass inferior, not pid, to observer. (inferior_appeared): Likewise. (add_inferior_with_spaces): New. (add_inferior_command): Use the above. * inferior.h (delete_inferior_1, add_inferior_with_spaces): Declare. * inflow.c (inflow_inferior_exit): Likewise. * jit.c (jit_inferior_exit_hook): Likewise. * mi/mi-cmds.c (mi_cmds): Register add-inferior and remove-inferior. * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New. (report_initial_inferior): New. (mi_inferior_removed): Register the above. Make sure inferior_added observer is called on the first inferior. (mi_new_thread, mi_thread_exit): Thread group is now identified by inferior number, not pid. (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are affected. * mi/mi-main.c (current_context): New. (proceed_thread_callback): Use typed closure. Proceed everything if pid is 0. Most implementation split into (proceed_thread): ... this. (run_one_inferior): New. (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run): Adjust for multiexec behaviour. (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. (mi_cmd_execute): Handle the 'thread-group' option here. Do some extra checks. * mi-parse.c (mi_parse): Handle the --all and --thread-group options. * mi-parse.h (struct mi_parse): New fields all and thread_group. commit c343803c424bdf125a07ad296ad54fa3dc78bf6b Author: Vladimir Prus Date: Wed Feb 24 07:33:54 2010 +0000 Make -exec-run a proper MI commands. * mi/mi-cmds.h (mi_cmd_exec_run): Declare. * mi/mi-cmds.c (mi_cmds): Adjust. * mi/mi-main.c (mi_cmd_exec_run): New. commit 8bf6105071ab1aa991a0761581fae80457f1a33d Author: Pedro Alves Date: Wed Feb 24 01:06:27 2010 +0000 * tracepoint.h (set_traceframe_number) (cleanup_restore_current_traceframe): Declare. * tracepoint.c (set_traceframe_number): New. (struct current_traceframe_cleanup): New. (do_restore_current_traceframe_cleanup) (restore_current_traceframe_cleanup_dtor) (make_cleanup_restore_current_traceframe): New. * infrun.c: Include tracepoint.h. (fetch_inferior_event): Switch out and in of tfind mode. commit f68240a5e33eced3032b0bfca5c00be8944fd275 Author: Pedro Alves Date: Wed Feb 24 00:29:01 2010 +0000 * breakpoint.c (breakpoint_init_inferior): Also delete bp_shlib_event breakpoints. * solib-frv.c (enable_break): Remove call to remove_solib_event_breakpoints. * solib-svr4.c (enable_break): Ditto. * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto. * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto. * solib-som.c (som_solib_create_inferior_hook): Ditto. * solib-spu.c (spu_enable_break): Ditto. commit a75df5cc5dbb693f5a3d3fe1ad19e47b6b17b79e Author: gdbadmin Date: Wed Feb 24 00:00:33 2010 +0000 *** empty log message *** commit e0605102fdc1d9fb8ece9a153cd133629b68c130 Author: Alan Modra Date: Tue Feb 23 23:00:05 2010 +0000 daily update commit dec1ff82828c0b4204098cca0098f57fbeb798a0 Author: mkuvyrkov Date: Tue Feb 23 19:16:16 2010 +0000 * configure.ac: Check for libdl. If it is not available link against static libthread_db. * configure: Regenerate. commit 467de4645f4a796e272b2177b371fc746c50d5f2 Author: Pedro Alves Date: Tue Feb 23 17:03:50 2010 +0000 2010-02-23 Harald Koenig * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE. commit 0ecfd9a6f8fba15684db7bc4bcf47b40b23ef0d6 Author: Pedro Alves Date: Tue Feb 23 17:01:54 2010 +0000 2010-02-23 Harald Koenig * varobj.c (varobj_update): Avoid non-constants in initializers. commit 3a929926a790230e4b3318416ee6eebb0e3e35c5 Author: Tom Tromey Date: Tue Feb 23 16:14:36 2010 +0000 * dwarf2loc.c (read_pieced_value) : Correctly handle big-endian values. (dwarf2_evaluate_loc_desc) : Likewise. commit 3d2f6604064f5b1c97380e47a18e845d3c249916 Author: Nick Clifton Date: Tue Feb 23 11:38:34 2010 +0000 PR 11297: Add support for 8-bit relocations to the AVR toolchain. commit d07af9c058900dd21ebb83c73368581e52ef0a7c Author: gdbadmin Date: Tue Feb 23 00:00:03 2010 +0000 *** empty log message *** commit 56e02e3cda921077c89036f7218ba2d7ff6a1924 Author: Pedro Alves Date: Mon Feb 22 23:35:15 2010 +0000 2010-02-22 Pedro Alves PR9605 gdb/ * breakpoint.c (insert_bp_location): If inserting the read watchpoint failed, fallback to an access watchpoint. (bpstat_check_watchpoint): Stop for read watchpoint triggers even if the value changed, if not watching the same memory for writes. (watchpoint_locations_match): Add comment. (update_global_location_list): Copy the location's watchpoint type. * i386-nat.c (i386_length_and_rw_bits): It's an internal error to handle read watchpoints here. (i386_insert_watchpoint): Read watchpoints aren't supported. * remote.c (remote_insert_watchpoint): Return 1 for unsupported packets. * target.h (target_insert_watchpoint): Update description. 2010-02-22 Pedro Alves PR9605 gdbserver/ * i386-low.c (i386_length_and_rw_bits): Throw a fatal error if handing a read watchpoint. (i386_low_insert_watchpoint): Read watchpoints aren't supported. 2010-02-22 Pedro Alves PR9605 gdb/testsuite/ * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files. commit a3e8ea1a16851333fe7edceaee56ac820fe038dc Author: Alan Modra Date: Mon Feb 22 23:00:04 2010 +0000 daily update commit bd52951129aa12bbc76ea8f5e82dfd52fc84bf27 Author: gdbadmin Date: Mon Feb 22 00:00:03 2010 +0000 *** empty log message *** commit bc789818d9edd2a590c3ec88241a286c955a25d0 Author: Alan Modra Date: Sun Feb 21 23:00:04 2010 +0000 daily update commit e1d57e45916ac9ae96db9a0e43ff813960a7e0c2 Author: Alan Modra Date: Sun Feb 21 22:24:02 2010 +0000 * reloc.c (bfd_check_overflow): When forming addrmask, shift fieldmask left by rightshift. (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all overflow checks. commit 21d8857dbd932f03974c637113dd41d290c9f886 Author: gdbadmin Date: Sun Feb 21 00:00:33 2010 +0000 *** empty log message *** commit 676f51cb9d6476a1babfde63a929337870d0f6f9 Author: Alan Modra Date: Sat Feb 20 23:00:04 2010 +0000 daily update commit a755137c422f4e4d6731f88b351c019860dc29d4 Author: H.J. Lu Date: Sat Feb 20 15:47:02 2010 +0000 Don't check STT_GNU_IFUNC on large common symbol. 2010-02-20 H.J. Lu * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check STT_GNU_IFUNC on large common symbol. commit c5f57473b148124bf0e9715e2362abf93bb981e3 Author: gdbadmin Date: Sat Feb 20 00:00:33 2010 +0000 *** empty log message *** commit bd0d1758171d2af069e2a277eed5e6fa65919ab5 Author: Alan Modra Date: Fri Feb 19 23:00:04 2010 +0000 daily update commit 072ca5eae217783c4bb986bac3db1dd7c0b70c4b Author: Tom Tromey Date: Fri Feb 19 22:22:48 2010 +0000 * p-typeprint.c (pascal_type_print_varspec_prefix): Update. * m2-typeprint.c (m2_print_type): Update. * gdbtypes.c (recursive_dump_type): Update. (copy_type_recursive): Update. * c-typeprint.c (c_type_print_varspec_prefix): Update. (c_type_print_base): Update. * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): Remove. (struct cplus_struct_type) : Remove. : Remove. : Move earlier. (TYPE_TEMPLATE_ARGS): Remove. (TYPE_NTEMPLATE_ARGS): Remove. (TYPE_TEMPLATE_ARG): Remove. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 32 ++ bfd/elf.c | 17 +- bfd/elf32-avr.c | 23 +- bfd/elf64-x86-64.c | 2 +- bfd/elfxx-mips.c | 4 +- bfd/reloc.c | 14 +- bfd/version.h | 2 +- gdb/ChangeLog | 255 +++++++++++++ gdb/Makefile.in | 26 ++- gdb/NEWS | 9 + gdb/arm-symbian-tdep.c | 121 ++++++ gdb/breakpoint.c | 152 +++++++- gdb/c-exp.y | 2 +- gdb/c-typeprint.c | 21 - gdb/configure.tgt | 6 + gdb/defs.h | 3 +- gdb/doc/ChangeLog | 37 ++ gdb/doc/gdb.texinfo | 408 ++++++++++++++++++++- gdb/doc/observer.texi | 24 +- gdb/dwarf2loc.c | 36 +- gdb/gdb_ptrace.h | 6 +- gdb/gdbserver/ChangeLog | 14 + gdb/gdbserver/configure | 71 ++++- gdb/gdbserver/configure.ac | 27 +- gdb/gdbserver/i386-low.c | 5 +- gdb/gdbtypes.c | 7 - gdb/gdbtypes.h | 36 +-- gdb/i386-nat.c | 6 +- gdb/inferior.c | 43 ++- gdb/inferior.h | 19 + gdb/inflow.c | 3 +- gdb/infrun.c | 398 ++++++++++++++++----- gdb/jit.c | 2 +- gdb/linux-nat.c | 27 -- gdb/m2-typeprint.c | 3 - gdb/mi/mi-cmds.c | 4 +- gdb/mi/mi-cmds.h | 5 +- gdb/mi/mi-interp.c | 117 +++++- gdb/mi/mi-main.c | 252 ++++++++++--- gdb/mi/mi-parse.c | 31 ++- gdb/mi/mi-parse.h | 2 + gdb/osabi.c | 3 +- gdb/p-typeprint.c | 2 - gdb/python/py-block.c | 418 +++++++++++++++++++++ gdb/python/py-frame.c | 119 ++++++- gdb/python/py-symbol.c | 419 +++++++++++++++++++++ gdb/python/py-symtab.c | 523 +++++++++++++++++++++++++++ gdb/python/py-type.c | 56 +++- gdb/python/python-internal.h | 19 + gdb/python/python.c | 12 +- gdb/remote.c | 50 ++-- gdb/solib-darwin.c | 4 - gdb/solib-frv.c | 4 - gdb/solib-pa64.c | 4 - gdb/solib-som.c | 4 - gdb/solib-spu.c | 4 - gdb/solib-svr4.c | 4 - gdb/sparc-linux-tdep.c | 30 ++ gdb/sparc64-linux-tdep.c | 30 ++ gdb/symfile.c | 2 +- gdb/syscalls/sparc-linux.xml | 344 ++++++++++++++++++ gdb/syscalls/sparc64-linux.xml | 326 +++++++++++++++++ gdb/target.c | 2 + gdb/target.h | 7 +- gdb/testsuite/ChangeLog | 32 ++ gdb/testsuite/gdb.base/catch-syscall.exp | 12 +- gdb/testsuite/gdb.base/watch-read.c | 33 ++ gdb/testsuite/gdb.base/watch-read.exp | 109 ++++++ gdb/testsuite/gdb.mi/mi-nonstop.exp | 2 +- gdb/testsuite/gdb.python/Makefile.in | 3 +- gdb/testsuite/gdb.python/py-block.c | 41 ++ gdb/testsuite/gdb.python/py-block.exp | 79 ++++ gdb/testsuite/gdb.python/py-cmd.exp | 9 +- gdb/testsuite/gdb.python/py-frame.exp | 9 +- gdb/testsuite/gdb.python/py-function.exp | 9 +- gdb/testsuite/gdb.python/py-prettyprint.exp | 10 +- gdb/testsuite/gdb.python/py-symbol.c | 62 ++++ gdb/testsuite/gdb.python/py-symbol.exp | 132 +++++++ gdb/testsuite/gdb.python/py-symtab.exp | 73 ++++ gdb/testsuite/gdb.python/py-template.exp | 9 +- gdb/testsuite/gdb.python/py-type.exp | 23 +- gdb/testsuite/gdb.python/py-value.exp | 9 +- gdb/testsuite/lib/gdb.exp | 15 + gdb/tracepoint.c | 61 +++ gdb/tracepoint.h | 3 + gdb/varobj.c | 18 +- gdb/version.in | 2 +- include/elf/ChangeLog | 19 +- include/elf/avr.h | 3 +- include/opcode/ChangeLog | 4 + include/opcode/mips.h | 6 +- opcodes/ChangeLog | 11 + opcodes/arm-dis.c | 50 ++-- opcodes/ppc-dis.c | 4 +- 94 files changed, 4961 insertions(+), 549 deletions(-) create mode 100644 gdb/arm-symbian-tdep.c create mode 100644 gdb/python/py-block.c create mode 100644 gdb/python/py-symbol.c create mode 100644 gdb/python/py-symtab.c create mode 100644 gdb/syscalls/sparc-linux.xml create mode 100644 gdb/syscalls/sparc64-linux.xml create mode 100644 gdb/testsuite/gdb.base/watch-read.c create mode 100644 gdb/testsuite/gdb.base/watch-read.exp create mode 100644 gdb/testsuite/gdb.python/py-block.c create mode 100644 gdb/testsuite/gdb.python/py-block.exp create mode 100644 gdb/testsuite/gdb.python/py-symbol.c create mode 100644 gdb/testsuite/gdb.python/py-symbol.exp create mode 100644 gdb/testsuite/gdb.python/py-symtab.exp First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7ff3959..f864302 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,35 @@ +2010-02-25 Alan Modra + + PR ld/11304 + * elf.c (_bfd_elf_init_private_section_data): Rename need_group + to final_link and invert. For final link allow some flags to + differ. Don't specially allow flags to be all zero. + +2010-02-24 Alan Modra + + PR binutils/10858 + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise + SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol + table. + +2010-02-23 Andrew Zabolotny + + PR binutils/11297 + * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8. + (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8. + +2010-02-22 Alan Modra + + * reloc.c (bfd_check_overflow): When forming addrmask, shift + fieldmask left by rightshift. + (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all + overflow checks. + +2010-02-20 H.J. Lu + + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check + STT_GNU_IFUNC on large common symbol. + 2010-02-18 H.J. Lu * elf32-i386.c (elf_i386_add_symbol_hook): Don't set diff --git a/bfd/elf.c b/bfd/elf.c index 20b82a7..dbb13d4 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6056,18 +6056,21 @@ _bfd_elf_init_private_section_data (bfd *ibfd, { Elf_Internal_Shdr *ihdr, *ohdr; - bfd_boolean need_group = link_info == NULL || link_info->relocatable; + bfd_boolean final_link = link_info != NULL && !link_info->relocatable; if (ibfd->xvec->flavour != bfd_target_elf_flavour || obfd->xvec->flavour != bfd_target_elf_flavour) return TRUE; - /* Don't copy the output ELF section type from input if the - output BFD section flags have been set to something different. - elf_fake_sections will set ELF section type based on BFD - section flags. */ + /* For objcopy and relocatable link, don't copy the output ELF + section type from input if the output BFD section flags have been + set to something different. For a final link allow some flags + that the linker clears to differ. */ if (elf_section_type (osec) == SHT_NULL - && (osec->flags == isec->flags || !osec->flags)) + && (osec->flags == isec->flags + || (final_link + && ((osec->flags ^ isec->flags) + & ~ (SEC_LINK_ONCE | SEC_LINK_DUPLICATES)) == 0))) elf_section_type (osec) = elf_section_type (isec); /* FIXME: Is this correct for all OS/PROC specific flags? */ @@ -6078,7 +6081,7 @@ _bfd_elf_init_private_section_data (bfd *ibfd, SHT_GROUP section will have its elf_next_in_group pointing back to the input group members. Ignore linker created group section. See elfNN_ia64_object_p in elfxx-ia64.c. */ - if (need_group) + if (!final_link) { if (elf_sec_group (isec) == NULL || (elf_sec_group (isec)->flags & SEC_LINKER_CREATED) == 0) diff --git a/bfd/elf32-avr.c b/bfd/elf32-avr.c index 0b85105..92c5be9 100644 --- a/bfd/elf32-avr.c +++ b/bfd/elf32-avr.c @@ -473,7 +473,7 @@ static reloc_howto_type elf_avr_howto_table[] = 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ /* A low 8 bit absolute relocation of 24 bit program memory address. - For LDI command. Will be changed when linker stubs are needed. */ + For LDI command. Will be changed when linker stubs are needed. */ HOWTO (R_AVR_LO8_LDI_GS, /* type */ 1, /* rightshift */ 1, /* size (0 = byte, 1 = short, 2 = long) */ @@ -488,7 +488,7 @@ static reloc_howto_type elf_avr_howto_table[] = 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ /* A low 8 bit absolute relocation of 24 bit program memory address. - For LDI command. Will be changed when linker stubs are needed. */ + For LDI command. Will be changed when linker stubs are needed. */ HOWTO (R_AVR_HI8_LDI_GS, /* type */ 9, /* rightshift */ 1, /* size (0 = byte, 1 = short, 2 = long) */ @@ -501,7 +501,21 @@ static reloc_howto_type elf_avr_howto_table[] = FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE) /* pcrel_offset */ + FALSE), /* pcrel_offset */ + /* 8 bit offset. */ + HOWTO (R_AVR_8, /* type */ + 0, /* rightshift */ + 0, /* size (0 = byte, 1 = short, 2 = long) */ + 8, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_AVR_8", /* name */ + FALSE, /* partial_inplace */ + 0x000000ff, /* src_mask */ + 0x000000ff, /* dst_mask */ + FALSE), /* pcrel_offset */ }; /* Map BFD reloc types to AVR ELF reloc types. */ @@ -539,7 +553,8 @@ static const struct avr_reloc_map avr_reloc_map[] = { BFD_RELOC_AVR_CALL, R_AVR_CALL }, { BFD_RELOC_AVR_LDI, R_AVR_LDI }, { BFD_RELOC_AVR_6, R_AVR_6 }, - { BFD_RELOC_AVR_6_ADIW, R_AVR_6_ADIW } + { BFD_RELOC_AVR_6_ADIW, R_AVR_6_ADIW }, + { BFD_RELOC_8, R_AVR_8 } }; /* Meant to be filled one day with the wrap around address for the diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 373a8da..82a869a 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4254,7 +4254,7 @@ elf64_x86_64_add_symbol_hook (bfd *abfd, } *secp = lcomm; *valp = sym->st_size; - break; + return TRUE; } if ((abfd->flags & DYNAMIC) == 0 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 6f686bb..a94e609 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -5755,9 +5755,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd, /* We must now calculate the dynamic symbol table index to use in the relocation. */ - if (h != NULL - && (!h->root.def_regular - || (info->shared && !info->symbolic && !h->root.forced_local))) + if (h != NULL && ! SYMBOL_REFERENCES_LOCAL (info, &h->root)) { indx = h->root.dynindx; if (SGI_COMPAT (output_bfd)) diff --git a/bfd/reloc.c b/bfd/reloc.c index dca56d9..0249662 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -1,6 +1,6 @@ /* BFD support for handling relocation entries. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Cygnus Support. @@ -504,7 +504,7 @@ bfd_check_overflow (enum complain_overflow how, overflow check. */ fieldmask = N_ONES (bitsize); signmask = ~fieldmask; - addrmask = N_ONES (addrsize) | fieldmask; + addrmask = N_ONES (addrsize) | (fieldmask << rightshift); a = (relocation & addrmask) >> rightshift;; switch (how) @@ -1434,9 +1434,11 @@ _bfd_relocate_contents (reloc_howto_type *howto, See also bfd_check_overflow. */ fieldmask = N_ONES (howto->bitsize); signmask = ~fieldmask; - addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; + addrmask = (N_ONES (bfd_arch_bits_per_address (input_bfd)) + | (fieldmask << rightshift)); a = (relocation & addrmask) >> rightshift; b = (x & howto->src_mask & addrmask) >> bitpos; + addrmask >>= rightshift; switch (howto->complain_on_overflow) { @@ -1454,7 +1456,7 @@ _bfd_relocate_contents (reloc_howto_type *howto, field. Note that when bfd_vma is 32 bits, a 32-bit reloc can't overflow, which is exactly what we want. */ ss = a & signmask; - if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) + if (ss != 0 && ss != (addrmask & signmask)) flag = bfd_reloc_overflow; /* We only need this next bit of code if the sign bit of B @@ -2023,6 +2025,10 @@ ENUMX BFD_RELOC_SPU_PPU64 ENUMX BFD_RELOC_SPU_ADD_PIC +ENUMX + BFD_RELOC_SPU_PIC18 +ENUMX + BFD_RELOC_SPU_STUB ENUMDOC SPU Relocations. diff --git a/bfd/version.h b/bfd/version.h index fead589..34bf6f3 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20100219 +#define BFD_VERSION_DATE 20100226 #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 8d222f5..554b743 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,258 @@ +2010-02-26 Pedro Alves + + * NEWS: Add "New targets" section, and mention ARM Symbian + support. + +2010-02-26 Ulrich Weigand + + * dwarf2loc.c (struct piece_closure): Remove ARCH member, + add ADDR_SIZE member. + (allocate_piece_closure): Update. + (copy_pieced_value_closure): Likewise. + (dwarf2_evaluate_loc_desc): Likewise. + (read_pieced_value): Use DWARF address size instead of + GDB's gdbarch_addr_bit as size of values on the DWARF stack. + +2010-02-26 Phil Muldoon + Tom Tromey + + * python/py-type.c (typy_lookup_typename): Add in block argument. + If provided restrict lookup to specified blocks. + (gdbpy_lookup_type): Likewise. + (typy_lookup_type): Likewise. + +2010-02-25 Daniel Jacobowitz + + Symbian config + + gdb/ + * arm-symbian-tdep.c: New. + * configure.tgt (arm*-*-symbianelf*): New target. + (*-*-symbianelf*): New OS. + * osabi.c (gdb_osabi_names): Add Symbian. + * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN. + * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o. + (ALLDEPFILES): Add arm-symbian-tdep.c. + +2010-02-25 Daniel Jacobowitz + + * symfile.c (find_lowest_section): Include SEC_ALLOC sections. + +2010-02-24 Pedro Alves + + * mi/mi-main.c (mi_cmd_execute): Fix typo. + +2010-02-24 Phil Muldoon + Tom Tromey + Thiago Jung Bauermann + + * python/python.c (_initialize_python): Call + gdbpy_initialize_symtabs, gdbpy_initialize_symbols and + gdbpy_initialize_blocks. + * python/python-internal.h: Declare struct symbol, block and + symtab_and_line. Declare block_object_type and + symbol_object_type + (gdbpy_lookup_symbol gdbpy_block_for_pc) + (symtab_and_line_to_sal_object, symtab_to_symtab_object) + (symbol_to_symbol_object, block_to_block_object) + (gdbpy_initialize_symtabs,gdbpy_initialize_symbols) + (gdbpy_initialize_blocks ): Declare. + * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal) + (frapy_select): Add methods. + (frapy_read_var): Add symbol branch. + * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab, + py-block. + (SUBDIR_PYTHON_SRCS): Likewise. + (py-symbol.o): New rule. + (py-symtab.o): Likewise. + (py-block.o): Likewise. + * python/py-symbol.c: New file. + * python/py-symtab.c: Likewise. + * python/py-block.c: Likewise. + +2010-02-24 Pedro Alves + + PR gdb/11321 + + * inferior.h (prepare_for_detach): Declare. + (struct inferior) : New field. + * infrun.c (prepare_for_detach): New. + (handle_inferior_event) : Don't stop if detaching. + * target.c (target_detach): Call prepare_for_detach. + +2010-02-24 Pedro Alves + + Per-process displaced stepping queue. + + * infrun.c (displaced_step_ptid, displaced_step_request_queue) + (displaced_step_gdbarch, displaced_step_closure, + (displaced_step_original, displaced_step_copy): Move globals to + this... + (struct displaced_step_inferior_state): ... new structure. + (displaced_step_inferior_states): New global. + (get_displaced_stepping_state, add_displaced_stepping_state) + (remove_displaced_stepping_state, infrun_inferior_exit): New + functions. + (displaced_step_clear): Add displaced_step_inferior_state + parameter, and adjust to handle it. + (displaced_step_clear_cleanup): Parameter is now a + displaced_step_inferior_state. Adjust. + (displaced_step_prepare): Adjust. + (displaced_step_fixup, displaced_step_fixup) + (infrun_thread_ptid_changed, resume): Adjust. + (init_wait_for_inferior): Don't call displaced_step_clear. + (infrun_thread_stop_requested): Rewrite. + (_initialize_infrun): Install infrun_inferior_exit as + inferior_exit observer. + +2010-02-24 Pedro Alves + + * inferior.h (ptid_match): Declare. + * infrun.c (ptid_match): New. + * remote.c (queued_stop_reply): Rewrite and use ptid_match. + (handle_notification): Add debug output. + * linux-nat.c (ptid_match): Delete. + +2010-02-24 David S. Miller + + * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it. + * syscalls/sparc-linux.xml: New. + * syscalls/sparc64-linux.xml: New. + * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files. + * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define. + (sparc32_linux_get_syscall_number): New function. + (sparc32_linux_init_abi): Set syscall XML file name and hook up + syscall number fetcher. + * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define. + (sparc64_linux_get_syscall_number): New function. + (sparc64_linux_init_abi): Set syscall XML file name and hook up + syscall number fetcher. + +2010-02-24 Vladimir Prus + + Multiexec MI + + * breakpoint.c (clear_syscall_counts): Take struct inferior*. + * inferior.c (add_inferior_silent): Notify inferior_added + observer. + (delete_inferior_1): Notify inferior_removed observer. + (exit_inferior_1): Pass inferior, not pid, to observer. + (inferior_appeared): Likewise. + (add_inferior_with_spaces): New. + (add_inferior_command): Use the above. + * inferior.h (delete_inferior_1, add_inferior_with_spaces): + Declare. + + * inflow.c (inflow_inferior_exit): Likewise. + * jit.c (jit_inferior_exit_hook): Likewise. + + * mi/mi-cmds.c (mi_cmds): Register add-inferior and + remove-inferior. + * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. + * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New. + (report_initial_inferior): New. + (mi_inferior_removed): Register the above. Make sure + inferior_added observer is called on the first inferior. + (mi_new_thread, mi_thread_exit): Thread group is now identified by + inferior number, not pid. + (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are + affected. + * mi/mi-main.c (current_context): New. + (proceed_thread_callback): Use typed closure. + Proceed everything if pid is 0. Most implementation split into + (proceed_thread): ... this. + (run_one_inferior): New. + (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run): + Adjust for multiexec behaviour. + (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. + (mi_cmd_execute): Handle the 'thread-group' option here. + Do some extra checks. + * mi-parse.c (mi_parse): Handle the --all and --thread-group + options. + * mi-parse.h (struct mi_parse): New fields all and thread_group. + +2010-02-24 Vladimir Prus + + Make -exec-run a proper MI commands. + + * mi/mi-cmds.h (mi_cmd_exec_run): Declare. + * mi/mi-cmds.c (mi_cmds): Adjust. + * mi/mi-main.c (mi_cmd_exec_run): New. + +2010-02-24 Pedro Alves + Stan Shebs + + * tracepoint.h (set_traceframe_number) + (cleanup_restore_current_traceframe): Declare. + * tracepoint.c (set_traceframe_number): New. + (struct current_traceframe_cleanup): New. + (do_restore_current_traceframe_cleanup) + (restore_current_traceframe_cleanup_dtor) + (make_cleanup_restore_current_traceframe): New. + * infrun.c: Include tracepoint.h. + (fetch_inferior_event): Switch out and in of tfind mode. + +2010-02-24 Pedro Alves + + * breakpoint.c (breakpoint_init_inferior): Also delete + bp_shlib_event breakpoints. + * solib-frv.c (enable_break): Remove call to + remove_solib_event_breakpoints. + * solib-svr4.c (enable_break): Ditto. + * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto. + * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto. + * solib-som.c (som_solib_create_inferior_hook): Ditto. + * solib-spu.c (spu_enable_break): Ditto. + +2010-02-23 Harald Koenig + + * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE. + +2010-02-23 Harald Koenig + + * varobj.c (varobj_update): Avoid non-constants in initializers. + +2010-02-23 Tom Tromey + + * dwarf2loc.c (read_pieced_value) : Correctly + handle big-endian values. + (dwarf2_evaluate_loc_desc) : Likewise. + +2010-02-22 Pedro Alves + + PR9605 + + gdb/ + * breakpoint.c (insert_bp_location): If inserting the read + watchpoint failed, fallback to an access watchpoint. + (bpstat_check_watchpoint): Stop for read watchpoint triggers even + if the value changed, if not watching the same memory for writes. + (watchpoint_locations_match): Add comment. + (update_global_location_list): Copy the location's watchpoint type. + * i386-nat.c (i386_length_and_rw_bits): It's an internal error to + handle read watchpoints here. + (i386_insert_watchpoint): Read watchpoints aren't supported. + * remote.c (remote_insert_watchpoint): Return 1 for unsupported + packets. + * target.h (target_insert_watchpoint): Update description. + +2010-02-19 Tom Tromey + + * p-typeprint.c (pascal_type_print_varspec_prefix): Update. + * m2-typeprint.c (m2_print_type): Update. + * gdbtypes.c (recursive_dump_type): Update. + (copy_type_recursive): Update. + * c-typeprint.c (c_type_print_varspec_prefix): Update. + (c_type_print_base): Update. + * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): + Remove. + (struct cplus_struct_type) : Remove. + : Remove. + : Move earlier. + (TYPE_TEMPLATE_ARGS): Remove. + (TYPE_NTEMPLATE_ARGS): Remove. + (TYPE_TEMPLATE_ARG): Remove. + 2010-02-19 Tom Tromey PR c++/8693, PR c++/9496: diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 98f42b9..6394d66 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -267,23 +267,29 @@ SUBDIR_TUI_CFLAGS= \ # SUBDIR_PYTHON_OBS = \ python.o \ + py-block.o \ hooks/post-receive -- Repository for Project Archer.