+2010-04-15 Pedro Alves <pedro@codesourcery.com>
+
+ * ppc-linux-tdep.c (bsd_uthread_solib_loaded): Always pass 0 for
+ flags.
+ * solib-spu.c (spu_solib_loaded): Always pass 0 for flags.
+
+2010-04-15 Doug Evans <dje@google.com>
+
+ * NEWS: Add entry for python program space support.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-progspace.o.
+ (SUBDIR_PYTHON_SRCS): Add py-progspace.c.
+ (py-progspace.o): New rule.
+ * python/py-prettyprint.c (find_pretty_printer_from_objfiles): New
+ function.
+ (find_pretty_printer_from_progspace): New function.
+ (find_pretty_printer_from_gdb): New function.
+ (find_pretty_printer): Rewrite.
+ * python/py-progspace.c: New file.
+ * python/python-internal.h (program_space): Add forward decl.
+ (pspace_to_pspace_object, pspy_get_printers): Declare.
+ (gdbpy_initialize_pspace): Declare.
+ * python/python.c: #include "progspace.h".
+ (gdbpy_get_current_progspace, gdbpy_progspaces): New functions.
+ (_initialize_python): Call gdbpy_initialize_pspace.
+ (GdbMethods): Add current_progspace, progspaces.
+
+ Add -s option to source command.
+ * NEWS: Document new option.
+ * cli/cli-cmds.c (find_and_open_script): Add function comment.
+ Delete from_tty and cleanupp args. Split filep arg into file and
+ full_pathp. New arg search_path.
+ (source_script_from_stream): New function.
+ (source_script_with_search): New function.
+ (source_script): Rewrite.
+ (source_command): Parse "-s" option.
+ (init_cli_cmds): Add "-s" docs to source command help, and reformat.
+ * python/python.c (source_python_script): Make file arg a const char *.
+ Don't call fclose, leave for caller.
+ * python/python.h (source_python_script): Update.
+
+2010-04-14 Daniel Jacobowitz <dan@codesourcery.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ Avoid rereading shared libraries that haven't changed.
+
+ * solib.c (free_so_symbols): New function, from ...
+ (free_so): ... here. Call it.
+ (solib_read_symbols): Don't warn here if symbols have already been
+ loaded.
+ (solib_add): Warn here instead, if a pattern was specified.
+ (reload_shared_libraries_1): New.
+ (reload_shared_libraries): Rewrite to not fetch the library list.
+
+2010-04-14 Doug Evans <dje@google.com>
+
+ * source.c (openp): Strip DOS drive letter if present before
+ concatenating string to search path.
+
+2010-04-14 Pedro Alves <pedro@codesourcery.com>
+
+ * objfiles.h (gdb_bfd_close_or_warn): Declare.
+ * objfiles.c (gdb_bfd_close_or_warn): New.
+ * corelow.c: Include objfiles.h
+ (core_close): Use gdb_bfd_close_or_warn.
+ * elfread.c (build_id_verify): Ditto.
+ * exec.c (exec_close, exec_close_1): Ditto.
+
+2010-04-14 Daniel Jacobowitz <dan@codesourcery.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ Group errors for many missing shared libraries.
+
+ * solist.h (struct so_list): Remove from_tty.
+ * solib.c (solib_bfd_open): Return NULL if we failed to open a BFD.
+ (solib_map_sections): Take so_list argument. Return 0 if we
+ failed to open a BFD. Add target sections here.
+ (symbol_add_stub): Delete.
+ (solib_read_symbols): Inline symbol_add_stub. Use current flags,
+ not from_tty copied from the so_list. Don't warn a second time
+ for a missing library.
+ (update_solib_list): Don't save from_tty. Use TRY_CATCH. Do not
+ add to the section table here. Print out a single warning for all
+ missing libraries.
+ * bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 for
+ flags.
+
+2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-block.c (gdbpy_block_for_pc): Use i8n to encompass
+ error/warning messages. Capitalize and use complete sentences.
+ (blpy_block_syms_iternext): Likewise.
+ * python/py-cmd.c (parse_command_name, cmdpy_init): Likewise.
+ * python/py-frame.c (FRAPY_REQUIRE_VALID, frapy_block)
+ (frame_info_to_frame_object, frapy_read_var)
+ (gdbpy_frame_stop_reason_string): Likewise.
+ * python/py-lazy-string.c (stpy_convert_to_value)
+ (gdbpy_create_lazy_string_object): Likewise.
+ * python/py-objfile.c (objfpy_set_printers): Likewise.
+ * python/py-prettyprint.c (gdbpy_default_visualizer): Likewise.
+ * python/python.c (parameter_to_python): Likewise.
+ * python/py-type.c (typy_range, typy_target): Likewise.
+ * python/py-value.c (valpy_cast, valpy_length, valpy_getitem)
+ (valpy_richcompare, valpy_int, valpy_long, valpy_float): Likewise.
+
+
+2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/11381
+
+ * python/py-prettyprint.c (pretty_print_one_value): Test for
+ Py_None.
+ (print_string_repr): Test for Py_None. Set flags accordingly.
+ Return value depending on return type.
+ (print_children): Take a value indicating whether data was printed
+ before this function was called. Alter output accordingly.
+ (apply_val_pretty_printer): Capture return value from
+ print_string_repr and pass to print_children.
+
+2010-04-13 Mark Kettenis <kettenis@gnu.org>
+
+ PR corefiles/11481
+ * i386-linux-tdep.c (i386_linux_regset_sections): Remove extended
+ register note sections.
+ (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
+ New variables.
+ (i386_linux_init_abi): Install list of supported register note
+ sections that matches the target description.
+
+2010-04-13 Pedro Alves <pedro@codesourcery.com>
+
+ * remote.c (remote_get_noisy_reply): Don't error out on empty
+ replies.
+ (remote_start_remote): Update and merge tracepoints and trace
+ state variables as long as the target supports tracepoints.
+ (remote_trace_init): Fix prototype.
+ (remote_download_trace_state_variable): Validate reply.
+ (remote_trace_set_readonly_regions): Fix prototype.
+ (remote_trace_start): Fix prototype. Check for empty reply.
+ (remote_get_trace_status): Small cleanup.
+ (remote_trace_stop): Fix prototype. Check for empty reply.
+ (remote_trace_find): Check for empty reply.
+ (remote_save_trace_data): Validate reply.
+ (remote_set_disconnected_tracing): Check for empty reply, and
+ validate reply.
+ (remote_set_circular_trace_buffer): Ditto.
+
+2010-04-13 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Suppress unused value warning during compilation.
+ * tui/tui-regs.c (tui_display_register): Cast wstandout and wstandend
+ calls to void.
+ * tui/tui-stack.c (tui_show_locator_content): Likewise.
+
+2010-04-12 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (tfile_xfer_partial): Check read result.
+
+2010-04-12 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-m32r-sdi.c (m32r_files_info): Add const to local "file" var.
+ * remote-sim.c (gdbsim_files_info): Likewise.
+
+2010-04-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ * arm-tdep.h (gdb_regnum): Add ARM_FPSCR_REGNUM
+ * arm-linux-nat.c (arm_linux_vfp_register_count): New
+ variable.
+ (fetch_vfp_registers): New function to fetch VFP registers.
+ (store_vfp_registers): New function to store VFP registers.
+ (arm_linux_fetch_inferior_registers): Add support for VFP
+ registers.
+ (arm_linux_store_inferior_registers): Likewise.
+ (arm_linux_read_description): Likewise.
+ (_initialize_arm_linux_nat): Delay initialising iWMMX tdesc
+ until we need it.
+
+2010-04-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-tdep.c (amd64_supply_xstateregset): Remove the unused
+ tdep.
+ (amd64_collect_xstateregset): Likewise.
+
+2010-04-09 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (trace_status_mi): Report frames created.
+
+ * tracepoint.c (trace_dump_command): Include default-collect
+ expressions.
+
+2010-04-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * symtab.c (find_function_start_sal): Never return SAL pointing
+ before function start address, even if line info is missing.
+
+2010-04-09 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention tracepoints support.
+
+2010-04-09 Pedro Alves <pedro@codesourcery.com>
+
+ * tracepoint.c (trace_status_mi): Report disconnected tracing and
+ circular trace buffer statuses.
+
+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
* remote.c (remote_parse_stop_reply): Use hex_string instead
of phex_nz for error.
->>>>>>> 1.11571
2010-04-01 Stan Shebs <stan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
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
+ 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>
2010-03-31 Stan Shebs <stan@codesourcery.com>
* breakpoint.c (tracepoint_save_command): Include variables,
- conditionals, tracepoint types, and default-collect.
+ 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.
+ * remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
2010-03-30 Keith Seitz <keiths@redhat.com>
2010-03-24 Michael Snyder <msnyder@localhost.localdomain>
- * elfread.c (find_separate_debug_file_by_buildid):
+ * elfread.c (find_separate_debug_file_by_buildid):
Remove unused local variable.
2010-03-24 Tom Tromey <tromey@redhat.com>
2010-03-19 Stan Shebs <stan@codesourcery.com>
- * ax-general.c (ax_const_l): Fix a sizing bug.
+ * ax-general.c (ax_const_l): Fix a sizing bug.
2010-03-18 Joel Brobecker <brobecker@adacore.com>
If the extracted function name and the original name are the same,
we don't have a C++ method.
- From Jan Kratochvil <jan.kratochvil@redhat.com>:
- * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name.
+ From Jan Kratochvil <jan.kratochvil@redhat.com>:
+ * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name.
* ada-lang.c (ada_lookup_symbol): Remove linkage_name parameters
and arguments from symbol lookups.
(MON_ROCKHOPPER): New mips_monitor_type.
(read_hex_value): New function.
(mips_request): Send 8-byte values with a 'T' packet. Read the
- packet argument as a string and use read_hex_value to parse it.
+ packet argument as a string and use read_hex_value to parse it.
(mips_exit_debug): Wait for response when using MON_ROCKHOPPER.
(rockhopper_open): New function.
(mips_wait): Read the PC, FP and SP fields as strings. Use
(amd64_register_name): Likewise.
(amd64_register_type): Likewise.
(amd64_init_abi): Set num_core_regs and register_names. Set
- target description to tdesc_amd64 if needed. Don't call
+ target description to tdesc_amd64 if needed. Don't call
set_gdbarch_register_name nor set_gdbarch_register_type.
(_initialize_amd64_tdep): New.
(typy_lookup_type): Likewise.
2010-02-25 Daniel Jacobowitz <dan@codesourcery.com>
-
+
Symbian config
gdb/
* mi/mi-main.c (mi_cmd_execute): Fix typo.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
- Tom Tromey <tromey@redhat.com>
+ Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* python/python.c (_initialize_python): Call
* infrun.c (handle_inferior_event): Do not look up regcache
for exited processes.
-Mon Feb 8 13:17:10 2010 Chris Moller <moller@mollerware.com>
+2010-02-08 Chris Moller <moller@mollerware.com>
PR gdb/10728
* valarith.c (value_ptrdiff): Added a test for a zero type length,
- warn if found, and assume length = 1.
+ warn if found, and assume length = 1.
2010-02-08 Chris Moller <cmoller@redhat.com>
PR gdb/9067
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
cp_print_static_field) Fix use of obstacks.
-
+
2010-02-08 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (linux_nat_resume): In non-stop, also only tag
* breakpoint.c (watchpoint_check): Check the call
gdbarch_in_function_epilogue_p before calling frame_find_by_id.
Extend the comment.
- * config/djgpp/fnchange.lst: Add translations for
+ * config/djgpp/fnchange.lst: Add translations for
watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
watchpoint-cond-gone-stripped.c.
tramp-frame.h.
(SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
(SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
- (SIGCONTEXT_LO_OFF): New macros.
- (mips_irix_n32_tramp_frame_init): New function.
+ (SIGCONTEXT_LO_OFF): New macros.
+ (mips_irix_n32_tramp_frame_init): New function.
(mips_irix_n32_tramp_frame): New static constant.
(mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.