+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
+ * remote.c: Include btrace.h.
+ (struct btrace_target_info): New struct.
+ (remote_supports_btrace): New function.
+ (send_Qbtrace): New function.
+ (remote_enable_btrace): New function.
+ (remote_disable_btrace): New function.
+ (remote_teardown_btrace): New function.
+ (remote_read_btrace): New function.
+ (init_remote_ops): Add btrace ops.
+ (enum <unnamed>): Add btrace packets.
+ (struct protocol_feature remote_protocol_features[]): Add btrace packets.
+ (_initialize_remote): Add packet configuration for branch tracing.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * features/btrace.dtd: New file.
+ * Makefile.in (XMLFILES): Add btrace.dtd.
+ * btrace.h (parse_xml_btrace): New declaration.
+ * btrace.c: Include xml-support.h.
+ (parse_xml_btrace): New function.
+ (parse_xml_btrace_block): New function.
+ (block_attributes): New struct.
+ (btrace_attributes): New struct.
+ (btrace_children): New struct.
+ (btrace_elements): New struct.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
+ (amd64_linux_enable_btrace): New.
+ (amd64_linux_disable_btrace): New.
+ (amd64_linux_teardown_btrace): New.
+ (_initialize_amd64_linux_nat): Initialize btrace ops.
+ * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
+ (i386_linux_enable_btrace): New.
+ (i386_linux_disable_btrace): New.
+ (i386_linux_teardown_btrace): New.
+ (_initialize_i386_linux_nat): Initialize btrace ops.
+ * config/i386/linux.mh: Add linux-btrace.o.
+ * config/i386/linux64.mh: Add linux-btrace.o.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * common/linux_btrace.h: New file.
+ * common/linux_btrace.c: New file.
+ * Makefile.in (SFILES): Add btrace.c.
+ (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
+ (COMMON_OBS): Add btrace.o.
+ (linux-btrace.o): New rule.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.h: Include btrace.h.
+ (struct target_ops) <to_supports_btrace, to_enable_btrace,
+ to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
+ * target.c (target_supports_btrace): New function.
+ (target_enable_btrace): New function.
+ (target_disable_btrace): New function.
+ (target_teardown_btrace): New function.
+ (target_read_btrace): New function.
+ * btrace.h: New file.
+ * btrace.c: New file.
+ * Makefile.in: Add btrace.c.
+ * gdbthread.h: Include btrace.h.
+ (struct thread_info): Add btrace field.
+ * thread.c: Include btrace.h.
+ (clear_thread_inferior_resources): Call target_teardown_btrace.
+ * common/btrace-common.h: New file.
+
+2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
+ for CHILD, ignore PTRACE_KILL errors, move the inner block variable
+ kill_status to outer block.
+
+2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix entry-values if the callee called a noreturn function.
+ * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
+ get_frame_address_in_block. Add new comment.
+
+2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix entry-values in C++ across CUs.
+ * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
+ lookup_minimal_symbol. Add a comment.
+ * dwarf2read.c
+ (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
+ DW_AT_linkage_name.
+
+2013-03-08 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (_initialize_tracepoint): Indent the code.
+
+2013-03-08 Pedro Alves <palves@redhat.com>
+
+ * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
+ (parse_find_args, find_command): Change type of pattern buffer
+ locals to 'gdb_byte *'.
+
+2013-03-08 Stan Shebs <stan@codesourcery.com>
+ Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * NEWS: Mention set and show trace-buffer-size commands.
+ Mention new packet.
+ * target.h (struct target_ops): New method
+ to_set_trace_buffer_size.
+ (target_set_trace_buffer_size): New macro.
+ * target.c (update_current_target): Set up new method.
+ * tracepoint.c (trace_buffer_size): New global.
+ (start_tracing): Send it to the target.
+ (set_trace_buffer_size): New function.
+ (_initialize_tracepoint): Add new setshow for trace-buffer-size.
+ * remote.c (remote_set_trace_buffer_size): New function.
+ (_initialize_remote): Use it.
+ (QTBuffer:size) New remote command.
+ (PACKET_QTBuffer_size): New enum.
+ (remote_protocol_features): Add an entry for
+ PACKET_QTBuffer_size.
+
+2013-03-08 Tom Tromey <tromey@redhat.com>
+
+ * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
+ variable.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * target.c (target_read_stralloc, target_fileio_read_alloc):
+ *Cast pointer to 'gdb_byte *' in target call.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
+ call.
+
+2013-03-07 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
+ (trace_pass_command): Likewise.
+ * cli/cli-cmds.c: Include cli/cli-utils.h.
+ (source_command): Use skip-spaces.
+ (disassemble_command): Likewise.
+ * findcmd.c: Include cli/cli-utils.h.
+ (parse_find_args): Use skip_spaces.
+ * go32-nat.c: Include cli/cli-utils.h.
+ (go32_sldt): Use skip_spaces.
+ (go32_sgdt): Likewise.
+ (go32_sidt): Likewise.
+ (go32_pde): Likewise.
+ (go32_pte): Likewise.
+ (go32_pte_for_address): Likewise.
+ * infcmd.c: Include cli/cli-utils.h.
+ (registers_info): Use skip_spaces.
+ * linux-tdep.c (read_mapping): Use skip_spaces_const.
+ (linux_info_proc): Likewise.
+ * linux-thread-db.c: Include cli/cli-utils.h.
+ (info_auto_load_libthread_db): Use skip_spaces_const.
+ * m32r-rom.c: Include cli/cli-utils.h.
+ (m32r_upload_command): Use skip_spaces.
+ * maint.c: Include cli/cli-utils.h.
+ (maintenance_translate_address): Use skip_spaces.
+ * mi/mi-parse.c: Include cli/cli-utils.h.
+ (mi_parse_argv): Use skip_spaces.
+ (mi_parse): Likewise.
+ * minsyms.c: Include cli/cli-utils.h.
+ (msymbol_hash_iw): Use skip_spaces_const.
+ * objc-lang.c: Include cli/cli-utils.h.
+ (parse_selector): Use skip_spaces.
+ (parse_method): Likewise.
+ * python/python.c: Include cli/cli-utils.h.
+ (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
+ (python_command)[HAVE_PYTHON]: Likewise.
+ (python_interactive_command)[!HAVE_PYTHON]: Likewise.
+ * remote-m32r-sdi.c: Include cli/cli-utils.h.
+ (m32r_load): Use skip_spaces.
+ * serial.c: Include cli/cli-utils.h.
+ (serial_open): Use skip_spaces_const.
+ * stack.c: Include cli/cli-utils.h.
+ (parse_frame_specification_1): Use skip_spaces_const.
+ * symfile.c: Include cli/cli-utils.h.
+ (set_ext_lang_command): Use skip_spaces.
+ * symtab.c: Include cli/cli-utils.h.
+ (rbreak_command): Use skip_spaces.
+ * thread.c (thread_name_command): Use skip_spaces.
+ * tracepoint.c (validate_actionline): Use skip_spaces.
+ (encode_actions_1): Likewise.
+ (trace_find_range_command): Likewise.
+ (trace_find_outside_command): Likewise.
+ (trace_dump_actions): Likewise.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
+ * expprint.c (print_subexp_standard): Likewise.
+ * utils.c (host_char_to_target): Likewise.
+ * valprint.c (generic_emit_char, generic_printstr): Likewise.
+ * varobj.c (value_get_print_value): Change type of local to char*.
+ Cast it gdb_byte * in call to language printer.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * charset.c (struct wchar_iterator) <input>: Change type to 'const
+ gdb_byte *'.
+ (make_wchar_iterator): Remove cast to char*.
+ (wchar_iterate): Change type of local.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
+ for 'regcache->register_status'.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (breakpoint_xfer_memory): Change type of local to
+ int.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * stap-probe.c (handle_stap_probe): Add cast to char*.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
+ RECORD_MSGRCV>: Pass a signed variable to
+ regcache_raw_read_signed, instead of an unsigned one.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * remote-notif.c (notif_debug): Change type to int.
+ * remote-notif.h (notif_debug): Likewise.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * remote.c (hex2bin, bin2hex): Move extern declarations to ...
+ * remote.h (hex2bin, bin2hex): ... here.
+ * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
+
+2013-03-07 Eli Zaretskii <eliz@gnu.org>
+
+ * utils.c (initialize_utils): Improve doc strings of "set/show
+ width", "set/show height", and "set/show pagination".
+
+2013-03-06 Keith Seitz <keiths@redhat.com>
+
+ * ax-gdb.c (gen_printf): Make FORMAT const.
+ * ax-gdb.h (gen_printf): Likewise.
+ * ax-general.c (ax_string): Make STR const.
+ * ax.h (ax_string): Likewise.
+
+2013-03-06 Doug Evans <dje@google.com>
+
+ * elfread.c (elf_symfile_read): Move debugging printf to more
+ logical location.
+
+2013-03-06 Pedro Alves <palves@redhat.com>
+
+ * python/py-utils.c (target_string_to_unicode): Delete function.
+ * python/python-internal.h (target_string_to_unicode): Delete
+ declaration.
+
+2013-03-06 Pierre Muller <muller@sourceware.org>
+
+ * linespec.c (get_current_search_block): ARI fix, use (void)
+ for empty parameter list.
+
+2013-03-05 Doug Evans <dje@google.com>
+
+ * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
+ of old ada_lookup_symbol_list. In !full_search case, don't
+ search superblocks.
+ (ada_lookup_symbol_list): Delete arg full_search, all callers
+ updated. Call ada_lookup_symbol_list_worker.
+ (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
+ * ada-lang.h (ada_lookup_symbol_list): Update.
+ * language.h (language_defn): Update comment for
+ la_iterate_over_symbols.
+ * linespec.c (iterate_over_file_blocks): New function.
+ (iterate_over_all_matching_symtabs): Call it.
+ (lookup_prefix_sym): Ditto.
+ (get_current_search_block): New function.
+ (get_search_block): Delete.
+ (find_label_symbols): Call get_current_search_block.
+ (add_matching_symbols_to_info): Call iterate_over_file_blocks.
+ * symtab.c (iterate_over_symbols): Don't search superblocks.
+
+2013-03-05 Yao Qi <yao@codesourcery.com>
+
+ * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
+ parameter VAR's type from "unsigned int" to "int".
+ * command.h (var_zuinteger_unlimited): Update its comments.
+ (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
+
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
+
+ * NEWS: Mention new target x86_64-*-cygwin*.
+
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
+
+ * configure.host: Add x86_64-*-cygwin* as host.
+ * configure.tgt: Add x86_64-*-cygwin* as target.
+ * config/i386/cygwin64.mh: New file.
+
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (decode_line_2): Fix duplicate request off by two message.
+
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (struct linespec_canonical_name): New.
+ (struct linespec_state): Change canonical_names type to it.
+ (add_sal_to_sals): Change variable canonical_name to canonical. Change
+ xrealloc element size. Initialize the different CANONICAL fields.
+ (canonical_to_fullform): New.
+ (filter_results): Use it. Add variables canonical, fullform and
+ cleanup.
+ (struct decode_line_2_item, decode_line_2_compare_items): New.
+ (decode_line_2): Remove variables iter and item_names, add variables
+ items and items_count. Modify the code for these new variables.
+
+2013-03-04 Corinna Vinschen <vinschen@redhat.com>
+
+ * coff-pe-read.c (read_pe_exported_syms): Don't return without
+ calling do_cleanup.
+
+2013-03-04 Luis Machado <lgustavo@codesourcery.com>
+
+ * tracepoint.c (build_traceframe_info): Add code for byte order.
+
+2013-03-02 Kevin Buettner <kevinb@redhat.com>
+
+ * v850-tdep.c: (v850e2_register_name): Revise system register
+ names to match current V850E2M architecture specifications.
+ Update register number enum comments too.
+
+2013-03-01 Jiong Wang <jiwang@tilera.com>
+ Pedro Alves <palves@redhat.com>
+
+ * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
+ to END_ADDR.
+ (tilegx_skip_prologue): Limit prologue analysis to section end.
+
+2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
+ use it.
+
+2013-03-01 Pedro Alves <palves@redhat.com>
+
+ Use gdb_byte for bytes from the program being debugged.
+
+ * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
+ Change type of local 'buf' to gdb_byte.
+ * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
+ * bfin-tdep.c (bfin_push_dummy_call): Likewise.
+ * cris-tdep.c (cris_sigcontext_addr)
+ (cris_sigtramp_frame_unwind_cache): Likewise.
+ * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
+ (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
+ Likewise.
+ * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
+ * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
+ (hppa32_hpux_search_dummy_call_sequence)
+ (hppa_hpux_supply_save_state): Likewise.
+ * hppa-linux-tdep.c (insns_match_pattern)
+ (hppa_linux_find_global_pointer): Likewise.
+ * hppa-tdep.c (hppa_in_function_epilogue_p)
+ (skip_prologue_hard_way, hppa_frame_cache): Likewise.
+ * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
+ * i386fbsd-tdep.c (i386fbsd_supply_uthread)
+ (i386fbsd_collect_uthread): Likewise.
+ * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
+ * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
+ * ia64-tdep.c (examine_prologue, ia64_frame_cache)
+ (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
+ (ia64_sigtramp_frame_prev_register, ia64_access_reg)
+ (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
+ (ia64_libunwind_frame_prev_register)
+ (ia64_libunwind_sigtramp_frame_this_id)
+ (ia64_find_global_pointer_from_dynamic_section)
+ (find_extant_func_descr, find_func_descr, ia64_dummy_id)
+ (ia64_unwind_pc): Likewise.
+ * iq2000-tdep.c (iq2000_store_return_value): Likewise.
+ * m68hc11-tdep.c (m68hc11_push_dummy_call)
+ (m68hc11_extract_return_value): Likewise.
+ * m68klinux-nat.c (fetch_register, store_register): Likewise.
+ * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
+ (mep_get_insn, mep_push_dummy_call): Likewise.
+ * mips-linux-tdep.c (mips_linux_get_longjmp_target)
+ (mips_linux_in_dynsym_stub): Likewise.
+ * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
+ * ppc-linux-nat.c (fetch_register, store_register): Likewise.
+ * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
+ to gdb_byte.
+ * remote-mips.c (mips_set_register): Likewise.
+ * remote-sim.c (gdbsim_fetch_register): Likewise.
+ * score-tdep.c (score7_fetch_inst): Change type of parameter
+ 'memblock' and local 'buf' to gdb_byte.
+ (score7_malloc_and_get_memblock): Change return type to gdb_byte.
+ Change type of local 'buf' to gdb_byte. Adjust.
+ (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
+ to gdb_byte**.
+ (score7_analyze_prologue): Change type of 'memblock' and
+ 'memblock_ptr' locals to gdb_byte*.
+ * sh64-tdep.c (sh64_extract_return_value)
+ (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
+ * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
+ * solib-pa64.c (pa64_solib_create_inferior_hook)
+ (pa64_open_symbol_file_object): Remove local 'buf'.
+ * solib-som.c (som_solib_create_inferior_hook, link_map_start)
+ (som_open_symbol_file_object): Likewise.
+ * solib-spu.c (spu_current_sos): Likewise.
+ * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
+ * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
+ (spu_store_registers): Likewise.
+ * target.c (debug_print_register): Likewise.
+ * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
+ * xstormy16-tdep.c (xstormy16_store_return_value)
+ (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
+ (xstormy16_find_jmp_table_entry): Likewise.
+
+2013-03-01 Jiong Wang <jiwang@tilera.com>
+
+ * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
+ (tilegx_gdbarch_init): Install it.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
+ PyLong_Check.
+
+2013-02-28 Doug Evans <dje@google.com>
+
+ * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
+ * python/python.c (gdbpy_find_pc_line): Ditto.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * contrib/excheck.py: New file.
+ * contrib/exsummary.py: New file.
+ * contrib/gcc-with-excheck: New file.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_print_stack): Call begin_line and
+ fprintf_filtered inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_find_pc_line): Call find_pc_line
+ inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
+ frame_object_to_frame_info inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
+ TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
+
+2013-02-27 Corinna Vinschen <vinschen@redhat.com>
+
+ * windows-nat.c: Throughout, fix format strings and casts of
+ printf-like functions to avoid type related warnings on all
+ platforms.
+ (handle_output_debug_string): Fetch context information address
+ from debug string using string_to_core_addr.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
+ * regformats/reg-tilegx32.dat: New.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * configure.tgt (tilegx-*-linux*): Enable gdbserver.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
+
+2013-02-27 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (tfile_trace_find): For tfind
+ pc/tp/range/outside, look for the next trace frame instead of
+ always starting from frame 0.
+
+2013-02-26 Anthony Green <green@moxielogic.com>
+
+ * configure.tgt: Add support for moxie-*-rtems* target.
+
+2013-02-25 Pedro Alves <palves@redhat.com>
+
+ * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
+ warning text.
+
+2013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
+ if $fp is used as the virtual frame pointer.
+
2013-02-23 Alan Modra <amodra@gmail.com>
* elfread.c (elf_symtab_read): Do not use udata.p here to find