+2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
+ Tom Tromey <tromey@redhat.com>
+
+ PR build/15414:
+ * configure: Rebuild.
+ * configure.ac (build_warnings): Do not use -Wformat-nonliteral
+ with -Wno-format.
+
+2013-05-10 Pedro Alves <palves@redhat.com>
+
+ * remote.c (_initialize_remote): Fix spelling of
+ qXfer:traceframe-info:read packet in packet config command.
+
+2013-05-10 David Taylor <dtaylor@emc.com>
+
+ PR remote/15455
+
+ * remote.c (remote_trace_set_readonly_regions): Do not overwrite
+ "QTro" at start of packet.
+
+2013-05-10 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-aix.c (solib_aix_relocate_section_addresses):
+ For the .bss section action, apply the same offset as
+ the .data section.
+
+2013-05-10 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-aix.c (solib_aix_relocate_section_addresses):
+ Remove FIXME comment.
+
+2013-05-10 Joel Brobecker <brobecker@adacore.com>
+
+ PR tdep/15420:
+ * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+ New functions, directly copied from sparc-sol-thread.c.
+ * sparc-sol-thread.c: Delete.
+ * configure.ac: Remove code handling sparc-solaris-thread.c.
+ * configure: Regenerate.
+
+2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
+
+ * stack.c (backtrace_command_1): Add "no-filters", and Python frame
+ filter logic.
+ (backtrace_command): Add "no-filters" option parsing.
+ (_initialize_stack): Alter help to reflect "no-filters" option.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
+ (SUBDIR_PYTHON_SRCS): Add py-framefilter.c
+ (py-frame.o): Add target
+ * data-directory/Makefile.in (PYTHON_DIR): Add Python frame
+ filter files.
+ * python/python.h: Add new frame filter constants, and flag enum.
+ (apply_frame_filter): Add definition.
+ * python/python.c (apply_frame_filter): New non-Python
+ enabled function.
+ * python/py-utils.c (py_xdecref): New function.
+ (make_cleanup_py_xdecref): Ditto.
+ * python/py-objfile.c: Declare frame_filters dictionary.
+ (objfpy_dealloc): Add frame_filters dealloc.
+ (objfpy_new): Initialize frame_filters attribute.
+ (objfile_to_objfile_object): Ditto.
+ (objfpy_get_frame_filters): New function.
+ (objfpy_set_frame_filters): New function.
+ * python/py-progspace.c: Declare frame_filters dictionary.
+ (pspy_dealloc): Add frame_filters dealloc.
+ (pspy_new): Initialize frame_filters attribute.
+ (pspacee_to_pspace_object): Ditto.
+ (pspy_get_frame_filters): New function.
+ (pspy_set_frame_filters): New function.
+ * python/py-framefilter.c: New file.
+ * python/lib/gdb/command/frame_filters.py: New file.
+ * python/lib/gdb/frames.py: New file.
+ * python/lib/gdb/__init__.py: Initialize global frame_filters
+ dictionary
+ * python/lib/gdb/FrameDecorator.py: New file.
+ * python/lib/gdb/FrameIterator.py: New file.
+ * mi/mi-cmds.c (mi_cmds): Add frame filters command.
+ * mi/mi-cmds.h: Declare.
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
+ --no-frame-filter logic, and Python frame filter logic.
+ (stack_enable_frame_filters): New function.
+ (parse_no_frame_option): Ditto.
+ (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
+ filter logic.
+ (mi_cmd_stack_list_locals): Ditto.
+ (mi_cmd_stack_list_args): Ditto.
+ (mi_cmd_stack_list_variables): Ditto.
+ * NEWS: Add frame filter note.
+
+2013-05-09 Doug Evans <dje@google.com>
+
+ * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
+ All callers updated.
+ (syms_from_objfile): Ditto. Make static.
+ (symbol_file_add_with_addrs): Renamed from
+ symbol_file_add_with_addrs_or_offsets. Delete args offsets,
+ num_offsets. All callers updated.
+ * symfile.h (syms_from_objfile): Delete.
+
+ * symfile.c (decrement_reading_symtab): Add assert.
+ (increment_reading_symtab): Ditto.
+
+2013-05-09 Joel Brobecker <brobecker@adacore.com>
+
+ * source.c (forward_search_command): Replace call to getc
+ by call to fgetc.
+ (reverse_search_command): Likewise.
+
+2013-05-08 Doug Evans <dje@google.com>
+
+ * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
+ matching test.
+
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (info_cb): Factorize the code a little.
+
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (info_cb): Rework the output of the "maintenance
+ info sol-threads" command a bit.
+
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
+ Replace ti.ti_startfunc by ti.ti_pc.
+
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-aix.c (solib_aix_free_library_list): New function
+ for the case where HAVE_LIBEXPAT is not defined.
+
+2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR breakpoints/15413:
+ * breakpoint.c (condition_completer): Simplify the code to
+ disconsider multiple locations of breakpoints when completing the
+ "condition" command.
+
+2013-05-07 Pierre Muller <muller@sourceware.org>
+
+ * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
+ instead of <sys/wait.h>.
+
+2013-05-07 Pierre Muller <muller@sourceware.org>
+
+ * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
+ trailing new line from warning message.
+
+2013-05-07 Pierre Muller <muller@sourceware.org>
+
+ * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
+ (PC_SOLIB): Change type from ari_deprecate to ari_regression.
+
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
+ error message (ARI fix).
+
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
+
+ * features/library-list-aix.dtd: Replace library-list by
+ library-list-aix.
+ * rs6000-nat.c: Replace library-list by library-list-aix
+ throughout.
+ * solib-aix.c: Likewise.
+
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
+
+ * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
+ Renames TARGET_OBJECT_AIX_LIBRARIES.
+ * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
+ TARGET_OBJECT_LIBRARIES_AIX throughout.
+ * solib-aix.c: Likwise.
+
+2013-05-07 Yao Qi <yao@codesourcery.com>
+
+ * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
+ (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
+
+2013-05-07 Yao Qi <yao@codesourcery.com>
+
+ * solib-dsbt.c (enable_break): Declare.
+ (dsbt_current_sos): Remove call to enable_break2.
+ (enable_break2): Rename to enable_break. Set solib breakpoint
+ on '_dl_debug_state'.
+ (enable_break): Remove.
+
+2013-05-07 Luis Machado <lgustavo@codesourcery.com>
+
+ * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
+ debug state prior to replicating existing hardware watchpoints or
+ breakpoints.
+
+2013-05-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gcore.c (gcore_create_callback): Ignore sections with
+ separate_debug_objfile_backlink != NULL.
+
+2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
+ Andrew Jenner <andrew@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+ Julian Brown <julian@codesourcery.com>
+
+ Based on the nios2-elf port from Altera Corporation.
+
+ * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
+ nios2-linux-tdep.o.
+ (HFILES_NO_SRCDIR): Add nios2-tdep.h.
+ (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
+ * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
+ * nios2-tdep.h: New.
+ * nios2-tdep.c: New.
+ * nios2-linux-tdep.c: New.
+ * features/Makefile (WHICH): Add nios2-linux.
+ (nios2-linux-expedite): Set.
+ * features/nios2-cpu.xml: New.
+ * features/nios2.xml: New.
+ * features/nios2-linux.xml: New.
+ * features/nios2.c: New (autogenerated).
+ * features/nios2-linux.c: New (autogenerated).
+ * regformats/nios2-linux.dat: New (autogenerated).
+ * NEWS (Changes since GDB 7.6): Add new Nios II targets
+ and commands.
+
+2013-05-06 Doug Evans <dje@google.com>
+
+ * symfile.c: Whitespace cleanup.
+
+ * solist.h (struct target_so_ops): New member clear_so.
+ * solib-svr4.c (svr4_clear_so): New function.
+ (_initialize_svr4_solib): Set svr4_so_ops.clear_so.
+ * solib.c (clear_so): Renamed from free_so_symbols.
+ All callers updated. Call target clear_so if it exists.
+
+2013-05-06 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (ada_value_primitive_packed_val): Don't
+ call value_incref.
+ * value.c (set_value_parent): Incref the new parent and decref
+ the old parent.
+ (value_copy, value_primitive_field): Use set_value_parent.
+
+2013-05-06 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
+ (indirect_pieced_value): Call dwarf2_fetch_constant_bytes
+ if needed.
+ * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
+ * dwarf2read.c (write_constant_as_bytes)
+ (dwarf2_fetch_constant_bytes): New functions.
+
+2013-05-06 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_const_value_data): Remove unused
+ parameters.
+ (dwarf2_const_value_attr): Update.
+
+2013-05-06 Tom Tromey <tromey@redhat.com>
+
+ * somread.c (som_symfile_offsets): Add 'const' to addrs.
+ * machoread.c (macho_symfile_offsets): Add 'const' to addrs.
+ * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
+ Remove declaration.
+
+2013-05-06 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
+ objfile's obstack.
+
+2013-05-06 Doug Evans <dje@google.com>
+
+ * dbxread.c (process_one_symbol): Constify section_offsets parameter.
+ * stabsread.h (process_one_symbol): Update declaration.
+ * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
+ * elfread.c (elf_symfile_relocate_probe): Ditto.
+ * psymtab.c (relocate_psymtabs): Ditto.
+ * objfiles.c (objfile_relocate1): Constify new_offsets parameter.
+ (objfile_relocate): Ditto.
+ * objfiles.h (objfile_relocate): Update declaration.
+ * symfile.c (relative_addr_info_to_section_offsets): Constify
+ addrs parameter.
+ (default_symfile_offsets): Ditto.
+ (syms_from_objfile_1): Constify offsets parameter.
+ (syms_from_objfile): Ditto.
+ (symbol_file_add_with_addrs_or_offsets): Ditto.
+ (symfile_map_offsets_to_segments): Constify data parameter.
+ * symfile.h (struct quick_symbol_functions): Constify new_offsets,
+ delta parameters of member relocate.
+ (struct sym_probe_fns): Constify new_offsets,
+ delta parameters of member sym_relocate_probe.
+ (struct sym_fns): Constify section_addr_info parameter of member
+ sym_offsets.
+ (relative_addr_info_to_section_offsets): Update declaration.
+ (default_symfile_offsets): Ditto.
+ (syms_from_objfile): Ditto.
+ (symfile_map_offsets_to_segments): Ditto.
+
+ * symfile.c (syms_from_objfile_1): Use correct section count when
+ objfile->sf == NULL.
+
+2013-05-06 Mike Frysinger <vapier@gentoo.org>
+
+ * common/linux-btrace.c (intel_supports_btrace): Fix indentation.
+
+2013-05-06 Doug Evans <dje@google.com>
+
+ * psympriv.h (struct partial_symtab): Augment comment for member
+ section_offsets.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ Reimplement shared library support on ppc-aix...
+ * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum.
+ * features/library-list-aix.dtd: New file.
+ * solib-aix.h, solib-aix.c: New file.
+ * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h".
+ (rs6000_find_toc_address_hook): Delete.
+ (rs6000_push_dummy_call): Rewrite code setting the TOC value.
+ (rs6000_aix_init_osabi): Register solib_aix_so_ops.
+ * rs6000-nat.c: Remove "xcoffsolib.h" include. Include
+ "xml-utils.h".
+ (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add)
+ (vmap_symtab, fixup_breakpoints): Delete.
+ (rs6000_xfer_shared_libraries): New function.
+ (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling.
+ (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete.
+ (xcoff_relocate_symtab, xcoff_relocate_core): Delete.
+ (rs6000_ptrace_ldinfo, rs6000_core_ldinfo)
+ (rs6000_xfer_shared_library): New function.
+ (find_toc_address): Delete.
+ (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook.
+ * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove.
+ * xcoffread.c (record_minimal_symbol): Reloate symbol address
+ before creating minimal symbol. Adjust function description
+ accordingly.
+ (scan_xcoff_symtab): Replace call to
+ prim_record_minimal_symbol_and_info by call to
+ record_minimal_symbol.
+ (xcoff_symfile_offsets): Reimplement mostly as a wrapper
+ around default_symfile_offsets.
+ * configure.tgt: Add solib-aix.o to gdb_target_obs for
+ powerpc-aix targets.
+ * config/rs6000/nm-rs6000.h: Delete.
+ * config/powerpc/aix.mh (NAT_FILE): Delete.
+ (NATDEPFILES): Remove xcoffsolib.o.
+ * Makefile.in (XMLFILES): Add library-list-aix.dtd.
+ (ALL_TARGET_OBS): Add solib-aix.o.
+ (HFILES_NO_SRCDIR): Remove xcoffsolib.h and
+ config/rs6000/nm-rs6000.h. Add solib-aix.h.
+ (ALLDEPFILES): Add solib-aix.c. Remove xcoffsolib.c.
+ * xcoffsolib.h, xcoffsolib.c: Delete.
+
+ * solib.c (reload_shared_libraries): Remove reference to
+ SOLIB_CREATE_INFERIOR_HOOK.
+ * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD.
+ (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB.
+ (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in
+ comment.
+ * corelow.c (deprecated_core_resize_section_table): Delete.
+ * exec.c: Remove include of xcoffsolib.h".
+ (map_vmap, vmap): Delete.
+ (exec_close_1): Remove references to vmap.
+ (exec_file_attach): Remove vmap handling code, and reference
+ to DEPRECATED_IBM6000_TARGET.
+ (bfdsec_to_vmap): Delete.
+ (exec_files_info): Remove block of code handling VMAP.
+ * infcmd.c (post_create_inferior): Remove reference to
+ SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD.
+ * infrun.c (follow_exec): Remove reference to
+ SOLIB_CREATE_INFERIOR_HOOK.
+ * stack.c (print_frame): Remove reference to PC_SOLIB.
+ * solib-dsbt.c (dsbt_current_sos): Adjust comment.
+ (dsbt_relocate_main_executable): Likewise.
+ * solib-frv.c (frv_current_sos): Likewise.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls
+ to target_write_memory and target_read_memory.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ * darwin-nat.c (darwin_setup_fake_stop_event): New function.
+ (darwin_attach): Adjust using darwin_setup_fake_stop_event.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ * darwin-nat.c: Replace all "%x" instances in format strings
+ into "0x%x" throughout.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ * darwin-nat.c (darwin_mourn_inferior): Replace call to
+ gdb_assert by call to MACH_CHECK_ERROR.
+ (darwin_attach_pid): Raise an error rather than a failed
+ assertion when various system calls failed. Report a warning
+ instead of raising a failed assertion when PREV_NOT is not NULL
+ after call to mach_port_request_notification.
+ (darwin_ptrace_me): Raise an error rather than a failed
+ assertion when read returns nonzero.
+
+2013-05-06 Joel Brobecker <brobecker@adacore.com>
+
+ * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".
+
+2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
+
+2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * event-top.c (display_gdb_prompt): Call missing do_cleanups.
+ * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP.
+ * symfile.c (symfile_bfd_open): New variable back_to. Do not leave
+ a stale cleanup. Fix double free of NAME.
+
+2013-05-04 Eli Zaretskii <eliz@gnu.org>
+
+ * windows-nat.c (windows_delete_thread): Accept an additional
+ argument, the thread's exit code, and announce thread death when
+ print_thread_events is non-zero and we are deleting a thread that
+ is not the main thread.
+ (get_windows_debug_event): Pass thread exit code to
+ windows_delete_thread.
+
+2013-05-03 Kevin Buettner <kevinb@redhat.com>
+
+ * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.
+ (R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM)
+ (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM)
+ (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM)
+ (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM)
+ (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM)
+ (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define.
+ (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants.
+ (gdbarch_tdep): New struct.
+ (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of
+ E_NUM_REGS.
+ (v850e3v5_register_name): New function.
+ (v850_register_type): v850e3v5 vector registers are 64-bits wide.
+ (v850_use_struct_convention): Add `gdbarch' parameter. Add new
+ code handling the struct return conventions for the RH850 ABI.
+ Update all callers.
+ (v850_eight_byte_align_p): New function.
+ (v850_push_call_dummy): Push structs by value, not by reference
+ for the RH850 ABI. Add support for eight byte alignment.
+ (v850_dbtrap_breakpoint_from_pc): New function.
+ (v850_gdbarch_init): Add ABI detection code. Register
+ v850e3v5_register_name for the v850e3v5 architecture. Set the
+ number of registers for v850e3v5. Register
+ v850_dbtrap_breakpoint_from_pc as appropriate.
+ (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850.
+
+2013-05-03 Doug Evans <dje@google.com>
+
+ * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
+ of bfd_count_sections.
+ * solib-target.c (solib_target_relocate_section_addresses): Ditto.
+ * symfile.c (default_symfile_offsets): Ditto.
+ (syms_from_objfile_1): Ditto. Make dummy addrs list an array of
+ one entry, not bfd_count_sections entries.
+
+2013-05-03 Kevin Buettner <kevinb@redhat.com>
+
+ * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the
+ `save' and `restore' register groups. Don't include SPL
+ or SPH in these groups.
+ (rl78_dwarf_reg_to_regnum): Adjust mapping for
+ RL78_PC_REGNUM. Add mappings for RL78_PSW_REGNUM,
+ RL78_ES_REGNUM, and RL78_CS_REGNUM.
+ (rl78_gdbarch_init): Set `dwarf2_addr_size' to 4. Invoke
+ dwarf2_append_unwinders().
+
+2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Do not
+ ignore SIGINT and SIGTRAP in case these internal signals are
+ caught explicitely.
+
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * darwin-nat.c (darwin_read_write_inferior): Change types
+ of parameters rdaddr and wraddr to "gdb_byte *". Change type
+ of copy_count to "mach_msg_type_number_t".
+ (darwin_read_dyld_info): Change type of parameter
+ rdaddr to "gdb_byte *".
+
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast
+ of &info->load_map from "char *" to "gdb_byte *".
+
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ia64-tdep.c (ia64_access_fpreg): Change cast of val
+ from "char *" to "gdb_byte *".
+ (ia64_access_rse_fpreg, ia64_access_mem): Likewise.
+
+2013-04-30 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
+ (init_cutu_and_read_dies): Flag a complaint, not error, for bad
+ DWO stub. If DWO isn't found, just use stub.
+ (lookup_dwo_cutu): Don't try DWO if there's a DWP file.
+
+ * dwarf2read.c (dw2_find_symbol_file): Initialize filename before
+ calling init_cutu_and_read_dies.
+
+2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * target-descriptions.c (maint_print_c_tdesc_cmd):
+ Add case to parse structures as register types and
+ bitfields.
+
+2013-04-30 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (rw_common): Change type of parameter "buf"
+ to "gdb_byte *".
+ (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
+ rw_common to "gdb_byte *" instead of "char *".
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type
+ of local variable msym to const struct bound_minimal_symbol.
+ Adjust use accordingly.
+ [ti.ti_state == TD_THR_SLEEP]: Likewise.
+
+2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>
+
+ * i386gnu-nat.c (CREG_OFFSET): New macro.
+ (creg_offset): New array.
+ (CREG_ADDR): Use creg_offset instead of reg_offset.
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * mep-tdep.c (mep_write_pc): Delete.
+ (mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
+ Add call to set_gdbarch_pc_regnum.
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * common/filestuff.c: Replace #include <dirent.h> by
+ #include "gdb_dirent.h".
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * common/filestuff.c: Replace #include <sys/stat.h> by
+ #include "gdb_stat.h".
+
+2013-04-29 Pierre Muller <muller@sourceware.org>
+
+ * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
+ editCase function rule.
+ (get_DW_AT_signature_type): Likewise.
+
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
+
+ * m32r-tdep.c (m32r_write_pc): Delete.
+ (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
+ Add call to set_gdbarch_pc_regnum.
+
+2013-04-29 Pierre Muller <muller@sourceware.org>
+
+ * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
+
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
+
+2013-04-28 Yao Qi <yao@codesourcery.com>
+
+ * solib-dsbt.c (fetch_loadmap): Re-indent.
+ (displacement_from_map, enable_break2): Likewise.
+ (dsbt_relocate_section_addresses): Likewise.
+
+2013-04-26 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.6 released.
+
+2013-04-25 Andreas Kaufmann <Andreas.Kaufmann@synopsys.com>
+
+ PR corefiles/14983:
+ * dwarf2read.c (process_full_comp_unit): Always create a static
+ block.
+
+2013-04-25 Hui Zhu <hui@codesourcery.com>
+
+ * breakpoint.c (build_target_command_list): Change loc->cond_bytecode
+ to loc->cmd_bytecode.
+
+2013-04-24 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (setup_type_unit_groups): Fix comment.
+
+2013-04-22 Keith Seitz <keiths@redhat.com>
+
+ * tracepoint.c (trace_save): Call the writer's start method.
+
+2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
+
+ PR gdb/10462
+ * cli/cli-decode.c (lookup_command): Show an error if there is no space
+ before argument.
+
+2013-04-23 Tom Tromey <tromey@redhat.com>
+
+ * common/filestuff.c: Check USE_WIN32API before including
+ sys/socket.h.
+ (HAVE_F_GETFD): New define.
+ (mark_cloexec): Check HAVE_F_GETFD.
+ (gdb_open_cloexec): Change 'mode' to unsigned long.
+ (gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR.
+ (gdb_pipe_cloexec): Check HAVE_PIPE.
+ * common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned
+ long.
+
+2013-04-23 Hui Zhu <hui@codesourcery.com>
+
+ PR gdb/15293
+ * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf.
+
+2013-04-23 Hui Zhu <hui@codesourcery.com>
+
+ PR gdb/15165
+ * breakpoint.c (dprintf_print_recreate): New.
+ (save_breakpoints): Let it not save dprintf commands.
+ (initialize_breakpoint_ops): Set dprintf_print_recreate.
+
+2013-04-22 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/7912:
+ * Makefile.in (SFILES): Add filestuff.c
+ (COMMON_OBS): Add filestuff.o.
+ (filestuff.o): New target.
+ * auto-load.c (auto_load_objfile_script_1): Use
+ gdb_fopen_cloexec.
+ * auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec.
+ * cli/cli-cmds.c (shell_escape): Call close_most_fds.
+ * cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec.
+ * common/agent.c (gdb_connect_sync_socket): Use
+ gdb_socket_cloexec.
+ * common/filestuff.c: New file.
+ * common/filestuff.h: New file.
+ * common/linux-osdata.c (linux_common_core_of_thread)
+ (command_from_pid, commandline_from_pid, print_source_lines)
+ (linux_xfer_osdata_shm, linux_xfer_osdata_sem)
+ (linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use
+ gdb_fopen_cloexec.
+ * common/linux-procfs.c (linux_proc_get_int)
+ (linux_proc_pid_has_state): Use gdb_fopen_cloexec.
+ * config.in, configure: Rebuild.
+ * configure.ac: Don't check for sys/socket.h. Check for
+ fdwalk, pipe2.
+ * corelow.c (core_open): Use gdb_open_cloexec.
+ * dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec.
+ * fork-child.c (fork_inferior): Call close_most_fds.
+ * gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec.
+ * inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec.
+ * linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals):
+ Use gdb_fopen_cloexec.
+ (linux_proc_xfer_partial, linux_proc_xfer_spu): Use
+ gdb_open_cloexec.
+ (linux_async_pipe): Use gdb_pipe_cloexec.
+ * remote-fileio.c (remote_fileio_func_open): Use
+ gdb_open_cloexec.
+ * remote.c (remote_file_put, remote_file_get): Use
+ gdb_fopen_cloexec.
+ * ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec,
+ close_most_fds.
+ * ser-tcp.c (net_open): Use gdb_socket_cloexec.
+ * ser-unix.c (hardwire_open): Use gdb_open_cloexec.
+ * solib.c (solib_find): Use gdb_open_cloexec.
+ * source.c (openp, find_and_open_source): Use gdb_open_cloexec.
+ * tracepoint.c (tfile_start): Use gdb_fopen_cloexec.
+ (tfile_open): Use gdb_open_cloexec.
+ * tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec.
+ * ui-file.c (gdb_fopen): Use gdb_fopen_cloexec.
+ * xml-support.c (xml_fetch_content_from_file): Use
+ gdb_fopen_cloexec.
+ * main.c (captured_main): Call notice_open_fds.
+
+2013-04-22 Edjunior Machado <emachado@linux.vnet.ibm.com>
+
+ * remote-sim.c (dump_mem): Change the type of 'buf' parameter from
+ 'char *' to 'gdb_byte *'.
+ (gdbsim_store_register): Change the type of 'tmp' from 'char' to
+ 'gdb_byte'.
+
+2013-04-22 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c: Fix typo in comment.
+
+2013-04-22 Andrew Haley <aph@redhat.com>
+
+ * arm-tdep.c (BranchDest): Cast result as "unsigned long",
+ instead of "long".
+
+2013-04-20 Yao Qi <yao@codesourcery.com>
+
+ * ctf.c (ctf_fetch_registers): Change the type of 'regs' from
+ 'char *' to 'gdb_byte *'. Cast the return value of
+ 'bt_ctf_get_char_array' to 'gdb_byte *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (build_warnings): Replace -Wno-pointer-sign with
+ -Wpointer-sign.
+ * configure: Regenerate.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ser-tcp.c (net_read_prim): Cast second argument to recv to
+ 'void *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * monitor.c (monitor_write_memory, monitor_write_memory_bytes):
+ Change type of 'myaddr' parameter to gdb_byte pointer.
+ (monitor_write_memory_longlongs): Likewise. Cast 'myaddr' pointer
+ to 'long long' pointer instead of to 'unsigned long long'.
+ (monitor_write_memory_block, monitor_read_memory_single)
+ (monitor_read_memory): Change type of 'myaddr' parameter to
+ gdb_byte pointer.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * record.c (validate_history_size): Make parameter 'setting'
+ unsigned.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
+ to 'gdb_byte *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
+ local to int.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (print_it_exception): Add cast to gdb_byte *.
+ * ada-tasks.c (read_fat_string_value): Likewise.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local
+ unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed
+ 'offset', and adjust.
+
2013-04-19 Pedro Alves <palves@redhat.com>
* dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
(_initialize_ctf): New.
* tracepoint.c (get_tracepoint_number): New
(get_uploaded_tsv): Remove 'static'.
- (struct traceframe_info, trace_regblock_size): Move it to ...
+ (struct traceframe_info, trace_regblock_size): Move it to ...
* tracepoint.h: ... here.
(get_tracepoint_number): Declare it.
(get_uploaded_tsv): Declare it.
2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
- * ada-lex.l (rules): Only recognize 'thread' as a
- delimiter when followed by numerals, as for c-exp.y.
- Use new rewind_to_char function to rewind the input for
- expression-delimiting tokens.
- (rewind_to_char): New function.
+ * ada-lex.l (rules): Only recognize 'thread' as a
+ delimiter when followed by numerals, as for c-exp.y.
+ Use new rewind_to_char function to rewind the input for
+ expression-delimiting tokens.
+ (rewind_to_char): New function.
2013-03-11 Pedro Alves <palves@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.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.
+ 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>