+2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * config/djgpp/fnchange.lst: Fix typo in translations for
+ symbol-without-target_section.exp and symbol-without-target_section.c.
+
+2010-04-09 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (condition_command): Pass condition expression to
+ set_breakpoint_condition stripped from breakpoint number.
+
+2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * breakpoint.c (condition_command): Simplify. Move condition
+ setting code to ...
+ (set_breakpoint_condition): ... here. New function.
+ * breakpoint.h (set_breakpoint_condition): Declare.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpoint.
+ (SUBDIR_PYTHON_SRCS): Likewise.
+ (py-breakpoint.o): New rule.
+ * python/py-breakpoint.c: New file.
+ * python/python-internal.h (gdbpy_breakpoints)
+ (gdbpy_initialize_breakpoints): Declare.
+ (GDB_PY_SET_HANDLE_EXCEPTION) Define.
+
+2010-04-09 Pedro Alves <pedro@codesourcery.com>
+
+ * regformats/regdat.sh: Include server.h. Don't include
+ regcache.h.
+
+2010-04-08 Stan Shebs <stan@codesourcery.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ * tracepoint.h (struct trace_status): New fields disconnected_tracing
+ and circular_buffer.
+ (disconnect_tracing): Rename from disconnect_or_stop_tracing.
+ * tracepoint.c (trace_status_command): Display target's status for
+ disconnected tracing and circular buffer.
+ (disconnect_tracing): Rename from disconnect_or_stop_tracing, add
+ query for non-disconnected-tracing case, remove the stop_tracing
+ call.
+ (tfile_open): Clear disconnected and circular buffer status.
+ (trace_save): Save disconnected and circular buffer status.
+ (parse_trace_status): Parse disconnected and circular buffer status,
+ also recognize disconnected as a stop reason.
+ * remote.c (remote_set_disconnected_tracing): Only set
+ QTDisconnected if the remote end supports disconnected tracing.
+ Warn otherwise, if trying to enable disconnected tracing.
+ * infcmd.c (detach_command): Update disconnect_tracing call.
+ * cli/cli-cmds.c (quit_command): Ditto.
+
+2010-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i387-tdep.c (i387_collect_xsave): Replace abort with
+ internal_error.
+
+2010-04-08 Stan Shebs <stan@codesourcery.com>
+
+ * breakpoint.c (default_collect_info): New function.
+ (breakpoints_info): Call it.
+ (maintenance_info_breakpoints): Ditto.
+ (tracepoints_info): Ditto.
+
+2010-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i387-tdep.c (i387_collect_xsave): Re-indent.
+
+2010-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-linux-nat.c (have_ptrace_getfpxregs): Initialize to -1
+ if HAVE_PTRACE_GETFPXREGS is defined.
+ (i386_linux_read_description): Set have_ptrace_getfpxregs and
+ have_ptrace_getregset to 0 if ptrace PTRACE_GETFPXREGS failed.
+
+ * i386-linux-tdep.c: Include "features/i386/i386-mmx-linux.c"
+ (i386_linux_core_read_description): Return tdesc_i386_mmx_linux
+ if .reg-xfp section doesn't exist.
+ (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_mmx_linux.
+
+ * i386-linux-tdep.h (tdesc_i386_mmx_linux): New.
+
+ * i386-tdep.c: Include "features/i386/i386-mmx.c".
+ (i386_go32_init_abi): Set tdesc to tdesc_i386_mmx.
+ (i386_validate_tdesc_p): Make org.gnu.gdb.i386.sse optional. Set
+ xcr0 to I386_XSTATE_X87_MASK if SSE isn't available.
+ (i386_gdbarch_init): Update comments.
+ (_initialize_i386_tdep): Call initialize_tdesc_i386_mmx.
+
+ * common/i386-xstate.h (I386_XSTATE_X87_MASK): New.
+
+ * config/djgpp/fnchange.lst: Add i386 MMX XML files.
+
+ * features/Makefile (i386/i386-mmx-expedite): New.
+ (i386/i386-mmx-linux-expedite): Likewise.
+ ($(outdir)/i386/i386-mmx.dat): Likewise.
+ ($(outdir)/i386/i386-mmx-linux.dat): Likewise.
+
+ * features/i386/i386-mmx-linux.c: New.
+ * features/i386/i386-mmx-linux.xml: Likewise.
+ * features/i386/i386-mmx.c: Likewise.
+ * features/i386/i386-mmx.xml: Likewise.
+ * regformats/i386/i386-mmx-linux.dat: Likewise.
+ * regformats/i386/i386-mmx.dat: Likewise.
+
+ * features/Makefile (WHICH): Add i386/i386-mmx and
+ i386/i386-mmx-linux.
+
+2010-04-08 Doug Evans <dje@google.com>
+
+ * source.c (openp): Skip $cdir in PATH.
+
+2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/11417
+ * python/py-lazy-string.c (stpy_convert_to_value): Check for
+ a NULL address.
+ (gdbpy_create_lazy_string_object): Allow strings with a NULL
+ address and a zero length.
+
+2010-04-08 Hui Zhu <teawater@gmail.com>
+
+ * i386-tdep.c (i386_process_record): Add support for insn
+ rdtsc.
+
+2010-04-07 Doug Evans <dje@google.com>
+
+ * python/python.c (source_python_script): Use ensure_python_env
+ to prepare environment for script.
+
+2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c: Include "regset.h", "elf/common.h",
+ <sys/uio.h> and "i386-xstate.h".
+ (PTRACE_GETREGSET): New.
+ (PTRACE_SETREGSET): Likewise.
+ (have_ptrace_getregset): Likewise.
+ (amd64_linux_gregset64_reg_offset): Include 16 upper YMM
+ registers.
+ (amd64_linux_gregset32_reg_offset): Include 8 upper YMM
+ registers.
+ (amd64_linux_fetch_inferior_registers): Support PTRACE_GETFPREGS.
+ (amd64_linux_store_inferior_registers): Likewise.
+ (amd64_linux_read_description): Check and enable AVX target
+ descriptions.
+
+ * amd64-linux-tdep.c: Include "regset.h", "i386-linux-tdep.h"
+ and "features/i386/amd64-avx-linux.c".
+ (amd64_linux_regset_sections): New.
+ (amd64_linux_core_read_description): Check and enable AVX
+ target description.
+ (amd64_linux_init_abi): Set xsave_xcr0_offset. Call
+ set_gdbarch_core_regset_sections.
+ (_initialize_amd64_linux_tdep): Call
+ initialize_tdesc_amd64_avx_linux.
+
+ * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Replace
+ AMD64_MXCSR_REGNUM with AMD64_YMM15H_REGNUM.
+ (tdesc_amd64_avx_linux): New.
+ (amd64_linux_update_xstateregset): Likewise.
+
+ * amd64-tdep.c: Include "features/i386/amd64-avx.c".
+ (amd64_ymm_names): New.
+ (amd64_ymmh_names): Likewise.
+ (amd64_register_name): Likewise.
+ (amd64_supply_xstateregset): Likewise.
+ (amd64_collect_xstateregset): Likewise.
+ (amd64_supply_xsave): Likewise.
+ (amd64_collect_xsave): Likewise.
+ (AMD64_NUM_REGS): Removed.
+ (amd64_dwarf_reg_to_regnum): Return %ymmN register number for
+ %xmmN if AVX is available.
+ (amd64_pseudo_register_name): Support pseudo YMM registers.
+ (amd64_regset_from_core_section): Support .reg-xstate section.
+ (amd64_init_abi): Set ymmh_register_names, num_ymm_regs
+ and ymm0h_regnum. Call set_gdbarch_register_name.
+ (amd64_init_abi): Call initialize_tdesc_amd64_avx.
+
+ * amd64-tdep.h (amd64_regnum): Add AMD64_YMM0H_REGNUM and
+ AMD64_YMM15H_REGNUM.
+ (AMD64_NUM_REGS): New.
+ (amd64_supply_xsave): Likewise.
+ (amd64_collect_xsave): Likewise.
+ (amd64_register_name): Removed.
+ (amd64_register_type): Likewise.
+
+2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i387-tdep.c: Include "i386-xstate.h".
+ (XSAVE_XSTATE_BV_ADDR): New.
+ (xsave_avxh_offset): Likewise.
+ (XSAVE_AVXH_ADDR): Likewise.
+ (i387_supply_xsave): Likewise.
+ (i387_collect_xsave): Likewise.
+
+ * i387-tdep.h (I387_NUM_YMM_REGS): New.
+ (I387_YMM0H_REGNUM): Likewise.
+ (I387_YMMENDH_REGNUM): Likewise.
+ (i387_supply_xsave): Likewise.
+ (i387_collect_xsave): Likewise.
+
+2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-linux-nat.c: Include "regset.h", "elf/common.h",
+ <sys/uio.h> and "i386-xstate.h".
+ (PTRACE_GETREGSET): New.
+ (PTRACE_SETREGSET): Likewise.
+ (fetch_xstateregs): Likewise.
+ (store_xstateregs): Likewise.
+ (GETXSTATEREGS_SUPPLIES): Likewise.
+ (regmap): Include 8 upper YMM registers.
+ (i386_linux_fetch_inferior_registers): Support XSAVE extended
+ state.
+ (i386_linux_store_inferior_registers): Likewise.
+ (i386_linux_read_description): Check and enable AVX target
+ descriptions.
+
+ * i386-linux-tdep.c: Include "regset.h", "i387-tdep.h",
+ "i386-xstate.h" and "features/i386/i386-avx-linux.c".
+ (i386_linux_regset_sections): Add ".reg-xstate".
+ (i386_linux_gregset_reg_offset): Include 8 upper YMM registers.
+ (i386_linux_core_read_xcr0): New.
+ (i386_linux_core_read_description): Check and enable AVX target
+ description.
+ (i386_linux_init_abi): Set xsave_xcr0_offset.
+ (_initialize_i386_linux_tdep): Call
+ initialize_tdesc_i386_avx_linux.
+
+ * i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Replace
+ I386_SSE_NUM_REGS with I386_AVX_NUM_REGS.
+ (i386_linux_core_read_xcr0): New.
+ (tdesc_i386_avx_linux): Likewise.
+ (I386_LINUX_XSAVE_XCR0_OFFSET): Likewise.
+
+ * i386-tdep.c: Include "i386-xstate.h" and
+ "features/i386/i386-avx.c".
+ (i386_ymm_names): New.
+ (i386_ymmh_names): Likewise.
+ (i386_ymmh_regnum_p): Likewise.
+ (i386_ymm_regnum_p): Likewise.
+ (i386_xmm_regnum_p): Likewise.
+ (i386_register_name): Likewise.
+ (i386_ymm_type): Likewise.
+ (i386_supply_xstateregset): Likewise.
+ (i386_collect_xstateregset): Likewise.
+ (i386_sse_regnum_p): Removed.
+ (i386_pseudo_register_name): Support pseudo YMM registers.
+ (i386_pseudo_register_type): Likewise.
+ (i386_pseudo_register_read): Likewise.
+ (i386_pseudo_register_write): Likewise.
+ (i386_dbx_reg_to_regnum): Return %ymmN register number for
+ %xmmN if AVX is available.
+ (i386_regset_from_core_section): Support .reg-xstate section.
+ (i386_register_reggroup_p): Supper upper YMM and YMM registers.
+ (i386_process_record): Replace i386_sse_regnum_p with
+ i386_xmm_regnum_p.
+ (i386_validate_tdesc_p): Support org.gnu.gdb.i386.avx feature.
+ Set ymmh_register_names, num_ymm_regs, ymm0h_regnum and xcr0.
+ (i386_gdbarch_init): Set xstateregset. Set xsave_xcr0_offset.
+ Call set_gdbarch_register_name. Replace I386_SSE_NUM_REGS with
+ I386_AVX_NUM_REGS. Set ymmh_register_names, ymm0h_regnum and
+ num_ymm_regs. Add num_ymm_regs to set_gdbarch_num_pseudo_regs.
+ Set ymm0_regnum.
+ (_initialize_i386_tdep): Call initialize_tdesc_i386_avx.
+
+ * i386-tdep.h (gdbarch_tdep): Add xstateregset, ymm0_regnum,
+ xcr0, xsave_xcr0_offset, ymm0h_regnum, ymmh_register_names and
+ i386_ymm_type.
+ (i386_regnum): Add I386_YMM0H_REGNUM, and I386_YMM7H_REGNUM.
+ (I386_AVX_NUM_REGS): New.
+ (i386_xmm_regnum_p): Likewise.
+ (i386_ymm_regnum_p): Likewise.
+ (i386_ymmh_regnum_p): Likewise.
+
+ * common/i386-xstate.h: New.
+
+2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/djgpp/fnchange.lst: Add x86 AVX XML files.
+
+ * features/Makefile (WHICH): Add i386/i386-avx,
+ i386/i386-avx-linux, i386/x86-64-avx and i386/x86-64-avx-linux.
+ (i386/i386-avx-expedite): New.
+ (i386/i386-avx-linux-expedite): Likewise.
+ (i386/x86-64-avx-expedite):Likewise.
+ (i386/x86-64-avx-linux-expedite): Likewise.
+ ($(outdir)/i386/i386-avx.dat): New dependency.
+ ($(outdir)/i386/i386-avx-linux.dat): Likewise.
+ ($(outdir)/i386/x86-avx-64.dat): Likewise.
+ ($(outdir)/i386/x86-64-avx-linux.dat): Likewise.
+
+ * features/i386/32bit-avx.xml: New.
+ * features/i386/64bit-avx.xml: Likewise.
+ * features/i386/i386-avx-linux.c: Likewise.
+ * features/i386/i386-avx-linux.xml: Likewise.
+ * features/i386/i386-avx.c: Likewise.
+ * features/i386/i386-avx.xml: Likewise.
+ * features/i386/x86-64-avx-linux.c: Likewise.
+ * features/i386/x86-64-avx-linux.xml: Likewise.
+ * features/i386/x86-64-avx.c: Likewise.
+ * features/i386/x86-64-avx.xml: Likewise.
+ * regformats/i386/i386-avx-linux.dat: Likewise.
+ * regformats/i386/i386-avx.dat: Likewise.
+ * regformats/i386/x86-64-avx-linux.dat: Likewise.
+ * regformats/i386/x86-64-avx.dat: Likewise.
+
+2010-04-07 Doug Evans <dje@google.com>
+
+ * top.c (source_file_name): Make const char *.
+ * top.h (source_file_name): Update.
+ * cli/cli-script.c (source_cleanup_lines_args): Make old_file
+ const char *.
+ (script_from_file): Change `file' arg to const char *.
+ * cli/cli-script.h (script_from_file): Update.
+
+2010-04-06 Doug Evans <dje@google.com>
+
+ * cli/cli-cmds.c (source_command): Run cleanups.
+
+2010-04-06 Stan Shebs <stan@codesourcery.com>
+
+ * defs.h (char_ptr): Move typedef here from...
+ * ada-lang.c (char_ptr): Remove.
+ * charset.c (char_ptr): Remove.
+ * tracepoint.h (struct uploaded_string): Remove.
+ (struct uploaded_tp): Use vectors for string arrays.
+ * tracepoint.c (trace_save): Use vectors of actions.
+ (parse_tracepoint_definition): Ditto.
+ (get_uploaded_tp): Clear vectors.
+ * breakpoint.c (create_tracepoint_from_upload): Use vectors.
+ (next_cmd): Change to an int.
+ (read_next_cmd): Use vector of command strings.
+
+2010-04-06 Doug Evans <dje@google.com>
+
+ * top.h (source_script, cd_command): Delete.
+ * main.c: #include "cli/cli-cmds.h"
+
+2010-04-06 Kevin Buettner <kevinb@redhat.com>
+
+ * m32c-tdep.c (make_types): When calling `arch_type', pass size of
+ type in bytes, not bits.
+
+2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * stabsread.c (define_symbol): Add support for char
+ and string constants.
+
+2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Remove remaining "%ll" uses.
+ * go32-nat.c (go32_pte_for_address): Replace "0x%llx" using
+ hex_string call.
+ * rs6000-nat.c (rs6000_ptrace64): Idem.
+ * solib-pa64.c (pa64_current_sos): Idem.
+ * solib-spu.c (spu_current_sos): Idem.
+ * linux-nat.c (linux_nat_find_memory_regions): Replace "%lld" using
+ plongest call.
+ * nto-procfs.c (procfs_meminfo): Replace "0x%016llx" using
+ phex (VAR, 8) call.
+ * sh64-tdep.c (sh64_show_media_regs): Idem.
+
+2010-04-05 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c: Include gdbcore.h.
+ (tfile_xfer_partial): Return partial results, also try reading
+ from executable.
+ (tfile_has_all_memory): New function.
+ (init_tfile_ops): Use it.
+
+2010-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/10736:
+ * xml-syscall.c (my_gdb_datadir): New variable to keep track of
+ the changes in data-directory.
+ (init_sysinfo): Reload the syscall XML file if the data-directory
+ has changed.
+
+2010-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop.
+
+2010-04-04 Stan Shebs <stan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * breakpoint.c (breakpoint_1): Add filter argument, return number of
+ breakpoints printed.
+ (is_hardware_watchpoint): Make argument const.
+ (is_watchpoint): Ditto.
+ (is_tracepoint): Merge of tracepoint_type and breakpoint_is_tracepoint,
+ use it everywhere.
+ (breakpoints_info): Pass NULL to breakpoint_1.
+ (maintenance_info_breakpoints): Ditto.
+ (watchpoints_info): New function.
+ (tracepoints_info): Use breakpoint_1 filter.
+ (set_ignore_count): Warn that tracepoint ignore count will be ignored.
+ (_initialize_breakpoint): Make "info watchpoints" its own command.
+ * breakpoint.h (is_tracepoint): Rename from breakpoint_is_tracepoint.
+ * mi/mi-cmd-break.c (mi_cmd_break_commands): Use is_tracepoint.
+
+2010-04-04 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (tfile_fetch_registers): Add fallback case.
+
+2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * infcmd.c (run_command_1): Call proceed with regcache_read_pc address.
+ * config/djgpp/fnchange.lst: Add translation for break-entry.exp.
+
+2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (bpstat_find_step_resume_breakpoint): Remove.
+ * breakpoint.h (bpstat_find_step_resume_breakpoint): Remove.
+
+2010-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (read_namespace_type): Use common "return set_die_type"
+ code form.
+
+2010-04-02 Hui Zhu <teawater@gmail.com>
+
+ * i386-tdep.c (OT_DQUAD): New enum.
+ (i386_process_record): Add code for MMX, 3DNow!, SSE, SSE2,
+ SSE3, SSSE3 and SSE4.
+
+2010-04-02 Hui Zhu <teawater@gmail.com>
+
+ * i386-tdep.c (i386_record_lea_modrm_addr): Remove useless
+ "*addr = 0".
+
+2010-04-02 Pedro Alves <pedro@codesourcery.com>
+
+ * tracepoint.c (trace_dump_actions): New, factored out from
+ trace_dump_command, and adjusted to recurse into while-stepping's
+ action list.
+ (trace_dump_command): Use it.
+
+2010-04-02 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.h (struct counted_command_line): Moved definition to
+ breakpoint.c, and forward declare.
+ (breakpoint_commands): Declare.
+ * breakpoint.c (struct counted_command_line): Moved here.
+ (breakpoint_commands): New.
+ * tracepoint.c (encode_actions): Use breakpoint_commands.
+ * remote.c (remote_download_tracepoint): Ditto.
+
+2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * remote.c (remote_parse_stop_reply): Use hex_string instead
+ of phex_nz for error.
+
+2010-04-01 Stan Shebs <stan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * tracepoint.h (enum actionline_type): Remove.
+ (validate_actionline): Change return to void.
+ * tracepoint.c (report_agent_reqs_errors): New function.
+ (validate_actionline): Call it, change return to void, report errors
+ more consistently.
+ (collect_symbol): Call report_agent_reqs_errors.
+ (encode_actions_1): Ditto.
+ (encode_actions): Don't expect a result from validate_actionline.
+
+2010-04-01 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (trace_start_command): Confirm if trace is running.
+ (trace_stop_command): Error if trace not running.
+
+2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh".
+ (AMD64_NUM_LOWER_BYTE_REGS): New.
+ (amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh".
+ (amd64_pseudo_register_write): Likewise.
+ (amd64_init_abi): Set num_byte_regs to 20.
+
+2010-04-01 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (multi_start, multi_end, last_was_multi): Delete.
+ (prev_breakpoint_count): New.
+ (set_breakpoint_count): Adjust.
+ (rbreak_start_breakpoint_count): New.
+ (start_rbreak_breakpoints): Adjust.
+ (end_rbreak_breakpoints): Adjust.
+ (struct commands_info) <arg>: New field.
+ (do_map_commands_command): Tweak output to include breakpoint spec
+ range.
+ (commands_command_1): Adjust. Avoid setting an xfree cleanup if
+ ARG was empty on entry. Set INFO's arg.
+ (create_breakpoint): Adjust.
+
+ * NEWS: Clarify `commands' changes.
+
+2010-04-01 Pedro Alves <pedro@codesourcery.com>
+
+ * tracepoint.c: Include stack.h.
+ (struct add_local_symbols_data): New.
+ (do_collect_symbol): New.
+ (add_local_symbols): Rewrite using iterate_over_block_arg_vars and
+ iterate_over_block_local_vars.
+ * stack.c (print_block_frame_locals): Rewrite as ...
+ (iterate_over_block_locals): ... this. Take a callback function
+ pointer and generic data pointer, and call that instead of
+ print_variable_and_value.
+ (struct print_variable_and_value_data): New.
+ (do_print_variable_and_value): New.
+ (iterate_over_block_local_vars): New, abstracted out from
+ print_frame_local_vars.
+ (print_frame_local_vars): Rewrite using
+ iterate_over_block_local_vars.
+ (iterate_over_block_arg_vars): New, abstracted out from
+ print_frame_arg_vars.
+ (print_frame_arg_vars): Rewrite using iterate_over_block_arg_vars.
+ * stack.h (iterate_over_block_arg_local_vars_cb): New typedef.
+ (iterate_over_block_arg_vars, iterate_over_block_local_vars): Declare.
+
+2010-03-31 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBH
+ instructions. Use the PC+4 if the base of the TBB or TBH is the
+ PC register.
+
+2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix crash on reading wrong function declaration DWARF.
+ * dwarf2read.c (read_subroutine_type): New variable void_type.
+ Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization
+ more close to their use.
+
+2010-03-31 Stan Shebs <stan@codesourcery.com>
+
+ * breakpoint.c (tracepoint_save_command): Include variables,
+ conditionals, tracepoint types, and default-collect.
+ * tracepoint.c (save_trace_state_variables): New function.
+ * tracepoint.h (save_trace_state_variables): Declare it.
+
+2010-03-31 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of
+ strdup.
+
+2010-03-30 Keith Seitz <keiths@redhat.com>
+
+ * c-typeprint.c (c_type_print_args): Don't print "void"
+ for java, regardless of whether it is TYPE_PROTOTYPED.
+ Use the passed-in language instead of current_language.
+ (c_type_print_varspec_suffix): Use current_language instead
+ of assuming language_c.
+ * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off
+ any return type specifier from the physname.
+
+2010-03-30 Pedro Alves <pedro@codesourcery.com>
+
+ * tui/tui-interp.c (tui_is_toplevel): New.
+ (tui_init): Set it.
+ (tui_allowed_p): New.
+ * tui/tui.c (tui_enable): Check if the TUI is allowed before
+ enabling it.
+ * tui/tui.h (tui_allowed_p): Declare.
+
+2010-03-30 Ozkan Sezer <sezeroz@gmail.com>
+
+ * serial.h: Include winsock2.h before windows.h.
+
+2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention xmlRegisters= in qSupported packet.
+
+ * i386-tdep.c: Include "remote.h".
+ (_initialize_i386_tdep): Call register_remote_support_xml.
+
+ * remote.c (remote_support_xml): New.
+ (register_remote_support_xml): Likewise.
+ (remote_query_supported_append): Likewise.
+ (remote_query_supported): Support remote_support_xml.
+
+ * remote.h (register_remote_support_xml): New.
+
+2010-03-29 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (trace_find_line_command): Remove dead code.
+
+ * tracepoint.h (struct uploaded_string): New struct.
+ (struct uploaded_tp): New fields for source strings.
+ * breakpoint.c (this_utp, next_cmd): New globals.
+ (read_uploaded_action): New function.
+ (create_tracepoint_from_upload): Fill in more parts
+ of a tracepoint.
+ * tracepoint.c (encode_source_string): New function.
+ (trace_save): Write out source strings, fix error checks.
+ (parse_tracepoint_definition): Add source string parsing.
+ * remote.c (PACKET_TracepointSource): New packet type.
+ (remote_download_command_source): New function.
+ (remote_download_tracepoint): Download source pieces also.
+ (_initialize_remote): Add packet config command.
+
+ * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
+ expression handler.
+
+ * tracepoint.c (start_tracing): Check tracepoints before sending
+ commands to target, don't start if all tracepoints disabled.
+
+2010-03-28 Pedro Alves <pedro@codesourcery.com>
+
+ * cli/cli-script.c (process_next_line): Handle 'stepping'.
+
+2010-03-26 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode.
+
+2010-03-26 Tom Tromey <tromey@redhat.com>
+
+ * breakpoint.c (commands_command_1): Duplicate 'arg'.
+
+2010-03-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.
+ (skip_prologue_sal): Remove local definition.
+ (resolve_sal_pc): Remove now unnecessary code.
+ * linespec.c (minsym_found): Call skip_prologue_sal.
+ * symtab.c (find_function_start_pc): Remove.
+ (find_function_start_sal): Extract prologue skipping into ...
+ (skip_prologue_sal): ... this new function. Handle code both
+ with and without debug info. Respect SAL's explicit_pc and
+ explicit_line flags. Inline old find_function_start_pc.
+ * symtab.h (find_function_start_pc): Remove.
+ (skip_prologue_sal): Add prototype.
+
+2010-03-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2read.c (read_func_scope): Also scan specification DIEs
+ for DW_TAG_imported_module children.
+
+2010-03-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by
+ ignoring spurious DW_AT_name attributes for unnamed structs or unions.
+ * completer.c (add_struct_fields): Fix inverted logic.
+
+2010-03-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
+
2010-03-26 Pedro Alves <pedro@codesourcery.com>
* tracepoint.c (current_trace_status): Don't make sure error_desc
(gnu_v3_print_method_ptr): Use the physname for virtual methods
without a demangled name.
Print out type information for non-virtual methods.
- * linespec.c (decode_line_1): Force ANY string using "::" (or
+ * linespec.c (decode_line_1): Force ANY string using "::" (or
"." for java) to use decode_compound, and clean up any stray quoting.
- If we found a file symtab, re-evaluate whether the remainder is_quoted.
- (decode_compound): Stop consuming at an open parenthesis.
- Keep template parameters.
- Keep any overload information.
- Keep keywords like "const".
- Remove paren_pointer.
- Move is_quoted check from set_flags to here.
- Remove #if 0 code from 2000. Ten years is long enough.
- (find_method): Before comparing symbol names, canonicalize the string
- from the user.
- If a specific overload is requested, find it. Otherwise throw an error.
+ If we found a file symtab, re-evaluate whether the remainder is_quoted.
+ (decode_compound): Stop consuming at an open parenthesis.
+ Keep template parameters.
+ Keep any overload information.
+ Keep keywords like "const".
+ Remove paren_pointer.
+ Move is_quoted check from set_flags to here.
+ Remove #if 0 code from 2000. Ten years is long enough.
+ (find_method): Before comparing symbol names, canonicalize the string
+ from the user.
+ If a specific overload is requested, find it. Otherwise throw an error.
(find_method_overload_end): New function.
(set_flags): Remove.
- (decode_compound): Assume that parentheses are matched.
- It's a lot easier.
+ (decode_compound): Assume that parentheses are matched.
+ It's a lot easier.
* symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag
to cplus_demangle.
* linespec.c (decode_line_1): Keep important keywords like
2010-03-07 Joel Brobecker <brobecker@adacore.com>
* remote.c (remote_get_ada_task_ptid): New function.
- (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
+ (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
2010-03-06 Christopher Faylor <me+cygwin@cgf.cx>
address as UnsignedLongLong, not LongLong.
2010-03-05 Kevin Buettner <kevinb@redhat.com>
- Pedro Alves <pedro@codesourcery.com>
+ Pedro Alves <pedro@codesourcery.com>
* remote-mips.c (gdbthread.h): Include.
(remote_mips_ptid): Declare.
GDB's gdbarch_addr_bit as size of values on the DWARF stack.
2010-02-26 Phil Muldoon <pmuldoon@redhat.com>
- Tom Tromey <tromey@redhat.com>
+ Tom Tromey <tromey@redhat.com>
* python/py-type.c (typy_lookup_typename): Add in block argument.
If provided restrict lookup to specified blocks.
2010-01-25 gingold <gingold@adacore.com>
- * windows-nat.c (windows_continue): Use %x to print thread id.
- (get_windows_debug_event): Ditto.
+ * windows-nat.c (windows_continue): Use %x to print thread id.
+ (get_windows_debug_event): Ditto.
2010-01-22 Tom Tromey <tromey@redhat.com>
2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
- * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
+ * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
and s390x-linux64.
(s390-linux32-expedite): Define.
(s390-linux64-expedite): Define.