Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: gdb/ChangeLog

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/CONTRIBUTE ('k') | gdb/ChangeLog-2009 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/ChangeLog
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4df03c51822e468e8a62861cb4ade8585ae861b9..6c7fda5beef88b59f3a735122dd9b4b843fdc629 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,8534 +1,13162 @@
-2012-11-29 Joel Brobecker <brobecker@adacore.com>
+2013-12-10 Doug Evans <dje@google.com>
+
+ PR 16286
+ * c-lang.c (c_get_string): Ignore the declared size of the object
+ if a specific length is requested.
+
+2013-12-10 Doug Evans <dje@google.com>
+
+ * interps.h (interp_exec_p): Delete.
+ * interps.c (interp_exec_p): Delete.
+ (interp_exec): Update. Assert interp->procs->exec_proc != NULL.
+ * mi/mi-interp.c (mi_cmd_interpreter_exec): Update.
+
+2013-12-10 Yao Qi <yao@codesourcery.com>
+
+ * amd64-tdep.c (amd64_analyze_stack_align): Call
+ target_read_code instead of target_read_memory.
+ (amd64_analyze_prologue): Call read_code_unsigned_integer
+ instead of read_memory_unsigned_integer. Call read_code
+ instead of read_memory.
+ (amd64_skip_xmm_prologue): Likewise.
+
+2013-12-10 Yao Qi <yao@codesourcery.com>
+
+ * corefile.c (read_code): New function.
+ (read_code_integer): New function.
+ (read_code_unsigned_integer): New function.
+ * gdbcore.h (read_code): Declare.
+ (read_code_integer): Declare.
+ (read_code_unsigned_integer): Declare.
+ * i386-tdep.c (i386_follow_jump): Call target_read_code instead
+ of target_read_memory. Call read_code_unsigned_integer instead
+ of read_memory_unsigned_integer.
+ (i386_analyze_struct_return): Likewise.
+ (i386_skip_probe): Likewise.
+ (i386_analyze_stack_align): Likewise.
+ (i386_match_pattern): Likewise.
+ (i386_skip_noop): Likewise.
+ (i386_analyze_frame_setup): Likewise.
+ (i386_analyze_register_saves): Likewise.
+ (i386_skip_prologue): Likewise.
+ (i386_skip_main_prologue): Likewise.
+ (i386_frame_cache_1): Likewise.
+
+2013-12-10 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c: Include "target-dcache.h".
+ (prepare_for_detach): Call target_dcache_invalidate.
+ (wait_for_inferior): Likewise.
+ (fetch_inferior_event): Likewise.
+ (infrun_thread_stop_requested_callback): Likewise. Set
+ overlay_cache_invalid to 1.
+
+2013-12-10 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (symbol_find_demangled_name): Add handling of
+ Ada symbols.
+
+2013-12-10 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (mi_cmd_list_features): add "exec-run-start-option".
+ * NEWS: Expand the entry documenting the new -exec-run --start
+ option to mention the corresponding new entry in the output of
+ "-list-features".
+
+2013-12-10 Joel Brobecker <brobecker@adacore.com>
+
+ * windows-nat.c (handle_load_dll): Add comments.
+ (windows_ensure_ntdll_loaded): New function.
+ (do_initial_windows_stuff): Use windows_ensure_ntdll_loaded.
+ Add FIXME comment.
+
+2013-12-08 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.6.2 released.
+
+2013-12-08 Yao Qi <yao@codesourcery.com>
+
+ * stack.c (frame_info): Initialize variable caller_pc.
+
+2013-12-06 Pedro Alves <palves@redhat.com>
+
+ * frame.c (enum cached_copy_status): New enum.
+ (struct frame_info) <prev_pc.p>: Change type to enum
+ cached_copy_status.
+ (fprint_frame): Handle not saved and unavailable prev_pc values.
+ (frame_unwind_pc_if_available): Delete and merge contents into ...
+ (frame_unwind_pc): ... here. Handle OPTIMIZED_OUT_ERROR. Adjust
+ to use enum cached_copy_status.
+ (frame_unwind_caller_pc_if_available): Delete.
+ (create_new_frame): Adjust.
+ * frame.h (frame_unwind_caller_pc_if_available): Delete
+ declaration.
+ * stack.c (frame_info): Use frame_unwind_caller_pc instead of
+ frame_unwind_caller_pc_if_available, and handle
+ NOT_AVAILABLE_ERROR and OPTIMIZED_OUT_ERROR errors.
+ * valprint.c (val_print_optimized_out): Use val_print_not_saved.
+ (val_print_not_saved): New function.
+ * valprint.h (val_print_not_saved): Declare.
+
+2013-12-06 Andrew Burgess <aburgess@broadcom.com>
+ Pedro Alves <palves@redhat.com>
+
+ * exceptions.h (errors): Add OPTIMIZED_OUT_ERROR.
+ * dwarf2loc.c (write_pieced_value): Throw OPTIMIZED_OUT_ERROR.
+ * frame.c (frame_unwind_register): Throw OPTIMIZED_OUT_ERROR.
+ * spu-tdep.c (spu_software_single_step): Throw
+ OPTIMIZED_OUT_ERROR.
+ * valops.c (value_assign): Throw OPTIMIZED_OUT_ERROR.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.c (free_objfile): Update comment.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.h (objfile_to_front): Remove.
+ * objfiles.c (objfile_to_front): Remove.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * minsyms.c (get_symbol_leading_char): Remove unnecessary
+ declaration.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * psympriv.h (struct partial_symtab) <user>: Move earlier.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * cli/cli-cmds.c (edit_command): Use paddress, not hex_string.
+ (list_command): Likewise.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * psymtab.c (allocate_psymtab): Put the filename in the filename
+ bcache.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * buildsym.c (end_symtab_from_static_block): Use obstack_copy0.
+ * symtab.h (struct symtab) <dirname>: Now const.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (allocate_symtab): Remove cast.
+ * symtab.h (struct symtab) <filename>: Now const.
+
+2013-12-06 Tom Tromey <tromey@redhat.com>
+
+ * break-catch-throw.c (fetch_probe_arguments): Use
+ get_probe_argument_count and evaluate_probe_argument.
+ * elfread.c (elf_get_probe_argument_count)
+ (elf_can_evaluate_probe_arguments, elf_evaluate_probe_argument)
+ (elf_compile_to_ax): Remove.
+ (elf_probe_fns): Update.
+ * probe.c (get_probe_argument_count, can_evaluate_probe_arguments)
+ (evaluate_probe_argument): Call method on probe, not via sym
+ functions.
+ * stap-probe.c (compute_probe_arg): Use get_probe_argument_count,
+ evaluate_probe_argument.
+ (compile_probe_arg): Use get_probe_argument_count. Call method on
+ probe, not via sym functions.
+ * symfile-debug.c (debug_sym_get_probe_argument_count)
+ (debug_can_evaluate_probe_arguments)
+ (debug_sym_evaluate_probe_argument, debug_sym_compile_to_ax):
+ Remove.
+ (debug_sym_probe_fns): Remove.
+ * symfile.h (struct sym_probe_fns) <sym_get_probe_argument_count,
+ can_evaluate_probe_arguments, sym_evaluate_probe_argument,
+ sym_compile_to_ax>: Remove fields.
+
+2013-12-06 Pierre Muller <muller@sourceware.org>
+
+ Fix completion for pascal language.
+ * p-exp.y (exp : field_exp name): Do not call mark_struct_expression.
+ (exp : field_exp name COMPLETE): New rule.
+ (exp : SIZEOF): Set correct current_type.
+ (last_was_structop): Remove static variable.
+ (yylex): Remove saw_structop local variable.
+ Adapt code to removal of variables above.
+
+2013-12-06 Joel Brobecker <brobecker@adacore.com>
+
+ * frame.c (get_prev_frame_1): Delete variable "this_id".
+ Replace its use by a call to get_frame_id.
+
+2013-12-05 Anthony Green <green@moxielogic.com>
+
+ * moxie-tdep.c (moxie_software_single_step): New function.
+ (INST2OFFSET): New helper macro.
+ (moxie_gdbarch_init): Call set_gdbarch_software_single_step.
+ (moxie_process_readu): Move this up in the file.
+
+2013-12-05 Doug Evans <xdje42@gmail.com>
+
+ * auto-load.c (load_auto_scripts_for_objfile): Add some comments.
+
+2013-12-05 Joel Brobecker <brobecker@adacore.com>
+ Tristan Gingold <gingold@adacore.com>
+
+ * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
+ Accept version 2. Ignore operations using opcode 6.
+
+2013-12-05 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lex.l (find_dot_all): Fix coding style violations.
+
+2013-12-03 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * NEWS: Add section for Intel(R) Architecture Instructions
+ Extesions mentioning MPX.
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lex.l (find_dot_all): Use strncasecmp instead of strncmp.
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (create_excep_cond_exprs): Force EXP to NULL
+ when parse_exp_1 threw an error. Add comment.
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Mention "-list-features" in the entry documenting
+ the support for the "--language" option.
+
+2013-12-03 Tom Tromey <tromey@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+ Doug Evans <dje@google.com>
+ Samuel Bronson <naesten@gmail.com>
+
+ Bring back gdb-add-index as a contrib script.
+ * contrib/gdb-add-index.sh: New file.
+ * NEWS: Note the addition.
+
+2013-12-03 Samuel Bronson <naesten@gmail.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (mi_cmd_list_features): Remove "ada-exceptions".
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c: Remove trailing spaces throughout.
+
+2013-12-03 Pedro Alves <palves@redhat.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * exceptions.h (enum_errors) <UNDEFINED_COMMAND_ERROR>: New enum.
+ * mi/mi-parse.c (mi_parse): Throw UNDEFINED_COMMAND_ERROR instead
+ of a regular error when the GDB/MI command does not exist.
+ * mi/mi-main.c (mi_cmd_list_features): Add
+ "undefined-command-error-code".
+ (mi_print_exception): Print an "undefined-command"
+ error code if EXCEPTION.ERROR is UNDEFINED_COMMAND_ERROR.
+ * NEWS: Add entry documenting the new "code" variable in
+ "^error" result records.
+
+2013-12-03 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-cmds.h (mi_cmd_info_gdb_mi_command): Declare.
+ * mi/mi-cmd-info.c (mi_cmd_info_gdb_mi_command): New function.
+ * mi/mi-cmds.c (mi_cmds): Add -info-gdb-mi-command command.
+ * mi/mi-main.c (mi_cmd_list_features): Add "info-gdb-mi-command"
+ field to output of "-list-features".
+
+ * NEWS: Add entry for new -info-gdb-mi-command.
+
+2013-12-02 Doug Evans <dje@google.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * objfiles.c (allocate_objfile): Save original_name as an absolute
+ path.
+ * objfiles.h (struct objfile): Expand comment on original_name.
+ * source.c (openp): Call gdb_abspath.
+ * utils.c (gdb_abspath): New function.
+ * utils.h (gdb_abspath): Declare.
+
+2013-12-02 Pedro Alves <palves@redhat.com>
+
+ * dcache.c (dcache_read_line): Use target_read_raw_memory.
+ * target.c (target_read_raw_memory): New function.
+ (target_read_stack, target_write_memory, target_write_raw_memory):
+ Update comment.
+ (target_read_code): Add comment.
+ * target.h (target_read_raw_memory): Declare.
+
+2013-12-02 Pedro Alves <palves@redhat.com>
+
+ * ctf.c (ctf_start): Use S_IRGRP, S_IXGRP, S_IXOTH
+ unconditionally.
+
+2013-12-02 Pedro Alves <pedro@codesourcery.com>
+ Maciej W. Rozycki <macro@codesourcery.com>
+
+ * remote.c (putpkt_for_catch_errors): Remove function.
+ (remote_kill): Handle TARGET_CLOSE_ERROR from the kill packet
+ gracefully.
+
+2013-12-02 Pedro Alves <palves@redhat.com>
+
+ PR remote/15974
+ * remote-notif.c (handle_notification): Return early if no
+ notification is found.
+
+2013-12-02 Joel Brobecker <brobecker@adacore.com>
+
+ * common/filestuff.c (fdwalk): Add "defined(RLIMIT_NOFILE)"
+ preprocessor check.
+
+2013-12-02 Joel Brobecker <brobecker@adacore.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_dirent.h".
+
+2013-12-02 Joel Brobecker <brobecker@adacore.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_stat.h".
+ * ctf.c (ctf_start): Remove obsolete comment.
+
+2013-12-02 Joel Brobecker <brobecker@adacore.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_string.h".
+
+2013-11-30 Doug Evans <xdje42@gmail.com>
+
+ * auto-load.h (script_language): New members name, auto_load_enabled.
+ Add missing comments on struct members.
+ (auto_load_objfile_script): Delete.
+ * auto-load.c: #include "cli/cli-cmds.h".
+ (auto_load_gdb_scripts_enabled): New function.
+ (script_language_gdb): Update, add new members.
+ (source_gdb_script_for_objfile): Simplify, auto-load safe-checking
+ and call to maybe_add_script moved to caller.
+ (auto_load_objfile_script_1): Auto-load safe-checking and
+ call to maybe_add_script moved here.
+ (auto_load_objfile_script): Make static. Early exit if support for
+ scripting language hasn't been compiled in, or auto-loading has been
+ disabled.
+ (source_section_scripts): Argument "source_name" renamed to
+ "section_name". All uses updated. Replace uses of AUTO_SECTION_NAME
+ with section_name. Skip loading script if support for scripting
+ language hasn't been compiled in, or auto-loading has been disabled.
+ Call language->source_script_for_objfile instead of calling
+ source_python_script_for_objfile directly.
+ (load_auto_scripts_for_objfile): Update.
+ * python/py-auto-load.c: Delete #include "cli/cli-cmds.h".
+ (gdbpy_load_auto_script_for_objfile): Delete.
+ (auto_load_python_scripts_enabled): New function.
+ (script_language_python): Update, add new members.
+ (gdbpy_script_language_defn): New function.
+ * python/python.h (gdbpy_load_auto_scripts_for_objfile): Delete.
+ (gdbpy_script_language_defn): Declare.
+
+ * auto-load.c (AUTO_SECTION_NAME): Moved here and renamed from
+ py-auto-load.c, GDBPY_AUTO_SECTION_NAME.
+ (source_section_scripts): Moved here from py-auto-load.c.
+ (auto_load_section_scripts): Ditto.
+ * python/py-auto-load.c (GDBPY_AUTO_SECTION_NAME): Moved to
+ auto-load.c, renamed AUTO_SECTION_NAME.
+ (source_section_scripts, auto_load_section_scripts): Moved to
+ auto-load.c.
+
+2013-11-30 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (getpkt_or_notif_sane_1): Fix typo "checksm".
+
+2013-11-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * gdbarch.sh: Remove include of "gdb_string.h", replace by
+ <string.h>.
+
+2013-11-29 Doug Evans <xdje42@gmail.com>
+
+ * python/py-auto-load.c (source_section_scripts): Move comment to
+ more relevant location.
+
+ Whitespace cleanup.
+ * python/py-breakpoint.c: Remove trailing whitespace.
+ * python/py-cmd.c: Ditto.
+ * python/py-evts.c: Ditto.
+ * python/py-finishbreakpoint.c: Ditto.
+ * python/py-frame.c: Ditto.
+ * python/py-function.c: Ditto.
+ * python/py-inferior.c: Ditto.
+ * python/py-infthread.c: Ditto.
+ * python/py-param.c: Ditto.
+ * python/py-prettyprint.c: Ditto.
+ * python/py-symbol.c: Ditto.
+ * python/py-type.c: Ditto.
+ * python/py-utils.c: Ditto.
+ * python/py-value.c: Ditto.
+ * python/python-internal.h: Ditto.
+ * python/python.c: Ditto.
+
+2013-11-29 Pedro Alves <palves@redhat.com>
+
+ * unwind_stop_reasons.def (UNWIND_NULL_ID): Update comment.
+
+2013-11-29 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (build_target_condition_list): Release previous
+ conditions.
+ (build_target_command_list): Release previous commands.
+ (bp_location_dtor): Release target conditions and commands.
+ * remote.c (remote_add_target_side_condition): Don't release
+ conditions.
+ (remote_add_target_side_commands): Don't release commands.
+
+2013-11-29 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * dcache.c (dcache_read_line): Use current_target.beneath
+ instead of &current_target.
+ * target.c (memory_xfer_partial_1): Factor code out to ...
+ (raw_memory_xfer_partial): ... it. New function.
+ (target_xfer_partial): Call raw_memory_xfer_partial if OBJECT
+ is TARGET_OBJECT_RAW_MEMORY.
+
+2013-11-28 Doug Evans <xdje42@gmail.com>
+
+ * breakpoint.h (gdbpy_breakpoint_object): Renamed from
+ breakpoint_object. All uses updated.
+ * python/python-internal.h (gdbpy_breakpoint_object): Renamed from
+ breakpoint_object. All uses updated.
+ * python.c (*): All uses of breakpoint_object updated.
+ * python.h (*): All uses of breakpoint_object updated.
+ * python/py-breakpoint.c (*): All uses of breakpoint_object updated.
+ * python/py-finishbreakpoint.c (*): Ditto.
+
+2013-11-28 Doug Evans <xdje42@gmail.com>
+
+ * configure.ac: Add comments delineating libpython and libmcheck.
+ * configure: Regenerate.
+
+2013-11-28 Andrew Burgess <aburgess@broadcom.com>
+ Pedro Alves <palves@redhat.com>
+
+ * valprint.c (value_check_printable): If the value is entirely
+ unavailable, print a single "<unavailable>" instead of printing
+ all subfields.
+
+2013-11-28 Pedro Alves <palves@redhat.com>
+
+ * frame.c (get_prev_frame_1) <stop_reason != UNWIND_NO_REASON>:
+ Add "set debug frame" output.
+ (frame_stop_reason_symbol_string): New function.
+
+2013-11-28 Pedro Alves <palves@redhat.com>
+
+ * frame-unwind.c (default_frame_unwind_stop_reason): Return
+ UNWIND_OUTERMOST if the frame's ID is outer_frame_id.
+ * frame.c (get_prev_frame_1): Remove outer_frame_id check.
+
+2013-11-28 Pedro Alves <palves@redhat.com>
+
+ * frame.c (get_prev_frame_1): If the frame id is outer_frame_id,
+ set the unwind stop reason to UNWIND_OUTERMOST, not
+ UNWIND_NULL_ID. Remove explicit check for sentinel frame.
+
+2013-11-28 Pedro Alves <palves@redhat.com>
+
+ * frame.c (frame_unwind_register): Say the register was "not
+ saved" instead of "optimized out".
+
+2013-11-27 Steffen Sledz <sledz@dresearch-fe.de>
+
+ PR 16152
+ * configure: Rebuild.
+ * configure.ac: Tighten cygwin detection check.
+
+2013-11-27 Pedro Alves <palves@redhat.com>
+
+ * frame-unwind.c (frame_unwind_got_optimized): Use the type of the
+ register in the previous frame's arch.
+
+2013-11-27 Pedro Alves <palves@redhat.com>
+
+ * frame-unwind.c (frame_unwind_got_optimized): Return
+ an lval_register value instead of a not_lval value.
+
+2013-11-27 Andrew Burgess <aburgess@broadcom.com>
+
+ * frame.c: Include "valprint.h".
+ (frame_unwind_register_value): Use value_optimized_out.
+ * value.c (value_fetch_lazy): Likewise.
+
+2013-11-26 Andrew Burgess <aburgess@broadcom.com>
+
+ * value.c (allocate_optimized_out_value): Mark value as non-lazy.
+
+2013-11-26 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2-frame.c (dwarf2_frame_cache): Revert patch from
+ 2013-11-22.
+
+2013-11-26 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i386-xstate.h (I386_XSTATE_MPX): New Macro.
+ (I386_XSTATE_MPX_MASK): Makes use of I386_XSTATE_MPX.
+ (HAS_MPX): New macro.
+ (HAS_AVX): New macro.
+ (I386_XSTATE_SIZE): Uses HAS_MPX and HAS_AVX.
+
+2013-11-25 Keith Seitz <keiths@redhat.com>
+
+ PR c++/14819
+ * c-exp.y (classify_inner_name): If no matching symbol was
+ found, try looking up the token as a base class.
+ Likewise if a constructor was found.
+ * cp-namespace.c (find_type_baseclass_by_name): New function.
+ * cp-support.h (find_type_baseclass_by_name): Declare.
+ * valops.c (value_struct_elt_for_reference): If we get
+ a non-static field, try to get a value based on the
+ current instance, if any.
+
+2013-11-24 Yao Qi <yao@codesourcery.com>
+
+ * disasm.c (dis_asm_read_memory): Call target_read_code
+ instead of target_read_memory.
+
+2013-11-24 Yao Qi <yao@codesourcery.com>
+
+ * NEWS: Add note on new "set code-cache" option.
+ * target-dcache.c (code_cache_enabled_1): New variable.
+ (code_cache_enabled): New variable.
+ (show_code_cache, set_code_cache): New function.
+ (code_cache_enabled_p): New function.
+ (_initialize_target_dcache): Register command.
+ * target-dcache.h (code_cache_enabled_p): Declare.
+ * target.c (memory_xfer_partial_1):Handle
+ TARGET_OBJECT_CODE_MEMORY and code_cache_enabled.
+ (target_read_code): New function.
+ * target.h (enum target_object) <TARGET_OBJECT_CODE_MEMORY>:
+ New.
+ (target_read_code): Declare.
+
+2013-11-24 Yao Qi <yao@codesourcery.com>
+
+ * target-dcache.c (stack_cache_enabled_p_1): Rename to ...
+ (stack_cache_enabled_1): ... this. New variable.
+ (stack_cache_enabled_p): Rename to ...
+ (stack_cache_enabled): ... this. New variable.
+ (set_stack_cache_enabled_p): Rename to ...
+ (set_stack_cache): ... this. Update caller.
+ (show_stack_cache_enabled_p): Rename to ...
+ (show_stack_cache): ... this. Update caller.
+ (stack_cache_enabled): Rename to ...
+ (stack_cache_enabled_p): ... this. Update caller.
+ (_initialize_target_dcache): Replace "data cache" with
+ "target memory cache".
+ * target-dcache.h (stack_cache_enabled): Remove declaration.
+ (stack_cache_enabled_p): Add declaration.
+
+2013-11-23 Doug Evans <xdje42@gmail.com>
+
+ * python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR,
+ superfluous.
+
+2013-11-23 Doug Evans <xdje42@gmail.com>
+
+ * python/py-frame.c (frapy_block): Fix error message text.
+
+2013-11-23 Doug Evans <xdje42@gmail.com>
+
+ * cli/cli-script.c (multi_line_command_p): New function.
+ (recurse_read_control_structure, read_command_lines_1): Call it.
+ (execute_control_command): Consistently have a blank line between
+ each case.
+
+2013-11-22 Sterling Augustine <saugustine@google.com>
+
+ PR gdb/16196:
+ * valprint.c (read_string): Set new variable fetchlen based on
+ fetchlimit and size. Use it in call to partial_memory_read.
+ Update comment.
+
+2013-11-22 Tom Tromey <tromey@redhat.com>
+
+ PR backtrace/16155:
+ * dwarf2-frame.c (dwarf2_frame_cache): Set undefined_retaddr if
+ the return address column is unspecified.
+
+2013-11-22 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR backtrace/16155
+ * value.c (value_fetch_lazy): Internal error if
+ get_frame_register_value returns the same register.
+
+2013-11-22 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * frame.c (frame_stash_add): Now returns whether a frame with the
+ same ID was already known.
+ (compute_frame_id): New function, factored out from get_frame_id.
+ (get_frame_id): No longer lazilly compute the frame id here.
+ (get_prev_frame_if_no_cycle): New function. Detects wider stack
+ cycles.
+ (get_prev_frame_1): Use it instead of get_prev_frame_raw directly,
+ and checking for stack cycles here.
+
+2013-11-22 Pedro Alves <palves@redhat.com>
+
+ PR 16155
+ * frame.c (get_prev_frame_1): Do the UNWIND_SAME_ID check between
+ this frame and the new previous frame, not between this frame and
+ the next frame.
+
+2013-11-22 Pedro Alves <palves@redhat.com>
+
+ PR 16155
+ * dwarf2-frame.c (struct dwarf2_frame_cache)
+ <checked_tailcall_bottom, entry_cfa_sp_offset,
+ entry_cfa_sp_offset_p>: New fields.
+ (dwarf2_frame_cache): Adjust to use the new cache fields instead
+ of locals. Don't call dwarf2_tailcall_sniffer_first here.
+ (dwarf2_frame_prev_register): Call it here, but only once.
+
+2013-11-21 Doug Evans <xdje42@gmail.com>
+
+ * gdbtypes.c: #include bcache.h, dwarf2loc.h.
+ (type_equality_entry): Move here from python/py-type.c.
+ (type_equality_entry_d): Ditto.
+ (compare_maybe_null_strings, check_types_equal): Ditto.
+ (check_types_worklist, types_deeply_equal): Ditto.
+ * gdbtypes.h (types_deeply_equal): Declare.
+ * python/py-type.c: Remove inclusion of bcache.h, dwarf2loc.h.
+ (typy_richcompare): Update.
+
+2013-11-20 Joel Brobecker <brobecker@adacore.com>
+
+ * python/py-value.c (is_intlike): Delete.
+ (valpy_int): Replace use of CHECK_TYPEDEF and is_intlike
+ by use of is_integral_type.
+ (valpy_long): Replace use of CHECK_TYPEDEF and is_intlike
+ by use of is_integral_type and check for TYPE_CODE_PTR.
+
+2013-11-20 Tom Tromey <tromey@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Remove
+ strerror module.
+ * gnulib/aclocal.m4: Update.
+ * gnulib/config.in: Update.
+ * gnulib/configure: Update.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/errno.in.h: Remove.
+ * gnulib/import/intprops.h: Remove.
+ * gnulib/import/m4/errno_h.m4: Remove.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/strerror.m4: Remove.
+ * gnulib/import/m4/sys_socket_h.m4: Remove.
+ * gnulib/import/strerror-override.c: Remove.
+ * gnulib/import/strerror-override.h: Remove.
+ * gnulib/import/strerror.c: Remove.
+ * gnulib/update-gnulib.sh: Update.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * target-dcache.c (target_dcache_get_or_init): Call
+ set_address_space_data if 'dcache' is NULL.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * common/i386-gcc-cpuid.h (bit_MPX): Synchronize with gcc file.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * python/lib/gdb/command/bound_register.py: New file.
+ * data-directory/Makefile.in: Copy bond_register.py to the right path
+ to be initialized at gdb startup.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset):
+ Add MPX registers.
+ (amd64_linux_read_description): Add initialization for MPX and
+ AVX independently.
+ * amd64-linux-tdep.c: Includes features/i386/amd64-mpx-linux.c.
+ (amd64_linux_gregset_reg_offset): Add MPX registers.
+ (amd64_linux_core_read_description): Add initialization for MPX
+ registers.
+ (_initialize_amd64_linux_tdep): Initialize MPX targets.
+ * amd64-linux-tdep.h (AMD64_LINUX_RAX_REGNUM): Set it to the last
+ register on the list.
+ (tdesc_amd64_mpx_linux) Add new target for MPX.
+ * amd64-tdep.c: Includes features/i386/amd64-mpx.c.
+ (amd64_mpx_names): MPX register names.
+ (amd64_init_abi): Add MPX register while initializing the ABI.
+ (_initialize_amd64_tdep): Initialize MPX targets.
+ * amd64-tdep.h (amd64_regnum): Add MPX registers.
+ (AMD64_NUM_REGS): Set number of registers taking MPX into account.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Add MPX
+ registers on the range of registers to be read from
+ xsave buffer.
+ (i386_linux_read_description): Add case for MPX.
+ * i386-linux-tdep.c: Include features/i386/i386-mpx-linux.c.
+ (i386_linux_gregset_reg_offset): Add MPX registers.
+ (i386_linux_core_read_description): Initialize also MPX.
+ (_initialize_i386_linux_tdep): Add mpx initialization.
+ * i386-tdep.h (gdbarch_tdep): Add fields bnd0r_regnum, bnd0_regnum,
+ mpx_register_names.
+ (i386_regnum): Add MPX registers.
+ (I386_MPX_NUM_REGS): New macro.
+ (i386_bnd_regnum_p): New function.
+ * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set
+ number of registers to be the number of BNDSTATUS.
+ (tdesc_i386_mpx_linux): Add description for MPX Linux registers.
+ * i386-tdep.c: Include features/i386/i386-mpx.c.
+ (i386_mpx_names): Add MPX register names array.
+ (i386_bnd_names): Add bnd pseudo register names array.
+ (i386_bndr_regnum_p): Lookup register numbers for bnd raw
+ registers.
+ (i386_bndr_regnum_p): Lookup register numbers for bnd raw registers.
+ (386_mpx_ctrl_regnum_p): Lookup register numbers for MPX control
+ registers.
+ (i386_bnd_type): New function.
+ (i386_pseudo_register_type): Use i386_bnd_type for bnd pseudo
+ register types.
+ (i386_pseudo_register_read_into_value): Add bnd case.
+ (i386_pseudo_register_write): Add bnd pseudo registers.
+ (i386_register_reggroup_p): Add MPX register to the group all.
+ (i386_validate_tdesc_p): Add MPX to the target description
+ validation.
+ (i386_pseudo_register_name): Add bnd pseudo registers.
+ (i386_gdbarch_init): Add MPX for architecture initialization.
+ (_initia_initialize_i386_tdep): Add mpx initialization.
+ * i387-tdep.c (xsave_mpx_offset): New vector for MPX offsets on
+ XSAVE buffer.
+ (XSAVE_MPX_ADDR): New macro.
+ (i387_supply_xsave): Add MPX case.
+ (i387_collect_xsave): Add MPX case.
+ * i387-tdep.h (I387_BND0R_REGNUM): New macro.
+ (I387_BNDCFGU_REGNUM): New macro.
+ (I387_NUM_MPX_REGS): New macro.
+ (I387_NUM_BND_REGS): New macro.
+ (I387_NUM_MPX_CTRL_REGS): New macro.
+ (I387_MPXEND_REGNUM): New macro.
+ * common/i386-xstate.h (I386_XSTATE_BNDREGS): New macro.
+ (I386_XSTATE_BNDCFG): Likewise.
+ (I386_XSTATE_MPX_MASK): Likewise.
+ (I386_XSTATE_ALL_MASK): New macro represents flags for all states.
+ (I386_XSTATE_BNDREGS_SIZE): New macro.
+ (I386_XSTATE_BNDCFG_SIZE): Likewise.
+ (I386_XSTATE_SIZE): Adapt for MPX.
+ (I386_XSTATE_MAX_SIZE): Likewise.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * features/i386/Makefile: Adapts for using MPX registers.
+ * features/i386/32bit-mpx.xml: New file.
+ * features/i386/64bit-mpx.xml: Likewise.
+ * features/i386/amd64-mpx-linux.c: Likewise.
+ * features/i386/amd64-mpx-linux.xml: Likewise.
+ * features/i386/amd64-mpx.c: Likewise.
+ * features/i386/amd64-mpx.xml: Likewise.
+ * features/i386/i386-mpx-linux.c: Likewise.
+ * features/i386/i386-mpx-linux.xml: Likewise.
+ * features/i386/i386-mpx.c: Likewise.
+ * features/i386/i386-mpx.xml: Likewise.
+ * regformats/i386/amd64-mpx-linux.dat: New file.
+ * regformats/i386/amd64-mpx.dat: Likewise.
+ * regformats/i386/i386-mpx-linux.dat: Likewise.
+ * regformats/i386/i386-mpx.dat: Likewise.
+
+2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * target-descriptions.c (maint_print_maint_print_c_tdesc_cmd):
+ Modified logic of creating a bitfield to be in sync with
+ tdesc_gdb_type.
+
+2013-11-20 Will Newton <will.newton@linaro.org>
+
+ * arm-tdep.c (arm_get_next_pc): Remove "Infinite loop detected"
+ error message.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * progspace.h (struct address_space_data): Declare.
+ * target-dcache.c: Include "progspace.h".
+ (target_dache): Remove.
+ (target_dcache_aspace_key): New.
+ (target_dcache_cleanup): New function.
+ (target_dcache_init_p): Get data through
+ target_dcache_aspace_key.
+ (target_dcache_invalidate): Likewise.
+ (target_dcache_get): Likewise.
+ (target_dcache_get_or_init): Likewise.
+ (_initialize_target_dcache): Initialize
+ target_dcache_aspace_key.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * progspace.c (struct address_space): Update comments.
+ <REGISTRY_FIELDS>: New fields.
+ DEFINE_REGISTRY for address_space.
+ (new_address_space): Call address_space_alloc_data.
+ (free_address_space): Call address_space_free_data.
+ * progspace.h: Use DECLARE_REGISTRY.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (SFILES):Add target-dcache.c.
+ (HFILES_NO_SRCDIR): Add target-dcache.h.
+ (COMMON_OBS): Add target-dcache.o.
+ * dcache.c: Remove inclusion to "target.h". Include
+ "target-dcache.h".
+ * memattr.c: Include "target-dcache.h".
+ * top.c: Likewise.
+ * tracepoint.c: Likewise.
+ * target.c: (stack_cache_enabled_p_1): Move to
+ target-dcache.c.
+ (stack_cache_enabled_p): Likewise.
+ (set_stack_cache_enabled_p): Likewise.
+ (show_stack_cache_enabled_p): Likewise.
+ (target_dcache, target_dcache_init_p): Likewise.
+ (target_dcache_invalidate): Likewise.
+ (target_dcache_get, target_dcache_get_or_init): Likewise.
+ (memory_xfer_partial_1): Call function stack_cache_enabled.
+ (initialize_target): Move code to target-dcache.c.
+ * target.h (target_dcache_invalidate): Move to
+ target-dcache.h.
+ (target_dcache_get): Likewise.
+ * target-dcache.c: New.
+ * target-dcache.h: New.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * target.c (memory_xfer_partial_1): Update 'target_dcache' if
+ it is initialized.
+
+2013-11-20 Yao Qi <yao@codesourcery.com>
+
+ * dcache.c (last_cache): Remove.
+ (dcache_free, dcache_init): Update.
+ (dcache_update):
+ (dcache_print_line): Add parameter 'dcache'. Replace
+ 'target_dcache' with 'dcache'.
+ (dcache_info): Move code to dcache_info_1. Call
+ 'dcache_info_1'.
+ (dcache_info_1): New function.
+ (set_dcache_size): Call target_dcache_invalidate.
+ (set_dcache_line_size): Call target_dcache_invalidate.
+ * target.c (target_dcache_init_p): New function.
+ (target_dcache_invalidate): Check target_dcache_init_p first.
+ (target_dcache_get, target_dcache_get_or_init): New function.
+ (memory_xfer_partial_1): Adjust.
+ (initialize_target): Don't initialize 'target_dcache'.
+ * target.h (struct dcache_struct): Declare.
+ (target_dcache_get): Declare.
+
+2013-11-19 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (varobj_get_type): Fix typo.
+
+2013-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * python/py-value.c (is_intlike): Add TYPE_CODE_RANGE handling.
+
+2013-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * contrib/ari/gdb_ari.sh: Remove checks for "dirent.h" and
+ "stat.h".
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * common/gdb_stat.h: Remove.
+ * ada-lang.c: Use sys/stat.h, not gdb_stat.h.
+ * common/filestuff.c: Use sys/stat.h, not gdb_stat.h.
+ * common/linux-osdata.c: Use sys/stat.h, not gdb_stat.h.
+ * corefile.c: Use sys/stat.h, not gdb_stat.h.
+ * ctf.c: Use sys/stat.h, not gdb_stat.h.
+ * darwin-nat.c: Use sys/stat.h, not gdb_stat.h.
+ * dbxread.c: Use sys/stat.h, not gdb_stat.h.
+ * dwarf2read.c: Use sys/stat.h, not gdb_stat.h.
+ * exec.c: Use sys/stat.h, not gdb_stat.h.
+ * gdbserver/linux-low.c: Use sys/stat.h, not gdb_stat.h.
+ * gdbserver/remote-utils.c: Use sys/stat.h, not gdb_stat.h.
+ * inf-child.c: Use sys/stat.h, not gdb_stat.h.
+ * jit.c: Use sys/stat.h, not gdb_stat.h.
+ * linux-nat.c: Use sys/stat.h, not gdb_stat.h.
+ * m68klinux-nat.c: Use sys/stat.h, not gdb_stat.h.
+ * main.c: Use sys/stat.h, not gdb_stat.h.
+ * mdebugread.c: Use sys/stat.h, not gdb_stat.h.
+ * mi/mi-cmd-env.c: Use sys/stat.h, not gdb_stat.h.
+ * nto-tdep.c: Use sys/stat.h, not gdb_stat.h.
+ * objfiles.c: Use sys/stat.h, not gdb_stat.h.
+ * procfs.c: Use sys/stat.h, not gdb_stat.h.
+ * remote-fileio.c: Use sys/stat.h, not gdb_stat.h.
+ * remote-mips.c: Use sys/stat.h, not gdb_stat.h.
+ * remote.c: Use sys/stat.h, not gdb_stat.h.
+ * rs6000-nat.c: Use sys/stat.h, not gdb_stat.h.
+ * sol-thread.c: Use sys/stat.h, not gdb_stat.h.
+ * solib-spu.c: Use sys/stat.h, not gdb_stat.h.
+ * source.c: Use sys/stat.h, not gdb_stat.h.
+ * symfile.c: Use sys/stat.h, not gdb_stat.h.
+ * symmisc.c: Use sys/stat.h, not gdb_stat.h.
+ * symtab.c: Use sys/stat.h, not gdb_stat.h.
+ * top.c: Use sys/stat.h, not gdb_stat.h.
+ * xcoffread.c: Use sys/stat.h, not gdb_stat.h.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ sys_stat.
+ * gnulib/aclocal.m4: Update.
+ * gnulib/config.in: Update.
+ * gnulib/configure: Update.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/sys_stat_h.m4: New.
+ * gnulib/import/m4/time_h.m4: New.
+ * gnulib/import/sys_stat.in.h: New.
+ * gnulib/import/time.in.h: New.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuild.
+ * configure.ac: Remove check of HAVE_SYS_TYPES_H.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuild.
+ * configure.ac: Don't check for unistd.h.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuild.
+ * configure.ac: Don't check for stdlib.h
+ * defs.h: Include stdlib.h unconditionally.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * config.in: Rebuild.
+ * configure: Rebuild.
+ * configure.ac: Don't check for stddef.h.
+ * defs.h: Unconditionally include stddef.h. Remove duplicate
+ inclusion.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * common/common.m4 (GDB_AC_COMMON): Don't use AC_HEADER_DIRENT.
+ * common/gdb_dirent.h: Remove.
+ * common/filestuff.c: Use dirent.h.
+ * common/linux-osdata.c: Use dirent.h.
+ (NAMELEN): Define.
+ * config.in: Rebuild.
+ * configure: Rebuild.
+ * configure.ac: Don't use AC_HEADER_DIRENT.
+ * linux-fork.c: Use dirent.h
+ * linux-nat.c: Use dirent.h.
+ * nto-procfs.c: Use dirent.h.
+ * procfs.c: Use dirent.h.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirent.
+ * gnulib/aclocal.m4: Update.
+ * gnulib/config.in: Update.
+ * gnulib/configure: Update.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/dirent.in.h: New.
+ * gnulib/import/m4/dirent_h.m4: New.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuild.
+ * common/common.m4 (GDB_AC_COMMON): Don't check for string.h or
+ strings.h.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * common/gdb_string.h: Remove.
+ * aarch64-tdep.c: Use string.h, not gdb_string.h.
+ * ada-exp.y: Use string.h, not gdb_string.h.
+ * ada-lang.c: Use string.h, not gdb_string.h.
+ * ada-lex.l: Use string.h, not gdb_string.h.
+ * ada-typeprint.c: Use string.h, not gdb_string.h.
+ * ada-valprint.c: Use string.h, not gdb_string.h.
+ * aix-thread.c: Use string.h, not gdb_string.h.
+ * alpha-linux-tdep.c: Use string.h, not gdb_string.h.
+ * alpha-mdebug-tdep.c: Use string.h, not gdb_string.h.
+ * alpha-nat.c: Use string.h, not gdb_string.h.
+ * alpha-osf1-tdep.c: Use string.h, not gdb_string.h.
+ * alpha-tdep.c: Use string.h, not gdb_string.h.
+ * alphanbsd-tdep.c: Use string.h, not gdb_string.h.
+ * amd64-dicos-tdep.c: Use string.h, not gdb_string.h.
+ * amd64-linux-nat.c: Use string.h, not gdb_string.h.
+ * amd64-linux-tdep.c: Use string.h, not gdb_string.h.
+ * amd64-nat.c: Use string.h, not gdb_string.h.
+ * amd64-sol2-tdep.c: Use string.h, not gdb_string.h.
+ * amd64fbsd-tdep.c: Use string.h, not gdb_string.h.
+ * amd64obsd-tdep.c: Use string.h, not gdb_string.h.
+ * arch-utils.c: Use string.h, not gdb_string.h.
+ * arm-linux-nat.c: Use string.h, not gdb_string.h.
+ * arm-linux-tdep.c: Use string.h, not gdb_string.h.
+ * arm-tdep.c: Use string.h, not gdb_string.h.
+ * arm-wince-tdep.c: Use string.h, not gdb_string.h.
+ * armbsd-tdep.c: Use string.h, not gdb_string.h.
+ * armnbsd-nat.c: Use string.h, not gdb_string.h.
+ * armnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * armobsd-tdep.c: Use string.h, not gdb_string.h.
+ * avr-tdep.c: Use string.h, not gdb_string.h.
+ * ax-gdb.c: Use string.h, not gdb_string.h.
+ * ax-general.c: Use string.h, not gdb_string.h.
+ * bcache.c: Use string.h, not gdb_string.h.
+ * bfin-tdep.c: Use string.h, not gdb_string.h.
+ * breakpoint.c: Use string.h, not gdb_string.h.
+ * build-id.c: Use string.h, not gdb_string.h.
+ * buildsym.c: Use string.h, not gdb_string.h.
+ * c-exp.y: Use string.h, not gdb_string.h.
+ * c-lang.c: Use string.h, not gdb_string.h.
+ * c-typeprint.c: Use string.h, not gdb_string.h.
+ * c-valprint.c: Use string.h, not gdb_string.h.
+ * charset.c: Use string.h, not gdb_string.h.
+ * cli-out.c: Use string.h, not gdb_string.h.
+ * cli/cli-cmds.c: Use string.h, not gdb_string.h.
+ * cli/cli-decode.c: Use string.h, not gdb_string.h.
+ * cli/cli-dump.c: Use string.h, not gdb_string.h.
+ * cli/cli-interp.c: Use string.h, not gdb_string.h.
+ * cli/cli-logging.c: Use string.h, not gdb_string.h.
+ * cli/cli-script.c: Use string.h, not gdb_string.h.
+ * cli/cli-setshow.c: Use string.h, not gdb_string.h.
+ * cli/cli-utils.c: Use string.h, not gdb_string.h.
+ * coffread.c: Use string.h, not gdb_string.h.
+ * common/common-utils.c: Use string.h, not gdb_string.h.
+ * common/filestuff.c: Use string.h, not gdb_string.h.
+ * common/linux-procfs.c: Use string.h, not gdb_string.h.
+ * common/linux-ptrace.c: Use string.h, not gdb_string.h.
+ * common/signals.c: Use string.h, not gdb_string.h.
+ * common/vec.h: Use string.h, not gdb_string.h.
+ * core-regset.c: Use string.h, not gdb_string.h.
+ * corefile.c: Use string.h, not gdb_string.h.
+ * corelow.c: Use string.h, not gdb_string.h.
+ * cp-abi.c: Use string.h, not gdb_string.h.
+ * cp-support.c: Use string.h, not gdb_string.h.
+ * cp-valprint.c: Use string.h, not gdb_string.h.
+ * cris-tdep.c: Use string.h, not gdb_string.h.
+ * d-lang.c: Use string.h, not gdb_string.h.
+ * dbxread.c: Use string.h, not gdb_string.h.
+ * dcache.c: Use string.h, not gdb_string.h.
+ * demangle.c: Use string.h, not gdb_string.h.
+ * dicos-tdep.c: Use string.h, not gdb_string.h.
+ * disasm.c: Use string.h, not gdb_string.h.
+ * doublest.c: Use string.h, not gdb_string.h.
+ * dsrec.c: Use string.h, not gdb_string.h.
+ * dummy-frame.c: Use string.h, not gdb_string.h.
+ * dwarf2-frame.c: Use string.h, not gdb_string.h.
+ * dwarf2loc.c: Use string.h, not gdb_string.h.
+ * dwarf2read.c: Use string.h, not gdb_string.h.
+ * elfread.c: Use string.h, not gdb_string.h.
+ * environ.c: Use string.h, not gdb_string.h.
+ * eval.c: Use string.h, not gdb_string.h.
+ * event-loop.c: Use string.h, not gdb_string.h.
+ * exceptions.c: Use string.h, not gdb_string.h.
+ * exec.c: Use string.h, not gdb_string.h.
+ * expprint.c: Use string.h, not gdb_string.h.
+ * f-exp.y: Use string.h, not gdb_string.h.
+ * f-lang.c: Use string.h, not gdb_string.h.
+ * f-typeprint.c: Use string.h, not gdb_string.h.
+ * f-valprint.c: Use string.h, not gdb_string.h.
+ * fbsd-nat.c: Use string.h, not gdb_string.h.
+ * findcmd.c: Use string.h, not gdb_string.h.
+ * findvar.c: Use string.h, not gdb_string.h.
+ * fork-child.c: Use string.h, not gdb_string.h.
+ * frame.c: Use string.h, not gdb_string.h.
+ * frv-linux-tdep.c: Use string.h, not gdb_string.h.
+ * frv-tdep.c: Use string.h, not gdb_string.h.
+ * gdb.c: Use string.h, not gdb_string.h.
+ * gdb_bfd.c: Use string.h, not gdb_string.h.
+ * gdbarch.c: Use string.h, not gdb_string.h.
+ * gdbtypes.c: Use string.h, not gdb_string.h.
+ * gnu-nat.c: Use string.h, not gdb_string.h.
+ * gnu-v2-abi.c: Use string.h, not gdb_string.h.
+ * gnu-v3-abi.c: Use string.h, not gdb_string.h.
+ * go-exp.y: Use string.h, not gdb_string.h.
+ * go-lang.c: Use string.h, not gdb_string.h.
+ * go32-nat.c: Use string.h, not gdb_string.h.
+ * hppa-hpux-tdep.c: Use string.h, not gdb_string.h.
+ * hppa-linux-nat.c: Use string.h, not gdb_string.h.
+ * hppanbsd-tdep.c: Use string.h, not gdb_string.h.
+ * hppaobsd-tdep.c: Use string.h, not gdb_string.h.
+ * i386-cygwin-tdep.c: Use string.h, not gdb_string.h.
+ * i386-dicos-tdep.c: Use string.h, not gdb_string.h.
+ * i386-linux-nat.c: Use string.h, not gdb_string.h.
+ * i386-linux-tdep.c: Use string.h, not gdb_string.h.
+ * i386-nto-tdep.c: Use string.h, not gdb_string.h.
+ * i386-sol2-tdep.c: Use string.h, not gdb_string.h.
+ * i386-tdep.c: Use string.h, not gdb_string.h.
+ * i386bsd-tdep.c: Use string.h, not gdb_string.h.
+ * i386gnu-nat.c: Use string.h, not gdb_string.h.
+ * i386nbsd-tdep.c: Use string.h, not gdb_string.h.
+ * i386obsd-tdep.c: Use string.h, not gdb_string.h.
+ * i387-tdep.c: Use string.h, not gdb_string.h.
+ * ia64-libunwind-tdep.c: Use string.h, not gdb_string.h.
+ * ia64-linux-nat.c: Use string.h, not gdb_string.h.
+ * inf-child.c: Use string.h, not gdb_string.h.
+ * inf-ptrace.c: Use string.h, not gdb_string.h.
+ * inf-ttrace.c: Use string.h, not gdb_string.h.
+ * infcall.c: Use string.h, not gdb_string.h.
+ * infcmd.c: Use string.h, not gdb_string.h.
+ * inflow.c: Use string.h, not gdb_string.h.
+ * infrun.c: Use string.h, not gdb_string.h.
+ * interps.c: Use string.h, not gdb_string.h.
+ * iq2000-tdep.c: Use string.h, not gdb_string.h.
+ * irix5-nat.c: Use string.h, not gdb_string.h.
+ * jv-exp.y: Use string.h, not gdb_string.h.
+ * jv-lang.c: Use string.h, not gdb_string.h.
+ * jv-typeprint.c: Use string.h, not gdb_string.h.
+ * jv-valprint.c: Use string.h, not gdb_string.h.
+ * language.c: Use string.h, not gdb_string.h.
+ * linux-fork.c: Use string.h, not gdb_string.h.
+ * linux-nat.c: Use string.h, not gdb_string.h.
+ * lm32-tdep.c: Use string.h, not gdb_string.h.
+ * m2-exp.y: Use string.h, not gdb_string.h.
+ * m2-typeprint.c: Use string.h, not gdb_string.h.
+ * m32c-tdep.c: Use string.h, not gdb_string.h.
+ * m32r-linux-nat.c: Use string.h, not gdb_string.h.
+ * m32r-linux-tdep.c: Use string.h, not gdb_string.h.
+ * m32r-rom.c: Use string.h, not gdb_string.h.
+ * m32r-tdep.c: Use string.h, not gdb_string.h.
+ * m68hc11-tdep.c: Use string.h, not gdb_string.h.
+ * m68k-tdep.c: Use string.h, not gdb_string.h.
+ * m68kbsd-tdep.c: Use string.h, not gdb_string.h.
+ * m68klinux-nat.c: Use string.h, not gdb_string.h.
+ * m68klinux-tdep.c: Use string.h, not gdb_string.h.
+ * m88k-tdep.c: Use string.h, not gdb_string.h.
+ * macrocmd.c: Use string.h, not gdb_string.h.
+ * main.c: Use string.h, not gdb_string.h.
+ * mdebugread.c: Use string.h, not gdb_string.h.
+ * mem-break.c: Use string.h, not gdb_string.h.
+ * memattr.c: Use string.h, not gdb_string.h.
+ * memory-map.c: Use string.h, not gdb_string.h.
+ * mep-tdep.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmd-break.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmd-disas.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmd-env.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmd-stack.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmd-var.c: Use string.h, not gdb_string.h.
+ * mi/mi-cmds.c: Use string.h, not gdb_string.h.
+ * mi/mi-console.c: Use string.h, not gdb_string.h.
+ * mi/mi-getopt.c: Use string.h, not gdb_string.h.
+ * mi/mi-interp.c: Use string.h, not gdb_string.h.
+ * mi/mi-main.c: Use string.h, not gdb_string.h.
+ * mi/mi-parse.c: Use string.h, not gdb_string.h.
+ * microblaze-rom.c: Use string.h, not gdb_string.h.
+ * microblaze-tdep.c: Use string.h, not gdb_string.h.
+ * mingw-hdep.c: Use string.h, not gdb_string.h.
+ * minidebug.c: Use string.h, not gdb_string.h.
+ * minsyms.c: Use string.h, not gdb_string.h.
+ * mips-irix-tdep.c: Use string.h, not gdb_string.h.
+ * mips-linux-tdep.c: Use string.h, not gdb_string.h.
+ * mips-tdep.c: Use string.h, not gdb_string.h.
+ * mips64obsd-tdep.c: Use string.h, not gdb_string.h.
+ * mipsnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * mipsread.c: Use string.h, not gdb_string.h.
+ * mn10300-linux-tdep.c: Use string.h, not gdb_string.h.
+ * mn10300-tdep.c: Use string.h, not gdb_string.h.
+ * monitor.c: Use string.h, not gdb_string.h.
+ * moxie-tdep.c: Use string.h, not gdb_string.h.
+ * mt-tdep.c: Use string.h, not gdb_string.h.
+ * nbsd-tdep.c: Use string.h, not gdb_string.h.
+ * nios2-linux-tdep.c: Use string.h, not gdb_string.h.
+ * nto-procfs.c: Use string.h, not gdb_string.h.
+ * nto-tdep.c: Use string.h, not gdb_string.h.
+ * objc-lang.c: Use string.h, not gdb_string.h.
+ * objfiles.c: Use string.h, not gdb_string.h.
+ * opencl-lang.c: Use string.h, not gdb_string.h.
+ * osabi.c: Use string.h, not gdb_string.h.
+ * osdata.c: Use string.h, not gdb_string.h.
+ * p-exp.y: Use string.h, not gdb_string.h.
+ * p-lang.c: Use string.h, not gdb_string.h.
+ * p-typeprint.c: Use string.h, not gdb_string.h.
+ * parse.c: Use string.h, not gdb_string.h.
+ * posix-hdep.c: Use string.h, not gdb_string.h.
+ * ppc-linux-nat.c: Use string.h, not gdb_string.h.
+ * ppc-sysv-tdep.c: Use string.h, not gdb_string.h.
+ * ppcfbsd-tdep.c: Use string.h, not gdb_string.h.
+ * ppcnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * ppcobsd-tdep.c: Use string.h, not gdb_string.h.
+ * printcmd.c: Use string.h, not gdb_string.h.
+ * procfs.c: Use string.h, not gdb_string.h.
+ * prologue-value.c: Use string.h, not gdb_string.h.
+ * python/py-auto-load.c: Use string.h, not gdb_string.h.
+ * python/py-gdb-readline.c: Use string.h, not gdb_string.h.
+ * ravenscar-thread.c: Use string.h, not gdb_string.h.
+ * regcache.c: Use string.h, not gdb_string.h.
+ * registry.c: Use string.h, not gdb_string.h.
+ * remote-fileio.c: Use string.h, not gdb_string.h.
+ * remote-m32r-sdi.c: Use string.h, not gdb_string.h.
+ * remote-mips.c: Use string.h, not gdb_string.h.
+ * remote-sim.c: Use string.h, not gdb_string.h.
+ * remote.c: Use string.h, not gdb_string.h.
+ * reverse.c: Use string.h, not gdb_string.h.
+ * rs6000-aix-tdep.c: Use string.h, not gdb_string.h.
+ * ser-base.c: Use string.h, not gdb_string.h.
+ * ser-go32.c: Use string.h, not gdb_string.h.
+ * ser-mingw.c: Use string.h, not gdb_string.h.
+ * ser-pipe.c: Use string.h, not gdb_string.h.
+ * ser-tcp.c: Use string.h, not gdb_string.h.
+ * ser-unix.c: Use string.h, not gdb_string.h.
+ * serial.c: Use string.h, not gdb_string.h.
+ * sh-tdep.c: Use string.h, not gdb_string.h.
+ * sh64-tdep.c: Use string.h, not gdb_string.h.
+ * shnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * skip.c: Use string.h, not gdb_string.h.
+ * sol-thread.c: Use string.h, not gdb_string.h.
+ * solib-dsbt.c: Use string.h, not gdb_string.h.
+ * solib-frv.c: Use string.h, not gdb_string.h.
+ * solib-osf.c: Use string.h, not gdb_string.h.
+ * solib-spu.c: Use string.h, not gdb_string.h.
+ * solib-target.c: Use string.h, not gdb_string.h.
+ * solib.c: Use string.h, not gdb_string.h.
+ * somread.c: Use string.h, not gdb_string.h.
+ * source.c: Use string.h, not gdb_string.h.
+ * sparc-nat.c: Use string.h, not gdb_string.h.
+ * sparc-sol2-tdep.c: Use string.h, not gdb_string.h.
+ * sparc-tdep.c: Use string.h, not gdb_string.h.
+ * sparc64-tdep.c: Use string.h, not gdb_string.h.
+ * sparc64fbsd-tdep.c: Use string.h, not gdb_string.h.
+ * sparc64nbsd-tdep.c: Use string.h, not gdb_string.h.
+ * sparcnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * spu-linux-nat.c: Use string.h, not gdb_string.h.
+ * spu-multiarch.c: Use string.h, not gdb_string.h.
+ * spu-tdep.c: Use string.h, not gdb_string.h.
+ * stabsread.c: Use string.h, not gdb_string.h.
+ * stack.c: Use string.h, not gdb_string.h.
+ * std-regs.c: Use string.h, not gdb_string.h.
+ * symfile.c: Use string.h, not gdb_string.h.
+ * symmisc.c: Use string.h, not gdb_string.h.
+ * symtab.c: Use string.h, not gdb_string.h.
+ * target.c: Use string.h, not gdb_string.h.
+ * thread.c: Use string.h, not gdb_string.h.
+ * tilegx-linux-nat.c: Use string.h, not gdb_string.h.
+ * tilegx-tdep.c: Use string.h, not gdb_string.h.
+ * top.c: Use string.h, not gdb_string.h.
+ * tracepoint.c: Use string.h, not gdb_string.h.
+ * tui/tui-command.c: Use string.h, not gdb_string.h.
+ * tui/tui-data.c: Use string.h, not gdb_string.h.
+ * tui/tui-disasm.c: Use string.h, not gdb_string.h.
+ * tui/tui-file.c: Use string.h, not gdb_string.h.
+ * tui/tui-layout.c: Use string.h, not gdb_string.h.
+ * tui/tui-out.c: Use string.h, not gdb_string.h.
+ * tui/tui-regs.c: Use string.h, not gdb_string.h.
+ * tui/tui-source.c: Use string.h, not gdb_string.h.
+ * tui/tui-stack.c: Use string.h, not gdb_string.h.
+ * tui/tui-win.c: Use string.h, not gdb_string.h.
+ * tui/tui-windata.c: Use string.h, not gdb_string.h.
+ * tui/tui-winsource.c: Use string.h, not gdb_string.h.
+ * typeprint.c: Use string.h, not gdb_string.h.
+ * ui-file.c: Use string.h, not gdb_string.h.
+ * ui-out.c: Use string.h, not gdb_string.h.
+ * user-regs.c: Use string.h, not gdb_string.h.
+ * utils.c: Use string.h, not gdb_string.h.
+ * v850-tdep.c: Use string.h, not gdb_string.h.
+ * valarith.c: Use string.h, not gdb_string.h.
+ * valops.c: Use string.h, not gdb_string.h.
+ * valprint.c: Use string.h, not gdb_string.h.
+ * value.c: Use string.h, not gdb_string.h.
+ * varobj.c: Use string.h, not gdb_string.h.
+ * vax-tdep.c: Use string.h, not gdb_string.h.
+ * vaxnbsd-tdep.c: Use string.h, not gdb_string.h.
+ * vaxobsd-tdep.c: Use string.h, not gdb_string.h.
+ * windows-nat.c: Use string.h, not gdb_string.h.
+ * xcoffread.c: Use string.h, not gdb_string.h.
+ * xml-support.c: Use string.h, not gdb_string.h.
+ * xstormy16-tdep.c: Use string.h, not gdb_string.h.
+ * xtensa-linux-nat.c: Use string.h, not gdb_string.h.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add strerror
+ and strstr.
+ * gnulib/aclocal.m4: Update.
+ * gnulib/config.in: Update.
+ * gnulib/configure: Update.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/errno.in.h: New.
+ * gnulib/import/intprops.h: New.
+ * gnulib/import/m4/errno_h.m4: New.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/strerror.m4: New.
+ * gnulib/import/m4/strstr.m4: New.
+ * gnulib/import/m4/sys_socket_h.m4: New.
+ * gnulib/import/strerror-override.c: New.
+ * gnulib/import/strerror-override.h: New.
+ * gnulib/import/strerror.c: New.
+ * gnulib/import/strstr.c: New.
+
+2013-11-18 Tom Tromey <tromey@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Split into
+ multiple lines.
+
+2013-11-18 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * sparc-tdep.c (sparc_is_annulled_branch_insn): New function.
+ * sparc-tdep.h: And its prototype.
+
+ * sparc64-linux-tdep.c (sparc64_linux_get_longjmp_target): New
+ function.
+ (sparc64_linux_init_abi): Register the get_longjmp_target hook.
+
+2013-11-18 Pedro Alves <palves@redhat.com>
+
+ * dwarf2-frame.c (read_addr_from_reg): Remove stale comment and
+ use unpack_pointer.
+
+2013-11-18 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (mi_cmd_list_features): Add "language-options"
+ to -list-features output.
+
+2013-11-17 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context_funcs)
+ <read_addr_from_reg>: Renames "read_reg".
+ * dwarf2-frame.c (read_addr_from_reg): Renames "read_reg".
+ Adjust comment.
+ (dwarf2_frame_ctx_funcs, execute_stack_op, dwarf2_frame_cache):
+ Use read_addr_from_reg in place of read_reg.
+ * dwarf2expr.c (execute_stack_op): Use read_addr_from_reg
+ in place of read_reg.
+ * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Renames
+ dwarf_expr_read_reg.
+ (dwarf_expr_ctx_funcs): Replace dwarf_expr_read_reg
+ with dwarf_expr_read_addr_from_reg.
+ (needs_frame_read_addr_from_reg): Renames needs_frame_read_reg.
+ (needs_frame_ctx_funcs): Replace needs_frame_read_reg with
+ needs_frame_read_addr_from_reg.
+
+2013-11-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (Changes in GDB 7.5) (New commands) (explore): Fix typo.
+
+2013-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (chain_candidate): Prevent invoking memcpy with
+ NULL.
+
+2013-11-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/16117:
+ * c-exp.y (lex_one_token): Add "is_quoted_name" argument.
+ (classify_name): Likewise. Prefer a field of "this" over a
+ filename.
+ (classify_inner_name, yylex): Update.
+
+2013-11-15 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context_funcs) <read_reg>:
+ Extend the documentation a bit.
+ <get_reg_value>: New field.
+ * dwarf2loc.c (dwarf_expr_get_reg_value)
+ (needs_frame_get_reg_value): New functions.
+ (dwarf_expr_ctx_funcs, needs_frame_ctx_funcs): Add "get_reg_value"
+ callback.
+ * dwarf2-frame.c (get_reg_value): New function.
+ (dwarf2_frame_ctx_funcs): Add "get_reg_value" callback.
+ * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>:
+ Use new callback to compute result_val.
+
+2013-11-15 Alan Modra <amodra@gmail.com>
+
+ * ppc64-tdep.c (ppc64_plt_entry_point): Renamed from..
+ (ppc64_desc_entry_point): ..this. Update comments here and at
+ call points.
+ (ppc64_standard_linkage1, ppc64_standard_linkage2,
+ ppc64_standard_linkage3): Update comments.
+ (ppc64_standard_linkage4, ppc64_standard_linkage5,
+ (ppc64_standard_linkage6, ppc64_standard_linkage7): New insn
+ patterns.
+ (ppc64_standard_linkage4_target): New function.
+ (ppc64_skip_trampoline_code): Skip ELFv2 patterns too.
+ * rs6000-tdep.c (skip_prologue): Skip ELFv2 r2 setup. Correct
+ nop match. Fix comment wrap.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_signal_stop): Move STOP_QUIETLY,
+ STOP_QUIETLY_REMOTE and 'stop_after_trap' handling earlier.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (struct execution_control_state)
+ <stepped_after_stopped_by_watchpoint>: New field.
+ (get_inferior_stop_soon): New function.
+ (handle_inferior_event): 'stepped_after_stopped_by_watchpoint' was
+ moved to struct execution_control_state -- adjust. Use
+ get_inferior_stop_soon. Split TARGET_WAITKIND_STOPPED handling to
+ new function.
+ (handle_signal_stop): New function, factored out from
+ handle_inferior_event.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * break-catch-sig.c (signal_catchpoint_explains_signal): Adjust to
+ return a boolean.
+ * breakpoint.c (bpstat_explains_signal): Adjust to return a
+ boolean.
+ (explains_signal_watchpoint, base_breakpoint_explains_signal):
+ Adjust to return a boolean.
+ * breakpoint.h (enum bpstat_signal_value): Delete.
+ (struct breakpoint_ops) <explains_signal>: New returns a boolean.
+ (bpstat_explains_signal): Likewise.
+ * infrun.c (handle_inferior_event) <random signal checks>:
+ bpstat_explains_signal now returns a boolean - adjust. No longer
+ consider hiding signals.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (bpstat_explains_signal) <Moribund locations>:
+ Return BPSTAT_SIGNAL_PASS instead of BPSTAT_SIGNAL_HIDE.
+ (explains_signal_watchpoint): Return BPSTAT_SIGNAL_PASS instead of
+ BPSTAT_SIGNAL_HIDE.
+ (base_breakpoint_explains_signal): Return BPSTAT_SIGNAL_PASS
+ instead of BPSTAT_SIGNAL_HIDE.
+ * infrun.c (handle_inferior_event): Rework random signal checks.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (struct execution_control_state): Remove
+ 'random_signal' field.
+ (handle_syscall_event): Use bpstat_causes_stop instead of
+ bpstat_explains_signal. Don't set ecs->random_signal.
+ (handle_inferior_event): New 'random_signal' local.
+ <TARGET_WAITKIND_FORKED, TARGET_WAITKIND_VFORKED,
+ TARGET_WAITKIND_EXECD>: Use bpstat_causes_stop instead of
+ bpstat_explains_signal. Don't set ecs->random_signal.
+ <TARGET_WAITKIND_STOPPED>: Adjust to use local instead of
+ ecs->random_signal.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event): Move comment from the
+ function's body to the function's description, adjusted.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
+ Handle STOP_QUIETLY_NO_SIGSTOP and STOP_QUIETLY_REMOTE here.
+ Assert we never fall through out of the TARGET_WAITKIND_LOADED
+ case.
+
+2013-11-14 Tom Tromey <tromey@redhat.com>
+
+ * python/py-linetable.c (ltpy_has_line)
+ (ltpy_get_all_source_lines): Fix loop termination condition.
+
+2013-11-14 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-parse.h (struct mi_parse) <language>: New field.
+ * mi/mi-main.c (mi_cmd_execute): Temporarily set language to
+ PARSE->LANGUAGE during command execution, if set.
+ * mi/mi-parse.c: Add "language.h" #include.
+ (mi_parse): Add parsing of "--language" command option.
+
+ * NEWS: Add entry mentioning the new "--language" command option.
+
+2013-11-14 Pedro Alves <palves@redhat.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * cli/cli-utils.h (extract_arg_const): Add declaration.
+ * cli/cli-utils.c (extract_arg_const): New function.
+ (extract_arg): Reimplement using extract_arg_const.
+
+2013-11-14 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h: Add "symtab.h" #include.
+
+2013-11-13 Doug Evans <xdje42@gmail.com>
+
+ * breakpoint.c (bpstat_check_breakpoint_conditions): For thread
+ specific breakpoints, don't evaluate breakpoint condition if
+ different thread.
+
+2013-11-13 Keith Seitz <keiths@redhat.com>
+
+ PR c++/7935
+ PR c++/10541
+ * cp-support.c (insepct_type): Add support for substituting
+ namespace aliases, too.
+ * dwarf2read.c (scan_partial_symbols): Add a partial symbol
+ for DW_TAG_imported_declaration.
+ (add_partial_symbol): Likewise.
+ (process_die): Handle namespace aliases with
+ read_namespace_alias.
+ (die_needs_namespace): Add DW_TAG_imported_declaration.
+ (read_namespace_alias): New function.
+ (load_partial_dies): Load DW_TAG_imported_declaration, too.
+ (new_symbol_full): Handle DW_TAG_imported_declaration.
+
+2013-11-13 Keith Seitz <keiths@redhat.com>
+
+ * p-exp.y (uptok): Make first parameter const.
+ (yylex): Make `tokstart' and `tokptr' const.
+ Don't copy the lexer input to a temporary buffer.
+ Make `p' const.
+ Remove const workaround for parse_escape.
+ Create a temporary buffer for a convenience variable instead
+ of doing in-place modification of the input.
+ If a match is found with a different case from the input,
+ do not change the input at all.
+ Use `tmp' to construct the resultant stoken instead of
+ `tokstart'.
+
+2013-11-13 Doug Evans <xdje42@gmail.com>
+
+ * breakpoint.c (breakpoint_cond_eval): Fix and enhance comment.
+
+2013-11-13 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (mi_cmd_list_features): Replace "info-ada-exceptions"
+ entry with "ada-exceptions".
+
+2013-11-13 Joel Brobecker <brobecker@adacore.com>
+
+ * symfile.c (reread_symbols): Move call to set_objfile_per_bfd
+ after re-initialization of OBJFILE's obstack.
+
+2013-11-12 Doug Evans <xdje42@gmail.com>
+
+ * breakpoint.c (bpstat_check_breakpoint_conditions): Assert
+ bs->stop != 0 on entry. Update function comment. Simplify early
+ exit for frame mismatch. Reindent rest of function.
+
+2013-11-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * objc-lang.c (uniquify_strings): Prevent invoking qsort with
+ NULL.
+
+2013-11-12 Doug Evans <dje@google.com>
+
+ Work around gold/15646.
+ * dwarf2read.c (read_index_from_section): Update comment.
+ (struct dw2_symtab_iterator): New member global_seen.
+ (dw2_symtab_iter_init): Initialize it.
+ (dw2_symtab_iter_next): Skip duplicate global symbols.
+ (dw2_expand_symtabs_matching): Ditto.
+
+2013-11-12 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-cmds.h (mi_cmd_info_ada_exceptions): Add declaration.
+ * mi/mi-cmds.c (mi_cmds): Add entry for -info-ada-exceptions
+ command.
+ * mi/mi-cmd-info.c: #include "ada-lang.c" and "arch-utils.c".
+ (mi_cmd_info_ada_exceptions): New function.
+ * mi/mi-main.c (mi_cmd_list_features): Add "info-ada-exceptions".
+
+2013-11-12 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.h: #include "vec.h".
+ (struct ada_exc_info): New.
+ (ada_exc_info): New typedef.
+ (DEF_VEC_O(ada_exc_info)): New vector.
+ (ada_exceptions_list): Add declaration.
+ * ada-lang.c (ada_is_exception_sym)
+ (ada_is_non_standard_exception_sym, compare_ada_exception_info)
+ (sort_remove_dups_ada_exceptions_list)
+ (ada_exc_search_name_matches, ada_add_standard_exceptions)
+ (ada_add_exceptions_from_frame, ada_add_global_exceptions)
+ (ada_exceptions_list_1, ada_exceptions_list)
+ (info_exceptions_command): New function.
+ (_initialize_ada_language): Add "info exception" command.
+
+2013-11-11 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15629
+ * NEWS: Add linetable feature.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-linetable entries.
+ * python/py-linetable.c: New file.
+ * python/py-symtab.c (stpy_get_linetable): New function.
+ * python/python-internal.h (symtab_to_linetable_object): Declare.
+ (gdbpy_initialize_linetable): Ditto.
+ * python/python.c (_initialize_python): Call
+ gdbpy_initialize_linetable.
+
+2013-11-11 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (create_ada_exception_catchpoint): Enhance
+ the documentation of fields "except_string" and "condition".
+ * mi/mi-cmd-catch.c (mi_cmd_catch_assert): Reallocate
+ CONDITION on the heap before passing it to
+ create_ada_exception_catchpoint.
+ (mi_cmd_catch_exception): Likewise for EXCEPTION_NAME and
+ CONDITION.
+
+2013-11-11 Tom Tromey <tromey@redhat.com>
+
+ * config.in, configure: Rebuild.
+ * configure.ac (HAVE_TKILL_SYSCALL): Check for "syscall".
+
+2013-11-11 Joel Brobecker <brobecker@adacore.com>
+
+ * remote-sim.c (gdbsim_detach): Break declaration into
+ shorter lines. No code change.
+
+2013-11-11 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * remote-sim.c (gdbsim_detach): Fix prototype.
+
+2013-11-08 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_read_debug): Change to unsigned int.
+ (create_debug_types_hash_table): Only print debugging messages for
+ each TU if dwarf2-read >= 2.
+ (process_queue): Ditto.
+ (_initialize_dwarf2_read): Make "set debug dwarf2-read" a zuinteger.
+ Update doc string.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuild.
+ * configure.ac: Remove mentions of HAVE_MULTIPLE_PROC_FDS.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * configure, config.in: Rebuild.
+ * configure.ac: Remove unused configury.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * m32c-tdep.c: Use gdb_string.h.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * configure, config.in: Rebuild.
+ * configure.ac: Remove all link.h-related checks.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * acinclude.m4: Include common.m4.
+ * common/common.m4: New file.
+ * configure, config.in: Rebuild.
+ * configure.ac: Use GDB_AC_COMMON.
+
+2013-11-08 Doug Evans <dje@google.com>
+
+ * NEWS: Mention that "set debug symtab-create" now accepts a
+ verbosity level.
+ * buildsym.c (end_symtab_from_static_block): Call set_symtab_primary
+ to set the symtab's primary flag.
+ * jit.c (finalize_symtab): Ditto.
+ * mdebugread.c (psymtab_to_symtab_1): Ditto.
+ * symfile.c (allocate_symtab): Only print debugging messages for
+ symtab_create_debug levels 2 and higher.
+ * symtab.c (symtab_create_debug): Change type to unsigned int.
+ (set_symtab_primary): New function.
+ (_initialize_symtab): Change "set debug symtab-create" to a
+ zuinteger option.
+ * symtab.h (set_symtab_primary): Declare.
+ (symtab_create_debug): Update decl.
+
+2013-11-08 Tom Tromey <tromey@redhat.com>
+
+ * aix-thread.c (aix_thread_detach): Update.
+ * corelow.c (core_detach): Update.
+ * darwin-nat.c (darwin_detach): Update.
+ * dec-thread.c (dec_thread_detach): Update.
+ * gnu-nat.c (gnu_detach): Update.
+ * go32-nat.c (go32_detach): Update.
+ * inf-ptrace.c (inf_ptrace_detach): Update.
+ * inf-ttrace.c (inf_ttrace_detach): Update.
+ * linux-fork.c (linux_fork_detach): Update.
+ * linux-fork.h (linux_fork_detach): Update.
+ * linux-nat.c (linux_nat_detach): Update. Introduce "tem"
+ local for const-correctness.
+ * linux-thread-db.c (thread_db_detach): Update.
+ * monitor.c (monitor_detach): Update.
+ * nto-procfs.c (procfs_detach): Update.
+ * procfs.c (procfs_detach): Update.
+ * record.c (record_detach): Update.
+ * record.h (record_detach): Update.
+ * remote-m32r-sdi.c (m32r_detach): Update.
+ * remote-mips.c (mips_detach): Update.
+ * remote-sim.c (gdbsim_detach): Update.
+ * remote.c (remote_detach_1, remote_detach)
+ (extended_remote_detach): Update.
+ * sol-thread.c (sol_thread_detach): Update.
+ * target.c (target_detach): Make "args" const.
+ (init_dummy_target): Update.
+ * target.h (struct target_ops) <to_detach>: Make argument const.
+ (target_detach): Likewise.
+ * windows-nat.c (windows_detach): Update.
+
+2013-11-07 Doug Evans <dje@google.com>
+
+ PR 11786
+ * solib-svr4.c (svr4_exec_displacement): Ignore filesz, memsz, flags
+ and align fields for PT_GNU_RELRO segments.
+
+2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15747
+ * python/py-cmd.c: Add COMPLETE_EXPRESSION constant.
+
+2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
+
+ * NEWS: Document Python temporary breakpoint support.
+ * python/py-breakpoint.c (bppy_get_temporary): New function.
+ (bppy_init): New keyword: temporary. Parse it and set breakpoint
+ to temporary if True.
+
+2013-11-07 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * sparc-tdep.c (sparc_analyze_control_transfer): Assertion
+ removed to allow analyzing unconditional branch instructions
+ with PC-relative offsets of zero.
+
+2013-11-07 Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmd-var.c: Include "language.h".
+ (mi_cmd_var_info_expression): Get language name from
+ language_defn.
+ * varobj.c (varobj_language_string): Remove.
+ (variable_language): Remove declaration.
+ (languages): Remove.
+ (varobj_get_language): Change the type of return value.
+ (variable_language): Remove.
+ * varobj.h (enum varobj_languages): Remove.
+ (varobj_language_string): Remove declaration.
+ (varobj_get_language): Update declaration.
+
+2013-11-07 Yao Qi <yao@codesourcery.com>
+
+ * language.h (struct language_defn) <la_natural_name>: New
+ field.
+ * ada-lang.c (ada_language_defn): Initialize field
+ 'la_natural_name'.
+ * c-lang.c (c_language_defn): Likewise.
+ (cplus_language_defn, asm_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * jv-lang.c (java_language_defn): Likewise.
+ * language.c (unknown_language_defn ): Likewise.
+ (auto_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+
+2013-11-07 Yao Qi <yao@codesourcery.com>
+
+ * language.c (language_str): Return const char *.
+ (add_language): Add const to 'language_names'
+ * language.h (struct language_defn) <la_name>: Add const.
+ (language_str: Update declaration.
+
+2013-11-06 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-nat.c (s390_read_description): Consider the TE field
+ in the HWCAP for determining 'have_regset_tdb'.
+
+2013-11-06 Will Newton <will.newton@linaro.org>
+
+ PR gdb/12866
+ * dwarf2read.c (skip_one_die): Sanity check DW_AT_sibling
+ values. (read_partial_die): Likewise.
+
+2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>
+
+ PR cli/16122
+ * top.c (command_line_input): Unify interactivity tests to use
+ input_from_terminal_p.
+ * event-top.c (command_line_handler): Likewise.
+
+2013-11-06 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (check-perf): New target.
+
+2013-11-05 Will Newton <will.newton@linaro.org>
+
+ PR gdb/7670
+ * arm-tdep.c (print_fpu_flags): Use filtered output routines.
+ (arm_print_float_info): Likewise.
+
+2013-11-04 Anton Blanchard <anton@samba.org>
+
+ * target.c (memory_xfer_partial): Cap write to 4KB.
+
+2013-11-01 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
+
+ * breakpoint.c (create_longjmp_master_breakpoint): Allow libc
+ probe scan even when the arch provides no get_longjmp_target.
+
+2013-10-31 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_syscall_event): Don't set or clear stop_signal.
+ (handle_inferior_event) <TARGET_WAITKIND_FORKED,
+ TARGET_WAITKIND_VFORKED>: Don't set stop_signal to
+ GDB_SIGNAL_TRAP, or clear it. Pass GDB_SIGNAL_0 to
+ bpstat_explains signal, instead of GDB_SIGNAL_TRAP.
+ <bpstat handling>: If the bpstat chain wants the signal to be
+ hidden, then set stop_signal to GDB_SIGNAL_0 instead of
+ GDB_SIGNAL_TRAP.
+
+2013-10-31 Andrew Burgess <aburgess@broadcom.com>
+
+ * breakpoint.c (update_watchpoint): Update error message and add
+ an additional error message.
+
+2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-tdep.h: Rename to...
+ * s390-linux-tdep.h: ...here.
+ * s390-tdep.c: Rename to...
+ * s390-linux-tdep.c: ...here. Adjust #include.
+ * s390-nat.c: Rename to...
+ * s390-linux-nat.c: ...here. Adjust #include.
+ * config/s390/s390.mh: Rename to...
+ * config/s390/linux.mh: ...here. Reflect rename s390-nat.o ->
+ s390-linux-nat.o.
+ * configure.host: Reflect host rename "s390" -> "linux".
+ * configure.tgt: Reflect rename s390-tdep.o -> s390-linux-tdep.o.
+ * Makefile.in (ALL_TARGET_OBS): Likewise.
+ (HFILES_NO_SRCDIR): Reflect rename s390-tdep.h ->
+ s390-linux-tdep.h.
+ (ALLDEPFILES): Reflect rename of .c files.
+
+2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-nat.c: Whitespace cleanup.
+ * s390-tdep.c: Likewise.
+ * s390-tdep.h: Remove empty line at end of file.
+
+2013-10-30 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_callback): Preinitialize
+ siginfo_size.
+
+2013-10-29 Tom Tromey <tromey@redhat.com>
+
+ * utils.c (reg): Move undefinition...
+ * gdb_curses.h: ... here. Update comment to mention AIX.
+
+2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
+
+ * exec.h (add_target_sections_of_objfile): New declaration.
+ * exec.c (add_target_sections_of_objfile): New function.
+ * symfile.c (add_symbol_file_command): Update current target sections.
+ (remove_symbol_file_command): New command.
+ (symfile_free_objfile): New function.
+ (_initialize_symfile): Register observer for free_objfile events.
+ * NEWS: Add description of the remove-symbol-file command.
+ * breakpoint.c (disable_breakpoints_in_freed_objfile): New function.
+ * objfiles.c (free_objfile): Notify free_objfile.
+ (is_addr_in_objfile): New function.
+ * objfiles.h (is_addr_in_objfile): New declaration.
+ * printcmd.c (clear_dangling_display_expressions): Act upon free_objfile
+ events instead of solib_unloaded events.
+ (_initialize_printcmd): Register observer for free_objfile instead
+ of solib_unloaded notifications.
+ * solib.c (remove_user_added_objfile): New function.
+ (_initialize_symfile): Add remove-symbol-file.
+
+2013-10-29 Andrew Burgess <aburgess@broadcom.com>
+
+ * infcmd.c (default_print_one_register_info): Use val_print to
+ print all values even optimized out or unavailable ones. Don't
+ try to print a raw form of optimized out or unavailable values.
+
+2013-10-29 Yao Qi <yao@codesourcery.com>
+
+ * auto-load.c (auto_load_pspace_data_cleanup): Get data from
+ parameter 'arg' instead of from program_space_data.
+ * objfiles.c (objfiles_pspace_data_cleanup): Likewise.
+ * solib-darwin.c (darwin_pspace_data_cleanup): Likewise.
+ * solib-dsbt.c (dsbt_pspace_data_cleanup): Likewise.
+ * solib-svr4.c (svr4_pspace_data_cleanup): Likewise.
+ * inflow.c (inflow_inferior_data_cleanup): Get data from
+ parameter 'arg' instead of inferior_data.
+ * registry.h: Add comments.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (watchpoints_triggered)
+ <!target_stopped_data_address>: Hardcode return 1.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (process_event_stop_test): Remove unnecessary scoping
+ level and reindent.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (process_event_stop_test): New function, factored out
+ from handle_inferior_event.
+ (handle_inferior_event): 'process_event_stop_test' is now a
+ function instead of a goto label -- adjust.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event): Move process_event_stop_test
+ goto label to the else branch of the ecs->random_signal check,
+ along with FRAME and GDBARCH re-fetching.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (switch_back_to_stepped_thread): New function, factored
+ out from handle_inferior_event.
+ (handle_inferior_event): Adjust to call
+ switch_back_to_stepped_thread. Call it also at the tail of the
+ random signal handling, and return, instead of also handling
+ random signals just before the stepping tests.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (clear_stop_func): Delete.
+ (handle_inferior_event): Don't call clear_stop_func and don't
+ clear 'ecs->random_signal'.
+
+2013-10-27 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct varobj_root) <lang>: Rename to 'lang_ops'.
+ (varobj_create, varobj_get_path_expr): Update.
+ (varobj_value_has_mutated, varobj_update): Likewise.
+ (create_child_with_value, new_root_variable): Likewise.
+ (number_of_children, name_of_variable): Likewise.
+ (value_of_child, my_value_of_variable): Likewise.
+ (varobj_value_is_changeable_p): Likewise.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * language.h (struct lang_varobj_ops): Declare.
+ (struct language_defn) <la_varobj_ops>: New field.
+ * ada-lang.c: Include "varobj.h"
+ (defn ada_language_defn): Initialize field 'la_varobj_ops' with
+ ada_varobj_ops.
+ * c-lang.c: Include "varobj.h"
+ (c_language_defn): Initialize field 'la_varobj_ops' with
+ c_varobj_ops.
+ (cplus_language_defn): Initialize field 'la_varobj_ops' with
+ cplus_varobj_ops.
+ (asm_language_defn): Initialize field 'la_varobj_ops' with
+ default_varobj_ops.
+ (minimal_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+ * language.c (unknown_language_defn): Likewise.
+ (auto_language_defn): Likewise.
+ (local_language_defn): Likewise.
+ * jv-lang.c (java_language_defn): Initialize field
+ 'la_varobj_ops' with java_varobj_ops.
+ * varobj.c (varobj_create): Update.
+ * varobj.h (default_varobj_ops): Define macro.
+
+2013-10-25 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): No longer handle a NULL
+ static field value.
+ (cp_print_static_field): If the value is entirely optimized out,
+ print <optimized out> here.
+ * jv-valprint.c (java_print_value_fields): No longer handle a NULL
+ static field value.
+ * p-valprint.c (pascal_object_print_static_field): If the value is
+ entirely optimized out, print <optimized out> here.
+ * valops.c (do_search_struct_field)
+ (value_struct_elt_for_reference): No longer handle a NULL static
+ field value.
+ * value.c (value_static_field): Return an optimized out value
+ instead of NULL.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_traceframe_info): Return early if
+ traceframe is not selected.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (traceframe_fun): Remove.
+ (traceframe_sal): Remove.
+ (set_traceframe_context): Add local variables.
+
+2013-10-25 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.h (struct lang_varobj_ops): Remove spaces between '*'
+ and parameter name.
+
+2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_callback): Propagate any
+ failure from register information collection.
+
+2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_data): Remove `num_notes'
+ member.
+ (linux_corefile_thread_callback): Update accordingly.
+ (linux_make_corefile_notes): Likewise.
+
+2013-10-24 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New options): Mention set/show startup-with-shell.
+ * config/alpha/nm-osf3.h (START_INFERIOR_TRAPS_EXPECTED): Set to 2
+ instead of 3.
+ * fork-child.c (fork_inferior, startup_inferior): Handle 'set
+ startup-with-shell'.
+ (show_startup_with_shell): New function.
+ (_initialize_fork_child): Register the set/show startup-with-shell
+ commands.
+ * inf-ptrace.c (inf_ptrace_create_inferior): Remove comment.
+ * inf-ttrace.c (inf_ttrace_him): Remove comment.
+ * procfs.c (procfs_init_inferior): Remove comment.
+ * infcmd.c (startup_with_shell): New global.
+ * inferior.h (startup_with_shell): Declare global.
+ (STARTUP_WITH_SHELL): Delete.
+ (START_INFERIOR_TRAPS_EXPECTED): Set to 1 by default instead of 2.
+
+2013-10-23 Pedro Alves <palves@redhat.com>
+
+ * common/gdb_signals.h (gdb_signal_to_symbol_string): Declare.
+ * common/signals.c: Include "gdb_assert.h".
+ (signals): New field 'symbol'.
+ (SET): Use the 'symbol' parameter.
+ (gdb_signal_to_symbol_string): New function.
+ * infrun.c (handle_inferior_event) <random signal>: In debug
+ output, print the random signal enum as string in addition to its
+ number.
+ * target/waitstatus.c (target_waitstatus_to_string): Print the
+ signal's enum value as string instead of the (POSIX) signal name.
+
+2013-10-23 Gary Benson <gbenson@redhat.com>
+
+ PR 16013
+ * common/linux-osdata.c (command_from_pid): Reduced size of cmd
+ from 32 to 18. Adjusted fscanf format string accordingly.
+ (Avoids leaving cmd unterminated.)
+ (print_sockets): Do not parse tlen, inode, sl, timeout, txq, rxq,
+ trun, retn or extra. (Avoids leaving extra unterminated.) Check
+ that local_address and remote_address will not overflow.
+ (linux_xfer_osdata_modules): Parse lines using strtok to avoid
+ leaving dependencies unterminated. Parse size as "%u" to match
+ definition.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event) <thread hop>: Don't clear or
+ set ecs->random signal.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (keep_going): Update comments.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_parse_stop_reply) <'T'/'S'/'X' replies>: Map
+ invalid signal numbers to GDB_SIGNAL_UNKNOWN.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * include/gdb/signals.def (TARGET_EXC_BAD_ACCESS): Rename to
+ GDB_EXC_BAD_ACCESS.
+ (TARGET_EXC_BAD_INSTRUCTION): Rename to GDB_EXC_BAD_INSTRUCTION.
+ (TARGET_EXC_ARITHMETIC): Rename to GDB_EXC_ARITHMETIC.
+ (TARGET_EXC_EMULATION): Rename to GDB_EXC_EMULATION.
+ (TARGET_EXC_SOFTWARE): Rename to GDB_EXC_SOFTWARE.
+ (TARGET_EXC_BREAKPOINT): Rename to GDB_EXC_BREAKPOINT.
+ (GDB_SIGNAL_LAST): Change description string.
+ * common/signals.c (gdb_signal_from_host, do_gdb_signal_to_host):
+ Adjust to signal renaming.
+ * darwin-nat.c (darwin_decode_message): Likewise.
+
+2013-10-22 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-10-18 Andrew Burgess <aburgess@broadcom.com>
+
+ * breakpoint.c (update_watchpoint): If hardware watchpoints are
+ forced off, downgrade them to software watchpoints if possible,
+ and error out if not possible.
+ (watch_command_1): Move watchpoint type selection closer to
+ watchpoint creation, and extend the comments.
+
+2013-10-18 Pedro Alves <palves@redhat.com>
+
+ PR gdb/16062
+ * infrun.c (handle_inferior_event): Keep going if we got a random
+ signal we should not stop for, instead of falling through to the
+ step tests.
+
+2013-10-18 Yao Qi <yao@codesourcery.com>
+
+ * c-varobj.c (cplus_number_of_children): Fix indentation.
+
+2013-10-17 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/15995:
+ * printcmd.c (printcmd): Call gdb_flush.
+
+2013-10-17 Tom Tromey <tromey@redhat.com>
+
+ * elfread.c (struct elfinfo) <stabindexsect>: Remove.
+ (elf_locate_sections): Update.
+
+2013-10-17 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
+ * ada-varobj.c: Remove the include of ada-varobj.h.
+ (ada_varobj_get_number_of_children): Declare.
+ (ada_varobj_get_name_of_child): Make it static.
+ (ada_varobj_get_path_expr_of_child): Likewise.
+ (ada_varobj_get_value_of_child): Likewise.
+ (ada_varobj_get_type_of_child): Likewise.
+ (ada_varobj_get_value_of_array_variable): Likewise.
+ * ada-varobj.h: Remove.
+
+2013-10-17 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (SFILES): Add c-varobj.c and jv-varobj.c.
+ (COMMON_OBS): Add c-varobj.o and jv-varobj.o.
+ * ada-varobj.c: Include "varobj.h".
+ (ada_number_of_children): New. Moved from varobj.c.
+ (ada_name_of_variable, ada_name_of_child): Likewise.
+ (ada_path_expr_of_child, ada_value_of_child): Likewise.
+ (ada_type_of_child, ada_value_of_variable): Likewise.
+ (ada_value_is_changeable_p, ada_value_has_mutated): Likewise.
+ (ada_varobj_ops): New.
+ * c-varobj.c, jv-varobj.c: New file. Moved from varobj.c.
+ * gdbtypes.c (get_target_type): New. Moved from varobj.c.
+ * gdbtypes.h (get_target_type): Declare.
+ * varobj.c: Remove the inclusion of "ada-varobj.h" and
+ "ada-lang.h".
+ (ANONYMOUS_STRUCT_NAME): Move it to c-varobj.c.
+ (ANONYMOUS_UNION_NAME): Likewise.
+ (get_type, get_value_type, get_target_type): Remove declarations.
+ (value_get_print_value, varobj_value_get_print_value): Likewise.
+ (c_number_of_children, c_name_of_variable): Likewise.
+ (c_name_of_child, c_path_expr_of_child): Likewise.
+ (c_value_of_child, c_type_of_child): Likewise.
+ (c_value_of_variable, cplus_number_of_children): Likewise.
+ (cplus_class_num_children, cplus_name_of_variable): Likewise.
+ (cplus_name_of_child, cplus_path_expr_of_child): Likewise.
+ (cplus_value_of_child, cplus_type_of_child): Likewise.
+ (cplus_value_of_variable, java_number_of_children): Likewise.
+ (java_name_of_variable, java_name_of_child): Likewise.
+ (java_path_expr_of_child, java_value_of_child): Likewise.
+ (java_type_of_child, java_value_of_variable): Likewise.
+ (ada_number_of_children, ada_name_of_variable): Likewise.
+ (ada_name_of_child, ada_path_expr_of_child): Likewise.
+ (ada_value_of_child, ada_type_of_child): Likewise.
+ (ada_value_of_variable, ada_value_is_changeable_p): Likewise.
+ (ada_value_has_mutated): Likewise.
+ (struct language_specific): Move it to varobj.h.
+ (CPLUS_FAKE_CHILD): Move it to varobj.h.
+ (restrict_range): Rename it varobj_restrict_range. Make it extern.
+ Callers update.
+ (get_path_expr_parent): Rename it to varobj_get_path_expr_parent.
+ Make it extern.
+ (is_anonymous_child): Move it to c-varobj.c and rename to
+ varobj_is_anonymous_child. Caller update.
+ (get_type): Move it to c-varobj.c.
+ (get_value_type): Rename it varobj_get_value_type. Make it
+ extern.
+ (get_target_type): Move it gdbtypes.c.
+ (varobj_formatted_print_options): New function.
+ (value_get_print_value): Rename it to
+ varobj_value_get_print_value and make it extern.
+ (varobj_value_is_changeable_p): Make it extern.
+ (adjust_value_for_child_access): Move it to c-varobj.c.
+ (default_value_is_changeable_p): Rename it to
+ varobj_default_value_is_changeable_p. Make it extern.
+ (c_number_of_children, c_name_of_variable): Move it to c-varobj.c
+ (c_name_of_child, c_path_expr_of_child): Likewise.
+ (c_value_of_child, c_type_of_child): Likewise.
+ (c_value_of_variable, cplus_number_of_children): Likewise.
+ (cplus_class_num_children, cplus_name_of_variable): Likewise.
+ (cplus_name_of_child, cplus_path_expr_of_child): Likewise.
+ (cplus_value_of_child, cplus_type_of_child): Likewise.
+ (cplus_value_of_variable): Likewise.
+ (java_number_of_children, java_name_of_variable): Move it to jv-varobj.c.
+ (java_name_of_child, java_path_expr_of_child): Likewise.
+ (java_value_of_child, java_type_of_child): Likewise.
+ (java_value_of_variable): Likewise.
+ (ada_number_of_children, ada_name_of_variable): Move it to ada-varobj.c.
+ (ada_name_of_child, ada_path_expr_of_child): Likewise.
+ (ada_value_of_child, ada_type_of_child): Likewise.
+ (ada_value_of_variable, ada_value_is_changeable_p): Likewise.
+ (ada_value_has_mutated): Likewise.
+ * varobj.h (CPLUS_FAKE_CHILD): New macro, moved from varobj.c.
+ (struct lang_varobj_ops): New. Renamed by 'struct language_specific'.
+ (c_varobj_ops, cplus_varobj_ops): Declare.
+ (java_varobj_ops, ada_varobj_ops): Declare.
+ (varobj_default_value_is_changeable_p): Declare.
+ (varobj_value_is_changeable_p): Declare.
+ (varobj_get_value_type, varobj_is_anonymous_child): Declare.
+ (varobj_get_path_expr_parent): Declare.
+ (varobj_value_get_print_value): Declare.
+ (varobj_formatted_print_options): Declare.
+ (varobj_restrict_range): Declare.
+
+2013-10-17 Luis Machado <lgustavo@codesourcery.com>
+
+ * target/waitstatus.h (target_waitkind): Remove spurious
+ character from the comments.
+
+2013-10-17 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbarch.sh (get_longjmp_target): Add method documentation.
+ * gdbarch.h: Regenerate.
+
+2013-10-16 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (read_dbx_symtab) <bss_ext_symbol>: Remove unused
+ label.
+
+2013-10-16 Luis Machado <lgustavo@codesourcery.com>
+
+ * gcore.in: Call GDB using the full path to the gcore script.
+ Error out if the GDB binary is not found.
+
+2013-10-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16014
+ * dwarf2read.c (dw2_get_real_path): Remove unnecessary call to
+ sizeof.
+
+2013-10-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16042
+ * target.c (target_disable_btrace): Fix invalid return value for
+ void function.
+ (target_teardown_btrace): Likewise.
+
+2013-10-14 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct varobj): Move most of the fields to
+ varobj.h.
+ (struct varobj_dynamic): New struct.
+ (varobj_get_display_hint) [HAVE_PYTHON]: Adjust.
+ (varobj_has_more): Likewise.
+ (dynamic_varobj_has_child_method): Likewise.
+ (update_dynamic_varobj_children): Likewise.
+ (varobj_get_num_children): Likewise.
+ (varobj_list_children, varobj_pretty_printed_p): Likewise.
+ (install_new_value_visualizer): Likewise.
+ (install_new_value_visualizer, install_new_value): Likewise.
+ (varobj_update, new_variable, free_variable): Likewise.
+ (my_value_of_variable, value_get_print_value): Likewise.
+ (install_visualizer): Change the type of parameter 'var' to
+ 'struct varobjd_dynamic *'. Callers update.
+ * varobj.h (struct varobj): Moved from varobj.c.
+ (struct varobj) <dynamic>: New field.
+
+2013-10-13 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_reg_names): Use "sstatus" rather than "ba"
+ as the preferred name of r30.
+ * nios2-linux-tdep.c (reg_offsets): Likewise.
+ * features/nios2-cpu.xml: Likewise.
+ * features/nios2-linux.c: Regenerated.
+ * features/nios2.c: Regenerated.
+ * regformats/nios2-linux.dat: Regenerated.
+
+2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Canonicalize directories for EXEC_FILENAME.
+ * exec.c (exec_file_attach): Use gdb_realpath_keepfile for
+ exec_filename.
+ * utils.c (gdb_realpath_keepfile): New function.
+ * utils.h (gdb_realpath_keepfile): New declaration.
+
+2013-10-11 Doug Evans <dje@google.com>
+
+ * Makefile.in (GDBFLAGS): New variable.
+ (run): New rule.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry documenting the new "-catch-assert" and
+ "-catch-exception" GDB/MI commands.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.h (init_ada_exception_breakpoint): Add parameter
+ "enabled".
+ * breakpoint.c (init_ada_exception_breakpoint): Add parameter
+ "enabled". Set B->ENABLE_STATE accordingly.
+ * ada-lang.h (ada_exception_catchpoint_kind): Move here from
+ ada-lang.c.
+ (create_ada_exception_catchpoint): Add declaration.
+ * ada-lang.c (ada_exception_catchpoint_kind): Move to ada-lang.h.
+ (create_ada_exception_catchpoint): Make non-static. Add new
+ parameter "disabled". Use it in call to
+ init_ada_exception_breakpoint.
+ (catch_ada_exception_command): Add parameter "enabled" in call
+ to create_ada_exception_catchpoint.
+ (catch_assert_command): Likewise.
+
+ * mi/mi-cmds.h (mi_cmd_catch_assert, mi_cmd_catch_exception):
+ Add declarations.
+ * mi/mi-cmds.c (mi_cmds): Add the "catch-assert" and
+ "catch-exception" commands.
+ * mi/mi-cmd-catch.c: Add #include "ada-lang.h".
+ (mi_cmd_catch_assert, mi_cmd_catch_exception): New functions.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (enum ada_exception_catchpoint_kind): Renames
+ "enum exception_catchpoint_kind". Replace the "ex_" prefix
+ of all its enumerates with "ada_". Update the rest of this
+ file throughout.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_decode_exception_location): Delete.
+ (create_ada_exception_catchpoint): Remove arguments "sal",
+ "addr_string" and "ops". Add argument "ex_kind" instead.
+ Adjust implementation accordingly, calling ada_exception_sal
+ to get the entities it no longer gets passed as arguments.
+ Document the function's arguments.
+ (catch_ada_exception_command): Use catch_ada_exception_command_split
+ instead of ada_decode_exception_location, and update call to
+ create_ada_exception_catchpoint.
+ (catch_ada_assert_command_split): Renames
+ ada_decode_assert_location. Remove parameters "addr_string" and
+ "ops", and now returns void. Adjust implementation accordingly.
+ Update the function documentation.
+ (catch_assert_command): Use catch_ada_assert_command_split
+ instead of ada_decode_assert_location. Update call to
+ create_ada_exception_catchpoint.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.h (perror_warning_with_name): Add declaration.
+ * utils.c (perror_warning_with_name): New function.
+ * cli/cli-cmds.c (source_script_with_search): Add call to
+ perror_warning_with_name if from_tty is nul.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.c (perror_string): New function, extracted out of
+ throw_perror_with_name.
+ (throw_perror_with_name): Rework to use perror_string.
+
+2013-10-11 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (discard_pending_stop_replies_in_queue): Update
+ declaration.
+ (struct stop_reply) <rs>: New field.
+ (remove_stop_reply_of_remote_state): New function.
+ (discard_pending_stop_replies_in_queue): Add parameter 'rs'.
+ Callers update. Pass remove_stop_reply_of_remote_state to
+ QUEUE_iterate.
+ (remote_parse_stop_reply): Initialize field 'rs'.
+
+2013-10-10 Will Newton <will.newton@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
+ linux_init_abi.
+
+2013-10-10 Joel Brobecker <brobecker@adacore.com>
+
+ * cli/cli-cmds.c (show_baud_rate): Moved to serial.c as
+ serial_baud_show_cmd.
+ (_initialize_cli_cmds): Delete the code creating the
+ "set/show remotebaud" commands.
+ * serial.c (baud_rate): Move here from top.c.
+ (serial_baud_show_cmd): Move here from cli/cli-cmds.c.
+ (_initialize_serial): Create "set/show serial baud" commands.
+ Add "set/show remotebaud" command aliases.
+ * top.c (baud_rate): Moved to serial.c.
+ * NEWS: Document the new "set/show serial baud" commands,
+ replacing "set/show remotebaud".
+
+2013-10-09 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (insert_bp_location): Use memory_error_message to
+ build the memory error string.
+ * c-lang.c: Include "gdbcore.h".
+ (c_get_string): Use memory_error to throw error.
+ (target_xfer_memory_error): Delete.
+ (memory_error_message): New, factored out from
+ target_xfer_memory_error.
+ (memory_error): Change parameter type to target_xfer_error.
+ Rewrite.
+ (read_memory): Use memory_error instead of
+ target_xfer_memory_error.
+ * gdbcore.h: Include "target.h".
+ (memory_error): Change parameter type to target_xfer_error.
+ (memory_error_message): Declare function.
+ * target.c (target_read_memory, target_read_stack)
+ (target_write_memory, target_write_raw_memory): Return
+ TARGET_XFER_E_IO on error. Adjust comments.
+ (get_target_memory): Pass TARGET_XFER_E_IO to memory_error,
+ instead of EIO.
+ * target.h (target_read, target_insert_breakpoint)
+ (target_remove_breakpoint): Adjust comments.
+ * valprint.c (partial_memory_read): Rename parameter, and adjust
+ comment.
+ (val_print_string): Use memory_error_message to build the memory
+ error string.
+
+2013-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/filestuff.c (gdb_fopen_cloexec): Remove initialization of
+ result variable. Rename variable fopen_e_ever_failed to
+ fopen_e_ever_failed_einval. Retry fopen only for errno EINVAL.
+
+2013-10-09 Pedro Alves <palves@redhat.com>
+
+ * monitor.c (monitor_write_memory, monitor_write_memory_bytes)
+ (monitor_write_memory_longlongs, monitor_write_memory_block):
+ Constify 'myaddr' parameter.
+ (monitor_xfer_memory): Adjust interface as monitor_xfer_partial
+ helper.
+ (monitor_xfer_partial): New function.
+ (init_base_monitor_ops): Don't install a deprecated_xfer_memory
+ hook. Install a to_xfer_partial hook.
+
+2013-10-09 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_get_dwz_file): Update for type change in
+ bfd_get_alt_debug_link_info.
+
+2013-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ New flag OBJF_NOT_FILENAME.
+ * auto-load.c (auto_load_objfile_script): Check also OBJF_NOT_FILENAME.
+ * jit.c (jit_object_close_impl): Use OBJF_NOT_FILENAME for
+ allocate_objfile.
+ (jit_bfd_try_read_symtab): Use OBJF_NOT_FILENAME for
+ symbol_file_add_from_bfd.
+ * jv-lang.c (get_dynamics_objfile): Use OBJF_NOT_FILENAME for
+ allocate_objfile.
+ * objfiles.c (allocate_objfile): Assert OBJF_NOT_FILENAME if NAME is
+ NULL.
+ * objfiles.h (OBJF_NOT_FILENAME): New.
+
+2013-10-08 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (SFILES): Add build-id.c.
+ (HFILES_NO_SRCDIR): Add build-id.h.
+ * build-id.c: New file, largely from elfread.c. Modified
+ most functions.
+ * build-id.h: New file.
+ * dwarf2read.c (dwarf2_get_dwz_file): Update for change to
+ bfd_get_alt_debug_link_info. Verify dwz file's build-id.
+ Search for dwz file using build-id.
+ * elfread.c (build_id_bfd_get, build_id_verify)
+ (build_id_to_debug_filename, find_separate_debug_file): Remove.
+
+2013-10-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (compare_names_with_case): Renamed from
+ compare_names, adding a new parameter "casing" and its handling.
+ New function documentation.
+ (compare_names): New function, implemented using
+ compare_names_with_case.
+
+2013-10-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_exception_sal): Remove advance declaration.
+
+2013-10-07 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.c (free_objfile_per_bfd_storage): Delete the
+ demangled_names_hash.
+ (free_objfile): Don't delete the demangled_names_hash.
+ * objfiles.h (struct objfile_per_bfd_storage)
+ <demangled_names_hash>: New field.
+ (struct objfile) <demangled_names_hash>: Move to
+ objfile_per_bfd_storage.
+ * symfile.c (reread_symbols): Don't delete the
+ demangled_names_hash.
+ * symtab.c (create_demangled_names_hash): Update.
+ (symbol_set_names): Update.
+
+2013-10-07 Tom Tromey <tromey@redhat.com>
+
+ * gdb_bfd.c (struct gdb_bfd_data) <relocation_computed,
+ needs_relocations>: New fields.
+ (gdb_bfd_requires_relocations): New function.
+ * gdb_bfd.h (gdb_bfd_requires_relocations): Declare.
+ * objfiles.c (get_objfile_bfd_data): Disallow sharing if
+ the BFD needs relocations applied.
+
+2013-10-07 Pedro Alves <palves@redhat.com>
+
+ PR breakpoints/11568
+ * breakpoint.c (remove_threaded_breakpoints): Say "no longer in
+ the thread list" instead of "gone".
+
+2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * NEWS: Mention new convenience variable $_exitsignal.
+ * corelow.c (core_open): Reset exit convenience variables. Set
+ $_exitsignal to the uncaught signal which generated the corefile.
+ * infrun.c (handle_inferior_event): Reset exit convenience
+ variables. Set $_exitsignal for TARGET_WAITKIND_SIGNALLED.
+ (clear_exit_convenience_vars): New function.
+ * inferior.h (clear_exit_convenience_vars): New prototype.
+
+2013-10-06 Yao Qi <yao@codesourcery.com>
+
+ * varobj.h: Add comments to enum varobj_languages.
+
+2013-10-04 Doug Evans <dje@google.com>
+
+ Add support for DWP file format version 2.
+ * NEWS: Mention support for DWP file format version 2.
+ * dwarf2read.c (dwarf2_section_info): Convert asection field to a
+ union of asection, containing_section. New fields virtual_offset
+ and is_virtual. Change type of readin filed from int to char.
+ (dwo_sections, dwo_file): Tweak comments.
+ (dwp_v2_section_ids): New enum.
+ (dwp_sections): New fields abbrev, info, line, loc, macinfo, macro,
+ str_offsets, types.
+ (virtual_v1_dwo_sections): Renamed from virtual_dwo_sections.
+ All uses updated.
+ (virtual_v2_dwo_sections): New struct.
+ (dwp_hash_table): New fields version, nr_columns. Change type of
+ section_pool field to a union.
+ (dwp_file): New field version.
+ (dwarf2_has_info): Check for virtual sections.
+ (get_containing_section): New function.
+ (get_section_bfd_owner, get_section_bfd_section): Call it.
+ (dwarf2_locate_sections): Update.
+ (dwarf2_section_empty_p): Update.
+ (dwarf2_read_section): Handle virtual sections.
+ (locate_dwz_sections): Update.
+ (create_dwp_hash_table): Document and handle V2 format.
+ (locate_v1_virtual_dwo_sections): Renamed from
+ locate_virtual_dwo_sections and update. All callers updated.
+ (create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp.
+ Delete arg htab. Rename arg section_index to unit_index.
+ All callers updated.
+ (MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS.
+ All uses updated.
+ (create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions.
+ (lookup_dwo_unit_in_dwp): Add V2 support.
+ (dwarf2_locate_dwo_sections): Update.
+ (dwarf2_locate_common_dwp_sections): Renamed from
+ dwarf2_locate_dwp_sections and update. All callers updated.
+ (dwarf2_locate_v2_dwp_sections): New function.
+ (open_and_init_dwp_file): Add V2 support.
+ (read_str_index): New locals str_section, str_offsets_section.
+
+2013-10-04 Pedro Alves <palves@redhat.com>
+
+ * common/ptid.c (null_ptid, minus_one_ptid, ptid_build)
+ (pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid)
+ (ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p): Replace
+ describing comments with references to ptid.h.
+ * common/ptid.h: Remove intro description of constructors,
+ accessors and predicates.
+ (struct ptid): Reformat.
+ (minus_one_ptid, ptid_build, pid_to_ptid, ptid_get_pid)
+ (ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): Change
+ describing comments.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (sync_threadlists): Add missing ')' in call
+ to ptid_build.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (procfs_init_inferior): Fix typo causing the build
+ to fail.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (ptrace32): Remove cast to addr_ptr.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (run_one_inferior): Add function description.
+ Make ARG a pointer to an integer whose value determines whether
+ we should "run" or "start" the program.
+ (mi_cmd_exec_run): Add handling of the "--start" option.
+ Reject all other command-line options.
+ * NEWS: Add entry for "-exec-run"'s new "--start" option.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * remote-notif.h (REMOTE_NOTIF_ID): New enum.
+ (struct notif_client) <pending_event>: Moved
+ to struct remote_notif_state.
+ <id>: New field.
+ (struct remote_notif_state) <pending_event>: New field.
+ (notif_event_xfree): Declare.
+ * remote-notif.c (handle_notification): Adjust.
+ (notif_event_xfree): New function.
+ (do_notif_event_xfree): Call notif_event_xfree.
+ (remote_notif_state_xfree): Call notif_event_xfree to free
+ each element in field pending_event.
+ * remote.c (discard_pending_stop_replies): Remove declaration.
+ (discard_pending_stop_replies_in_queue): Declare.
+ (remote_close): Call discard_pending_stop_replies_in_queue
+ instead of discard_pending_stop_replies.
+ (remote_start_remote): Adjust.
+ (stop_reply_xfree): Call notif_event_xfree.
+ (notif_client_stop): Adjust initialization.
+ (remote_notif_remove_all): Rename it to ...
+ (remove_stop_reply_for_inferior): ... this. Update comments.
+ Don't check INF is NULL.
+ (discard_pending_stop_replies): Return early if notif_state is
+ NULL. Adjust. Don't check INF is NULL.
+ (remote_notif_get_pending_events): Adjust.
+ (discard_pending_stop_replies_in_queue): New function.
+ (remote_wait_ns): Likewise.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * remote-notif.c (DECLARE_QUEUE_P): Remove.
+ (notif_queue): Remove.
+ (remote_notif_process): Add one parameter 'notif_queue'.
+ Update comments. Callers update.
+ (remote_async_get_pending_events_token): Remove.
+ (remote_notif_register_async_event_handler): Remove.
+ (remote_notif_unregister_async_event_handler): Remove.
+ (handle_notification): Add parameter 'notif_queue'. Update
+ comments. Callers update.
+ (notif_xfree): Remove.
+ (remote_notif_state_allocate): New function.
+ (remote_notif_state_xfree): New function.
+ (_initialize_notif): Remove code to allocate queue.
+ * remote-notif.h (DECLARE_QUEUE_P): Moved from remote-notif.c.
+ (struct remote_notif_state): New.
+ (handle_notification): Update declaration.
+ (remote_notif_process): Likewise.
+ (remote_notif_register_async_event_handler): Remove.
+ (remote_notif_unregister_async_event_handler): Remove.
+ (remote_notif_state_allocate): Declare.
+ (remote_notif_state_xfree): Declare.
+ * remote.c (struct remote_state) <notif_state>: New field.
+ (remote_close): Don't call
+ remote_notif_unregister_async_event_handler. Call
+ remote_notif_state_xfree.
+ (remote_open_1): Don't call
+ remote_notif_register_async_event_handler. Call
+ remote_notif_state_allocate.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (create_child_with_value): Remove 'const' from the
+ type of parameter 'name'.
+ (varobj_add_child): Likewise.
+ (install_dynamic_child): Remove 'const' from the type of
+ parameter 'name'.
+ (varobj_add_child): Likewise.
+ (create_child_with_value): Likewise. Update comments. Don't
+ duplicate 'name'.
+ (update_dynamic_varobj_children): Duplicate 'name'
+ and pass it to install_dynamic_child.
+
+2013-10-03 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-value.c (convert_value_from_python): Move PyInt_Check
+ conversion logic to occur after PyLong_Check. Comment on order
+ change significance.
+ * python/py-arch.c (archpy_disassemble): Comment on order of
+ conversion for integers and longs.
+
+2013-10-03 Pedro Alves <palves@redhat.com>
+
+ * common/linux-ptrace.c (linux_check_ptrace_features): Factor out
+ the PTRACE_O_TRACESYSGOOD and PTRACE_O_TRACEFORK to separate
+ functions. Always test for PTRACE_O_TRACESYSGOOD even if
+ PTRACE_O_TRACEFORK is not supported.
+ (linux_test_for_tracesysgood): New function.
+ (linux_test_for_tracefork): New function, factored out from
+ linux_check_ptrace_features, and also don't kill child_pid here.
+
+2013-10-03 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (i386_darwin_dr_set): Fix argument type.
+ Remove verbose error reporting. Use detected state to
+ thread_set_state call.
+ (i386_darwin_dr_get): Fix return type. Remove verbose error
+ report.
+ Remove trailing spaces.
+
+2013-10-02 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): Adjust calls to
+ val_print_optimized_out.
+ * jv-valprint.c (java_print_value_fields): Likewise.
+ * p-valprint.c (pascal_object_print_value_fields): Likewise.
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full)
+ <DWARF_VALUE_REGISTER>: If the register was not saved, return a
+ new optimized out value.
+ * findvar.c (address_from_register): Likewise.
+ * frame.c (put_frame_register): Tweak error string to say the
+ register was not saved, rather than optimized out.
+ * infcmd.c (default_print_one_register_info): Adjust call to
+ val_print_optimized_out. Use value_of_register instead of
+ get_frame_register_value.
+ * mi/mi-main.c (output_register): Use value_of_register instead of
+ get_frame_register_value.
+ * valprint.c (valprint_check_validity): Likewise.
+ (val_print_optimized_out): New value parameter. If the value is
+ lval_register, print <not saved> instead.
+ (value_check_printable, val_print_scalar_formatted): Adjust calls
+ to val_print_optimized_out.
+ * valprint.h (val_print_optimized_out): New value parameter.
+ * value.c (struct value) <optimized_out>: Extend comment.
+ (error_value_optimized_out): New function.
+ (require_not_optimized_out): Use it. Use a different string for
+ lval_register values.
+ * value.h (error_value_optimized_out): New declaration.
+ * NEWS: Mention <not saved>.
+
+2013-10-02 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (compare_search_syms): Use FILENAME_CMP instead of
+ strcmp to compare two symtab filenames.
+
+2013-10-02 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (search_symbols_equal): Delete.
+ (sort_search_symbols_remove_dups): Replace call to
+ search_symbols_equal by call to compare_search_syms,
+ adjusting as necessary.
+
+2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15579
+ * python/python.c: Document gdb.execute command in Python help.
+
+2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-frame.c (frame_info_to_frame_object): Use
+ gdbpy_convert_exception. Clean up Python object on failure.
+
+2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/lib/gdb/command/frame_filters.py
+ (InfoFrameFilter.list_frame_filters): Retrieve exception manually.
+ (ShowFrameFilterPriority.invoke): Ditto.
+
+2013-10-01 Keith Seitz <keiths@redhat.com>
+
+ * linespec.c (struct ls_parser): Make 'saved_arg' const.
+ (parse_linespec): Make 'argptr' const.
+ Remove temporary cast of 'argptr' to const char **.
+ (decode_line_full): Pass const pointer to parse_linespec.
+ (decode_line_1): Likewise.
+ (decode_objc): Make local variable 'new_argptr' const.
+ (find_function_symbols): Remove temporary cast to char *
+ to find_imps.
+ * objc-lang.c (find_imps): Make argument 'method' const.
+ Return const.
+ * objc-lang.h (find_imps): Likewise.
+
+2013-10-01 Keith Seitz <keiths@redhat.com>
+
+ * completer.c (skip_quoted_chars): Make all arguments const.
+ Return const.
+ (skip_quoted): Likewise.
+ * completer.h (skip_quoted_chars): Likewise.
+ (skip_quoted): Likewise.
+ * defs.h (skip_quoted): Remove duplicate declaration.
+ * jv-exp.y: Include completer.h.
+ (yylex): Remove unneccessary cast to char * fro skip_quoted.
+ * p-exp.y: Include completer.h.
+
+2013-10-01 Keith Seitz <keiths@redhat.com>
+
+ * c-exp.y (parse_number): Make first argument const.
+ Make a copy of the input to manipulate.
+ (c_parse_escape): Make first argument const.
+ Make local variable 'tokptr' const.
+ (parse_string_or_char): Make first two arguments const.
+ (macro_original_text): Make const.
+ (lex_one_token): Make local variable 'tokstart' const.
+ Likewise for local variables named 'p'.
+ Cast away const for struct stoken (temporary).
+ * c-lang.h (c_parse_escpae): Make first argument const.
+ * cli/cli-cmds.c (echo_command): Make local variable 'p'
+ const.
+ * cli/cli-setshow.c (do_set_command): Likewise for 'p' in
+ var_string case.
+ * f-exp.y (parse_number): Make first argument const.
+ (match_string_literal): Make local variable 'tokstart'
+ const.
+ (yylex): Make local variable 'p' const.
+ Cast away const for struct stoken (temporary).
+ * go-exp.y (parse_number): Make first argument const.
+ (parse_string_or_char): Likewise.
+ Make local variable 'tokstart' const.
+ (lex_one_token): Likewise for numerous locals called 'p'.
+ Cast away const for struct stoken (temporary).
+ * jv-exp.y (parse_number): Make first argument const.
+ Make local variables 'tokstart' and 'tokptr' const.
+ Cast away const for call to skip_quoted (temporary).
+ (yylex): Make local variable 'p' const.
+ Cast away const for struct stoken (temporary).
+ * m2-exp.y (parse_number): Make local variable 'p' const.
+ (yylex): Likewise for 'tokstart'.
+ Cast away const for struct stoken (temporary).
+ Make local variable 'p' const.
+ * macroexp.c (get_character_constant): Pass a const string
+ to c_parse_escape.
+ (get_string_literal): Likewise.
+ (macro_expand_next): Make first argument const.
+ Cast away const for init_shared_buffer.
+ * macroexp.h (macro_expand_next): Make first argument const.
+ * p-exp.y (yylex): Make a local copy of 'lexptr'.
+ Pass a const string to c_parse_escape.
+ Make local variables 'p' and 'namestart' const.
+ * parse.c (lexptr): Make const.
+ (prev_lexptr): Likewise.
+ (find_template_name_end): Return const.
+ Make argument const, too.
+ (parse_exp_in_context): Make first argument const.
+ Remove the entire const_hack.
+ (parse_exp_in_context_1): Make first argument const.
+ * parser-defs.h (find_template_name_end): Return const.
+ Make argument const, too.
+ (lexptr): Make const.
+ (prev_lexptr): Likewise.
+ * utils.c (parse_escape): Make second argument const.
+ * utils.h (parse_escape): Likewise.
+
+2013-10-01 Keith Seitz <keiths@redhat.com>
+
+ * ada-exp.y (write_object_renaming): Update: struct stoken.ptr
+ is now const.
+ (block_lookup): Make 'raw_name' and 'name' const.
+ * ada-lex.l (processString): Update for struct stoken.ptr.
+ * c-exp.y (qualified_name : TYPENAME COLONCOLON '~' name): Likewise.
+ (operator_stoken): Likewise.
+ (lex_one_token): Remove temporary cast to char * for
+ 'yylval.sval.ptr'.
+ * f-exp.y (yylex): Likewise.
+ * gdb-types.c (lookup_struct_elt_type): Make argument 'name' const.
+ * gdbtypes.h (lookup_struct_elt_type): Likewisee.
+ * go-exp.y (lex_one_token): Remove temporary cast to char * for
+ 'yylval.sval.ptr'.
+ * jv-exp.y (QualifiedName): Update for struct stoken.ptr.
+ (yylex): Remove temporary cast to char * for 'yylval.sval.ptr'.
+ * linespec.c (struct ls_parser): Make 'stream' const.
+ (find_parameter_list_end): Make argument 'input' and local
+ variable 'p' const.
+ (linespec_lexer_lex_string): Make local variables 'start' and
+ 'p' const.
+ Use skip_spaces_const instead of skip_spaces.
+ (linespec_lexer_peek_token): Make local variable 'saved_stream'
+ const.
+ (parse_linespec): Temporarily cast 'argptr' to const for
+ 'parser->lexer.stream'.
+ * m2-exp.y (yylex): Remove temporary cast to char * for
+ 'yylval.sval.ptr'.
+ * objc-lang.c (add_msglist): Make local variable 'p' const.
+ * p-exp.y (exp : exp '['): Update for struct stoken.ptr.
+ (exp : STRING): Make 'sp' const.
+ (parse_number): Make argument 'p' const.
+ * parser-defs.h (struct stoken): Make 'ptr' const.
+
+2013-10-01 Doug Evans <dje@google.com>
+
+ * cli/cli-decode.c: Remove unnecessary inclusion of tui/tui.h.
+
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (c_value_of_root): Remove declaration.
+ (cplus_value_of_root, java_value_of_root): Likewise.
+ (ada_value_of_root): Likewise.
+ (struct language_specific) <value_of_root>: Remove.
+ (languages): Update initialization.
+ (check_scope): Move earlier.
+ (c_value_of_root): Move earlier and rename to ...
+ (value_of_root_1): ... this.
+ (value_of_root): Caller update.
+ (cplus_value_of_root, java_value_of_root): Remove.
+ (ada_value_of_root): Remove.
+
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (varobj_format_string): Remove "unknown".
+ (languages): Remove the first element.
+ * varobj.h (enum varobj_languages): Remove vlang_c.
+
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct language_specific) <language>: Remove.
+ (languages): Update the initialization.
+
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * arm-wince-tdep.c: Remove inclusion of "solib.h" and
+ "solib-target.h". Include "windows-tdep.h".
+ (arm_wince_init_abi): Call windows_init_abi. Remove call to
+ set_solib_ops and set_gdbarch_has_dos_based_file_system.
+ * configure.tgt (arm*-wince-pe | arm*-*-mingw32ce*): Append
+ windows-tdep.o to gdb_target_obs.
+
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * amd64-windows-tdep.c: Remove inclusion of "solib.h" and
+ "solib-target.h".
+ (amd64_windows_init_abi): Don't call set_solib_ops and
+ set_gdbarch_iterate_over_objfiles_in_search_order. Call
+ windows_init_abi instead.
+ * i386-cygwin-tdep.c: Remove inclusion of "solib.h" and
+ "solib-target.h".
+ (i386_cygwin_init_abi): Don't call set_solib_ops,
+ set_gdbarch_has_dos_based_file_system and
+ set_gdbarch_iterate_over_objfiles_in_search_order. Call
+ windows_init_abi instead.
+ * windows-tdep.c: Include "solib.h" and "solib-target.h".
+ (windows_init_abi): New function.
+ (windows_iterate_over_objfiles_in_search_order): Make it
+ static.
+ * windows-tdep.h (windows_init_abi): Declare.
+ (windows_iterate_over_objfiles_in_search_order): Remove
+ declaration.
+
+2013-10-01 Jerome Guitton <guitton@adacore.com>
+
+ Checked in by Joel Brobecker <brobecker@adacore.com>
+ * system-gdbinit/elinos.py (get_elinos_environment): Return an
+ incomplete dictionnary instead of None in case of missing
+ environment variables.
+ (elinos_init): in case of an incomplete environment, best
+ effort to load system libraries instead of abort.
+
+2013-10-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_has_this_exception_support): Ignore
+ mst_solib_trampoline minimal symbols.
+
+2013-09-30 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (darwin_complete_target): Install methods for
+ hardware watchpoint.
+ (i386_darwin_dr_set): Support 32 and 64 bit states.
+ (i386_darwin_dr_get): Likewise.
+ (i386_darwin_dr_set_control): Make static.
+ (i386_darwin_dr_set_addr, i386_darwin_dr_get_addr)
+ (i386_darwin_dr_get_status, i386_darwin_dr_get_control): Likewise.
+
+2013-09-30 Luis Machado <lgustavo@codesourcery.com>
+
+ * aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ Replace GET_LWP with ptid_get_lwp.
+ * aix-thread.c (BUILD_THREAD, BUILD_LWP): Remove.
+ Replace BUILD_THREAD with ptid_build.
+ Replace BUILD_LWP with ptid_build.
+ Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ * alphabsd-nat.c: Replace PIDGET with ptid_get_pid.
+ * amd64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ * amd64bsd-nat.c: Replace PIDGET with ptid_get_pid.
+ * arm-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ Replace GET_LWP with ptid_get_lwp.
+ * armnbsd-nat.c: Replace PIDGET with ptid_get_pid.
+ * auxv.c: Likewise.
+ * breakpoint.c: Likewise.
+ * common/ptid.c (ptid_is_pid): Condense check for
+ null_ptid and minus_one_ptid.
+ (ptid_lwp_p): New function.
+ (ptid_tid_p): New function.
+ * common/ptid.h: Update comments for accessors.
+ (ptid_lwp_p): New prototype.
+ (ptid_tid_p): New prototype.
+ * defs.h (PIDGET, TIDGET, MERGEPID): Do not define.
+ * gcore.c: Replace PIDGET with ptid_get_pid.
+ * gdbthread.h: Likewise.
+ * gnu-nat.c: Likewise.
+ * hppa-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ * hppabsd-nat.c: Replace PIDGET with ptid_get_pid.
+ * hppanbsd-nat.c: Likewise.
+ * i386-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace TIDGET with ptid_get_lwp.
+ * i386bsd-nat.c: Replace PIDGET with ptid_get_pid.
+ * ia64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+ * infcmd.c: Likewise.
+ * inferior.h: Likewise.
+ * inflow.c: Likewise.
+ * infrun.c: Likewise.
+ * linux-fork.c: Likewise.
+ * linux-nat.c: Replace PIDGET with ptid_get_pid.
+ Replace GET_PID with ptid_get_pid.
+ Replace is_lwp with ptid_lwp_p.
+ Replace GET_LWP with ptid_get_lwp.
+ Replace BUILD_LWP with ptid_build.
+
+2013-09-28 Mike Frysinger <vapier@gentoo.org>
+
+ * common/linux-btrace.c: Move sys/syscall.h out of the
+ HAVE_LINUX_PERF_EVENT_H check and wrap it in HAVE_SYS_SYSCALL_H.
+ Also check for SYS_perf_event_open before attempting to buid.
+
+2013-09-27 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_section_info): Add comment.
+ (dwp_file): Split loaded_cutus into loaded_cus, loaded_tus.
+ All uses updated.
+ (dwarf2_section_empty_p): Rename arg from "info" to "section".
+ (dwarf2_read_section): Delete unused local "header". Add section
+ name to error message.
+ (create_dwo_in_dwp): Tweak comment.
+ (MAX_NR_DWO_SECTIONS): Combine count of .debug_macro + .debug_macinfo.
+
+ * dwarf2read.c (die_reader_specs): Tweak comment.
+ (get_section_bfd_owner, get_section_bfd_section): New functions.
+ (get_section_name, get_section_file_name): New functions.
+ (get_section_id, get_section_flags): New functions.
+ (*): Use new functions to access section fields.
+
+ * dwarf2read.c (struct dwo_file): Add/tweak comments.
+ (lookup_dwo_unit_in_dwp): Renamed from lookup_dwo_in_dwp. Remove
+ arg "htab". All callers updated.
+ (create_debug_types_hash_table): Remove redundant copy of
+ abbrev_section.
+ (create_dwo_in_dwp): Tweak comments.
+ (read_str_index): Tweak comment. Record dwarf form name in static
+ local.
+
+2013-09-27 Pedro Alves <palves@redhat.com>
+
+ * remote.h (REMOTE_SYSROOT_PREFIX): New define.
+ (remote_filename_p): Add comment.
+ * remote.c (remote_filename_p): Adjust to use
+ REMOTE_SYSROOT_PREFIX.
+ * solib.c (solib_find): When deciding whether we need to add a
+ directory separator, check whether the sysroot is "remote:"
+ instead of checking whether the patch has a drive spec. Add
+ comments.
+
+2013-09-27 Pedro Alves <palves@redhat.com>
+
+ * remote.c (struct stop_reply) <solibs_changed, replay_event>:
+ Delete fields.
+ (remote_parse_stop_reply): Adjust, setting event->ws.kind
+ directly.
+
+2013-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix set debug frame output.
+ * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry. Move
+ SENTINEL_FRAME entry lower to match enum frame_type order.
+
+2013-09-26 Pierre Muller <muller@sourceware.org>
+
+ Replace constant values 8 to 15 by AMD64_R8_REGNUM to
+ AMD64_R15_REGNUM when a register index is expected.
+ * amd64-windows-tdep.c (amd64_windows_dummy_call_integer_regs):
+ Substitute in array.
+ * amd64-tdep.c (amd64_dwarf_regmap): Ditto.
+ (amd64_push_arguments): Substitute in integer_regnum array.
+
+2013-09-25 Doug Evans <dje@google.com>
+
+ * objfiles.c (allocate_objfile): Move comment to better place.
+
+ New option "set debug symfile on".
+ * NEWS: Mention "set debug symfile".
+ * Makefile.in (SFILES): Add symfile-debug.c.
+ (COMMON_OBS): Add symfile-debug.o.
+ * elfread.c (elf_symfile_read): Use objfile_set_sym_fns to set the
+ objfile's symbol functions.
+ * objfiles.h (objfile_set_sym_fns): Declare.
+ * symfile-debug.c: New file.
+ * symfile.c (syms_from_objfile_1): Use objfile_set_sym_fns to set the
+ objfile's symbol functions.
+ (reread_symbols): Ditto.
+
+ * symfile.h (struct sym_fns): Delete member "sym_flavour".
+ All uses updated.
+ (add_symtab_fns): Update prototype.
+ * symfile.c (sym_fns_ptr): Delete. Replace with ...
+ (registered_sym_fns): ... this.
+ (symtab_fns): Update.
+ (add_symtab_fns): New arg "flavour". All callers updated.
+ (find_sym_fns): Rewrite to use new sym_fns registry.
+
+ * symfile.h (struct sym_fns): Add "objfile" argument to
+ sym_read_linetable. All uses updated.
+
+ * symtab.c (domain_name, search_domain_name): New functions.
+ * symtab.h (domain_name, search_domain_name): Declare.
+
+ * symfile.h (struct quick_symbol_functions): Reorg arg list of
+ map_matching_symbols so objfile is first. All uses updated.
+ * dwarf2read.c (dw2_map_matching_symbols): Update signature.
+ * psymtab.c (map_matching_symbols_psymtab): Update signature.
+
+2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ PR shlibs/8882
+ * solib-svr4.c (svr4_read_so_list): Skip the vDSO when reading
+ link map entries.
+
+2013-09-24 Doug Evans <dje@google.com>
+
+ * objfiles.c (free_objfile): Move comment.
+
+2013-09-24 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-exp.y (string_to_operator): Delete.
+ (dummy_string_to_ada_operator): Delete.
+
+2013-09-24 Joel Brobecker <brobecker@adacore.com>
+
+ Revert:
+ * i386-tdep.h (enum amd64_reg_class): New, moved here from
+ amd64-tdep.c.
+ (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
+ call_dummy_integer_regs, and classify.
+ * amd64-tdep.h (amd64_classify): Add declaration.
+ * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
+ (amd64_reg_class): Delete, moved to i386-tdep.h.
+ (amd64_classify): Make non-static. Move declaration to amd64-tdep.h.
+ Replace call to amd64_classify by call to tdep->classify.
+ (amd64_push_arguments): Get the list of registers to use for
+ passing integer parameters from the gdbarch tdep structure,
+ rather than using a hardcoded one. Replace calls to amd64_classify
+ by calls to tdep->classify.
+ (amd64_push_dummy_call): Get the register number used for
+ the "hidden" argument from tdep->call_dummy_integer_regs.
+ (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
+ and tdep->call_dummy_integer_regs. Set tdep->classify.
+
+2013-09-24 Joel Brobecker <brobecker@adacore.com>
+
+ Revert:
+ * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
+ * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
+ where tdep->memory_args_by_pointer is non-zero.
+
+2013-09-24 Joel Brobecker <brobecker@adacore.com>
+
+ Revert:
+ * i386-tdep.h (struct gdbarch_tdep): Add new field
+ integer_param_regs_saved_in_caller_frame.
+ * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
+ stack if tdep->integer_param_regs_saved_in_caller_frame is set.
+
+2013-09-24 Joel Brobecker <brobecker@adacore.com>
+
+ * amd64-windows-tdep.c: #include "value.h"
+ (amd64_windows_classify): Delete.
+ (amd64_windows_passed_by_integer_register)
+ (amd64_windows_passed_by_xmm_register)
+ (amd64_windows_passed_by_pointer)
+ (amd64_windows_adjust_args_passed_by_pointer)
+ (amd64_windows_store_arg_in_reg, amd64_windows_push_arguments)
+ (amd64_windows_push_dummy_call): New functions.
+ (amd64_windows_init_abi): Remove setting of
+ tdep->call_dummy_num_integer_regs, tdep->call_dummy_integer_regs,
+ tdep->classify, tdep->memory_args_by_pointer and
+ tdep->integer_param_regs_saved_in_caller_frame.
+ Add call to set_gdbarch_push_dummy_call.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (open_and_init_dwp_file): Try open_dwp_file also with
+ objfile->original_name.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Pass down original filename for objfile.
+ * coffread.c (coff_symfile_read): Update symbol_file_add_separate call.
+ * elfread.c (elf_symfile_read): Likewise.
+ * jit.c (jit_object_close_impl): Update allocate_objfile call, no
+ longer set ORIGINAL_NAME.
+ (jit_bfd_try_read_symtab): Update symbol_file_add_from_bfd call.
+ * jv-lang.c (get_dynamics_objfile): Update allocate_objfile call.
+ * machoread.c (macho_add_oso_symfile): Add parameter name. Update
+ symbol_file_add_from_bfd call.
+ (macho_symfile_read_all_oso): Update two macho_add_oso_symfile calls.
+ (macho_check_dsym): Add parameter filenamep. Change function comment.
+ Set *filenamep.
+ (macho_symfile_read): New variable dsym_filename. Update
+ macho_check_dsym call. Use it for symbol_file_add_separate.
+ * objfiles.c (allocate_objfile): Add parameter name. New comment for
+ it. Use it for objfile->original_name.
+ (objfile_name): Return OBFD's filename, if available.
+ * objfiles.h (allocate_objfile): Add new parameter name.
+ * solib.c (solib_read_symbols): Update symbol_file_add_from_bfd call.
+ * symfile-mem.c (symbol_file_add_from_memory): Update
+ symbol_file_add_from_bfd call.
+ * symfile.c (read_symbols): Update symbol_file_add_separate call, new
+ comment for it.
+ (symbol_file_add_with_addrs): New parameter name, add function comment
+ for it. Remove variable name. Update allocate_objfile call.
+ (symbol_file_add_separate): New parameter name, add function comment
+ for it. Update symbol_file_add_with_addrs call.
+ (symbol_file_add_from_bfd): New parameter name. Update
+ symbol_file_add_with_addrs call.
+ (symbol_file_add): Update symbol_file_add_from_bfd call.
+ (reread_symbols): New variable original_name. Save
+ objfile->original_name by it.
+ * symfile.h (symbol_file_add_from_bfd, symbol_file_add_separate): Add
+ second parameter.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup: Add objfile_name accessor function.
+ * ada-lang.c (is_known_support_routine): Use objfile_name.
+ * auto-load.c (source_gdb_script_for_objfile)
+ (auto_load_objfile_script): Likewise.
+ * coffread.c (coff_symtab_read, read_one_sym): Likewise.
+ * dbxread.c (dbx_symfile_read): Likewise.
+ * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+ * dwarf2loc.c (locexpr_describe_location_piece): Likewise.
+ * dwarf2read.c (dwarf2_get_dwz_file, dwarf2_read_index)
+ (dw2_symtab_iter_next, dw2_expand_symtabs_matching)
+ (lookup_dwp_signatured_type, lookup_dwo_unit)
+ (dwarf2_build_psymtabs_hard, scan_partial_symbols, process_queue)
+ (fixup_go_packaging, process_imported_unit_die, dwarf2_physname)
+ (read_import_statement, create_dwo_cu, open_and_init_dwp_file)
+ (lookup_dwo_cutu, read_call_site_scope, dwarf2_ranges_read)
+ (dwarf2_record_block_ranges, read_common_block, read_typedef)
+ (read_subrange_type, load_partial_dies, read_partial_die)
+ (read_addr_index_1, read_str_index, dwarf_decode_lines_1)
+ (die_containing_type, build_error_marker_type, lookup_die_type)
+ (follow_die_ref_or_sig, follow_die_ref, dwarf2_fetch_die_loc_sect_off)
+ (dwarf2_fetch_constant_bytes, follow_die_sig, get_signatured_type)
+ (get_DW_AT_signature_type, write_psymtabs_to_index)
+ (save_gdb_index_command): Likewise.
+ * elfread.c (find_separate_debug_file_by_buildid, elf_symfile_read):
+ Likewise.
+ * expprint.c (dump_subexp_body_standard): Likewise.
+ * gdbtypes.c (type_name_no_tag_or_error): Likewise.
+ * jit.c (jit_object_close_impl): Use the objfile field name renamed to
+ original_name.
+ * linux-thread-db.c (try_thread_db_load_from_pdir_1): New variable
+ obj_name, use objfile_name for it, use the variable.
+ (try_thread_db_load_from_pdir, has_libpthread, thread_db_new_objfile):
+ Use objfile_name.
+ * machoread.c (macho_symtab_read, macho_check_dsym)
+ (macho_symfile_relocate): Likewise.
+ * maint.c (maintenance_translate_address): Likewise.
+ * minidebug.c (find_separate_debug_file_in_section): Likewise.
+ * minsyms.c (install_minimal_symbols): Likewise.
+ * objfiles.c (allocate_objfile): Use the objfile field name renamed to
+ original_name.
+ (filter_overlapping_sections): Use objfile_name.
+ (objfile_name): New function.
+ * objfiles.h (struct objfile): Rename field name to original_name.
+ (objfile_name): New prototype.
+ * printcmd.c (sym_info, address_info): Use objfile_name.
+ * probe.c (parse_probes, collect_probes, compare_probes)
+ (info_probes_for_ops): Likewise.
+ * progspace.c (clone_program_space): Likewise.
+ * psymtab.c (require_partial_symbols, dump_psymtab, allocate_psymtab)
+ (maintenance_info_psymtabs): Likewise.
+ * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
+ (source_section_scripts): Likewise.
+ * python/py-objfile.c (objfpy_get_filename): Likewise.
+ * python/py-progspace.c (pspy_get_filename): Likewise.
+ * solib-aix.c (solib_aix_get_toc_value): Likewise.
+ * solib-som.c (match_main, som_solib_section_offsets): Likewise.
+ * solib.c (solib_read_symbols): Likewise.
+ * stabsread.c (scan_file_globals): Likewise.
+ * stap-probe.c (handle_stap_probe): Likewise.
+ * symfile.c (symbol_file_clear, separate_debug_file_exists)
+ (find_separate_debug_file_by_debuglink): Likewise.
+ (reread_symbols): Likewise. Use the objfile field name renamed to
+ original_name.
+ (allocate_symtab): Use objfile_name.
+ * symmisc.c (print_symbol_bcache_statistics, print_objfile_statistics)
+ (dump_objfile, dump_msymbols, dump_symtab_1)
+ (maintenance_print_msymbols, maintenance_print_objfiles)
+ (maintenance_info_symtabs, maintenance_check_symtabs): Likewise.
+ * target.c (target_translate_tls_address, target_info): Likewise.
+ * xcoffread.c (xcoff_initial_scan): Make variable name const. Use
+ objfile_name.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * probe.c (parse_probes): Rename variable objfile_name to
+ objfile_namestr.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Remove solib-sunos.c.
+ * Makefile.in (ALLDEPFILES): Remove solib-sunos.c.
+ * config/m68k/obsd.mh (NATDEPFILES): Remove solib-sunos.o.
+ * objfiles.c (rt_common_objfile): Remove.
+ (free_objfile): Remove rt_common_objfile comparison.
+ * objfiles.h (rt_common_objfile): Remove.
+ * solib-sunos.c: Remove.
+ * symfile.c (reread_symbols): Remove solib-sunos.c comment.
+
+2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Remove a.out NetBSD and OpenBSD hosts.
+ * NEWS (Removed native configurations): New.
+ * config/arm/nbsdaout.mh: Remove.
+ * config/i386/nbsdaout.mh: Remove.
+ * config/i386/obsdaout.mh: Remove.
+ * config/m68k/nbsdaout.mh: Remove.
+ * config/sparc/nbsdaout.mh: Remove.
+ * config/vax/nbsdaout.mh: Remove.
+ * configure.host (arm*-*-netbsd*, i[34567]86-*-netbsd*)
+ (i[34567]86-*-openbsd[0-2].*, i[34567]86-*-openbsd3.[0-3])
+ (m68*-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Add them to obsolete
+ error.
+ (arm*-*-netbsd*, i[34567]86-*-netbsd*, i[34567]86-*-openbsd[0-2].*)
+ (i[34567]86-*-openbsd3.[0-3], m68*-*-netbsd*, sparc-*-netbsdaout*)
+ (sparc-*-netbsd*, vax-*-netbsd*): Remove.
+
+2013-09-23 Tom Tromey <tromey@redhat.com>
+
+ * linespec.c (struct minsym_and_objfile): Remove.
+ (minsym_and_objfile_d): Remove.
+ (struct linespec, struct collect_info, linespec_parse_basic)
+ (convert_linespec_to_sals, linespec_parser_delete, decode_objc)
+ (compare_msymbols, find_method, find_function_symbols)
+ (find_linespec_symbols, struct collect_minsyms, compare_msyms)
+ (add_minsym, search_minsyms_for_name): Update.
+
+2013-09-23 Andrew Burgess <aburgess@broadcom.com>
+
+ * regcache.c: Add include of valprint.h.
+ (dump_endian_bytes): Delete.
+ (regcache_dump): Use print_hex_chars not dump_endian_bytes.
+
+2013-09-23 Andrew Burgess <aburgess@broadcom.com>
+
+ * sh64-tdep.c (sh64_do_fp_register): Use print_hex_chars.
+
+2013-09-19 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (remove_threaded_breakpoints): Skip non-user
+ breakpoints.
+
+2013-09-19 Pedro Alves <palves@redhat.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+ Yue Lu <hacklu.newborn@gmail.com>
+
+ * gnu-nat.c (gnu_read_inferior, gnu_write_inferior): Make static.
+ Take a gdb_byte pointer instead of a char pointer.
+
+ * gnu-nat.c (gnu_xfer_memory): Adjust interface as
+ gnu_xfer_partial helper.
+ (gnu_xfer_partial): New function.
+ (gnu_target): Don't install a deprecated_xfer_memory hook.
+ Install a to_xfer_partial hook.
+
+2013-09-19 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Constification.
+ * main.c (captured_main): Replace catch_command_errors by
+ catch_command_errors_const. Twice.
+ * symfile.c (symbol_file_add_main_1): Make args parameter const.
+ (symbol_file_add): Make name parameter const.
+ (symbol_file_add_main, symbol_file_add_main_1): Make args parameter const.
+ (symfile_bfd_open): Make name parameter const, rename it to cname. Add
+ variable name. Change their usage accordingly.
+ * symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter
+ const.
+ (symbol_file_add_main): Make args parameter const.
+
+2013-09-18 Raunaq Bathija <raunaq12@in.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ * xcoffread.c (struct coff_symbol): Use CORE_ADDR as type
+ of c_value member.
+ (read_xcoff_symtab): Use CORE_ADDR as type of fcn_start_addr.
+
+2013-09-18 Pedro Alves <palves@redhat.com>
+ Yue Lu <hacklu.newborn@gmail.com>
+
+ * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
+ (gnu_create_inferior)
+ (gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
+ (set_sig_thread_cmd): Use the lwpid field of ptids to
+ store/extract thread ids instead of the tid field.
+ * i386gnu-nat.c (gnu_fetch_registers): Adjust.
+
+2013-09-18 Andrew Burgess <aburgess@broadcom.com>
+
+ * infcmd.c (default_print_one_register_info): Add detection of
+ optimized out values.
+ (default_print_registers_info): Switch to using
+ get_frame_register_value.
+
+2013-09-18 Markus Metzger <markus.t.metzger@intel.com>
+
+ * infrun.c (handle_inferior_event): Check if we know the
+ function start address before setting a resume breakpoint.
+
+2013-09-18 Pedro Alves <palves@redhat.com>
+
+ * gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to
+ minus_one_ptid instead of looking at the ptid's tid field and
+ comparing that to -1.
+
+2013-09-18 Andrew Burgess <aburgess@broadcom.com>
+
+ * main.h (get_gdb_program_name): Remove extra whitespace.
+
+2013-09-18 Andrew Burgess <aburgess@broadcom.com>
+
+ * main.h (get_gdb_program_name): Add declaration.
+ * main.c (get_gdb_program_name): Add definition.
+
+2013-09-17 Doug Evans <dje@google.com>
+
+ * dwarf2read.c: Move definitions of complaint functions to after
+ forward declarations of local functions.
+
+2013-09-17 Muhammad Waqas <mwaqas@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR gdb/11568
+ * breakpoint.c (remove_threaded_breakpoints): New function.
+ (_initialize_breakpoint): Attach remove_threaded_breakpoints
+ as thread_exit observer.
+
+2013-09-17 Pedro Alves <palves@redhat.com>
+
+ PR gdb/15911
+ * ada-tasks.c (task_command_1): Adjust call to print_stack_frame.
+ * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
+ * corelow.c (core_open):
+ * frame.h (print_stack_frame, print_frame_info): New
+ 'set_current_sal' parameter.
+ * infcmd.c (finish_command, kill_command): Adjust call to
+ print_stack_frame.
+ * inferior.c (inferior_command): Likewise.
+ * infrun.c (normal_stop): Likewise.
+ * linux-fork.c (linux_fork_context): Likewise.
+ * record-full.c (record_full_goto_entry, record_full_restore):
+ Likewise.
+ * remote-mips.c (common_open): Likewise.
+ * stack.c (print_stack_frame): New 'set_current_sal' parameter.
+ Use it.
+ (print_frame_info): New 'set_current_sal' parameter. Set the last
+ displayed sal depending on the new paremeter instead of looking at
+ print_what.
+ (backtrace_command_1, select_and_print_frame, frame_command)
+ (current_frame_command, up_command, down_command): Adjust call to
+ print_stack_frame.
+ * thread.c (print_thread_info, restore_selected_frame)
+ (do_captured_thread_select): Adjust call to print_stack_frame.
+ * tracepoint.c (tfind_1): Likewise.
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
+ (mi_cmd_stack_info_frame): Likewise.
+ * mi/mi-interp.c (mi_on_normal_stop): Likewise.
+ * mi/mi-main.c (mi_cmd_exec_return, mi_cmd_trace_find): Likewise.
+
+2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * value.c (isvoid_internal_fn): Replace "parameter" with
+ "argument".
+
+2013-09-16 Stan Shebs <stan@codesourcery.com>
+
+ * README: Update references to writing code for GDB.
+ * configure.ac (build_warnings): Remove obsolete comment.
+ * configure: Regenerate.
+ * gdbarch.sh: Remove references to gdbint.texinfo.
+ * gdbarch.h: Regenerate.
+ * gdbtypes.c (objfile_type): Remove comments referencing internals
+ manual and D10V.
+
+2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * NEWS: Mention new convenience function $_isvoid.
+ * value.c (isvoid_internal_fn): New function.
+ (_initialize_values): Add new convenience function $_isvoid.
+
+2013-09-16 Pierre Muller <muller@sourceware.org>
+
+ * arm-linux-tdep.c: Add "elf/common.h" header.
+ Remove AT_HWCAP macro definintion as it is provided in
+ added include file.
+ * s390-tdep.c: Remove system header <elf.h>
+ Add "elf/common.h" header for AT_HWCAP definition.
+ (s390_core_read_description): Use correct CORE_ADDR
+ for hwcap local variable used as third parameter
+ of function target_auxv_search.
+
+2013-09-14 Pierre Muller <muller@sourceware.org>
+ Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * common/filestuff.c (gdb_fopen_cloexec): Do not try to use "e"
+ mode if operating system doesn't know O_CLOEXEC.
+
+2013-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * symfile.c (reread_symbols): Move variable obfd_filename to a more
+ inner block.
+
+2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * NEWS: Mention TDB support.
+ * features/s390-tdb.xml: New file.
+ * features/s390-te-linux64.xml: New file.
+ * features/s390x-te-linux64.xml: New file.
+ * features/Makefile (WHICH): Add new tdescs above.
+ (s390-te-linux64-expedite): Set.
+ (s390x-te-linux64-expedite): Set.
+ * features/s390-te-linux64.c: New file (generated).
+ * features/s390x-te-linux64.c: New file (generated).
+ * regformats/s390-te-linux64.dat: New file (generated).
+ * regformats/s390x-te-linux64.dat: New file (generated).
+ * s390-tdep.h (HWCAP_S390_HIGH_GPRS): Define.
+ (HWCAP_S390_TE): Likewise.
+ (S390_TDB_DWORD0_REGNUM): Likewise.
+ (S390_TDB_DWORD0_REGNUM): Likewise.
+ (S390_TDB_ABORT_CODE_REGNUM): Likewise.
+ (S390_TDB_CONFLICT_TOKEN_REGNUM): Likewise.
+ (S390_TDB_ATIA_REGNUM): Likewise.
+ (S390_TDB_R0_REGNUM): Likewise.
+ (S390_TDB_R1_REGNUM): Likewise.
+ (S390_TDB_R2_REGNUM): Likewise.
+ (S390_TDB_R3_REGNUM): Likewise.
+ (S390_TDB_R4_REGNUM): Likewise.
+ (S390_TDB_R5_REGNUM): Likewise.
+ (S390_TDB_R6_REGNUM): Likewise.
+ (S390_TDB_R7_REGNUM): Likewise.
+ (S390_TDB_R8_REGNUM): Likewise.
+ (S390_TDB_R9_REGNUM): Likewise.
+ (S390_TDB_R10_REGNUM): Likewise.
+ (S390_TDB_R11_REGNUM): Likewise.
+ (S390_TDB_R12_REGNUM): Likewise.
+ (S390_TDB_R13_REGNUM): Likewise.
+ (S390_TDB_R14_REGNUM): Likewise.
+ (S390_TDB_R15_REGNUM): Likewise.
+ (S390_NUM_REGS): Increase.
+ (S390_IS_TDBREGSET_REGNUM): New macro.
+ (s390_regmap_tdb): Declare.
+ (s390_sizeof_tdbregset): Define.
+ (tdesc_s390_te_linux64): Declare.
+ (tdesc_s390x_te_linux64): Likewise.
+ * s390-tdep.c: Add includes for "auxv.h", <elf.h>,
+ "features/s390-te-linux64.c", and "features/s390x-te-linux64.c".
+ (s390_regmap_tdb): New regmap.
+ (s390_supply_tdb_regset): New function.
+ (s390_tdb_regset): New regset.
+ (s390_linux64v2_regset_sections): Add TDB regset to list.
+ (s390x_linux64v2_regset_sections): Likewise.
+ (s390_regset_from_core_section): Recognize TDB core note section.
+ (s390_core_read_description): If HWCAP indicates TE support,
+ select tdesc_s390_te_linux64 or tdesc_s390_s390x_te_linux64.
+ (s390_gdbarch_init): Handle TDB regset.
+ (_initialize_s390_tdep): Initialize new tdescs.
+ * s390-nat.c (HWCAP_S390_HIGH_GPRS): Remove define.
+ (have_regset_tdb): New variable.
+ (s390_native_supply): Support register invalidation.
+ (fetch_regset): Invalidate registers if ptrace yields ENODATA.
+ (check_regset): Treat ENODATA as "regset exists".
+ (s390_linux_fetch_inferior_registers): Add TDB.
+ (s390_read_description): Check for TDB existence and select
+ appropriate tdesc.
+ * gdbserver/Makefile.in (clean): Add removal of new makefile
+ targets.
+ (s390-te-linux64.c): New makefile target.
+ (s390x-te-linux64.c): Likewise.
+ * gdbserver/configure.srv (srv_regobj): Append new objects
+ s390-te-linux64.o and s390x-te-linux64.o.
+ (srv_xmlfiles): Append new files s390-te-linux64.xml,
+ s390x-te-linux64.xml, and s390-tdb.xml.
+ * gdbserver/linux-s390-low.c (init_registers_s390_te_linux64): New
+ declaration.
+ (tdesc_s390_te_linux64): Likewise.
+ (init_registers_s390x_te_linux64): Likewise.
+ (tdesc_s390x_te_linux64): Likewise.
+ (s390_check_regset): Treat ENODATA as "regset exists".
+ (s390_arch_setup): Add TDB regset support.
+ (initialize_low_arch): Initialize registers for new tdescs.
+
+2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-tdep.h (S390_IS_GREGSET_REGNUM): New macro.
+ (S390_IS_FPREGSET_REGNUM): New macro.
+ * s390-tdep.c (s390_dwarf_regmap): Make const.
+ (regnum_is_gpr_full): New function for replacing repeated code.
+ (s390_pseudo_register_name): Use it.
+ (s390_pseudo_register_type): Likewise.
+ (s390_pseudo_register_read): Likewise.
+ (s390_pseudo_register_write): Likewise.
+ (s390_unwind_pseudo_register): Likewise.
+ (s390_regmap_gregset): New format for regmap.
+ (s390x_regmap_gregset): Likewise.
+ (s390_regmap_fpregset): Likewise.
+ (s390_regmap_upper): Likewise.
+ (s390_regmap_last_break): Likewise.
+ (s390_regmap_system_call): Likewise.
+ (s390_supply_regset): Adjust to new regmap format.
+ (s390_collect_regset): Likewise.
+ * s390-nat.c (s390_native_supply): Adjust to new regmap format.
+ (s390_native_collect): Likewise.
+ (supply_gregset): Likewise.
+ (fill_gregset): Likewise.
+ (supply_fpregset): Likewise.
+ (fill_fpregset): Likewise.
+ (fetch_regset): Likewise.
+ (store_regset): Likewise.
+ (s390_linux_fetch_inferior_registers): Likewise.
+ (s390_linux_fetch_inferior_registers): Likewise.
+
+2013-09-12 Andrew Pinski <apinski@cavium.com>
+
+ * aarch64-linux-nat.c (aarch64_linux_set_debug_regs): Zero out regs.
+
+2013-09-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * config/s390/s390.mh (NATDEPFILES): Add linux-waitpid.o.
+
+2013-09-09 Andrew Burgess <aburgess@broadcom.com>
+
+ * top.c (quit_confirm): Remove use of deprecated_init_ui_hook.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (dump_mem, gdbsim_fetch_register)
+ (gdbsim_store_register, gdbsim_kill, gdbsim_load)
+ (gdbsim_create_inferior, gdbsim_open, gdbsim_close)
+ (gdbsim_detach, gdbsim_resume_inferior, gdbsim_wait)
+ (gdbsim_files_info, gdbsim_mourn_inferior): Send debug output to
+ gdb_stdlog.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (dump_mem): Constify buf parameter.
+ gdbsim_xfer_inferior_memory): Rename to ...
+ (gdbsim_xfer_memory): ... this. Adjust interface as
+ target_xfer_partial helper.
+ (gdbsim_xfer_partial): New function.
+ (init_gdbsim_ops): Don't install a deprecated_xfer_memory hook.
+ Install a to_xfer_partial hook. Send output to gdb_stdlog.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (gdbsim_xfer_inferior_memory): Use
+ host_address_to_string, and send debug output to gdb_stdlog.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add cris-linux-tdep.o.
+ * configure.tgt: Add cris-linux-tdep.o and linux-tdep.o to
+ gdb_target_obs for cris target.
+ * cris-tdep.c (struct gdbarch_tdep): Move to cris-tdep.h.
+ (cris_gdbarch_init): Move calls to
+ set_gdbarch_fetch_tls_load_module_address and
+ set_solib_svr4_fetch_link_map_offsets to cris-linux-tdep.c.
+ Add call to gdbarch_init_osabi.
+ * cris-linux-tdep.c: New file.
+ * cris-tdep.h: New file.
+
+2013-09-06 Andrew Burgess <aburgess@broadcom.com>
+
+ * tui/tui-io.c (tui_initialize_io): Remove legacy comment referring
+ to deprecated_init_ui_hook.
+
+2013-09-06 Andrew Burgess <aburgess@broadcom.com>
+
+ * cli/cli-interp.c (_initialize_cli_interp): Add a
+ command_loop_proc to interp_procs.
+ * event-top.c (cli_command_loop): Change signature to match
+ interp_command_loop_ftype.
+ * event-top.h (cli_command_loop): Same.
+ * interps.c (interp_new): Require every interpreter to have a
+ command_loop_proc.
+ (current_interp_command_loop): Just call the command_loop_proc on
+ the current interpreter.
+ * tui/tui-interp.c (_initialize_tui_interp): Add a
+ command_loop_proc to interp_procs.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (cris_gdbarch_init): Add call to
+ get_gdbarch_fetch_tls_load_module_address.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
+ (cris_elf_gregset_t): Rename from elf_gregset_t.
+ (crisv32_elf_gregset_t): Adjust.
+ (cris_supply_gregset, fetch_core_registers): Adjust.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
+
+2013-09-05 Andrew Burgess <aburgess@broadcom.com>
+
+ * defs.h (deprecated_command_loop_hook): Remove, including
+ references in comments.
+ * interps.c (current_interp_command_loop): No longer use
+ deprecated_command_loop_hook.
+ (clear_interpreter_hooks): Remove deprecated_command_loop_hook
+ setup.
+ * top.c (deprecated_command_loop_hook): Remove.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
+ local is now int instead of ULONGEST. Print it with %d
+ instead of paddress.
+
+2013-09-05 Tristan Gingold <gingold@adacore.com>
+
+ * MAINTAINERS: Remove avr maintainership.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * findvar.c (value_of_register): Rework in terms of
+ value_of_register_lazy.
+
+2013-09-05 Muhammad Bilal <mbilal@codesourcery.com>
+
+ * symfile.c (add_symbol_file_command): Remove trailing
+ whitespaces and blank line after comment.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-regs.c (tui_register_format): Don't look at the
+ register's name here. Return string representing register
+ value instead of storing it in the data element.
+ (tui_get_register): Compare register string representations
+ instead of register value states and contents.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ PR tui/15933
+ * tui/tui-regs.c (tui_show_registers): Show registers of the
+ selected frame, not the current frame.
+
+2013-09-05 Ricard Wanderlof <ricardw@axis.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-09-04 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (queue_and_load_all_dwo_tus): New function.
+ (queue_and_load_dwo_tu): New function.
+ (lookup_dwo_signatured_type): Set per_cu.tu_read.
+ (maybe_queue_comp_unit): Rename this_cu argument to dependent_cu.
+ Make dependent_cu optional.
+ (dw2_do_instantiate_symtab): If we just loaded a CU from a DWO,
+ and an older .gdb_index is in use, queue and load all its TUs too.
+
+2013-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH.
+ * cli/cli-cmds.c (find_and_open_script): Add OPF_RETURN_REALPATH to
+ variable search_flags.
+ * defs.h (OPF_DISABLE_REALPATH): Rename to ...
+ (OPF_RETURN_REALPATH): ... here.
+ * dwarf2read.c (try_open_dwop_file): Set OPF_RETURN_REALPATH for flags.
+ * exec.c (exec_file_attach): Remove OPF_DISABLE_REALPATH from openp
+ call. Twice.
+ * nto-tdep.c (nto_find_and_open_solib): Add OPF_RETURN_REALPATH for
+ openp call.
+ * solib.c (solib_find): Likewise. Four times.
+ * source.c (openp): Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH
+ in the function comment and for the realpath_fptr variable.
+ (source_full_path_of): Add OPF_RETURN_REALPATH for openp call.
+ (find_and_open_source): Likewise. Twice.
+ * symfile.c (symfile_bfd_open): Likewise, also twice.
+
+2013-09-04 Doug Evans <dje@google.com>
+
+ * progspace.c (save_current_space_and_thread): Remove unnecessary
+ call to save_current_inferior.
+
+2013-09-04 Andrew Burgess <aburgess@broadcom.com>
+
+ * sh64-tdep.c (sh64_do_register): Return after printing message
+ about unavailable register contents.
+
+2013-09-04 Muhammad Bilal <mbilal@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * symfile.c (add_symbol_file_command): Error out on unknown
+ option. Handle EXPECTING_SEC_ADDR/EXPECTING_SEC_NAME before '-'
+ options and collapse into single conditional branch.
+
+2013-09-03 Luis Machado <lgustavo@codesourcery.com>
+
+ * inf-child.c (inf_child_follow_fork): New parameter
+ detach_fork.
+ * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
+ * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
+ * inferior.h (detach_fork): Remove.
+ * infrun.c (detach_fork): Adjust comment and make it
+ static.
+ (follow_fork): Pass detach_fork parameter to
+ target_follow_fork.
+ * linux-nat.c (linux_child_follow_fork): New parameter
+ detach_fork.
+ * target.c (target_follow_fork): New parameter detach_fork.
+ Pass detach_fork as parameter and print its value.
+ * target.h (struct target_ops) <to_follow_fork>: New int
+ parameter.
+ (target_follow_fork): New parameter detach_fork.
+
+2013-09-03 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-ia64-hpux.c (ia64_hpux_relocate_section_addresses):
+ Replace sec->bfd by sec->the_bfd_section->owner.
+
+2013-09-03 Yao Qi <yao@codesourcery.com>
+
+ * linux-tdep.c (linux_is_uclinux): New function. Code moved
+ from linux_has_shared_address_space.
+ (linux_has_shared_address_space): Call linux_is_uclinux.
+ * linux-tdep.h (linux_is_uclinux): Declare.
+ * m68klinux-tdep.c (m68k_linux_get_sigtramp_info): Call
+ linux_is_uclinux.
+
+2013-09-03 Yao Qi <yao@codesourcery.com>
+
+ * config/djgpp/fnchange.lst: Remove entry of
+ i386-interix-nat.c and i386-interix-tdep.c.
+ * configure.ac: Remove '*-*-interix*'.
+ * configure: Re-generated.
+ * defs.h (enum gdb_osabi): Remove GDB_OSABI_INTERIX.
+ * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Remove
+ obsolete comments.
+ * osabi.c (gdb_osabi_names): Remove "Interix".
+
+2013-09-03 Yao Qi <yao@codesourcery.com>
+
+ * arch-utils.c: Fix typo in the comment to gdbarch_update_p.
+
+2013-09-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record.h (record_print_flag) <record_print_src_line,
+ record_print_insn_range>: Rename into ...
+ (record_print_flag) <record_print_src_line,
+ record_print_insn_range>: ... this. Update all users.
+
+2013-09-02 Pierre Muller <muller@sourceware.org>
+
+ * windows-nat.c (windows_xfer_memory): Handle ERROR_PARTIAL_COPY
+ error code.
+
+2013-09-02 Pierre Muller <muller@sourceware.org>
+
+ * windows-nat.c (windows_xfer_memory): Fix compilation failure
+ by use of plongest function.
+
+2013-09-02 Tristan Gingold <gingold@adacore.com>
+
+ * NEWS: Add entry mentioning support for native Windows x64
+ SEH data.
+
+ * amd64-windows-tdep.c: #include "objfiles.h", "frame-unwind.h",
+ "coff/internal.h", "coff/i386.h", "coff/pe.h" and "libcoff.h".
+ (struct amd64_windows_frame_cache): New struct.
+ (amd64_windows_w2gdb_regnum): New global.
+ (pc_in_range, amd64_windows_frame_decode_epilogue)
+ (amd64_windows_frame_decode_insns, amd64_windows_find_unwind_info)
+ (amd64_windows_frame_cache, amd64_windows_frame_prev_register)
+ (amd64_windows_frame_this_id): New functions.
+ (amd64_windows_frame_unwind): New static global.
+ (amd64_windows_skip_prologue): New function.
+ (amd64_windows_init_abi): Call frame_unwind_prepend_unwinder
+ with amd64_windows_frame_unwind. Call set_gdbarch_skip_prologue
+ with amd64_windows_skip_prologue.
+
+2013-08-30 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.6.1 released.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
+ * mi/mi-main.c (mi_cmd_trace_find): Use LOC_AND_ADDRESS instead of
+ SRC_AND_LOC.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
+ * thread.c (restore_selected_frame): Use SRC_AND_LOC, and change
+ warning text.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
+ * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
+ Adjust arguments to print_stack_frame.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
+ * ada-tasks.c (task_command_1): Write SRC_AND_LOC instead '1'.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
+ * frame.h (show_and_print_stack_frame): Delete declaration.
+
+2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15461
+ * python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro.
+ (archpy_name): Check for valid architecture.
+ (archpy_disassemble): Ditto.
+
+2013-08-29 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-nat.c (rs6000_ptrace32): Cast "addr" to "uintptr_t"
+ instead of "long long" in call to ptrace64.
+
+2013-08-29 Andrew Burgess <aburgess@broadcom.com>
+
+ * mi/mi-interp.c (mi_command_loop): Change signature to match
+ interp_command_loop_ftype.
+ (mi1_command_loop): Remove.
+ (mi2_command_loop): Remove.
+ (mi3_command_loop): Remove.
+ (mi_interpreter_resume): Remove setting of
+ deprecated_command_loop_hook.
+ (_initialize_mi_interp): Set mi_command_loop as the command loop
+ callback.
+
+2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * valops.c (do_search_struct_field): Pass v2 instead of base_type to
+ value_type.
+
+2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * value.c (allocate_value_contents): Make static.
+ * value.h (allocate_value_contents): Remove prototype.
+
+2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use value_at_lazy instead
+ of assembling value via allocate_value_lazy and attribute setter.
+ * findvar.c (default_read_var_value): Use value_at_lazy instead of
+ assembling value via allocate_value_lazy and attribute setter.
+ * valops.c (do_search_struct_field): Use value_at_lazy instead of
+ assembling value via allocate_value_lazy and attribute setter.
+
+2013-08-29 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * value.c (value_from_contents_and_address): Replace allocate_value and
+ memcpy with value_from_contents.
+
+2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-framefilter.c (py_print_frame): Remove usage of
+ PyString_AsString. Use python_string_to_host_string instead.
+ Refactor function to work with a string as a new allocation
+ instead of a pointer.
+ (py_print_frame): Ditto.
+ * python/lib/gdb/frames.py (return_list): Cain iterators together
+ instead of adding them as a list.
+ (_sort_list): Call return_list, and remove duplicate code.
+ (execute_frame_filters): Convert iterator to a list with list().
+ * python/lib/gdb/command/frame_filters.py
+ (SetFrameFilterPriority._set_filter_priority): Convert priority
+ attribute to an integer.
+ * python/lib/gdb/FrameIterator.py (FrameIterator.next): Define
+ wrapper function __next__.
+ * python/lib/gdb/FrameDecorator.py: If basestring not defined,
+ define as "str".
+
+2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15752
+ * python/py-framefilter.c (apply_frame_filter): Check
+ gdb_python_initialized. Exit if the Python frame-filter code
+ cannot be initialized.
+
+2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR cli/15842
+ * top.c (print_gdb_version): Remove erroneous newline after help
+ text.
+
+2013-08-29 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (install_dynamic_child): Remove trailing space.
+ Add one blank line after variable declaration.
+
+2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR gdb/15415
+ * corefile.c (get_exec_file): Use exec_filename.
+ * defs.h (OPF_DISABLE_REALPATH): New definition. Add new comment.
+ * exec.c (exec_close): Free EXEC_FILENAME.
+ (exec_file_attach): New variable canonical_pathname. Use
+ OPF_DISABLE_REALPATH. Call gdb_realpath explicitly. Set
+ EXEC_FILENAME.
+ * exec.h (exec_filename): New.
+ * inferior.c (print_inferior, inferior_command): Use
+ PSPACE_EXEC_FILENAME.
+ * mi/mi-main.c (print_one_inferior): Likewise.
+ * progspace.c (clone_program_space, print_program_space): Likewise.
+ * progspace.h (struct program_space): New field pspace_exec_filename.
+ * source.c (openp): Describe OPF_DISABLE_REALPATH. New variable
+ realpath_fptr, initialize it from OPF_DISABLE_REALPATH, use it.
+
+2013-08-28 Will Newton <will.newton@linaro.org>
+
+ * common/linux-ptrace.c: Include stdint.h unconditionally.
+
+2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * nto-tdep.c (nto_find_and_open_solib): Use OPF_TRY_CWD_FIRST.
+
+2013-08-28 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * event-top.c (gdb_setup_readline): Call stderr_fileopen
+ instead of stdio_fileopen.
+ * main.c (captured_main) [__MINGW32__]: Set stderr unbuffered.
+ .Call stderr_fileopen instead of stdio_fileopen.
+ * ui-file.c [__MINGW32__] (stderr_file_write): New function.
+ [__MINGW32__] (stderr_file_fputs): New function.
+ (stderr_fileopen): New function.
+ * ui-file.h (stderr_fileopen): Declare.
+
+2013-08-27 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct dwarf2_cu): Tweak comment.
+ (struct dwarf2_per_cu_data): Ditto.
+ (maybe_queue_comp_unit): Delete forward decl. Add comment.
+ (process_imported_unit_die): Ditto.
+ (follow_die_sig_1): Simplify assert.
+
+2013-08-27 Pedro Alves <palves@redhat.com>
+
+ * windows-nat.c (windows_xfer_memory): Adjust prototype to follow
+ xfer_partial's interface. Return TARGET_XFER_E_IO on error.
+ (windows_xfer_partial): Defer TARGET_OBJECT_MEMORY handling to
+ windows_xfer_memory directly.
+ (init_windows_ops): Don't install a deprecated_xfer_memory method.
+
+2013-08-27 Pedro Alves <palves@redhat.com>
+
+ * darwin-nat.c (darwin_xfer_memory): Delete.
+ (_initialize_darwin_inferior): Don't install a
+ deprecated_xfer_memory method.
+
+2013-08-27 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmd-stack.c (list_args_or_locals): Adjust prototype.
+ (parse_no_frames_option): Remove.
+ (mi_cmd_stack_list_locals): Handle --skip-unavailable.
+ (mi_cmd_stack_list_args): Adjust.
+ (mi_cmd_stack_list_variables): Handle --skip-unavailable.
+ (list_arg_or_local): Add new parameter 'skip_unavailable'. Return
+ early if SKIP_UNAVAILABLE is true and ARG->val is unavailable.
+ Caller update.
+ (list_args_or_locals): New parameter 'skip_unavailable'.
+ Handle it.
+ * valprint.c (scalar_type_p): Rename to ...
+ (val_print_scalar_type_p): ... this. Make extern.
+ (val_print, value_check_printable): Adjust.
+ * valprint.h (val_print_scalar_type_p): Declare.
+ * value.c (value_entirely_unavailable): New function.
+ * value.h (value_entirely_unavailable): Declare.
+
+ * NEWS: Mention the new option "--skip-unavailable" to MI
+ commands '-stack-list-locals', '-stack-list-arguments' and
+ '-stack-list-variables'.
+
+2013-08-27 Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmd-stack.c (parse_no_frames_option): Remove.
+ (mi_cmd_stack_list_args): Use mi_getopt_silent to handle
+ options.
+ * mi/mi-getopt.c (mi_getopt): Remove.
+ (mi_getopt_1): Renamed from mi_getopt. Add one parameter
+ 'error_on_unknown'.
+ (mi_getopt): Call mi_getopt_1.
+ (mi_getopt_silent): New.
+ * mi/mi-getopt.h (mi_getopt_silent): Declare.
+
+2013-08-26 Doug Evans <dje@google.com>
+
+ PR symtab/15885
+ * dwarf2read.c (dw2_dump): Print some minimal information indicating
+ .gdb_index is in use.
+ * symfile.c (reread_symbols): Reset objfile->sf.
+
+ * NEWS: Document "mt print objfiles" now takes optional regexp.
+ * symmisc.c (maintenance_print_objfiles): Argument is now an optional
+ regexp of objfiles to print.
+ (_initialize_symmisc): Update doc string for "mt print objfiles".
+
+ * dwarf2read.c (write_psymtabs_to_index): Move error checks ahead of
+ missing debug info checks.
+
+2013-08-26 Raunaq Bathija <raunaq12@in.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ * xcoffread.c (arrange_linetable): Add fix to correctly handle
+ line tables generated by XLC compiled binaries.
+
+2013-08-23 Doug Evans <dje@google.com>
+
+ * symmisc.c (dump_symtab): Delete prototype.
+ (dump_msymbols, dump_objfile): Ditto.
+ (maintenance_info_symtabs): Mark as dont_repeat.
+ (_initialize_symmisc): Improve doc string for "mt info symtabs".
+
+ * elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
+ debugging printf to better location.
+
+2013-08-23 Pedro Alves <palves@redhat.com>
+
+ * target.c (target_read_live_memory): Change type of 'ret' local
+ to LONGEST.
+
+2013-08-23 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_write_bytes_aux, remote_write_bytes)
+ (remote_read_bytes): Change return type to LONGEST, and adjust to
+ return a target_xfer_error on error.
+ (remote_xfer_memory): Delete.
+ (remote_flash_write): Change type of 'ret' local to LONGEST.
+ (remote_xfer_partial, remote_xfer_partial): Adjust.
+ (init_remote_ops): Don't install a deprecated_xfer_memory hook.
+
+2013-08-23 Pierre Muller <muller@sourceware.org>
+
+ ARI fix: Push # directives to start of line.
+ * rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied.
- * version.in: Update GDB version number to 7.5.1.
+2013-08-12 Muhammad Waqas <mwaqas@codesourcery.com>
-2012-11-15 Luis Machado <lgustavo@codesourcery.com>
+ PR gdb/15501
+ * breakpoint.c (enable_command, disable_command): Iterate over
+ all specified breakpoint locations.
- * value.c (value_actual_type): Check for TYPE_CODE_STRUCT
- target types.
+2013-08-22 Luis Machado <lgustavo@codesourcery.com>
-2012-11-10 H.J. Lu <hongjiu.lu@intel.com>
+ * common/linux-ptrace.c (linux_fork_to_function): Push #
+ directives to the start of the line.
+ (linux_check_ptrace_features): Fix warning message to use
+ the "_" markup.
- PR backtrace/14646
- PR gdb/14647
- * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and
- pc_regnum_from_eax.
- * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax
- nor pc_regnum_from_eax.
- * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax
- nor pc_regnum_from_eax.
+2013-08-22 Luis Machado <lgustavo@codesourcery.com>
-2012-10-11 Doug Evans <dje@google.com>
+ * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-nat.h and
+ nat/linux-waitpid.h.
+ (linux-waitpid.o): New object file rule.
+ * common/linux-ptrace.c: Include nat/linux-waitpid.h.
+ (current_ptrace_options): Moved from linux-nat.c.
+ (linux_ptrace_test_ret_to_nx): Use type casts for ptrace
+ parameters.
+ (linux_fork_to_function): New function.
+ (linux_grandchild_function): Likewise.
+ (linux_child_function): Likewise.
+ (linux_check_ptrace_features): New function, heavily
+ based on linux-nat.c:linux_test_for_tracefork.
+ (linux_enable_event_reporting): New function.
+ (ptrace_supports_feature): Likewise.
+ (linux_supports_tracefork): Likewise.
+ (linux_supports_traceclone): Likewise.
+ (linux_supports_tracevforkdone): Likewise.
+ (linux_supports_tracesysgood): Likewise.
+ * common/linux-ptrace.h (HAS_NOMMU): Moved from
+ gdbserver/linux-low.c.
+ (linux_enable_event_reporting): New declaration.
+ (linux_supports_tracefork): Likewise.
+ (linux_supports_traceclone): Likewise.
+ (linux_supports_tracevforkdone): Likewise.
+ (linux_supports_tracesysgood): Likewise.
+ * config.in (PTRACE_TYPE_ARG4): Regenerate.
+ * config/aarch64/linux.mh (NATDEPFILES): Add linux-waitpid.o.
+ * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
+ * config/arm/linux.mh (NATDEPFILES): Likewise.
+ * config/i386/linux.mh (NATDEPFILES): Likewise.
+ * config/i386/linux64.mh (NATDEPFILES): Likewise.
+ * config/ia64/linux.mh (NATDEPFILES): Likewise.
+ * config/m32r/linux.mh (NATDEPFILES): Likewise.
+ * config/m68k/linux.mh (NATDEPFILES): Likewise.
+ * config/mips/linux.mh (NATDEPFILES): Likewise.
+ * config/pa/linux.mh (NATDEPFILES): Likewise..
+ * config/powerpc/linux.mh (NATDEPFILES): Likewise..
+ * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
+ * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
+ * config/sparc/linux.mh (NATDEPFILES): Likewise.
+ * config/sparc/linux64.mh (NATDEPFILES): Likewise.
+ * config/tilegx/linux.mh (NATDEPFILES): Likewise.
+ * config/xtensa/linux.mh (NATDEPFILES): Likewise.
+ * configure.ac (AC_CACHE_CHECK): Add void * to the list of
+ ptrace's 4th argument's types.
+ Check the type of PTRACE_TYPE_ARG4.
+ * configure: Regenerate.
+ * linux-nat.c: Include nat/linux-nat.h and nat/linux-waitpid.h.
+ (SYSCALL_SIGTRAP): Moved to nat/linux-nat.h.
+ (linux_supports_tracefork_flag): Remove.
+ (linux_supports_tracesysgood_flag): Likewise.
+ (linux_supports_tracevforkdone_flag): Likewise.
+ (current_ptrace_options): Moved to
+ common/linux-ptrace.c.
+ (linux_tracefork_child): Remove.
+ (my_waitpid): Remove.
+ (linux_test_for_tracefork): Renamed to
+ linux_check_ptrace_features and moved to common/linux-ptrace.c.
+ (linux_test_for_tracesysgood): Remove.
+ (linux_supports_tracesysgood): Remove.
+ (linux_supports_tracefork): Remove.
+ (linux_supports_tracevforkdone): Remove.
+ (linux_enable_tracesysgood): Remove.
+ (linux_enable_event_reporting): Remove.
+ (linux_init_ptrace): New function.
+ (linux_child_post_attach): Call linux_init_ptrace.
+ (linux_child_post_startup_inferior): Call linux_init_ptrace.
+ (linux_child_follow_fork): Call linux_supports_tracefork
+ and linux_supports_tracevforkdone.
+ (linux_child_insert_fork_catchpoint): Call
+ linux_supports_tracefork.
+ (linux_child_insert_vfork_catchpoint): Likewise.
+ (linux_child_set_syscall_catchpoint): Call
+ linux_supports_tracesysgood.
+ (lin_lwp_attach_lwp): Call linux_supports_tracefork.
+ * nat/linux-nat.h: New file.
+ * nat/linux-waitpid.c: New file.
+ * nat/linux-waitpid.h: New file.
+
+2013-08-22 Samuel Bronson <naesten@gmail.com>
+
+ ARM Linux support for `catch syscall'.
+ * syscalls/arm-linux.py: New file.
+ * syscalls/arm-linux.xml: Likewise.
+ * arm-linux-tdep.c (arm_linux_get_syscall_number): New function.
+ (arm_linux_init_abi): Register the new function and syscall xml file.
+ * data-directory/Makefile.in: Install the new syscall xml file.
+ * NEWS: Brag about this.
+
+2013-08-22 Pedro Alves <palves@redhat.com>
+
+ PR gdb/15871
+ * corefile.c (target_xfer_memory_error): New function.
+ (memory_error): Defer EIO to target_memory_error.
+ (read_memory): Use target_xfer_partial, and handle finer-grained
+ target xfer errors.
+ * target.c (target_xfer_error_to_string): New function.
+ (memory_xfer_partial_1): If memory is known to be
+ unavailable, return TARGET_XFER_E_UNAVAILABLE instead of -1.
+ (target_xfer_partial): Make extern.
+ * target.h (enum target_xfer_error): New enum.
+ (target_xfer_error_to_string): Declare function.
+ (target_xfer_partial): Declare function.
+ (struct target_ops) <xfer_partial>: Adjust describing comment.
+
+2013-08-22 Alan Modra <amodra@gmail.com>
+
+ * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
+ * configure.tgt: Likewise as targets.
+
+2013-08-20 Doug Evans <dje@google.com>
+
+ * buildsym.c (subfile_stack): Move here from buildsym.h.
+ (pending_macros): Ditto.
+ (get_macro_table): New function.
+ (buildsym_init): Initialize subfile_stack.
+ * coffread.c (type_vector,type_vector_length): Moved here from
+ buildsym.h.
+ (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
+ (coff_symtab_read): Use it.
+ * dbxread.c (read_ofile_symtab): Delete init of subfile_stack.
+ * dwarf2read.c (macro_start_file): Replace uses of pending_macros
+ with call to get_macro_table.
+ * stabsread.c (type_vector,type_vector_length): Moved here from
+ buildsym.h.
+ (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
+ * buildsym.h (get_macro_table): Declare.
+
+2013-08-20 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (record_minimal_symbol): Make 'name' argument const.
+ Update.
+ (read_dbx_dynamic_symtab): Make 'name' const. Remove casts.
+
+2013-08-20 Doug Evans <dje@google.com>
+
+ * blockframe.c: Remove #include "psymtab.h".
+ * cp-support.c: Ditto.
+ * source.c: Ditto.
+ * stack.c: Ditto.
+
+2013-08-20 Tom Tromey <tromey@redhat.com>
+
+ PR python/15816:
+ * exceptions.h (return_mask): Now an enum.
+ (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
+ enum constants.
+
+2013-08-20 Tom Tromey <tromey@redhat.com>
+
+ * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
+ get_objfile_arch.
+ * elfread.c (elf_rel_plt_read, elf_gnu_ifunc_record_cache)
+ (elf_gnu_ifunc_resolve_by_got): Use get_objfile_arch.
+ * jit.c (jit_object_close_impl): Update.
+ * jv-lang.c (get_dynamics_objfile): Update.
+ * linespec.c (add_minsym): Use get_dynamics_objfile.
+ * objfiles.c (get_objfile_bfd_data): Initialize 'gdbarch' field.
+ (allocate_objfile): Don't initialize 'gdbarch' field.
+ (get_objfile_arch): Update.
+ * objfiles.h (struct objfile_per_bfd_storage) <gdbarch>: New field,
+ moved from...
+ (struct objfile) <gdbarch>: ... here. Remove.
+ * stap-probe.c (stap_can_evaluate_probe_arguments): Use
+ get_objfile_arch.
+ * symfile.c (init_entry_point_info): Use get_objfile_arch.
+
+2013-08-20 Alan Modra <amodra@gmail.com>
+
+ * doublest.c (convert_floatformat_to_doublest): Use fmt->split_half
+ for IBM long double nan and inf.
+ (floatformat_is_negative, floatformat_classify,
+ floatformat_mantissa): Similarly.
+ (floatformat_ieee_single, floatformat_ieee_double,
+ floatformat_ieee_quad, floatformat_arm_ext,
+ floatformat_ia64_spill): Delete unused vars.
+ (_initialize_doublest): Delete unused function.
+ * gdbtypes.c (floatformats_ibm_long_double): Use new big- and
+ little-endian variants of floatformat_ibm_long_double.
+
+2013-08-19 Luis Machado <lgustavo@codesourcery.com>
+
+ * Makefile.in (SFILES): Remove common/target-common.c and
+ add target/waitstatus.c.
+ (HFILES_NO_SRCDIR): Remove common/target-common.h and add
+ target/resume.h, target/wait.h and target/waitstatus.h.
+ (COMMON_OBS): Remove target-common.o and add
+ waitstatus.o.
+ (target-common.o): Remove.
+ (waitstatus.o): New target object file.
+ * common/target-common.c: Move contents to
+ target/waitstatus.c and remove.
+ * common/target-common.h: Move contents to other files and
+ remove.
+ (enum resume_kind: Move to target/resume.h.
+ (TARGET_WNOHANG): Move to target/wait.h.
+ (enum target_waitkind): Move to target/waitstatus.h.
+ (struct target_waitstatus): Likewise.
+ * target.h: Do not include target-common.h and
+ include target/resume.h, target/wait.h and
+ target/waitstatus.h.
+ * target/resume.h: New file.
+ * target/wait.h: New file.
+ * target/waitstatus.h: New file.
+ * target/waitstatus.c: New file.
+
+2013-08-19 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (linux_test_for_tracefork)
+ (linux_test_for_tracesysgood, linux_child_follow_fork)
+ (lin_lwp_attach_lwp, linux_nat_resume): Don't block child signals.
+ (linux_nat_wait_1): Extend comment.
+ (linux_async_pipe): Add comment.
+
+2013-08-15 Kevin Buettner <kevinb@redhat.com>
+
+ * rl78-tdep.c (RL78_RAW_PC_REGNUM): New enum.
+ (RL78_PC_REGNUM): Move to list of pseudo-register enums.
+ (rl78_register_type, rl78_register_name, rl78_register_reggroup_p):
+ Update to account for fact that PC is now a pseudo-register.
+ (rl78_pseudo_register_write, rl78_pseudo_register_read): Add
+ cases for RL78_PC_REGNUM.
+
+2013-08-15 Muhammad Bilal <mbilal@codesourcery.com>
+
+ PR cli/15841
+ * top.c (quit_force): Skip writing history file
+ if input is not from terminal.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <echo_nextthread, nextthread,
+ resultthreadlist>: New fields.
+ (OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier.
+ (remote_get_threadlist, remote_threadlist_iterator): Use
+ new fields. Remove static variables.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <remote_stopped_by_watchpoint_p,
+ remote_watch_data_address>: New fields.
+ (remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove.
+ (process_stop_reply, remote_wait_as)
+ (remote_check_watch_resources, remote_stopped_data_address): Update.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <async_client_callback,
+ async_client_context>: New fields.
+ (async_client_callback, async_client_context): Remove.
+ (remote_async_serial_handler, remote_async): Update.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (sizeof_pkt): Remove.
+ (remote_trace_find): Use rs->buf_size, not sizeof_pkt.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <use_threadinfo_query,
+ use_threadextra_query>: New fields.
+ (remote_threads_info, remote_threads_extra_info)
+ (remote_open_1): Update.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <finished_object,
+ finished_annex, finished_offset>: New fields.
+ (remote_read_qxfer): Use remote_state fields; remove static
+ variables.
+
+2013-08-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (struct remote_state) <last_sent_step>:
+ New field.
+ (last_sent_step): Remove.
+ (remote_resume, remote_wait_as): Update.
- PR breakpoints/14643.
- * linespec.c (struct ls_parser): New member keyword_ok.
- (linespec_lexer_lex_string): Add comment.
- (linespec_lexer_lex_one): Ignore keywords if it's the wrong place
- for one.
- (parse_linespec): Set keyword_ok.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (struct remote_state) <last_sent_signal>:
+ New field.
+ (last_sent_signal): Remove.
+ (new_remote_state, remote_resume, remote_wait_as): Update.
- Fix crash during stepping on ppc32.
- * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL
- SYM.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (struct remote_state) <last_program_signals_packet>:
+ New field.
+ (last_program_signals_packet): Remove.
+ (remote_program_signals, remote_open_1): Update.
- * common/linux-ptrace.c: Change __i386__ to __i386__ || __x86_64__.
- (linux_ptrace_test_ret_to_nx): Extend comment for x86_64. Change
- __i386__ to __i386__ || __x86_64__. Extend code also for __x86_64__.
- Extend code also for PaX support. Convert all gdb_assert to warning
- calls.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (struct remote_state) <last_pass_packet>:
+ New field.
+ (last_pass_packet): Remove.
+ (remote_pass_signals, remote_open_1): Update.
- Implement auto-load user conveniences suggested by Doug Evans.
- * auto-load.c: Include top.h.
- (file_is_auto_load_safe): New variable advice_printed. Print advice.
- (_initialize_auto_load): New variable scripts_directory_help. Mention
- GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load
- scripts-directory. Document in online help one can use also files for
- set auto-load safe-path.
- * python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ...
- * python/python.h (GDBPY_AUTO_FILE_NAME): ... to here.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (struct remote_state) <remote_traceframe_number>:
+ New field.
+ (remote_traceframe_number): Remove.
+ (new_remote_state, remote_open_1, set_remote_traceframe)
+ (remote_trace_find): Update.
- PR 14119
- * frame.c (skip_inlined_frames): Skip also TAILCALL_FRAME frames.
- (frame_pop): Drop also TAILCALL_FRAME frames.
- * infcmd.c (finish_command): Ignore also TAILCALL_FRAME frames.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
- Pedro Alves <palves@redhat.com>
+ * remote.c (struct remote_state) <general_thread, continue_thread>:
+ New fields.
+ (general_thread, continue_thread): Remove.
+ (record_currthread, set_thread, set_general_process)
+ (remote_open_1, extended_remote_attach_1, remote_wait_as)
+ (extended_remote_mourn_1): Update.
- PR 14548
- * infrun.c (handle_inferior_event): Do not reverse-continue back to the
- function start if we are already at function start. Both for
- reverse-next and for reverse-step into function without line number
- info.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-08-29 Doug Evans <dje@google.com>
+ * remote.c (struct remote_state) <remote_desc>: New field.
+ (remote_desc): Remove.
+ (remote_threads_info, remote_threads_extra_info, remote_close)
+ (send_interrupt_sequence, remote_start_remote, remote_open_1)
+ (readchar, remote_xfer_partial, remote_rcmd, packet_command)
+ (remote_hostio_send_command, remote_file_put, remote_file_get)
+ (remote_file_delete, remote_can_async_p, remote_is_async_p)
+ (remote_async, remote_new_objfile, set_range_stepping): Update.
- * main.c (print_gdb_help): Remove reference to
- --use-deprecated-index-sections.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-08-27 Eli Zaretskii <eliz@gnu.org>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (remote_state): Now a pointer.
+ (get_remote_state_raw): Update.
+ (new_remote_state): New function.
+ (_initialize_remote): Use new_remote_state.
- * auto-load.c (auto_load_objfile_script): Rename to ...
- (auto_load_objfile_script_1): ... here, change variable realname to
- parameter realname, document it, add return value, add variable retval.
- (auto_load_objfile_script): New function.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (remote_protocol_features): Now const.
- * cli/cli-decode.c (print_doc_line): Keep skipping '.' and ',' not
- followed by a whitespace.
+2013-08-14 Tom Tromey <tromey@redhat.com>
-2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c (crc32_table, crc32): Remove.
+ (remote_verify_memory): Use xcrc32.
- PR gdb/14494.
- * dwarf2read.c (dwarf2_locate_sections): Move variable aflag here.
- Move the SEC_HAS_CONTENTS check here - for any NAMES use.
- (dwarf2_locate_sections) <eh_frame>: Move the variable and check from
- here.
+2013-08-13 Sergio Durigan Junior <sergiodj@redhat.com>
-2012-08-22 Keith Seitz <keiths@redhat.com>
+ * value.h (create_internalvar_type_lazy): Adjust prototype
+ declaration.
- * defs.h: Include build-gnulib/config.h
+2013-08-13 Andrew Burgess <aburgess@broadcom.com>
-2012-08-21 Pierre Muller <muller@ics.u-strasbg.fr>
+ * common/format.c (parse_format_string): Don't allow '#' flag for
+ pointer arguments in format string.
- * symfile.c (allocate_symtab): Use host_address_to_string
- function instead of cast of pointer to long which is not
- compatible with x86_64-w64-mingw32 build.
+2013-08-13 Pierre Muller <muller@sourceware.org>
-2012-08-17 Joel Brobecker <brobecker@adacore.com>
+ * utils.c (init_page_info): Only call tgetnum function
+ if rl_get_screen_size did not return useful values.
- * version.in: Set version to 7.5.0.20120817-cvs.
+2013-08-12 Ali Anwar <ali_anwar@codesourcery.com>
-2012-08-17 Joel Brobecker <brobecker@adacore.com>
+ PR breakpoints/15117
+ * linespec.c (linespec_parse_basic): Check for convenience
+ variable or history value while parsing.
- GDB 7.5 released.
+2013-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
-2012-08-17 Joel Brobecker <brobecker@adacore.com>
+ Revert implementation of gdbarch_gdb_signal_{to,from}_target for
+ AVR.
+ * avr-tdep.c: Remove include of "linux-tdep.h". Remove enum with
+ different signals between the generic Linux kernel implementation
+ and AVR's.
+ (avr_linux_gdb_signal_from_target): Delete.
+ (avr_linux_gdb_signal_to_target): Delete.
+ (avr_gdbarch_init): Don't set gdbarch_gdb_signal_{to,from}_target.
- * version.in: Update GDB version number to 7.5.
+2013-08-09 Doug Evans <dje@google.com>
-2012-08-16 Tom Tromey <tromey@redhat.com>
+ * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
+ entries.
- PR python/14386:
- * varobj.c (update_dynamic_varobj_children): Don't call
- PyIter_Check.
+2013-08-09 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * linux-tdep.c: Define enum with generic signal numbers.
+ (linux_gdb_signal_from_target): New function.
+ (linux_gdb_signal_to_target): Likewise.
+ (linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+ methods to the functions above.
+ * linux-tdep.h (linux_gdb_signal_from_target): New prototype.
+ (linux_gdb_signal_to_target): Likewise.
+ * alpha-linux-tdep.c: Define new enum with signals different
+ from generic Linux kernel.
+ (alpha_linux_gdb_signal_from_target): New function.
+ (alpha_linux_gdb_signal_to_target): Likewise.
+ (alpha_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+ with the functions mentioned above.
+ * avr-tdep.c: Define enum with differences between Linux kernel
+ and AVR signals.
+ (avr_linux_gdb_signal_from_target): New function.
+ (avr_linux_gdb_signal_to_target): Likewise.
+ (avr_gdbarch_init): Set gdbarch_gdb_signal_{to,from}_target to
+ the functions mentioned above.
+ * sparc-linux-tdep.c: Define enum with differences between SPARC
+ and generic Linux kernel signal numbers.
+ (sparc32_linux_gdb_signal_from_target): New function.
+ (sparc32_linux_gdb_signal_to_target): Likewise.
+ (sparc32_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+ to the functions defined above.
+ * xtensa-linux-tdep.c: Define enum with differences between
+ Xtensa and Linux kernel generic signals.
+ (xtensa_linux_gdb_signal_from_target): New function.
+ (xtensa_linux_gdb_signal_to_target): Likewise.
+ (xtensa_linux_init_abi): Set gdbarch_gdb_signal_to_target
+ to the functions defined above.
+ * mips-linux-tdep.c: Define enum with differences between
+ signals in MIPS and Linux kernel generic ones.
+ (mips_gdb_signal_to_target): New function.
+ (mips_gdb_signal_from_target): Redefine to use new enum, handle
+ only different signals from the Linux kernel generic.
+ (mips_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+ the functions defined above.
+ * mips-linux-tdep.h (enum mips_signals): Remove.
+
+2013-08-09 Pedro Alves <palves@redhat.com>
+
+ * avr-tdep.c (XMALLOC): Delete macro.
+ * cli/cli-dump.c (XMALLOC): Delete macro.
+
+2013-08-09 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-dump.c: Don't include cli/cli-dump.h.
+ (scan_expression_with_cleanup, scan_filename_with_cleanup)
+ (fopen_with_cleanup, add_dump_command): Make static.
+ * cli/cli-dump.h: Delete file.
+ * Makefile.in (HFILES_NO_SRCDIR): Remove reference to
+ cli/cli-dump.h.
+
+2013-08-09 Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (tfile_start): Show tilde-expanded filename in
+ error message.
-2012-08-06 Tom Tromey <tromey@redhat.com>
+2013-08-09 Pedro Alves <palves@redhat.com>
- * dwarf2-frame.c (clear_pointer_cleanup): New function.
- (dwarf2_frame_cache): Use it.
- * frame-unwind.h (frame_sniffer_ftype): Document prologue
- cache initialization constraint.
+ * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
+ error message.
-2012-08-06 Tom Tromey <tromey@redhat.com>
+2013-08-09 Pedro Alves <palves@redhat.com>
- PR cli/14392:
- * cli/cli-cmds.c (list_command): Filter 'sals_end'.
+ * gcore.c (create_gcore_bfd): Don't use tilde_expand here.
+ (gcore_command): Use tilde_expand here, and when showing the
+ filename to the user, show the expanded version.
-2012-08-03 Tom Tromey <tromey@redhat.com>
+2013-08-09 Yao Qi <yao@codesourcery.com>
- * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
- return.
+ * stack.c (read_frame_arg): Set 'entryval_error' to NULL if
+ 'entryval' is set.
-2012-08-02 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-08-08 Azat Khuzhin <a3at.mail@gmail.com> (tiny change)
- * inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
- to attempting lseek/write.
- (inf_child_fileio_pread): Likewise for pread.
+ * gcore.c (create_gcore_bfd): Use tilde_expand.
-2012-08-01 Richard Henderson <rth@redhat.com>
+2013-08-08 Yao Qi <yao@codesourcery.com>
- * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
- (mep-*-*) [gdb_target_obs]: Likewise.
+ * frame.h (read_frame_local): Declare.
+ * mi/mi-cmd-stack.c (list_args_or_locals): Call
+ read_frame_local.
+ * stack.c (read_frame_local): New.
-2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-08-08 Yao Qi <yao@codesourcery.com>
- * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
- attempt to 4-byte-align HW breakpoint addresses for Thumb.
+ * mi/mi-cmd-stack.c: Update comments to function
+ list_args_or_locals.
-2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
+2013-08-07 Tom Tromey <tromey@redhat.com>
- * ppc-linux-tdep.c (ppc_linux_init_abi): Register
- linux_get_siginfo_type.
+ PR symtab/15028:
+ * dwarf2read.c (struct process_psymtab_comp_unit_data): New.
+ (process_psymtab_comp_unit_reader): Use it.
+ (process_psymtab_comp_unit): Update. Add "pretend_language"
+ argument.
+ (dwarf2_build_psymtabs_hard): Update.
+ (scan_partial_symbols): Pass CU's language to
+ process_psymtab_comp_unit.
-2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-08-07 Tom Tromey <tromey@redhat.com>
- * infcall.c (call_function_by_hand): Move BP_ADDR comment to
- AT_ENTRY_POINT.
- (call_function_by_hand) <ON_STACK>: Call write_memory with
- gdbarch_breakpoint_from_pc, if possible.
- (call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
- here.
+ * dwarf2read.c (dw2_get_primary_filename_reader): Remove.
+ (dwarf2_gdb_index_functions): Update.
+ * psymtab.c (find_symbol_file_from_partial): Remove.
+ (psym_functions): Update.
+ * symfile.h (struct quick_symbol_functions) <find_symbol_file>:
+ Remove.
-2012-07-30 Keith Seitz <keiths@redhat.com>
+2013-08-07 Tom Tromey <tromey@redhat.com>
- * linespec.c (linespec_lexer_lex_number): A number followed
- by quotes is a valid number, too.
+ * symfile.c (set_initial_language): Look up "main" symbol
+ and use its language.
+ * symtab.c (find_main_filename): Remove.
+ * symtab.h (find_main_filename): Remove.
-2012-07-26 Keith Seitz <keiths@redhat.com>
+2013-08-07 Tom Tromey <tromey@redhat.com>
- * linespec.c (linespec_lexer_lex_number): The input
- is also a valid number if the next character is a comma
- or colon.
+ * dwarf2read.c (recursively_compute_inclusions): Add
+ "immediate_parent" argument. Set symtab's "user" field
+ if not set.
+ (compute_symtab_includes): Update.
-2012-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>
+2013-08-07 Tom Tromey <tromey@redhat.com>
- * configure.tgt: Add v850*-*-rtems*.
+ * linespec.c (convert_linespec_to_sals): Use maybe_add_address
+ when adding label symbols.
-2012-07-25 Hui Zhu <hui_zhu@mentor.com>
+2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
- * linespec.c (linespec_lexer_lex_number): Update comments,
- change the return and add check to make sure the input is
- the decimal numbers.
- (linespec_lexer_lex_one): If linespec_lexer_lex_number return
- false, call linespec_lexer_lex_string.
+ * configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
+ * configure.host (powerpc64-*-aix*): Likewise.
-2012-07-24 Marc Khouzam <marc.khouzam@ericsson.com>
+2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
- * breakpoint.c (create_breakpoint): Store condition for pending
- breakpoints.
+ * gdb_ptrace.h: Use ptrace64 instead of ptrace if HAVE_PTRACE64
+ is defined.
+ * rs6000-nat.c: Check for __ld_info64_ if compiling 64 BIT gdb.
+ (rs6000_ptrace32): Call ptrace64 instead of ptrace if present.
+ (rs6000_ptrace64): Call ptace64 instead of ptracex if present.
+ * configure.ac: Check for ptrace64.
+ * configure, config.in: Regenerate.
-2012-07-23 Keith Seitz <keiths@redhat.com>
+2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ * aixthread.c: Call ptrace64 instead of ptracex if defined.
+ Call ptrace64 instead of ptrace if defined.
+ Add macro addr_ptr to take care of ptrace address argument.
+ (pdc_read_regs): Likewise.
+ (pdc_write_regs): Likewise.
+ (aix_thread_resume): Likewise.
+ (fetch_regs_kernel_thread): Likewise.
+ (store_regs_kernel_thread): Likewise.
+
+2013-08-07 Anton Blanchard <anton@samba.org>
+
+ * MAINTAINERS: Add myself to Write After Approval.
+
+2013-08-05 Tom Tromey <tromey@redhat.com>
+
+ * aix-thread.c (_initialize_aix_thread): Use
+ complete_target_initialization.
+ * bsd-uthread.c (_initialize_bsd_uthread): Use
+ complete_target_initialization.
+ * dec-thread.c (_initialize_dec_thread): Use
+ complete_target_initialization.
+ * ravenscar-thread.c (_initialize_ravenscar): Use
+ complete_target_initialization.
+ * sol-thread.c (_initialize_sol_thread): Use
+ complete_target_initialization.
+ * spu-multiarch.c (_initialize_spu_multiarch): Use
+ complete_target_initialization.
+
+2013-08-05 Tom Tromey <tromey@redhat.com>
+
+ * ada-exp.y (write_var_or_type): Use bound_minimal_symbol.
+ * ada-lang.c (ada_lookup_simple_minsym): Return
+ bound_minimal_symbol.
+ * ada-lang.h (ada_lookup_simple_minsym): Update.
+ * c-exp.y (variable): Use lookup_bound_minimal_symbol.
+ * f-exp.y (variable): Use lookup_bound_minimal_symbol.
+ * go-exp.y (variable): Use lookup_bound_minimal_symbol.
+ * jv-exp.y (push_expression_name): Use lookup_bound_minimal_symbol.
+ * m2-exp.y (variable): Use lookup_bound_minimal_symbol.
+ * minsyms.c (msymbol_objfile): Remove.
+ (lookup_minimal_symbol_internal): New function, from
+ lookup_minimal_symbol.
+ (lookup_minimal_symbol): Rewrite using
+ lookup_minimal_symbol_internal.
+ (lookup_bound_minimal_symbol): New function.
+ * minsyms.h (msymbol_objfile): Remove.
+ (lookup_bound_minimal_symbol): Declare.
+ * p-exp.y (variable): Use lookup_bound_minimal_symbol.
+ * parse.c (write_exp_msymbol): Change parameter to a
+ bound_minimal_symbol.
+ (write_dollar_variable): Use lookup_bound_minimal_symbol.
+ * parser-defs.h (write_exp_msymbol): Update.
+ * printcmd.c (address_info): Use lookup_bound_minimal_symbol.
+ * symfile.c (simple_read_overlay_table): Use
+ lookup_bound_minimal_symbol.
+ * symtab.c (skip_prologue_sal): Don't use msymbol_objfile.
+ (search_symbols): Likewise.
+ (print_msymbol_info): Take a bound_minimal_symbol argument.
+ (symtab_symbol_info, rbreak_command): Update.
+ * symtab.h (struct symbol_search) <msymbol>: Change type
+ to bound_minimal_symbol.
+ * valops.c (find_function_in_inferior): Use
+ lookup_bound_minimal_symbol.
+ * value.c (value_fn_field): Use lookup_bound_minimal_symbol.
+
+2013-08-05 Jan Kratochvil <jan.kratochvil@redhat.com>
- * linespec.c (convert_linespec_to_sal): Don't add
- any symbols to the result vector if symbol_to_sal
- returns zero.
+ Code cleanup.
+ * remote.c (cleanup_sigint_signal_handler): Rename the declaration
+ to ...
+ (async_cleanup_sigint_signal_handler): ... this.
+ (initialize_sigint_signal_handler): Remove declaration.
+ (handle_remote_sigint): Rename the declaration to ...
+ (async_handle_remote_sigint): ... this.
+ (handle_remote_sigint_twice): Rename the declaration to ...
+ (async_handle_remote_sigint_twice): ... this.
+ (async_remote_interrupt, async_remote_interrupt_twice)
+ (remote_interrupt): Remove the declarations.
+ (remote_interrupt_twice): Rename the declaration ...
+ (sync_remote_interrupt_twice): ... this.
+ (sigint_remote_twice_token): Rename the variable to ...
+ (async_sigint_remote_twice_token): ... this.
+ (sigint_remote_token): Rename the variable to ...
+ (async_sigint_remote_token): ... this.
+ (initialize_sigint_signal_handler): Rename the function to ...
+ (async_initialize_sigint_signal_handler): ... this. Update the name
+ inside.
+ (handle_remote_sigint): Rename the function to ...
+ (async_handle_remote_sigint): ... this. Update the names inside.
+ (handle_remote_sigint_twice): Rename the function to ...
+ (async_handle_remote_sigint_twice): ... this. Update the names inside.
+ (cleanup_sigint_signal_handler): Rename the function to ...
+ (async_cleanup_sigint_signal_handler): ... this.
+ (remote_interrupt): Rename the function to ...
+ (sync_remote_interrupt): this. Update the names inside.
+ (remote_interrupt_twice): Rename the function to ...
+ (sync_remote_interrupt_twice): this. Update the names inside.
+ (remote_terminal_inferior, remote_terminal_ours, remote_wait_as)
+ (_initialize_remote): Update the names inside.
+
+2013-08-02 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/15719:
+ * breakpoint.c (update_watchpoint, watchpoint_check)
+ (watch_command_1): Update.
+ * eval.c (fetch_subexp_value): Add "preserve_errors"
+ parameter.
+ * ppc-linux-nat.c (check_condition): Update.
+ * value.h (fetch_subexp_value): Update.
+
+2013-08-02 Andrew Burgess <aburgess@broadcom.com>
+
+ * mi/mi-interp.c (mi_interpreter_resume): Remove call to
+ add_file_handler.
+
+2013-08-01 Doug Evans <dje@google.com>
+
+ PR symtab/15691
+ * dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read.
+ (fill_in_sig_entry_from_dwo_entry): Reorganize asserts.
+ Add assert of sig_entry->dwo_unit == NULL.
+ (lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU
+ had already been read.
+ (read_signatured_type): Set per_cu.tu_read.
+
+ PR symtab/15695
+ * valops.c (value_struct_elt): Add missing call to check_typedef.
+ (value_find_oload_method_list): Ditto.
+
+ * symtab.c (do_free_search_symbols_cleanup): Change arg to,
+ effectively, struct symbol_search **.
+ (make_cleanup_free_search_symbols): Change arg to struct
+ symbol_search **. All callers updated.
+ (compare_search_syms): Compare symtab file name and block as well.
+ (search_symbols_equal): New function.
+ (sort_search_symbols_remove_dups): Renamed from sort_search_symbols.
+ New args new_head, new_tail. Result is now void. Remove dups after
+ sorting the symbols.
+ (search_symbols): Sort all found symbols once, after all have been
+ found, and remove duplicates. Simplify cleanup tracking of result.
+ * symtab.h (make_cleanup_free_search_symbols): Update prototype.
+
+ Further workarounds for binutils/15021.
+ * dwarf2read.c (recursively_compute_inclusions): Change type of result
+ parameter to VEC (symtab_ptr) **. New parameter all_type_symtabs.
+ Watch for duplicate symtabs coming from type units.
+ (compute_symtab_includes): Update call to
+ recursively_compute_inclusions. Build vector of included symtabs
+ instead of per_cus.
+ * symtab.h (symtab_ptr): New typedef.
+ (DEF_VEC_P (symtab_ptr)): New VEC type.
+ * linespec.c (symtab_p): Delete. All uses updated to use symtab_ptr
+ instead.
-2012-07-20 Doug Evans <dje@google.com>
+2013-08-01 Andrew Burgess <aburgess@broadcom.com>
- * NEWS: Document new options "set/show use-deprecated-index-sections",
- and delete reference to --use-deprecated-index-sections.
- * symfile.h (use_deprecated_index_sections): Delete.
- * dwarf2read.c (use_deprecated_index_sections): Make static.
- (read_index_from_section): Update wording of how to load
- deprecated index sections.
- (_initialize_dwarf2_read): New options
- "set/show use-deprecated-index-sections".
- * main.c (captured_main): Delete --use-deprecated-index-sections.
+ * cli/cli-script.c (script_from_file): Remove use of
+ error_pre_print.
+ * main.c (captured_main): Remove use of error_pre_print and
+ quit_pre_print.
+ * utils.c (error_pre_print, quit_pre_print): Remove.
+ * utils.h (error_pre_print, quit_pre_print): Likewise.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-08-01 Yao Qi <yao@codesourcery.com>
- * version.in: Set version to 7.4.91.20120718-cvs.
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Parse argv
+ with mi_getopt.
+ (mi_cmd_stack_list_variables): Likewise.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-07-31 Andrew Burgess <aburgess@broadcom.com>
- GDB 7.4.91 released.
+ * exceptions.c (deprecated_throw_reason): Remove.
+ * exceptions.h (deprecated_throw_reason): Remove.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-07-31 Andrew Burgess <aburgess@broadcom.com>
- * NEWS: Replace "Changes since GDB 7.4" with "Changes in GDB 7.5".
+ * remote-mips.c (mips_error): Replace use of
+ deprecated_throw_reason with throw_verror. Use the error message
+ passed to mips_error as the error message for throw_verror.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-07-31 Andrew Burgess <aburgess@broadcom.com>
- * version.in: Update GDB version number to 7.4.91.
+ * monitor.c (monitor_interrupt_query): Replace use of
+ deprecated_throw_reason with quit.
+ * nto-procfs.c (interrupt_query): Likewise.
+ * remote-fileio.c (remote_fileio_sig_exit): Likewise.
+ * remote-mips.c (mips_kill): Likewise.
+ * remote.c (interrupt_query): Likewise.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-07-31 Andrew Burgess <aburgess@broadcom.com>
- * configure.ac (development): Set to false.
- * configure: Regenerate.
+ * utils.c (internal_verror): Replace use of deprecated_throw_reason
+ with call to fatal.
-2012-07-18 Joel Brobecker <brobecker@adacore.com>
+2013-07-31 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- GDB 7.5 branch created (branch timestamp: 2012-07-18 03:22 UTC)
- * version.in: Bump version to 7.4.90.20120718-cvs.
+ * tracepoint.c (trace_dump_command): Select the current frame.
-2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-30 Doug Evans <dje@google.com>
- PR 11914
- * f-valprint.c (info_common_command): New variable frame_id.
- Reinitialize FI form FRAME_ID after each print_variable_and_value.
- * printcmd.c (print_variable_and_value): Extend function comment.
- Add comment for invalidated FRAME.
- * stack.c (backtrace_command_1): New variable frame_id. Reinitialize
- FI form FRAME_ID after each print_frame_local_vars.
- (struct print_variable_and_value_data): Change frame to frame_id.
- (do_print_variable_and_value): New variable frame, initialize it from
- p->frame_id. Add comment for invalidated FRAME.
- (print_frame_local_vars, print_frame_arg_vars): New function comment.
- Update CB_DATA.FRAME to CB_DATA.FRAME_ID initialization. Add comment
- for invalidated FRAME.
+ * dwarf2read.c (process_queue): Add type signature to debug output.
-2012-07-16 Marc Khouzam <marc.khouzam@ericsson.com>
- Pedro Alves <palves@redhat.com>
+2013-07-30 Andrew Burgess <aburgess@broadcom.com>
- * linux-nat.c (linux_nat_detach): Don't unregister from the event
- loop.
-
-2012-07-16 Tom Tromey <tromey@redhat.com>
-
- * jv-typeprint.c (c_type_print_varspec_suffix): Don't declare.
-
-2012-07-15 Doug Evans <dje@google.com>
-
- * dwarf2read.c (stmt_list_hash): New struct.
- (type_unit_group): Embed "per_cu" member, remove pointer.
- New union member "t", move member "tus" into it, all uses updated.
- New member "hash", replaces member "line_offset, all uses updated.
- (quick_file_names): Replace member "offset" with "hash", all uses
- updated.
- (hash_stmt_list_entry, eq_stmt_list_entry): New functions.
- (hash_file_name_entry, eq_file_name_entry): Call them.
- (hash_type_unit_group, eq_type_unit_group): Ditto.
- (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one.
- (dw2_get_file_names_reader): Fix file name table calculation for TUs.
- (dw2_get_file_names): Update.
- (create_type_unit_group): Replace "per_cu" arg with "cu".
- All callers updated. Fix "quick" (.gdb_index) handling.
- (get_type_unit_group): Replace "per_cu" arg with "cu".
- All callers updated.
- (build_type_unit_groups): Don't reset tu_stats.
+ * value.c (value_fetch_lazy): Mark optimized out values as such
+ rather than raising an error.
- * symtab.c (filename_seen_cache): Delete members "tab_alloc_size",
- "tab_cur_size". Change member "tab" to be a htab_t.
- (create_filename_seen_cache): Update.
- (clear_filename_seen_cache, delete_filename_seen_cache): Update.
- (filename_seen): Update.
+2013-07-30 Andrew Burgess <aburgess@broadcom.com>
-2012-07-13 Doug Evans <dje@google.com>
+ * value.c (value_fetch_lazy): Ensure parent value is not lazy
+ before checking which bits of the parent, not the child, value are
+ valid.
- * symtab.c (filename_seen): Update comment.
+2013-07-30 Muhammad Bilal <mbilal@codesorcery.com>
-2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
- Doug Evans <dje@google.com>
+ PR gdb/15715
+ * top.c: Include "filenames.h".
+ (set_history_filename): New function.
+ (init_main): Install it as set hook of the "set history filename"
+ command.
- * buildsym.c (end_symtab_1): Split it to ...
- (end_symtab_get_static_block): ... this ...
- (end_symtab_from_static_block): ... and this function.
- (end_symtab, end_expandable_symtab): Call them.
- * buildsym.h (end_symtab_get_static_block)
- (end_symtab_from_static_block): New declarations.
- * dwarf2read.c (process_full_comp_unit): New variable static_block.
- Set its valid CU ranges.
+2013-07-30 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * dwarf2read.c (dwarf2_get_ref_die_offset): Constify struct
+ attribute parameter.
+ (dwarf2_const_value_data): Constify struct attribute parameter.
+ (dwarf2_const_value): Constify struct attribute parameter.
+ (dwarf2_const_value_attr): Constify struct attribute parameter.
+ (lookup_die_type): Constify struct attribute parameter.
+ (dwarf2_get_attr_constant_value): Constify struct attribute parameter.
+ (follow_die_ref_or_sig): Constify struct attribute parameter.
+ (follow_die_ref): Constify struct attribute parameter.
+ (follow_die_sig): Constify struct attribute parameter.
+ (get_DW_AT_signature_type): Constify struct attribute parameter.
+ (get_type_unit_group): Constify struct attribute parameter.
+ (fill_in_loclist_baton): Constify struct attribute parameter.
+ (dwarf2_symbol_mark_computed): Constify struct attribute parameter.
+ (type_unit_group): Constify struct attribute parameter.
+
+2013-07-30 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * dwarf2read.c (attr_form_is_block): Make argument const.
+ (attr_form_is_section_offset): Make argument const.
+ (attr_form_is_constant): Make argument const.
+ (attr_form_is_ref): Make argument const.
+
+2013-07-30 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * dwarf2read.c (attr_is_ref): Rename to attr_form_is_ref.
+ All uses updated.
+ (attr_form_is_ref): Moved below attr_form_is_constant.
+
+2013-07-29 Doug Evans <dje@google.com>
+
+ * main.c (captured_command_loop): Tweak comment.
+
+ * target.c (target_async_permitted_1): Fix comment.
+
+ * symtab.c (iterate_over_some_symtabs): Add comment.
+
+ * symtab.c (iterate_over_some_symtabs): Fix indentation.
+
+2013-07-27 Yao Qi <yao@codesourcery.com>
+
+ * NEWS: Mention that GDBserver now supports hardware
+ watchpoints on the MIPS GNU/Linux target.
+
+2013-07-27 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add
+ common/mips-linux-watch.h.
+ (mips-linux-watch.o): New rule.
+ * common/mips-linux-watch.c: New.
+ * common/mips-linux-watch.h: New.
+ * config/mips/linux.mh (NATDEPFILES): Add mips-linux-watch.o
+ * mips-linux-nat.c: Include mips-linux-watch.h.
+ (W_BIT, R_BIT, I_BIT, W_MASK, R_MASK, I_MASK, IRW_MASK): Move
+ to common/mips-linux-watch.h.
+ (MAX_DEBUG_REGISTER): Likewise.
+ (enum pt_watch_style): Likewise.
+ (struct mips32_watch_regs): Likewise.
+ (struct mips64_watch_regs): Likewise.
+ (struct pt_watch_regs): Likewise.
+ (struct mips_watchpoint): Likewise.
+ (mips_linux_watch_get_irw_mask): Move to
+ common/mips-linux-watch.c.
+ (get_reg_mask, mips_linux_watch_get_num_valid): Likewise.
+ (mips_linux_watch_get_watchlo): Likewise.
+ (mips_linux_watch_set_watchlo): Likewise.
+ (mips_linux_watch_get_watchhi): Likewise.
+ (mips_linux_watch_set_watchhi): Likewise.
+ (mips_linux_read_watch_registers): Likewise.
+ (mips_linux_watch_type_to_irw): Likewise.
+ (mips_linux_stopped_data_address, fill_mask): Likewise.
+ (mips_linux_watch_try_one_watch): Likewise.
+ (mips_linux_watch_populate_regs): Likewise.
+
+2013-07-27 Yao Qi <yao@codesourcery.com>
+
+ * mips-linux-nat.c (get_irw_mask): Rename to ...
+ (mips_linux_watch_get_irw_mask): ... this. Rename parameter
+ 'set' to 'n'. Update function comment. All callers changed.
+ (get_reg_mask): Rename parameter 'set' to 'n'. Update
+ function comment. All callers changed.
+ (get_num_valid): Rename to ...
+ (mips_linux_watch_get_num_valid): ... this. Rename parameter
+ 'set' to 'n'. Update function comment. All callers changed.
+ (get_watchlo): Rename to ...
+ (mips_linux_watch_get_watchlo): ... this. Rename parameter
+ 'set' to 'n'. Update function comment. All callers changed.
+ (set_watchlo): Rename to ...
+ (mips_linux_watch_set_watchlo): ... this. Rename parameter
+ 'set' to 'n'. Update function comment. All callers changed.
+ (get_watchhi): Rename to ...
+ (mips_linux_watch_get_watchhi): ... this. Update function
+ comment. All callers changed.
+ (set_watchhi): Rename to ...
+ (mips_linux_watch_set_watchhi): ... this. Update function
+ comment. All callers changed.
+ (mips_linux_read_watch_registers): Update function comment.
+ Add new parameters 'lwpid', 'watch_readback', and
+ 'watch_readback_valid'. Update.
+ (type_to_irw): Rename to ...
+ (mips_linux_watch_type_to_irw): ... this. Update function
+ comment. All callers changed.
+ (fill_mask): Update function comment.
+ (try_one_watch): Rename to ...
+ (mips_linux_watch_try_one_watch): ... this. Change the type
+ of parameter 'irw' from 'unsigned' to 'uint32_t'.
+ (populate_regs_from_watches): Rename to ...
+ (mips_linux_watch_populate_regs): ... this. Add parameter
+ 'current_watches'. All callers changed.
+
+2013-07-27 Yao Qi <yao@codesourcery.com>
+
+ * mips-linux-nat.c (MAX_DEBUG_REGISTER): Move it earlier in
+ the code.
+ (PTRACE_SET_WATCH_REGS, enum pt_watch_style): Remove.
+ (struct mips32_watch_regs, struct mips64_watch_regs): Remove.
+ (struct pt_watch_regs): Likewise.
+ [!PTRACE_GET_WATCH_REGS] (PTRACE_SET_WATCH_REGS): New macro.
+ [!PTRACE_GET_WATCH_REGS] (enum pt_watch_style): New.
+ [!PTRACE_GET_WATCH_REGS] (struct mips32_watch_regs): New.
+ [!PTRACE_GET_WATCH_REGS] (struct mips64_watch_regs): New.
+ [!PTRACE_GET_WATCH_REGS] (struct pt_watch_regs): New.
+
+2013-07-27 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.h: Include break-common.h.
+ (enum target_hw_bp_type): Move to ...
+ * common/break-common.h: ... here. New.
+
+2013-07-26 Cyril Nikolaev <cyril@nichtverstehen.de>
+
+ * inflow.c (terminal_init_inferior_with_pgrp): Save inferior
+ process group regardless of having tty on stdin.
+
+2013-07-25 Doug Evans <dje@google.com>
+
+ * linux-fork.h (detach_fork): Delete.
+
+2013-07-25 Tom Tromey <tromey@redhat.com>
+
+ PR remote/15256, PR remote/15266:
+ * bfd-target.c (target_bfd_reopen): Initialize to_magic.
+ * monitor.c (monitor_detach): Use unpush_target.
+ * remote-m32r-sdi.c (m32r_detach): Use unpush_target.
+ * remote-mips.c (mips_detach): Use unpush_target. Don't
+ call mips_close.
+ * remote-sim.c (gdbsim_detach): Use unpush_target.
+ * target.c (pop_target): Remove.
+ (pop_all_targets_above): Don't call target_close.
+ (target_close): Assert that the target is unpushed.
+ * target.h (pop_target): Don't declare.
+ * tracepoint.c (tfile_open): Use unpush_target.
+
+2013-07-25 Tom Tromey <tromey@redhat.com>
+
+ * linux-thread-db.c (init_thread_db_ops): Call
+ complete_target_initialization.
+ (_initialize_thread_db): Don't call add_target.
+ * target.c (complete_target_initialization): New function.
+ (add_target_with_completer): Call it.
+ * target.h (complete_target_initialization): Declare.
+
+2013-07-25 Mark Kettenis <kettenis@gnu.org>
+
+ * hppa-tdep.h (enum hppa_regnum): Add members for all space registers.
+ * hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Add comment.
+ (HPPANBSD_SIZEOF_GREGS): New define.
+ (hppaobsd_supply_gregset): Handle additional registers.
+ * hppabsd-nat.c (hppabsd_gregset_supplies_p): Adjust to indicate
+ we provide more registers now.
+ (hppabsd_supply_gregset): Supply additional registers.
+ (hppabsd_collect_gregset): Collect additional registers.
+
+2013-07-25 Mark Kettenis <kettenis@gnu.org>
+
+ * hppabsd-tdep.c: Include "dwarf2-frame.h".
+ (hppabsd_dwarf2_frame_init_reg): New function.
+ (hppabsd_init_abi): Hook in the DWARF CFI frame unwinder.
+
+2013-07-25 Andrew Burgess <aburgess@broadcom.com>
+
+ * mi/mi-main.c (output_register): Make MI 'r' format use standard
+ 'z' format code. Remove error for optimized out values, standard
+ code will handle these fine.
+
+2013-07-25 Andrew Burgess <aburgess@broadcom.com>
+
+ * NEWS: Mention new 'z' formatter.
+ * printcmd.c (print_scalar_formatted): Add new 'z' formatter.
+ (_initialize_printcmd): Mention 'z' formatter in help text of the
+ 'x' command.
+
+2013-07-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (micromips_deal_with_atomic_sequence): Correct
+ formatting.
+
+2013-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * breakpoint.c (create_longjmp_master_breakpoint): Check if probe
+ interface can evaluate arguments. Fallback to the old mode if it
+ cannot.
+ (create_exception_master_breakpoint): Likewise.
+ * elfread.c (elf_can_evaluate_probe_arguments): New function.
+ (struct sym_probe_fns elf_probe_fns): Export function above to the
+ probe interface.
+ * probe.c (can_evaluate_probe_arguments): New function.
+ * probe.h (struct probe_ops) <can_evaluate_probe_arguments>: New
+ function pointer.
+ (can_evaluate_probe_arguments): New function prototype.
+ * solib-svr4.c (svr4_create_solib_event_breakpoints): Check if
+ probe interface can evaluate arguments. Fallback to the old mode
+ if it cannot.
+ * stap-probe.c (stap_get_probe_argument_count): Check if probe
+ interface can evaluate arguments. Warning the user if it cannot.
+ (stap_can_evaluate_probe_arguments): New function.
+ (struct probe_ops stap_probe_ops): Export function above to the
+ probe interface.
+ * symfile.h (struct sym_probe_fns) <can_evaluate_probe_arguments>:
+ New function pointer.
+
+2013-07-24 Luis Machado <lgustavo@codesourcery.com>
+
+ * Makefile.in (SFILES): Add common/target-common.c.
+ Add common/target-common.h to headers.
+ (COMMON_OBS): Add target-common.o.
+ (target-common.o): New target.
+ * linux-nat.h (resume_kind): Move to common/target-common.h.
+ * target.c (target_waitstatus_to_string): Move to
+ common/target-common.c.
+ * target.h: Include target-common.h.
+ (target_waitkind): Move to common/target-common.h.
+ (target_waitstatus): Likewise.
+ (TARGET_WNOHANG): Likewise.
+ * common/target-common.c: New file.
+ * common/target-common.h: New file.
+
+2013-07-24 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to
+ a warning.
+
+2013-07-23 Yao Qi <yao@codesourcery.com>
+
+ * i386-tdep.c (i386_in_stack_tramp_p): Remove unused
+ parameter 'gdbarch'.
+ (i386_stack_tramp_frame_sniffer): Caller update.
+ * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove
+ parameter 'gdbarch' and 'target'.
+ (i386_linux_core_read_description): Caller update.
+ * amd64-linux-tdep.c (amd64_linux_core_read_description):
+ Likewise.
+ * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update
+ declaration.
-2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-23 Tom Tromey <tromey@redhat.com>
- * dwarf2loc.c (disassemble_dwarf_expression): Handle
- DW_OP_GNU_parameter_ref.
+ * dwarf2read.c (init_cutu_and_read_dies): Revert patch from
+ 2013-07-22.
-2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-22 Doug Evans <dje@google.com>
- * dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid
- read-in CALL_SITE_PARAMETER_PARAM_OFFSET.
+ * exec.h (remove_target_sections): Delete arg abfd.
+ * exec.c (exec_close): Update call to remove_target_sections.
+ (remove_target_sections): Delete arg abfd.
+ * solib.c (update_solib_list): Ditto.
+ (reload_shared_libraries_1): Ditto.
+ (clear_solib): Ditto, and unconditionally call remove_target_sections.
+ * target.h (struct target_section): Rename key to owner.
+ All uses updated.
-2012-07-13 Doug Evans <dje@google.com>
+2013-07-22 Tom Tromey <tromey@redhat.com>
- * symtab.c (output_source_filename): Delete unnecessary forward decl.
- (filename_seen_cache): New struct.
- (INITIAL_FILENAME_SEEN_CACHE_SIZE): New macro.
- (create_filename_seen_cache): New function.
- (clear_filename_seen_cache, delete_filename_seen_cache): New functions.
- (filename_seen): Delete arg "first". New arg "cache". All callers
- updated.
- (output_source_filename_data): New struct.
- (output_source_filename): Delete arg "first". New arg "data".
- All callers updated.
- (sources_info): Delete local "first". New locals "data", "cleanups".
- Rewrite to use filename_seen_cache.
- (add_partial_filename_data): Delete member "first". New member
- "filename_seen_cache". All uses updated.
- (make_source_files_completion_list): Rewrite to use
- filename_seen_cache.
-
-2012-07-12 Doug Evans <dje@google.com>
-
- * psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs.
-
-2012-07-10 Doug Evans <dje@google.com>
-
- PR gdb/13498
- * dwarf2read.c (dwarf2_per_objfile): New members n_type_unit_groups,
- all_type_unit_groups, type_unit_groups, tu_stats.
- (dwarf2_per_cu_data): Move "imported_symtabs" into new union "s".
- All uses updated. Add type_unit_group to union "s".
- (type_unit_group): New struct.
- (IS_TYPE_UNIT_GROUP): New macro.
- (abbrev_table): Delete unused member "section".
- (dw2_do_instantiate_symtab): Early exit if type_unit_group.
- (dw2_get_cu): Assert not used with type_unit_group.
- (dw2_get_primary_cu): New function.
- (dw2_build_type_unit_groups_reader): New function.
- (dw2_build_type_unit_groups): New function.
- (dw2_get_file_names): Assert not called on type units.
- (dw2_map_symtabs_matching_filename): Call dw2_build_type_unit_groups.
- Redo loop to iterate over type unit groups instead of type units.
- (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Ditto.
- (read_abbrev_offset): New function.
- (init_cutu_and_read_dies): New arg "abbrev_table". All callers
- updated.
- (create_partial_symtab): New function.
- (process_psymtab_comp_unit_reader): Assert not used with type units.
- Call create_partial_symtab.
- (process_psymtab_type_unit): Delete.
- (hash_type_unit_group, eq_type_unit_group): New functions.
- (allocate_type_unit_groups_table): New function.
- (NO_STMT_LIST_TYPE_UNIT_PSYMTAB): New macro.
- (NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE): New macro.
- (create_type_unit_group, get_type_unit_group): New functions.
- (tu_abbrev_offset): New struct.
- (sort_tu_by_abbrev_offset): New function.
- (add_type_unit_group_to_table): New function.
- (build_type_unit_groups): New function.
- (build_type_psymtabs_reader): New function.
- (build_type_psymtab_dependencies): New function.
- (build_type_psymtabs): Rewrite.
- (scan_partial_symbols): Flag an error if a DW_TAG_imported_unit
- is seen in a type unit.
- (process_queue): Move symtab expansion debugging printfs here.
- Call process_full_type_unit for type units.
- (compute_symtab_includes): Assert not called for type units.
- (process_cu_includes): Don't call compute_symtab_includes for
- type units.
- (process_full_type_unit): New function.
- (process_imported_unit_die): Flag an error if called for type units.
- (handle_DW_AT_stmt_list): Delete arg "want_line_info". All callers
- updated. Assert not called for type units.
- (read_file_scope): Call dwarf2_start_symtab.
- (setup_type_unit_groups): New function.
- (read_type_unit_scope): Rewrite.
- (abbrev_table_read_table): Initialize abbrev_table->offset.
- (abbrev_table_free_cleanup): New function.
- (dwarf2_start_symtab): New function.
- (load_full_type_unit): Assert not called for type unit groups.
- * buildsym.c (finish_block_internal): New arg "expandable".
- All callers updated.
- (start_symtab): Move most contents to ...
- (restart_symtab): ... here. New function.
- (reset_symtab_globals): New function.
- (end_symtab_1): Renamed from end_symtab. New arg "expandable".
- Call reset_symtab_globals.
- (end_symtab, end_expandable_symtab): New functions.
- (set_missing_symtab, augment_type_symtab): New functions.
- * buildsym.h (end_expandable_symtab): Declare.
- (augment_type_symtab, restart_symtab): Declare.
- * psympriv.h (struct partial_symtab): New member "anonymous".
- * psymtab.c (partial_map_symtabs_matching_filename): Ignore
- anonymous psymtabs.
- (read_psymtabs_with_filename): Ditto.
- (map_symbol_filenames_psymtab, psymtab_to_fullname): Ditto.
- (expand_symtabs_matching_via_partial): Ditto.
- (dump_psymtab): Update.
- * dictionary.c (dict_add_pending): New function.
- * dictionary.h (dict_add_pending): Declare.
-
-2012-07-09 Doug Evans <dje@google.com>
-
- * buildsym.c (start_subfile): Remove unnecessary check for
- name == NULL.
-
- * psymtab.c (allocate_psymtab): Use host_address_to_string.
-
- * dwarf2read.c (load_full_type_unit): Simplify.
-
- * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units
- to struct signatured_type **. All uses updated.
-
- * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu".
- All callers updated.
+ * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
-2012-07-09 Tom Tromey <tromey@redhat.com>
+2013-07-22 Tom Tromey <tromey@redhat.com>
- * c-exp.y (check_parameter_typelist): New function.
- (parameter_typelist): Call it.
- * eval.c (make_params): Handle '(void)' case.
- * gdbtypes.c (lookup_function_type_with_arguments): Handle
- '(void)' case.
+ * dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'.
+ Simplify cleanup handling.
-2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-22 Tom Tromey <tromey@redhat.com>
- * common/linux-ptrace.c: Include gdb_assert.h.
- <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration.
- <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and
- stdint.h.
- (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New
- functions.
- * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations.
- * linux-nat.c (linux_child_post_attach)
- (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings.
+ * dwarf2read.c (dwarf_decode_line_header): Call do_cleanups
+ on all return paths.
-2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
- * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply
- nptl <2.7 bug workaround for core files.
+ * ppc-linux-nat.c (PPC_DEBUG_FEATURE_DATA_BP_DAWR): New define.
+ (ppc_linux_region_ok_for_hw_watchpoint): Add checking to use the new
+ DAWR interface for longer ranges hardware watchpoint (up to 512 bytes).
-2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-22 Phil Muldoon <pmuldoon@redhat.com>
- * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO
- clearing.
- (save_siginfo): Remove.
- (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo
- call.
- (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing.
- (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO.
- * linux-nat.h (struct lwp_info): Remove field siginfo.
-
-2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Code cleanup for the next patch.
- * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable
- siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
- call for it.
- * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
- (ia64_linux_stopped_data_address):
- * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change
- the return value.
- * linux-nat.h (linux_nat_get_siginfo): Likewise.
- * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable
- siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
- call for it.
-
-2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- PR 14321
- * findcmd.c (parse_find_args): New variable pattern_buf_size_need.
- Increase buffer sizes to 2x we need, not just 2x of the previous size.
-
-2012-07-06 Tom Tromey <tromey@redhat.com>
-
- * c-exp.y (DOTDOTDOT): New token.
- (func_mod, exp): Use parameter_typelist.
- (parameter_typelist): New production.
- (tokentab3): Add "..." token.
- * eval.c (make_params): Handle varargs.
- * gdbtypes.c (lookup_function_type_with_arguments): Handle
- varargs.
-
-2012-07-06 Tom Tromey <tromey@redhat.com>
-
- PR exp/9608:
- * c-exp.y (%union) <tvec>: Change type.
- (func_mod): Now uses <tvec> type.
- (exp): Update for tvec change.
- (direct_abs_decl): Push the typelist.
- (func_mod): Return a typelist.
- (nonempty_typelist): Update for tvec change.
- * gdbtypes.c (lookup_function_type_with_arguments): New function.
- * gdbtypes.h (lookup_function_type_with_arguments): Declare.
- * parse.c (pop_type_list): New function.
- (push_typelist): New function.
- (follow_types): Handle tp_function_with_arguments.
- * parser-defs.h (type_ptr): New typedef. Define a VEC.
- (enum type_pieces) <tp_function_with_arguments>: New constant.
- (union type_stack_elt) <typelist_val>: New field.
- (push_typelist): Declare.
-
-2012-07-06 Tom Tromey <tromey@redhat.com>
-
- * c-exp.y (%union) <type_stack>: New field.
- (abs_decl, direct_abs_decl): Use <type_stack> type. Update.
- (ptr_operator_ts): New production.
- (ptype): Update.
- * parse.c (type_stack_reserve): New function.
- (check_type_stack_depth): Use it.
- (pop_type_stack, append_type_stack, push_type_stack)
- (get_type_stack, type_stack_cleanup): New functions.
- (follow_types): Handle tp_type_stack.
- (_initialize_parse): Simplify initialization.
- * parser-defs.h (enum type_pieces) <tp_type_stack>: New
- constant.
- (union type_stack_elt) <stack_val>: New field.
- (get_type_stack, append_type_stack, push_type_stack)
- (type_stack_cleanup): Declare.
-
-2012-07-06 Tom Tromey <tromey@redhat.com>
-
- * parser-defs.h (type_stack, type_stack_size, type_stack_depth):
- Remove.
- (struct type_stack): New.
- * parse.c (type_stack, type_stack_size, type_stack_depth):
- Remove.
- (type_stack): New global.
- (parse_exp_in_context, check_type_stack_depth)
- (insert_into_type_stack, insert_type, push_type, push_type_int)
- (insert_type_address_space, pop_type, pop_type_int)
- (_initialize_parse): Update.
+ * top.c (print_gdb_version): Add help, apropos description and
+ url to online documentation.
-2012-07-06 Tom Tromey <tromey@redhat.com>
+2013-07-19 Hui Zhu <hui@codesourcery.com>
- * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator):
- Remove %type.
+ PR gdb/15692
+ * mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes.
-2012-07-06 Siddhesh Poyarekar <siddhesh@redhat.com>
+2013-07-19 Yao Qi <yao@codesourcery.com>
- * c-lang.c (c_printstr): Remove ununsed variable WIDTH.
+ * target.c (update_current_target): Change the default action
+ of 'to_traceframe_info' from tcomplain to return_zero.
+ * target.h (struct target_ops) <to_traceframe_info>: Add more
+ comments.
+ * valops.c (read_value_memory): Call
+ traceframe_available_memory unconditionally.
-2012-07-06 Siddhesh Poyarekar <siddhesh@redhat.com>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-18 Yao Qi <yao@codesourcery.com>
- * cp-valprint.c (cp_print_value): Replace potentially unsafe
- alloca with xmalloc/xfree.
+ * coffread.c (coff_symfile_read): Iterate over minimal symbols,
+ if the name is prefixed by "__imp_" or "_imp_", look for minimal
+ symbol without prefix. If found, set its type to
+ 'mst_solib_trampoline'.
-2012-07-06 Siddhesh Poyarekar <siddhesh@redhat.com>
+2013-07-17 Doug Evans <dje@google.com>
- * MAINTAINERS (Write After Approval): Add myself to the list.
+ * NEWS: Mention "set print raw frame-arguments".
+ * gdbcmd.h (setprintrawlist, showprintrawlist): Declare.
+ * stack.c (print_raw_frame_arguments): New static global.
+ (print_frame_arg): Set opts.raw from print_raw_frame_arguments.
+ (_initialize_stack): New command "set/show print raw frame-arguments".
+ * valprint.c (setprintrawlist, showprintrawlist): New globals.
+ (set_print_raw, show_print_raw): New functions.
+ (_initialize_valprint): New prefix command "set/show print raw".
+ * valprint.h (value_print_options): Improve comments.
-2012-07-05 Doug Evans <dje@google.com>
+ * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization
+ of all *list variables.
- * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
+ * gdbcmd.h (togglelist): Delete.
+ * cli/cli-cmds.c (togglelist): Delete.
+ (init_cmd_lists): Update.
+ * cli/cli-cmds.h (togglelist): Delete.
-2012-07-05 Hui Zhu <hui_zhu@mentor.com>
+2013-07-17 Tom Tromey <tromey@redhat.com>
- * ax-gdb.c (cli/cli-utils.h): New include.
- (linespec.h): Ditto.
- (agent_eval_command_one): New function.
- (agent_command_1): Ditto.
- (agent_command): Call function agent_command_1.
- (agent_eval_command): Ditto.
- (_initialize_ax_gdb): Change help for "maint agent"
- and "maint agent-eval".
+ * dwarf2read.c (dwarf2_per_objfile_free): Clear
+ dwarf2_per_objfile.
-2012-07-05 Hui Zhu <hui_zhu@mentor.com>
+2013-07-16 Doug Evans <dje@google.com>
- * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c.
- * cli/cli-utils.c (check_for_argument): New function.
- * cli/cli-utils.h (check_for_argument): Ditto.
+ * nto-tdep.c (nto_relocate_section_addresses): Update,
+ target_section.bfd deleted.
+ * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto.
+ * s390-tdep.c (s390_load): Ditto.
+ * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
-2012-07-04 H.J. Lu <hongjiu.lu@intel.com>
+2013-07-16 Andrew Burgess <aburgess@broadcom.com>
- * NEWS: Mention x32 ABI support.
+ * common/format.c (parse_format_string): Add checks for NULL
+ character before calling strchr.
-2012-07-04 H.J. Lu <hongjiu.lu@intel.com>
+2013-07-16 Doug Evans <dje@google.com>
- * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to
- AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM.
+ * solist.h (target_so_ops.find_and_open_solib): Clarify usage of
+ temp_pathname argument.
+ * nto-tdep.c (nto_find_and_open_solib): Fix setting of temp_pathname
+ when opening the file fails.
- * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax
- and pc_regnum_from_eax to -1. Update SP regnum from
- sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if
- needed.
+ * target.h (struct target_section): Delete member bfd.
+ All users updated to use the_bfd_section->owner instead.
+ * exec.c (add_to_section_table): Assert bfd is expected value.
+ Remove initialization of target_section.bfd.
+ (remove_target_sections): Update.
+ (section_table_available_memory): Update.
+ (section_table_xfer_memory_partial): Update.
+ (print_section_info): Update.
+ (exec_set_section_address): Update.
+ * record-full.c (record_full_core_xfer_partial): Update.
+ * solib-svr4.c (svr4_relocate_section_addresses): Update.
+ * solib-target.c (solib_target_relocate_section_addresses): Update.
+ * symfile.c (build_section_addr_info_from_section_table): Update.
+ * target.c (memory_xfer_live_readonly_partial): Update.
+ (memory_xfer_partial_1): Update.
+
+2013-07-15 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * ppc-linux-nat.c: Since the new PowerPC specific ptrace interface is
+ now available for embedded (BookE) and server (BookS) processors,
+ correct mentions of 'booke' and adjust comments accordingly in order to
+ avoid confusion. Rename struct 'booke_debug_info' to 'hwdebug_info'.
+ (have_ptrace_booke_interface): Rename function and variable
+ 'have_ptrace_booke_interface' to 'have_ptrace_hwdebug_interface'.
+ Rename struct 'booke_debug_info' to 'hwdebug_info'. Update all uses.
+ (booke_cmp_hw_point): Rename function 'booke_cmp_hw_point' to
+ 'hwdebug_point_cmp'. Update all uses.
+ (booke_find_thread_points_by_tid): Rename function
+ 'booke_find_thread_points_by_tid' to
+ 'hwdebug_find_thread_points_by_tid'. Update all uses.
+ (booke_insert_point): Rename function 'booke_insert_point' to
+ 'hwdebug_insert_point'. Update all uses.
+ (booke_remove_point): Rename function 'booke_remove_point' to
+ 'hwdebug_remove_point'. Update all uses.
+
+2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic
+ numbers with enum values.
+
+2013-07-15 Ali Anwar <ali_anwar@codesourcery.com>
+
+ PR threads/13217
+ * thread.c (thread_apply_all_command): Check for valid threads
+ and thread count.
+ (thread_array_cleanup): New struct.
+ (set_thread_refcount): New function.
+
+2013-07-11 Andrew Burgess <aburgess@broadcom.com>
+
+ * infcmd.c (default_print_one_register_info): Reuse function
+ print_hex_chars.
+
+2013-07-10 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (GDB_WARN_CFLAGS_NO_DEFS, ADA_EXP_C): New macros.
+ (ada-exp.o): New target.
+
+2013-07-10 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * mt-tdep.c (mt_registers_info): Call
+ get_no_prettyformat_print_options instead of
+ get_raw_print_options (regression by last patch from Doug
+ Evans).
+
+2013-07-09 Pedro Alves <palves@redhat.com>
+
+ Checked in by Joel Brobecker <brobecker@adacore.com>.
+ * ada-lang.c (coerce_unspec_val_to_type): Use
+ value_optimized_out_const.
+ * value.c (value_optimized_out_const): New function.
+ * value.h (value_optimized_out_const): New declaration.
+
+2013-07-09 Doug Evans <dje@google.com>
+
+ * defs.h (enum val_prettyformat): Renamed from val_prettyprint.
+ Enum values rename as well. All uses updated.
+ * valprint.h (value_print_options): Rename member pretty to
+ pretty format. Rename member prettyprint_arrays to
+ prettyformat_arrays. Rename member prettyprint_structs to
+ prettyformat_structs. All uses updated.
+ (get_no_prettyformat_print_options): Renamed from
+ get_raw_print_options.
+ * valprint.c (get_no_prettyformat_print_options): Renamed from
+ get_raw_print_options. All callers updated.
+ (show_prettyformat_structs): Renamed from show_prettyprint_structs.
+ All callers updated.
+ (show_prettyformat_arrays): Renamed from show_prettyprint_arrays.
+ All callers updated.
+ (_initialize_valprint): Improve help text for "set print pretty" and
+ "set print arrays".
- * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and
- pc_regnum_from_eax.
+2013-07-09 Andrew Burgess <aburgess@broadcom.com>
-2012-07-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * value.c (value_bits_valid): Revert previous change, and change
+ by Pedro on 2013-07-04, due to regressions in
+ gdb.dwarf2/implptr.exp and gdb.dwarf2/pieces.exp.
- Fix 'warning: parameter has incomplete type' with gcc-3.4.6.
- * dwarf2expr.h: Include gdbtypes.h.
- (enum call_site_parameter_kind, union call_site_parameter_u): Remove
- these forward declarations.
- (cu_offset, sect_offset): Move these ...
- * gdbtypes.h: Remove include dwarf2expr.h.
- (cu_offset, sect_offset): ... here.
+2013-07-08 Andrew Burgess <aburgess@broadcom.com>
+ Pedro Alves <palves@redhat.com>
-2012-07-03 H.J. Lu <hongjiu.lu@intel.com>
+ * value.c (value_bits_valid): If the value is not lval_computed
+ or has no check validity handler then the answer is the
+ optimized_out flag, otherwise defer to the handler.
- * amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ...
- (amd64_linux_sigtramp_code): This.
- (amd64_x32_linux_sigtramp_code): New.
- (LINUX_SIGTRAMP_LEN): Updated.
- (amd64_linux_sigtramp_start): Check x32 sigtramp.
+2013-07-06 Eli Zaretskii <eliz@gnu.org>
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * top.c (print_gdb_configuration): Explain in output of
+ --configuration what does "relocatable" mean.
- * linux-thread-db.c (thread_db_new_objfile): Fix comment typos.
+ * main.c (print_gdb_help): Regroup options in the --help text.
+ See http://sourceware.org/ml/gdb-patches/2013-04/msg00362.html for
+ the relevant discussions.
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-06 Yao Qi <yao@codesourcery.com>
- * config.in: Regenerate.
+ * breakpoint.h (struct breakpoint_ops) <create_breakpoints_sal>:
+ Remove parameter 'lsal'.
+ * breakpoint.c (create_breakpoint): Move local variable 'lsal'
+ to inner block. Caller update.
+ (base_breakpoint_create_breakpoints_sal): Update.
+ (bkpt_create_breakpoints_sal): Likewise.
+ (tracepoint_create_breakpoints_sal): Likewise.
+ (strace_marker_create_breakpoints_sal): Get 'lsal' from the
+ element 0 of vector 'canonical->sals'.
+
+2013-07-05 Luis Machado <lgustavo@codesourcery.com>
+
+ * rs6000-tdep.c (rs6000_stab_reg_to_regnum): Return the real
+ register number instead of the pseudo register one.
+ (rs6000_dwarf2_reg_to_regnum): Likewise.
+
+2013-07-04 Pedro Alves <palves@redhat.com>
+
+ * findvar.c (value_of_register): Use allocate_optimized_out_value
+ if the register has been optimized out, instead of
+ set_value_optimized_out.
+ * frame-unwind.c (frame_unwind_got_optimized): Use
+ allocate_optimized_out_value.
+
+2013-07-04 Pedro Alves <palves@redhat.com>
+
+ * value.c (value_bits_valid): If the value is not lval_computed,
+ or doesn't have a check_validity hook, assume the value is entirely
+ valid.
+
+2013-07-04 Andrew Burgess <aburgess@broadcom.com>
+
+ * stack.c (read_frame_arg): No longer fetch lazy values.
+ * value.c (value_optimized_out): If the value is not already
+ marked optimized out, and is lazy then fetch it.
+ (value_primitive_field): Move optimized out check to later in the
+ function, after we have loaded any lazy values.
+ (value_fetch_lazy): Use optimized out flag directly rather than
+ calling optimized_out method.
+
+2013-07-04 Andrew Burgess <aburgess@broadcom.com>
+
+ * valops.c: Don't include "user-regs.h".
+ (value_fetch_lazy): Moved to value.c.
+ * value.c: Include "user-regs.h".
+ (value_fetch_lazy): Moved from valops.c.
+
+2013-07-04 Yao Qi <yao@codesourcery.com>
+
+ Revert:
+ 2013-06-27 Yao Qi <yao@codesourcery.com>
+
+ * common/create-version.sh: Update comments. Handle the case
+ that TARGET_ALIAS is empty.
+
+2013-07-03 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (config.status): Depend on development.sh.
+ (aclocal_m4_deps): Add libmcheck.m4.
+ * acinclude.m4: Include libmcheck.m4.
+ * configure.ac: Source development.sh instead of setting
+ 'development' here. --enable-libmcheck/--disable-libmcheck code
+ factored out to GDB_AC_LIBMCHECK. Run it.
+ * development.sh: New file.
+ * libmcheck.m4: New file.
* configure: Regenerate.
- * configure.ac: Remove check for gnu/libc-version.h.
- * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of
- gnu/libc-version.h.
- (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove
- variables libc_version, libc_major and libc_minor. Replace sscanf by
- inferior_has_bug. Extend the comment.
-
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * linux-thread-db.c (inferior_has_bug): New function.
- (thread_db_find_new_threads_silently): Return boolean as checked by
- inferior_has_bug, describe it in the comments.
- (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently
- earlier. Abort the initialization if it returned non-zero.
- (thread_db_new_objfile): Exclude debug files.
- (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also
- if UNTIL_NO_NEW,
-
-2012-07-02 Doug Evans <dje@google.com>
-
- * dwarf2read.c (maybe_queue_comp_unit): Move definition next to others
- related to queue management.
-
- * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read"
- instead of "debug dwarf2-die" in debugging printfs.
- (create_debug_info_hash_table_reader): Ditto.
- (create_debug_info_hash_table): Ditto.
- (init_dwo_file): Ditto.
- (init_cutu_and_read_dies): Add debugging printf.
- (init_cutu_and_read_dies_no_follow): Ditto.
- (process_psymtab_comp_unit_reader): Ditto.
-
-2012-07-02 Stan Shebs <stan@codesourcery.com>
-
- Add target-side support for dynamic printf.
- * NEWS: Mention the additional style.
- * breakpoint.h (struct bp_target_info): New fields tcommands, persist.
- (struct bp_location): New field cmd_bytecode.
- * breakpoint.c: Include format.h.
- (disconnected_dprintf): New global.
- (parse_cmd_to_aexpr): New function.
- (build_target_command_list): New function.
- (insert_bp_location): Call it.
- (remove_breakpoints_pid): Skip dprintf breakpoints.
- (print_one_breakpoint_location): Ditto.
- (dprintf_style_agent): New global.
- (dprintf_style_enums): Add dprintf_style_agent.
- (update_dprintf_command_list): Add agent case.
- (agent_printf_command): New function.
- (_initialize_breakpoint): Add new commands.
- * common/ax.def (printf): New bytecode.
- * ax.h (ax_string): Declare.
- * ax-gdb.h (gen_printf): Declare.
- * ax-gdb.c: Include cli-utils.h, format.h.
- (gen_printf): New function.
- (maint_agent_print_command): New function.
- (_initialize_ax_gdb): Add maint agent-printf command.
- * ax-general.c (ax_string): New function.
- (ax_print): Add printf disassembly.
- * Makefile.in (SFILES): Add format.c
- (COMMON_OBS): Add format.o.
- * common/format.h: New file.
- * common/format.c: New file.
- * printcmd.c: Include format.h.
- (ui_printf): Call parse_format_string.
- * remote.c (remote_state): New field breakpoint_commands.
- (PACKET_BreakpointCommands): New enum.
- (remote_breakpoint_commands_feature): New function.
- (remote_protocol_features): Add new BreakpointCommands entry.
- (remote_can_run_breakpoint_commands): New function.
- (remote_add_target_side_commands): New function.
- (remote_insert_breakpoint): Call it.
- (remote_insert_hw_breakpoint): Ditto.
- (_initialize_remote): Add new packet configuration for
- target-side breakpoint commands.
- * target.h (struct target_ops): New field
- to_can_run_breakpoint_commands.
- (target_can_run_breakpoint_commands): New macro.
- * target.c (update_current_target): Handle
- to_can_run_breakpoint_commands.
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-02 Tom Tromey <tromey@redhat.com>
+
+ * contrib/ari/update-web-ari.sh: Update for version.in change.
+
+2013-07-02 Tom Tromey <tromey@redhat.com>
- Execute -ix and -iex only after system and user gdbinit files.
- * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND
- processing down after gdbinit files.
+ * common/ptid.h: Comment fixes.
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-07-01 Tom Tromey <tromey@redhat.com>
- Add fnmatch-gnu module.
- * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one.
- * gnulib/configure.ac (AC_INIT): Use now import/memmem.c.
+ * dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
+ .gnu_debugaltlink not found. Use bfd_get_alt_debug_link_info.
+ (dwarf2_read_index, create_all_comp_units): Update.
+
+2013-07-01 Tom Tromey <tromey@redhat.com>
+
+ * configure.ac (build_warnings): Add -Wold-style-definition.
+ * configure: Rebuild.
+ * machoread.c (_initialize_machoread): Use "(void)".
+ * macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
+ use "(void)".
+
+2013-07-01 Tom Tromey <tromey@redhat.com>
+
+ * configure.ac (build_warnings): Add -Wold-style-declaration.
+ * configure: Rebuild.
+ * dsrec.c (make_srec): Use "static const", not "const static".
+ * h8300-tdep.c (h8300_breakpoint_from_pc): Use "static const",
+ not "const static".
+ * mi/mi-parse.c (mi_no_values, mi_simple_values, mi_all_values):
+ Use "static const", not "const static".
+ * mn10300-tdep.c (mn10300_breakpoint_from_pc): Use "static const",
+ not "const static".
+ * moxie-tdep.c (moxie_breakpoint_from_pc): Use "static const",
+ not "const static".
+ * rs6000-tdep.c (rs6000_breakpoint_from_pc): Use "static const",
+ not "const static".
+ * v850-tdep.c (v850_breakpoint_from_pc): Use "static const",
+ not "const static".
+ (v850_dbtrap_breakpoint_from_pc): Likewise.
+ * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Use "static const",
+ not "const static".
+
+2013-07-01 Tom Tromey <tromey@redhat.com>
+
+ * configure.ac (build_warnings): Add -Wmissing-parameter-type.
+ * configure: Rebuild.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * defs.h: Include "pathmax.h".
+ * utils.c: Don't include sys/param.h.
+ (gdb_realpath): Remove code that checks for MAXPATHLEN.
+ * solib-ia64-hpux.c (ia64_hpux_handle_load_event): Use PATH_MAX
+ instead of MAXPATHLEN.
+ * solib-sunos.c: Don't include sys/param.h.
+ * xcoffread.c: Don't include sys/param.h.
+ * bsd-kvm.c: Don't include sys/param.h.
+ * darwin-nat.c: Don't include sys/param.h.
+ (darwin_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
+ * darwin-nat-info.c: Don't include sys/param.h.
+ * fbsd-nat.c (fbsd_pid_to_exec_file): Use PATH_MAX instead of
+ MAXPATHLEN.
+ * i386obsd-nat.c: Don't include sys/param.h.
+ * inf-child.c: Don't include sys/param.h.
+ (inf_child_fileio_readlink): Use PATH_MAX instead of MAXPATHLEN.
+ * linux-fork.c: Don't include sys/param.h.
+ (fork_save_infrun_state): Use PATH_MAX instead of MAXPATHLEN.
+ * linux-nat.c: Don't include sys/param.h.
+ (linux_child_pid_to_exec_file, linux_proc_pending_signals)
+ (linux_proc_pending_signals): Use PATH_MAX instead of MAXPATHLEN.
+ * m68klinux-nat.c: Don't include sys/param.h.
+ * nbsd-nat.c: Don't include sys/param.h.
+ (nbsd_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
+ * ppc-linux-nat.c: Don't include sys/param.h.
+ * rs6000-nat.c: Don't include sys/param.h.
+ * spu-linux-nat.c. Don't include sys/param.h.
+ * windows-nat.c: Don't include sys/param.h.
+ * xtensa-linux-nat.c: Don't include sys/param.h.
+ * config/i386/nm-fbsd.h: Don't include sys/param.h.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add pathmax.
+ * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/pathmax.m4.
* gnulib/aclocal.m4: Regenerate.
* gnulib/config.in: Regenerate.
* gnulib/configure: Regenerate.
- * gnulib/import/dummy.c: Remove.
+ * gnulib/import/pathmax.h: New file.
* gnulib/import/Makefile.am: Regenerate.
- * gnulib/import/Makefile.in: Likewise.
- * gnulib/import/m4/gnulib-cache.m4: Likewise.
- * gnulib/import/m4/gnulib-comp.m4: Likewise.
- * gnulib/import/alloca.c: New file.
- * gnulib/import/alloca.in.h: Likewise.
- * gnulib/import/config.charset: Likewise.
- * gnulib/import/fnmatch.c: Likewise.
- * gnulib/import/fnmatch.in.h: Likewise.
- * gnulib/import/fnmatch_loop.c: Likewise.
- * gnulib/import/localcharset.c: Likewise.
- * gnulib/import/localcharset.h: Likewise.
- * gnulib/import/m4/alloca.m4: Likewise.
- * gnulib/import/m4/codeset.m4: Likewise.
- * gnulib/import/m4/configmake.m4: Likewise.
- * gnulib/import/m4/fcntl-o.m4: Likewise.
- * gnulib/import/m4/fnmatch.m4: Likewise.
- * gnulib/import/m4/glibc21.m4: Likewise.
- * gnulib/import/m4/localcharset.m4: Likewise.
- * gnulib/import/m4/locale-fr.m4: Likewise.
- * gnulib/import/m4/locale-ja.m4: Likewise.
- * gnulib/import/m4/locale-zh.m4: Likewise.
- * gnulib/import/m4/mbrtowc.m4: Likewise.
- * gnulib/import/m4/mbsinit.m4: Likewise.
- * gnulib/import/m4/mbsrtowcs.m4: Likewise.
- * gnulib/import/m4/mbstate_t.m4: Likewise.
- * gnulib/import/m4/stdbool.m4: Likewise.
- * gnulib/import/m4/wchar_h.m4: Likewise.
- * gnulib/import/m4/wctype_h.m4: Likewise.
- * gnulib/import/m4/wint_t.m4: Likewise.
- * gnulib/import/mbrtowc.c: Likewise.
- * gnulib/import/mbsinit.c: Likewise.
- * gnulib/import/mbsrtowcs-impl.h: Likewise.
- * gnulib/import/mbsrtowcs-state.c: Likewise.
- * gnulib/import/mbsrtowcs.c: Likewise.
- * gnulib/import/ref-add.sin: Likewise.
- * gnulib/import/ref-del.sin: Likewise.
- * gnulib/import/stdbool.in.h: Likewise.
- * gnulib/import/streq.h: Likewise.
- * gnulib/import/strnlen1.c: Likewise.
- * gnulib/import/strnlen1.h: Likewise.
- * gnulib/import/verify.h: Likewise.
- * gnulib/import/wchar.in.h: Likewise.
- * gnulib/import/wctype.in.h: Likewise.
-
-2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Support shell wildcards for 'set auto-load safe-path'.
- * auto-load.c: Include fnmatch.h.
- (filename_is_in_dir): Rename to ...
- (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split
- it. Update function comment. Rename dir_len to pattern_len. New
- variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD
- messages. Use gdb_filename_fnmatch.
- (filename_is_in_auto_load_safe_path_vec): Rename variable dir to
- pattern.
- (_initialize_auto_load): Extend the "set auto-load safe-path" help text.
- * defs.h (gdb_filename_fnmatch): New declaration.
- * utils.c: Include fnmatch.h.
- (gdb_filename_fnmatch): New function.
-
-2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new
- `-probe' and `-probe-stap' options.
-
-2012-07-01 Yao Qi <yao@codesourcery.com>
-
- * breakpoint.c: Removed always_inserted_auto, always_inserted_on,
- always_inserted_off, and always_inserted_enums.
- Change always_inserted_mode's type to 'enum auto_boolean'.
- (show_always_inserted_mode, breakpoint_always_inserted_mode): Update
- callers.
- (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead
- of add_setshow_enum_cmd.
- * infrun.c: Remove can_use_displaced_stepping_auto,
- can_use_displaced_stepping_on, can_use_displaced_stepping_off, and
- can_use_displaced_stepping_enum.
- Change can_use_displaced_stepping's type to 'enum auto_boolean'.
- (show_can_use_displaced_stepping, use_displaced_stepping): Update callers.
- (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of
- add_setshow_enum_cmd.
-
-2012-06-30 Doug Evans <dje@google.com>
-
- * dwarf2read.c (signatured_type): Make "per_cu" member first.
- (init_cutu_and_read_dies): Handle rereading a DWO CU while it's
- currently being read. Propagate DW_AT_comp_dir to DWO DIE.
-
-2012-06-29 Doug Evans <dje@google.com>
-
- * linespec.c: #include "stack.h".
- (decode_line_with_current_source): Moved here from symtab.c and
- renamed from decode_line_spec. All callers updated.
- (decode_line_with_last_displayed): Moved here from breakpoint.c and
- renamed from decode_line_spec_1. All callers updated.
- * linespec.h (decode_line_with_current_source): Move declaration here
- from symtab.h and renamed from decode_line_spec.
- (decode_line_with_last_displayed): Move declaration here from symtab.h
- and renamed from decode_line_spec_1.
- * macrocmd.c: #include "linespec.h".
- * symtab.c: Remove #include "linespec.h".
-
-2012-06-28 Doug Evans <dje@google.com>
-
- * dwarf2read.c (get_cu_length): New function.
- (offset_in_cu_p, error_check_comp_unit_head): Call it.
- (create_debug_types_hash_table): Ditto.
- (init_cutu_and_read_dies): Ditto.
- (init_cutu_and_read_dies_no_follow): Ditto.
-
- * dwarf2read.c (dwarf2_find_base_address): Move definition.
-
- * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif.
- (struct abbrev_table): Define.
- (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with
- abbrev_table.
- (init_cutu_and_read_dies): Update.
- (abbrev_table_alloc_abbrev): New function. Replaces
- dwarf_alloc_abbrev. All callers updated.
- (abbrev_table_add_abbrev): New function.
- (abbrev_table_lookup_abbrev): New function. Replaces
- dwarf2_lookup_abbrev. All callers updated.
- (abbrev_table_read_table): New function. Contents moved here from
- dwarf2_read_abbrevs.
- (dwarf2_read_abbrevs): Call it.
- (abbrev_table_free): New function.
- (dwarf2_free_abbrev_table): Call it.
-
-2012-06-28 Stan Shebs <stan@codesourcery.com>
-
- * osdata.c (info_osdata_command): Filter out "Title" columns
- from non-MI uses.
- * common/linux-osdata.c (struct osdata_type): Add title field.
- (osdata_table): Add titles to each entry.
- (linux_command_xfer_osdata): Add a column for title data.
-
-2012-06-28 Stan Shebs <stan@codesourcery.com>
-
- Make logging work for MI.
- * NEWS: Mention it.
- * interps.h (interp_set_logging_ftype): New typedef.
- (struct interp_procs): New field set_logging_proc.
- (current_interp_set_logging): Declare.
- * interps.c (current_interp_set_logging): New function.
- * cli/cli-logging.c: Include interps.h.
- (set_logging_redirect): Call current_interp_set_logging.
- (pop_output_files): Ditto.
- (handle_redirections): Ditto, plus skip ui-out redirect if MI.
- * mi/mi-console.h (mi_console_set_raw): Declare.
- * mi/mi-console.c (mi_console_set_raw): New function.
- * mi/mi-interp.c (saved_raw_stdout): New global.
- (mi_set_logging): New function.
- (_initialize_mi_interp): Add it to interp procs.
-
-2012-06-28 Doug Evans <dje@google.com>
-
- * symtab.c (lookup_symbol_aux_objfile): Use
- ALL_OBJFILE_PRIMARY_SYMTABS.
-
- * gdbtypes.c (lookup_typename): Rename local variable "tmp" to "type".
-
-2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * common/buffer.c: Include inttypes.h and stdint.h.
- (buffer_xml_printf): Use PRId64, PRIu64, PRIx64 and PRIo64.
-
-2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
- Pedro Alves <palves@redhat.com>
+ * gnulib/import/Makefile.in: Regenerate.
+ * gnulib/import/m4/gnulib-cache.m4: Regenerate.
+ * gnulib/import/m4/gnulib-comp.m4: Regenerate.
+ * gnulib/import/m4/pathmax.m4: New file.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (GDBINIT): Define, depending on host.
+ * go32-nat.c (init_go32_ops): Don't override gdbinit here.
+ * top.c (PATH_MAX): Delete fallback definition.
+ (GDBINIT_FILENAME): Delete.
+ (gdbinit): Reimplement as const char array set to the GDBINIT
+ string constant.
+ * top.h (gdbinit): Make const.
+ * configure, config.in: Regenerate.
- * gdbthread.h (ALL_THREADS): New macro.
- (thread_list): Declare.
- * infrun.c (handle_inferior_event) <spurious signal>: Don't keep
- going, but instead fall through to the stepping handling.
- * linux-nat.c (resume_lwp): New parameter 'signo'. Resume with
- the passed in signal. Adjust debug output.
- (resume_callback): Rename to ...
- (linux_nat_resume_callback): ... this. Pass the thread's last
- stop signal, if in "pass" state.
- (linux_nat_resume): Adjust to rename.
- (stop_wait_callback): New assertion. Don't respawn signals;
- instead let the LWP remain with SIGNALLED set.
- (linux_nat_wait_1): Remove flushing of pending SIGSTOPs.
- * remote.c (append_pending_thread_resumptions): New.
- (remote_vcont_resume): Call it.
- * target.h (target_resume): Extend comment.
-
-2012-06-28 Iain Sandoe <iain@codesourcery.com>
-
- * auxv.c (fprint_target_auxv): Handle extended cache data tags.
-
-2012-06-27 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwarf2_cu): Add ranges_base.
- Delete have_addr_base, unused. All uses updated.
- (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
- (dwarf2_get_pc_bounds): Add ranges_base.
- (dwarf2_record_block_ranges): Ditto.
-
-2012-06-27 Tom Tromey <tromey@redhat.com>
-
- PR macros/7961:
- * varobj.c (varobj_create): Update.
- (varobj_set_value): Update.
- * tracepoint.c (validate_actionline): Update.
- (encode_actions_1): Update.
- * parse.c (parse_exp_1): Add 'pc' argument.
- (parse_exp_in_context): Add 'pc' argument. Change how
- expression_context_pc is set.
- (parse_expression): Update.
- (parse_field_expression): Update.
- * expression.h (parse_exp_1): Update.
- * eval.c (parse_to_comma_and_eval): Update.
- * breakpoint.c (set_breakpoint_condition): Update.
- (update_watchpoint): Update.
- (init_breakpoint_sal): Update
- (find_condition_and_thread): Update.
- (watch_command_1): Update.
- (update_breakpoint_locations): Update.
- * ada-lang.c (ada_read_renaming_var_value): Update.
- (create_excep_cond_exprs): Update.
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-cmds.c (source_script): Make 'file' parameter const.
+ * cli/cli-cmds.h (source_script): Likewise.
+ * exceptions.c (catch_command_errors_const): New function.
+ * exceptions.h (catch_command_errors_const): Declare.
+ * main.c (get_init_files): Make parameters const, and adjust.
+ (captured_main): Make 'system_gdbinit', 'home_gdbinit' and
+ 'local_gdbinit' locals const. Adjust to use
+ catch_command_errors_const.
+ (print_gdb_help): Make 'system_gdbinit', 'home_gdbinit' and
+ 'local_gdbinit' locals const.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
+ (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
+ * tracepoint.c: Don't check HAVE_UNISTD_H before including
+ <unistd.h>.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ Import the "unistd" gnulib module.
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd".
+ * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4,
+ import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and
+ import/m4/unistd_h.m4.
+ * gnulib/aclocal.m4: Renenerate.
+ * gnulib/config.in: Renenerate.
+ * gnulib/configure: Renenerate.
+ * gnulib/import/Makefile.am: Renenerate.
+ * gnulib/import/Makefile.in: Renenerate.
+ * gnulib/import/m4/gnulib-cache.m4: Renenerate.
+ * gnulib/import/m4/gnulib-comp.m4: Renenerate.
+ * gnulib/import/m4/off_t.m4: New file.
+ * gnulib/import/m4/ssize_t.m4: New file.
+ * gnulib/import/m4/sys_types_h.m4: New file.
+ * gnulib/import/m4/unistd_h.m4: New file.
+ * gnulib/import/sys_types.in.h: New file.
+ * gnulib/import/unistd.c: New file.
+ * gnulib/import/unistd.in.h: New file.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * utils.c <pathconf/_PC_PATH_MAX use>: Check if _PC_PATH_MAX is
+ defined instead of checking HAVE_UNISTD_H.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ Reimport gnulib from scratch.
+ * gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
+ import/m4/onceonly.m4.
+ * gnulib/aclocal.m4: Renegerate.
+ * gnulib/config.in: Renegerate.
+ * gnulib/configure: Renegerate.
+ * gnulib/import/Makefile.in: Renegerate.
+ * gnulib/import/extra/update-copyright: Renegerate.
+ * gnulib/import/m4/onceonly.m4: Delete.
+
+2013-07-01 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-regs.c (pagination_enabled): Delete declaration.
+
+2013-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-06-27 Doug Evans <dje@google.com>
+ Code cleanup.
+ * remote.c (async_remote_interrupt_twice): Make it static.
+ * remote.h (async_remote_interrupt_twice): Remove the declaration.
- * dwarf2read.c (per_cu_header_read_in): Simplify, and handle
- type units.
+2013-06-29 Sergio Durigan Junior <sergiodj@redhat.com>
-2012-06-26 Doug Evans <dje@google.com>
+ * ia64-linux-tdep.c: Include <ctype.h>.
+ (ia64_linux_stap_is_single_operand): New function.
+ (ia64_linux_init_abi): Initialize SystemTap related attributes.
- * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
- prototype.
- (error_check_comp_unit_head): New arg abbrev_section. All callers
- updated.
- (read_and_check_comp_unit_head): Ditto.
- (read_and_check_type_unit_head): Ditto.
-
-2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
-
- New attribute 'last' for gdb.Symtab_and_line.
- * NEWS (Python Scripting): Add entry about the new attribute.
- * python/py-symtab.c (salpy_get_last): New function which
- implements the get method for the 'last' attribute of
- gdb.Symtab_and_line.
- (sal_object_getset): Add entry for the 'last' attribute.
-
-2012-06-26 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
- (dwo_sections): Add macinfo, macro.
- (dwarf2_locate_dwo_sections): Watch for macro sections.
- (dwarf_decode_macros): Remove args lh, abfd, section, section_name.
- All callers updated. Handle DWO files.
-
- * NEWS: Mention new options "set debug dwarf2-read" and
- "set debug symtab-create".
- * dwarf2read.c (dwarf2_read_debug): New static global.
- (dwarf2_build_psymtabs_hard): Add debugging printfs.
- (process_queue): Ditto.
- (process_full_comp_unit): Ditto.
- (_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
- * elfread.c (elf_symfile_read): Add debugging printf.
- * minsyms.c (install_minimal_symbols): Ditto.
- * psymtab.c (allocate_psymtab): Ditto.
- * symfile.c (allocate_symtab): Ditto.
- * symtab.c (symtab_create_debug): New global.
- (_initialize_symtab): Add new option "set debug symtab-create".
- * symtab.h (symtab_create_debug): Declare.
+2013-06-28 Tom Tromey <tromey@redhat.com>
- * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
- (lookup_dwo_type_unit): Ditto.
+ * Makefile.in (version.c): Use version.in, not
+ common/version.in.
+ * common/create-version.sh: Likewise.
+ * common/version.in: Move...
+ * version.in: ...here.
-2012-06-26 Roland McGrath <roland@hack.frob.com>
- H.J. Lu <hongjiu.lu@intel.com>
+2013-06-28 Pedro Alves <palves@redhat.com>
- * amd64-linux-nat.c: Include <sys/user.h>.
- (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base
- if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or
- HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined.
+ * infrun.c (set_observer_mode): Don't declare pagination_enabled
+ here.
+ * utils.h (pagination_enabled): Declare.
- * configure.ac: Check if the fs_base and gs_base members of
- `struct user_regs_struct' exist.
- * config.in: Regenerated.
- * configure: Likewise.
+2013-06-28 Pedro Alves <palves@redhat.com>
-2012-06-25 Michael Eager <eager@eagercon.com>
+ * infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop):
+ Move higher up in file.
- PR python/14291
- * python/python.c (gdbpy_write): Check for interrupted output.
+2013-06-28 Tom Tromey <tromey@redhat.com>
-2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
+ * tracepoint.c (deprecated_readline_begin_hook)
+ (deprecated_readline_hook, deprecated_readline_end_hook): Don't
+ declare.
- * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
- register as a stack alignment in ARM mode.
+2013-06-28 Pedro Alves <palves@redhat.com>
-2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR tui/14880
+ * tui/tui-regs.c (tui_get_register): Fetch value contents before
+ checking if they're available.
+ * value.c (value_available_contents_eq): Change comment.
+ * value.h (value_available_contents_eq): Expand comment.
- Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
- * gnulib/config.in: Regenerate.
- * gnulib/configure: Likewise.
- * gnulib/import/m4/extensions.m4: Update it.
- * gnulib/import/m4/gnulib-common.m4: Likewise.
- * gnulib/import/m4/memmem.m4: Likewise.
- * gnulib/import/m4/mmap-anon.m4: Likewise.
- * gnulib/import/m4/multiarch.m4: Likewise.
- * gnulib/import/stdint.in.h: Likewise.
-
-2012-06-24 Yao Qi <yao@codesourcery.com>
-
- * corefile.c (write_memory_with_notification): New.
- * gdbcore.h: Declare write_memory_with_notification.
- * ada-lang.c (ada_value_assign): Replace 'write_memory' and
- 'observer_notify_memory_changed' with 'write_memory_with_notification'.
- * valops.c (value_assign): Likewise.
- * python/py-inferior.c (infpy_write_memory): Call
- 'write_memory_with_notification'.
-
-2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * cc-with-index.sh: Use also -ex "set auto-load no".
-
-2012-06-23 Doug Evans <dje@google.com>
-
- PR 14125
- * NEWS: Document additions to .gdb_index.
- * dwarf2read.c: #include "gdb/gdb-index.h".
- (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
- (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
- (DW2_GDB_INDEX_CU_SET_VALUE): New macro.
- (dwarf2_read_index): Recognize version 7.
- (dw2_do_expand_symtabs_matching): New args want_specific_block,
- block_kind, domain): All callers updated.
- (dw2_find_symbol_file): Handle new index CU values.
- (dw2_expand_symtabs_matching): Match symbol kind if requested.
- (add_index_entry): New args is_static, kind. All callers updated.
- (offset_type_compare, uniquify_cu_indices): New functions
- (symbol_kind): New function.
- (write_psymtabs_to_index): Remove duplicate CU values.
- (write_psymtabs_to_index): Write .gdb_index version 7.
-
-2012-06-22 Joel Brobecker <brobecker@adacore.com>
-
- * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
- * configure: Regenerate.
+2013-06-27 Tom Tromey <tromey@redhat.com>
-2012-06-20 Yao Qi <yao@codesourcery.com>
-
- * python/py-inferior.c: Update comments of infpy_read_memory
- and infpy_write_memory.
-
-2012-06-19 Tom Tromey <tromey@redhat.com>
-
- PR exp/9514:
- * parser-defs.h (insert_type, insert_type_address_space): Declare.
- (push_type_address_space): Remove.
- * parse.c (insert_into_type_stack): New function.
- (insert_type): Likewise.
- (insert_type_address_space): Rename from push_type_address_space.
- Insert tp_space_identifier.
- * c-exp.y (ptr_operator): New production.
- (abs_decl): Use ptr_operator.
- (space_identifier): Call insert_type_address_space.
- (ptype): Don't use const_or_volatile_or_space_identifier.
- (const_or_volatile_noopt): Call insert_type.
- (conversion_type_id, conversion_declarator): New productions.
- (operator): Use conversion_type_id.
-
-2012-06-18 Doug Evans <dje@google.com>
-
- * symtab.h (minimal_symbol): New member created_by_gdb.
- * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym
- created by gdb.
- * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function.
- (search_symbols): Call it instead of lookup_symbol.
- Skip symbols created by gdb. Only scan minsyms if nfiles == 0.
-
- * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
- Adjust address for DW_OP_GNU_addr_index.
- * dwarf2expr.h (dwarf_expr_context): Update comment.
- * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
- all callers updated. Handle TLS vars described with
- DW_OP_GNU_const_index.
- (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
- and DW_OP_GNU_const_index.
- * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.
-
- * block.c (find_block_in_blockvector): Make explicit the fact that we
- ignore GLOBAL_BLOCK.
-
-2012-06-18 Tom Tromey <tromey@redhat.com>
-
- * c-exp.y (operator): Remove trailing space after "delete" and
- "delete[]".
-
-2012-06-18 Mark Kettenis <kettenis@gnu.org>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+ * target.c (find_run_target): Remove.
+ * target.h (find_run_target): Remove.
- Switch i386 and derived targets to ON_STACK.
- * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove.
- (amd64_dicos_init_abi): Remove its installment.
- * dicos-tdep.c (dicos_init_abi): Remove the
- set_gdbarch_call_dummy_location call. Update the comment here.
- * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove.
- (i386_dicos_init_abi): Remove its installment.
- * i386-tdep.c (i386_push_dummy_code): New function.
- (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install
- i386_push_dummy_code.
-
-2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Remove stale dummy frames.
- * breakpoint.c: Include dummy-frame.h.
- (longjmp_breakpoint_ops): New variable.
- (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also
- bp_longjmp_call_dummy.
- (bpstat_what, bptype_string, print_one_breakpoint_location)
- (init_bp_location): Support bp_longjmp_call_dummy.
- (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why.
- (set_longjmp_breakpoint_for_call_dummy)
- (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New
- functions.
- (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops.
- * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete
- FIXME comment and extend the other comment for bp_call_dummy.
- (set_longjmp_breakpoint_for_call_dummy)
- (check_longjmp_breakpoint_for_call_dummy): New declarations.
- * dummy-frame.c: Include gdbthread.h.
- (pop_dummy_frame_bpt): New function.
- (pop_dummy_frame): Call pop_dummy_frame_bpt.
- (dummy_frame_discard): New function.
- (cleanup_dummy_frames): Update the comment about longjmps.
- * dummy-frame.h (dummy_frame_discard): New declaration.
- * gdbthread.h (struct thread_info): Extend initiating_frame comment.
- * infcall.c (call_function_by_hand): New variable longjmp_b. Call
- set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT.
- * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>:
- Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and
- keep_going if IS_LONGJMP and there is no other reason to stop.
-
-2012-06-18 Greta Yorsh <Greta.Yorsh@arm.com>
-
- * remote-sim.c (sim_command_completer): Initialize
- variable 'result'.
-
-2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref.
- * dwarf2loc.c (call_site_parameter_matches): Support
- CALL_SITE_PARAMETER_PARAM_OFFSET.
- (needs_dwarf_reg_entry_value): Push stub value.
- * dwarf2read.c (read_call_site_scope): New variable origin. Support
- CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin.
- * gdbtypes.h (enum call_site_parameter_kind): New item
- CALL_SITE_PARAMETER_PARAM_OFFSET.
- (struct call_site.parameter.u): New field param_offset.
-
-2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Code cleanup: Generalize call_site.parameter key.
- * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
- variable dwarf_reg. New variable kind_u. Update parameters to
- push_dwarf_reg_entry_value.
- (ctx_no_push_dwarf_reg_entry_value): Update parameters.
- * dwarf2expr.h (enum call_site_parameter_kind)
- (union call_site_parameter_u): Forward declarations.
- (struct dwarf_expr_context_funcs): Update parameters and their
- description for push_dwarf_reg_entry_value.
- (ctx_no_push_dwarf_reg_entry_value): Update parameters.
- * dwarf2loc.c (call_site_parameter_matches): New function.
- (dwarf_expr_reg_to_entry_parameter): Update parameters and their
- description. Use call_site_parameter_matches.
- (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
- Update parameters and their description.
- (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
- New variable kind_u. Adjust the caller for updated parameters.
- (needs_dwarf_reg_entry_value): Update parameters.
- * dwarf2read.c (read_call_site_scope): New variable loc. Use it
- instead of attr. Update for the changed fields of struct
- call_site_parameter.
- * gdbtypes.h: Include dwarf2expr.h.
- (enum call_site_parameter_kind): New.
- (struct call_site.parameter): New field kind. Wrap dwarf_reg and
- fb_offset into new union u.
-
-2012-06-16 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-tdep.c (amd64_x32_analyze_stack_align): New function.
- (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align
- for x32.
-
-2012-06-16 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-nat.c (compat_x32_clock_t): New.
- (compat_x32_siginfo_t): Likewise.
- (compat_x32_siginfo_from_siginfo): Likewise.
- (siginfo_from_compat_x32_siginfo): Likewise.
- (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
- and siginfo_from_compat_x32_siginfo for x32.
-
-2012-06-15 Hui Zhu <hui_zhu@mentor.com>
-
- * tracepoint.c (tfile_xfer_partial): Add a lseek.
-
-2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
- instead of gdbarch_ptr_bit.
- * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
- (amd64_supply_native_gregset): Likewise.
- (amd64_collect_native_gregset): Likewise.
- * amd64-tdep.c (amd64_supply_fxsave): Likewise.
- (amd64_supply_xsave): Likewise.
- (amd64_collect_fxsave): Likewise.
- (amd64_collect_xsave): Likewise.
-
-2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New.
- (amd64_linux_read_description): Check DS segment register for
- x32 process.
-
-2012-06-15 Tom Tromey <tromey@redhat.com>
-
- * dwarf2read.c (dw2_find_symbol_file): Unconditionally use
- init_cutu_and_read_dies.
-
-2012-06-15 Iain Sandoe <iain@codesourcery.com>
+2013-06-27 Tom Tromey <tromey@redhat.com>
- * MAINTAINERS (Write After Approval): Add myself to the list.
+ * corelow.c (core_gdbarch): Now static.
-2012-06-15 Tom Tromey <tromey@redhat.com>
+2013-06-27 Tom Tromey <tromey@redhat.com>
- * valops.c (value_find_oload_method_list): Now static.
- * value.h (value_find_oload_method_list): Don't declare.
+ * target.c (target_struct_index): Remove.
-2012-06-15 Tom Tromey <tromey@redhat.com>
+2013-06-27 Pedro Alves <palves@redhat.com>
- * valops.c (find_overload_match): Use value_ind.
+ * infrun.c: Remove comment describing the 'stepping over runtime
+ loader dynamic symbol resolution code' mechanism; moved to
+ gdbint.texinfo.
-2012-06-15 Maciej W. Rozycki <macro@codesourcery.com>
+2013-06-27 Pedro Alves <palves@redhat.com>
- * infrun.c (handle_inferior_event): Correct indentation.
+ * exceptions.c (catch_command_errors): Remove spurious space.
+ * exceptions.h (catch_command_errors): Second parameter is "arg",
+ not "command".
-2012-06-14 Doug Evans <dje@google.com>
+2013-06-27 Yao Qi <yao@codesourcery.com>
- * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
- (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL.
- All uses updated.
- (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers
- updated. Handle DEBUG_LOC_START_LENGTH.
- (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH.
- (loclist_describe_location): Ditto.
+ * common/create-version.sh: Update comments. Handle the case
+ that TARGET_ALIAS is empty.
-2012-06-14 Maciej W. Rozycki <macro@codesourcery.com>
+2013-06-26 Pedro Alves <palves@redhat.com>
- PR backtrace/13866
- * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
- after hiding inline functions.
+ * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing
+ comment.
-2012-06-13 Joel Brobecker <brobecker@adacore.com>
+2013-06-26 Pedro Alves <palves@redhat.com>
- * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
- _initialize_inf_ttrace.
+ * infrun.c: Update comments on stepping over runtime loader
+ dynamic symbol resolution code.
-2012-06-13 Joel Brobecker <brobecker@adacore.com>
+2013-06-26 Sergio Durigan Junior <sergiodj@redhat.com>
- * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames
- _initialize_hppa_hpux_nat.
+ * ax-gdb.h (union exp_element): Forward declare.
+ * parser-defs.h: Include expression.h.
-2012-06-13 Joel Brobecker <brobecker@adacore.com>
+2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
- * remote-sim.c (sim_command_completer): Change type of return
- value to "VEC (char_ptr) *". Adjust implementation accordingly.
+ * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr.
-2012-06-13 Mark Kettenis <kettenis@gnu.org>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-06-26 Dmitry Kozlov <ddk@codesourcery.com>
- PR tdep/14222
- * i386-tdep.c (i386_push_dummy_call): Unconditionally align the
- stack on a 16-byte boundary.
-
-2012-06-13 Kaushik Srenevasan <kaushik@twitter.com>
-
- * jit.c (finalize_symtab): Set function's return type to 'void' by
- default.
-
-2012-06-13 Mark Kettenis <kettenis@gnu.org>
- H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function.
- Move bits common to both the classic LP64 and the new x32 ILP32
- ABI here.
- (amd64_linux_init_abi): Call amd64_linux_init_abi_common.
- (amd64_x32_linux_init_abi): New function.
- (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32
- subtype.
-
- * i386-tdep.h (i386_pseudo_register_name): New prototype.
- * i386-tdep.c (i386_pseudo_register_name): Make public.
- * amd64-tdep.h (amd64_x32_init_abi): New prototype.
- * amd64-tdep.c (amd64_dword_names): Add "eip".
- (amd64_x32_pseudo_register_type): New function
- (amd64_x32_init_abi): New function.
-
-2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- PR build/14003
- * inferior.h (struct inferior_suspend_state): Comment out.
- (struct inferior): Comment out the field suspend.
- * infrun.c (struct infcall_suspend_state): Comment out the field
- inferior_suspend.
- (save_infcall_suspend_state, restore_infcall_suspend_state): Comment
- out its assignment.
-
-2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
- * c-exp.y (classify_inner_name): Remove caller assumptions in the
- function comment. Return ERROR for unresolved cases. Implement
- returning proper NAME.
- (yylex): Accept also NAME from classify_inner_name.
- * cp-namespace.c (cp_lookup_nested_type): Rename to ...
- (cp_lookup_nested_symbol): ... here. Return any found symbol, not just
- LOC_TYPEDEF type.
- * cp-support.h (cp_lookup_nested_type): Update its declaration.
-
-2012-06-13 Tom Tromey <tromey@redhat.com>
-
- * breakpoint.c (condition_completer): New function.
- (_initialize_breakpoint): Use it.
- * value.c (complete_internalvar): New function.
- * value.h (complete_internalvar): Declare.
-
-2012-06-13 Tom Tromey <tromey@redhat.com>
-
- * ada-lang.c (ada_make_symbol_completion_list): Return a VEC.
- * breakpoint.c (catch_syscall_completer): Return a VEC.
- * cli/cli-cmds.c (complete_command): Update.
- * cli/cli-decode.c (complete_on_cmdlist): Return a VEC.
- (complete_on_enum): Likewise.
- * command.h: Include gdb_vecs.h.
- (completer_ftype): Change return type.
- (complete_on_cmdlist, complete_on_enum): Likewise.
- * completer.c (noop_completer, filename_completer)
- (location_completer): Return a VEC.
- (add_struct_fields): Remove 'nextp' argument. Change 'output'
- to a VEC.
- (expression_completer, complete_line_internal, complete_line)
- (command_completer): Return a VEC.
- (gdb_completion_word_break_characters, line_completion_function):
- Update.
- * completer.h: Include gdb_vecs.h.
- (complete_line, noop_completer, filename_completer)
- (expression_completer, location_completer, command_completer):
- Update.
- * f-lang.c (f_word_break_characters): Return a VEC.
- * interps.c (interpreter_completer): Return a VEC.
- * language.h (struct language_defn)
- <la_make_symbol_completion_list>: Return a VEC.
- * python/py-cmd.c (cmdpy_completer): Return a VEC.
- * symtab.c (free_completion_list): Take a VEC.
- (return_val_size, return_val_index): Remove.
- (return_val): Now a VEC.
- (completion_list_add_name): Update.
- (default_make_symbol_completion_list_break_on)
- (default_make_symbol_completion_list, make_symbol_completion_list)
- (make_symbol_completion_list_fn, make_file_symbol_completion_list):
- Return a VEC.
- (add_filename_to_list): Update.
- (struct add_partial_filename_data) <list_used, list_alloced>: Remove.
- <list>: Now a VEC.
- (maybe_add_partial_symtab_filename): Update.
- (make_source_files_completion_list): Return a VEC.
- * symtab.h (default_make_symbol_completion_list_break_on)
- (default_make_symbol_completion_list, make_symbol_completion_list)
- (make_symbol_completion_list_fn, make_file_symbol_completion_list)
- (make_source_files_completion_list): Update.
-
-2012-06-13 Tom Tromey <tromey@redhat.com>
-
- * breakpoint.c (add_catch_command): Use completer_ftype.
- * breakpoint.h: Include command.h.
- (add_catch_command): Use completer_ftype.
- * cli/cli-decode.c (set_cmd_completer): Use completer_ftype.
- * cli/cli-decode.h (struct cmd_list_element) <completer>:
- Use completer_ftype.
- * command.h (completer_ftype): New typedef.
- (set_cmd_completer): Use it.
- * python/py-cmd.c (struct cmdpy_completer) <completer>: Use
- completer_ftype.
-
-2012-06-13 Pedro Alves <palves@redhat.com>
-
- Partial revert of previous change.
-
- * serial.c (scb_base): New global.
- (serial_for_fd): New.
- (serial_open, serial_fdopen_ops): Link new serial in open serials
- chain.
- (do_serial_close): Unlink serial from the open serials chain.
-
-2012-06-12 Pedro Alves <palves@redhat.com>
-
- * infrun.c (infrun_thread_stop_requested_callback): Don't switch
- threads here.
- (prepare_for_detach): No longer context switch here in non-stop
- mode.
- (fetch_inferior_event): Ditto.
- (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch
- to the event thread before removing breakpoints. Switch to the
- event thread before inserting breakpoints and resuming.
- (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the
- event thread before resuming.
- (handle_inferior_event) <stepping_past_singlestep_breakpoint>:
- Switch to the event thread before removing breakpoints.
-
-2012-06-12 Eli Zaretskii <eliz@gnu.org>
-
- * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote
- special characters correctly for the Windows shells. See
- http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug
- report.
- [!__MINGW32__]: Remove extra double quote character from special
- characters.
+ * tracepoint.c (trace_save): Extend tsave to save starttime, stoptime.
-2012-06-11 Stan Shebs <stan@codesourcery.com>
+2013-06-26 Dmitry Kozlov <ddk@codesourcery.com>
- * ui-out.h: Remove #if 0 declarations.
- * ui-out.c: Remove #if 0 functions.
+ Fix trace-status to output proper start-time and stop-time.
+ * tracepoint.c (trace_status_command): Fix type of printf arg to
+ prevent improper type conversion.
+ (trace_status_mi): Likewise.
-2012-06-11 Pedro Alves <palves@redhat.com>
+2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
- * ser-base.c (run_async_handler_and_reschedule): New.
- (fd_event, push_event): Use it.
- * serial.c (serial_open, serial_fdopen_ops): Set the initial
- reference count to 1.
- (do_serial_close): Set the bufp field to NULL. Use serial_unref
- instead of xfree.
- (serial_is_open, serial_ref, serial_unref): New.
- * serial.h (serial_open): Adjust comment.
- (serial_is_open): Declare.
- (serial_close): Adjust comment.
- (serial_ref, serial_unref) Declare.
- (struct serial): New field 'refcnt'.
+ * mips-tdep.c (mips_next_pc): Fix a typo.
-2012-06-11 Pedro Alves <palves@redhat.com>
+2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
- Remove #if 0'd "connect" command, and unnecessary associated
- refcounting and serial reuse bits.
+ * mips-tdep.c (micromips_scan_prologue): Fix a typo.
- * serial.h (struct serial): Remove fields 'next' and 'refcnt'.
- * serial.c (last_serial_opened): Delete.
- (scb_base): Delete.
- (serial_open): Adjust.
- (serial_for_fd): Delete.
- (serial_fdopen_ops, do_serial_close): Adjust.
- (serial_fdopen_ops): Adjust.
+2013-06-26 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-06-11 Pedro Alves <palves@redhat.com>
+ * mi/mi-cmds.c (mi_cmds): Register -trace-frame-collected.
+ * mi/mi-cmds.h (mi_cmd_trace_frame_collected): Declare.
+ * mi/mi-main.c (print_variable_or_computed): New function.
+ (mi_cmd_trace_frame_collected): New function.
+ * tracepoint.c (find_trace_state_variable_by_number): New.
+ (struct traceframe_info): Move to tracepoint.h
+ (struct collection_list): Likewise.
+ (do_collect_symbol): Include locals and arguments in the
+ collected variables list.
+ (clear_collection_list): Clear wholly collected variables list
+ and computed variables list.
+ (append_exp): New function.
+ (encode_actions_1): Include variables in the wholly
+ collected variables list. Include memory ranges and
+ full-fledged expressions in the computed expressions list.
+ (encode_actions): Move some code to ...
+ Return the cleanup chain.
+ (encode_actions_rsp): ... here. New function.
+ (get_traceframe_location, get_traceframe_info): Remove static.
+ * tracepoint.h (struct memrange): Moved from tracepoint.c.
+ (struct collection_list): Moved from tracepoint.c. Add two
+ new fields 'wholly_collected' and 'computed'.
+ (find_trace_state_variable_by_number): Declare.
+ (encode_actions): Adjust declaration.
+ (encode_actions_rsp): Declare.
+ (get_traceframe_info, get_traceframe_location): Declare.
+
+ * NEWS: Mention new MI command -trace-frame-collected.
+
+2013-06-26 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- * serial.c (do_serial_close): Remove early return when SCB is
- null.
+ * ctf.c (ctf_traceframe_info): Push trace state variables
+ present in the trace data into the traceframe info object.
+ * breakpoint.c (DEF_VEC_I): Remove.
+ * common/filestuff.c (DEF_VEC_I): Likewise.
+ * dwarf2loc.c (DEF_VEC_I): Likewise.
+ * mi/mi-main.c (DEF_VEC_I): Likewise.
+ * common/gdb_vecs.h (DEF_VEC_I): Define vector for int.
+ * features/traceframe-info.dtd: Add tvar element and its
+ attributes.
+ * tracepoint.c (free_traceframe_info): Free vector 'tvars'.
+ (build_traceframe_info): Push trace state variables present in
+ the trace data into the traceframe info object.
+ (traceframe_info_start_tvar): New function.
+ (tvar_attributes): New.
+ (traceframe_info_children): Add "tvar" element.
+ * tracepoint.h (struct traceframe_info) <tvars>: New field.
+
+ * NEWS: Mention the change in GDB and GDBserver.
+
+2013-06-26 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-06-11 Tom Tromey <tromey@redhat.com>
+ * tracepoint.c (trace_dump_command): Move code to ...
+ (get_traceframe_location): ... here. New.
- * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units.
+2013-06-26 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * tracepoint.c (trace_dump_command): GDB emits an error
+ instead of a warning when a traceframe is not selected.
- Fix regression by the "ambiguous linespec" series.
- * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use
- get_last_displayed_symtab and get_last_displayed_line and depending
- on CURSAL.
+2013-06-26 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-06-11 Tom Tromey <tromey@redhat.com>
+ * tracepoint.c (tracepoint_list, stepping_list): Remove.
+ (clear_collection_list): Free fields 'aexpre_list' and 'list'
+ in collection_list.
+ (do_clear_collection_list, init_collection_list): New.
+ (encode_actions): Add local variables 'tracepoint_list' and
+ 'stepping_list'. Call init_collection_list and make cleanup
+ which calls do_clear_collection_list. Don't call
+ clear_collection_list.
+ (_initialize_tracepoint): Delete references to
+ 'tracepoint_list' and 'stepping_list'.
- * dwarf2read.c (dw2_get_primary_filename_reader): New function.
- (dw2_find_symbol_file): Use it.
+2013-06-25 Tom Tromey <tromey@redhat.com>
-2012-06-11 Michael Eager <eager@eagercon.com>
+ * common/create-version.sh (date): Use "$", not "$$" in sed
+ expression.
- * mips-linux-tdep.c (mips_gdb_signal_from_target): New
- * mips-linux-tdep.h (mips_signals): New
+2013-06-25 Kevin Buettner <kevinb@redhat.com>
-2012-06-11 Tom Tromey <tromey@redhat.com>
+ * NEWS (New targets): Add entry for TI MSP430.
- * infrun.c (handle_inferior_event)
- <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume
- breakpoint.
- <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use
- exception logic in all cases. Update comments.
- (insert_longjmp_resume_breakpoint): Set the exception resume
- breakpoint.
+2013-06-25 Yao Qi <yao@codesourcery.com>
-2012-06-11 Maciej W. Rozycki <macro@codesourcery.com>
+ * remote.c (remote_start_remote): Move code to upload tsv
+ earlier.
- * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code.
+2013-06-25 Yao Qi <yao@codesourcery.com>
+ Hui Zhu <hui@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
-2012-06-09 Siva Chandra Reddy <sivachandra@google.com>
+ PR breakpoints/15075
+ PR breakpoints/15434
+ * breakpoint.c (bpstat_stop_status): Call
+ b->ops->after_condition_true.
+ (update_dprintf_command_list): Don't append "continue" command
+ to the command list of dprintf breakpoint.
+ (base_breakpoint_after_condition_true): New function.
+ (base_breakpoint_ops): Add base_breakpoint_after_condition_true.
+ (dprintf_after_condition_true): New function.
+ (initialize_breakpoint_ops): Set dprintf_after_condition_true.
+ * breakpoint.h (breakpoint_ops): Add after_condition_true.
+
+2013-06-24 Kevin Buettner <kevinb@redhat.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add msp430-tdep.o.
+ (ALLDEPFILES): Add msp430-tdep.c.
+ * configure.tgt (msp430*-*-elf): New target.
+ * msp430-tdep.c: New file.
+
+2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips_elf_make_msymbol_special): Handle MIPS16 and
+ microMIPS synthetic symbols.
+
+2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * objfiles.h (pc_in_section): New prototype.
+ (in_plt_section): Remove name argument, replace prototype with
+ static inline function.
+ * mips-tdep.h: Include "objfiles.h".
+ (in_mips_stubs_section): New function.
+ * hppa-tdep.h (gdbarch_tdep): Remove name argument of
+ in_solib_call_trampoline member.
+ (hppa_in_solib_call_trampoline): Remove name argument.
+ * objfiles.c (pc_in_section): New function.
+ (in_plt_section): Remove function.
+ * mips-linux-tdep.c: Include "objfiles.h".
+ (mips_linux_in_dynsym_stub): Call in_mips_stubs_section. Remove
+ name argument. Return 1 rather than the low 16-bit halfword of
+ any instruction examined.
+ (mips_linux_in_dynsym_resolve_code): Update
+ mips_linux_in_dynsym_stub call accordingly.
+ * mips-tdep.c (mips_stub_frame_sniffer): Use in_mips_stubs_section
+ rather than an equivalent hand-coded sequence.
+ * hppa-hpux-tdep.c (in_opd_section): Remove function.
+ (hppa32_hpux_in_solib_call_trampoline): Remove name argument.
+ (hppa64_hpux_in_solib_call_trampoline): Likewise.
+ (hppa64_hpux_find_global_pointer): Use pc_in_section rather than
+ in_opd_section.
+ * hppa-tdep.c (hppa_stub_unwind_sniffer): Remove name argument
+ on call to tdep->in_solib_call_trampoline.
+ (hppa_in_solib_call_trampoline): Remove name argument, update
+ according to in_plt_section change.
+ (hppa_skip_trampoline_code): Update according to in_plt_section
+ change.
+ * aarch64-tdep.c (aarch64_stub_unwind_sniffer): Likewise.
+ * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code):
+ Likewise.
+ * arm-tdep.c (arm_stub_unwind_sniffer): Likewise.
+ * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
+ * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise.
+ * nios2-tdep.c (nios2_stub_frame_sniffer): Likewise.
+ * nto-tdep.c (nto_relocate_section_addresses): Likewise.
+ * s390-tdep.c (s390_stub_frame_sniffer): Likewise.
+ * sh-tdep.c (sh_stub_unwind_sniffer): Likewise.
+ * solib-dsbt.c (dsbt_in_dynsym_resolve_code): Likewise.
+ * solib-frv.c (frv_in_dynsym_resolve_code): Likewise.
+ * solib-svr4.c (svr4_in_dynsym_resolve_code): Likewise.
+ * solib-target.c (solib_target_in_dynsym_resolve_code): Likewise.
+ * sparc-tdep.c (sparc_analyze_prologue): Likewise.
+ * tic6x-tdep.c (tic6x_stub_unwind_sniffer): Likewise.
- * valarith.c (binop_types_user_defined_p): Fix a typo.
+2013-06-24 Joel Brobecker <brobecker@adacore.com>
-2012-06-08 Yao Qi <yao@codesourcery.com>
- Chung-Lin Tang <cltang@codesourcery.com>
+ * common/create-version.sh: Fix expansion of $host_alias
+ and $target_alias in generation of HOST_NAME and TARGET_NAME
+ (resp.).
- * arch-utils.c (default_return_in_first_hidden_param_p): New.
- * arch-utils.h: Declare.
- * gdbarch.sh: Add return_in_first_hidden_param_p.
- * gdbarch.c, gdbarch.h: Regenerated.
- * infcall.c (call_function_by_hand): Call
- gdbarch_return_in_first_hidden_param_p instead of
- language_pass_by_reference.
+2013-06-24 Tom Tromey <tromey@redhat.com>
- * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New.
- (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p.
- * sh-tdep.c (sh_return_in_first_hidden_param_p): New.
- (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p.
- * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable
- `cplus_return_struct_by_reference'.
- (tic6x_return_value): Handle language cplusplus.
- (tic6x_return_in_first_hidden_param_p): New.
- (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p.
+ * common/create-version.sh: New file.
+ * Makefile.in (version.c): Use bfd/version.h, common/version.in,
+ create-version.sh.
+ (HFILES_NO_SRCDIR): Use common/version.h.
+ * version.in: Move to ...
+ * common/version.in: ... here. Replace date with "DATE".
+ * version.h: Move to ...
+ * common/version.h: ... here.
-2012-06-07 Doug Evans <dje@google.com>
+2013-06-21 Joel Brobecker <brobecker@adacore.com>
- * dwarf2read.c (dwarf2_cu): Add comment.
+ * gdb/gnulib/Makefile.in: Update date in copyright header.
+ * gdb/gnulib/configure.ac: Ditto.
+ * gdb/gnulib/update-gnulib.sh: Ditto.
-2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
+2013-06-21 Joel Brobecker <brobecker@adacore.com>
- * mips-tdep.c (mips_pseudo_register_type): Remove tdep local
- variable.
- (mips_eabi_push_dummy_call): Likewise.
- (mips_n32n64_push_dummy_call): Likewise.
- (mips_o32_push_dummy_call): Likewise.
- (mips_o64_push_dummy_call): Likewise.
+ * copyright.py (EXCLUDE_LIST): Replace "gdb/gnulib" by
+ "gdb/gnulib/import".
-2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
+2013-06-21 Will Newton <will.newton@linaro.org>
- * mips-tdep.c (mips_convert_register_p): Correct coding style.
+ * doublest.c (ldfrexp): Remove function.
+ (convert_doublest_to_floatformat): Call frexpl instead of
+ ldfrexp.
-2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
+2013-06-21 Will Newton <will.newton@linaro.org>
- * mips-tdep.c (mips_pseudo_register_type): Use
- mips_float_register_p.
+ * gnulib/update-gnulib.sh(IMPORTED_GNULIB_MODULES): Add frexpl.
+ * gnulib/aclocal.m4: Regenerate.
+ * gnulib/config.in: Regenerate.
+ * gnulib/configure: Regenerate.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/float+.h: Import.
+ * gnulib/import/float.c: Import.
+ * gnulib/import/float.in.h: Import.
+ * gnulib/import/fpucw.h: Import.
+ * gnulib/import/frexp.c: Import.
+ * gnulib/import/frexpl.c: Import.
+ * gnulib/import/isnan.c: Import.
+ * gnulib/import/isnand-nolibm.h: Import.
+ * gnulib/import/isnand.c: Import.
+ * gnulib/import/isnanl-nolibm.h: Import.
+ * gnulib/import/isnanl.c: Import.
+ * gnulib/import/itold.c: Import.
+ * gnulib/import/m4/exponentd.m4: Import.
+ * gnulib/import/m4/exponentl.m4: Import.
+ * gnulib/import/m4/float_h.m4: Import.
+ * gnulib/import/m4/fpieee.m4: Import.
+ * gnulib/import/m4/frexp.m4: Import.
+ * gnulib/import/m4/frexpl.m4: Import.
+ * gnulib/import/m4/isnand.m4: Import.
+ * gnulib/import/m4/isnanl.m4: Import.
+ * gnulib/import/m4/math_h.m4: Import.
+ * gnulib/import/math.c: Import.
+ * gnulib/import/math.in.h: Import.
+
+2013-06-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/linux-btrace.c (cpu_supports_btrace): Remove variable vendor,
+ replace strcmp with signature_INTEL_ebx, signature_INTEL_ecx and
+ signature_INTEL_edx comparisons.
+
+2013-06-20 Doug Evans <dje@google.com>
+
+ symtab/15652
+ * dwarf2read.c (try_open_dwop_file): New arg search_cwd.
+ All callers updated.
+ (open_dwp_file): If we can't find the dwp file, search the basename
+ in debug-file-directory.
-2012-06-06 Pedro Alves <palves@redhat.com>
+ * dwarf2read.c (struct dwp_file): Fix comment.
+ (open_and_init_dwp_file): Set dwp_file->name to bfd's file name.
- * infrun.c (handle_inferior_event): Remove calls to
- reinit_frame_cache that follow a context_switch call.
+ * source.c (openp): Document OPF_TRY_CWD_FIRST+OPF_SEARCH_IN_PATH
+ better.
-2012-06-06 Pedro Alves <palves@redhat.com>
+2013-06-20 Yao Qi <yao@codesourcery.com>
- * infrun.c (handle_inferior_event) <deferred_step_ptid>: Use
- context_switch and remove stale comment.
+ * breakpoint.c (create_breakpoint): Fix code indentation.
-2012-06-06 Pedro Alves <palves@redhat.com>
+2013-06-20 Yao Qi <yao@codesourcery.com>
- * infrun.c (struct execution_control_state): Remove
- `new_thread_event' field.
- (handle_inferior_event): Simplify new threads handling; don't
- resume the inferior if we find a new thread.
-
-2012-06-06 Thomas Schwinge <thomas@codesourcery.com>
-
- * NEWS: Document the deprecation of SH's 'regs' command.
- * inferior.h (all_registers_info): Add function declaration.
- * sh-tdep.c (sh_show_regs): Remove variable.
- (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs)
- (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs)
- (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs)
- (sh_show_regs_command): Remove functions.
- (sh_gdbarch_init): Don't set sh_show_regs.
- (_initialize_sh_tdep): Make the 'regs' command an deprecated alias to
- 'info all-registers'.
- * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs)
- (sh64_show_regs): Remove functions.
- * sh64-tdep.h (sh64_show_regs): Remove function declaration.
-
-2012-06-06 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * configure.ac: Move development=true below AC_INIT.
- * configure: Regenerate.
+ * breakpoint.c (create_breakpoints_sal_default): Remove
+ parameter 'lsal'. Update declaration.
+ (bkpt_create_breakpoints_sal): Caller update.
+ (tracepoint_create_breakpoints_sal): Likewise.
+
+2013-06-20 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-06-05 Stan Shebs <stan@codesourcery.com>
+ * NEWS: Mention the new option '--skip-unavailable' of command
+ -data-list-register-values.
+ * mi/mi-main.c (mi_cmd_data_list_register_values): Accept the
+ --skip-unavailable option. Adjust to use output_register.
+ (output_register): Add new 'skip_unavailable' parameter.
+ Handle it.
- * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
- gdb_stdout.
+2013-06-19 Mike Frysinger <vapier@gentoo.org>
-2012-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * Makefile.in (HFILES_NO_SRCDIR): Add common/i386-cpuid.h and
+ common/i386-gcc-cpuid.h.
+ * common/i386-cpuid.h: New wrapper header around i386-gcc-cpuid.h.
+ * common/i386-gcc-cpuid.h: Rename from testsuite/gdb.arch/i386-cpuid.h.
+ Copy the latest version from upstream gcc.
+ * common/linux-btrace.c: Include i386-cpuid.h.
+ (intel_supports_btrace): Delete x86 ifdefs and replace inline asm with
+ call to i386_cpuid.
+ (cpu_supports_btrace): Likewise.
+ * go32-nat.c: Include i386-cpuid.h.
+ (go32_sysinfo): Add (disabled) calls to i386_cpuid with comments.
- * corefile.c (read_memory, read_stack, write_memory): Accept LEN
- argument as ssize_t.
- * gdbcore.h (read_memory, read_stack, write_memory): Likewise.
- * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise.
- * target.c (target_read_stack, target_write_memory)
- (target_write_raw_memory): Likewise.
- * target.h (target_read_stack, target_write_memory)
- (target_write_raw_memory): Likewise.
+2013-06-19 Doug Evans <dje@google.com>
-2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * symfile.c (symfile_bfd_open): Delete unnecessary declaration.
+ (get_section_index): Ditto.
- * symfile-mem.c: Change gdb_static_assert to ssize_t.
- (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t.
- * target.c (target_read_memory): Change LEN to ssize_t.
- * target.h (target_read_memory): Change LEN to ssize_t.
+2013-06-19 Tom Tromey <tromey@redhat.com>
-2012-06-05 Pedro Alves <palves@redhat.com>
+ * breakpoint.c (_initialize_breakpoint): Remove trailing \n from
+ "dprintf" help.
- PR backtrace/13866
+2013-06-18 Doug Evans <dje@google.com>
- * breakpoint.c (until_break_command): Only fetch the selected
- frame after decode_line_1.
+ * dwarf2read.c (dw2_symtab_iter_next): Check value of cu_index
+ before using it.
+ (dw2_expand_symtabs_matching): Fix symbol kind validity check.
+ Move test of cu_index closer to use. Print complaint if cu_index
+ is bad.
-2012-06-05 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
+2013-06-18 Joel Brobecker <brobecker@adacore.com>
- * solib-svr4.c (enable_break): Don't fallback to setting the solib
- event breakpoint at _start, __start or main if a program
- interpreter is not found.
+ * machoread.c (oso_vector): Delete this global.
+ (macho_register_oso): Add new parameter "oso_vector_ptr".
+ Use it instead of the "oso_vector" global.
+ (macho_symtab_read, macho_symfile_read_all_oso): Likewise.
+ (macho_symfile_read): Use a local oso_vector, to be free'ed
+ at the end of this function, in place of the old "oso_vector"
+ global. Update various function calls accordingly. Use one
+ single cleanup chain for the entire function.
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
+2013-06-18 Joel Brobecker <brobecker@adacore.com>
- * windows-tdep.h (windows_iterate_over_objfiles_in_search_order):
- Add declaration.
- * windows-tdep.c: #include "objfiles.h".
- (windows_iterate_over_objfiles_in_search_order): New function.
- * amd64-windows-tdep.c (amd64_windows_init_abi): Set
- iterate_over_objfiles_in_search_order gdbarch method to
- windows_iterate_over_objfiles_in_search_order.
- * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise.
+ * dwarf2read.c (dwarf2_per_objfile_free): Replace uses of
+ DWARF2_PER_OBJFILE by uses of DATA instead.
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
+2013-06-18 Tom Tromey <tromey@redhat.com>
- * gdbarch.sh: Add generation of
- "iterate_over_objfiles_in_search_order_cb_ftype" typedef in
- gdbarch.h. Add include of "objfiles.h" in gdbarch.c.
- (iterate_over_objfiles_in_search_order): New gdbarch method.
- * gdbarch.h, gdbarch.c: Regenerate.
- * objfiles.h (default_iterate_over_objfiles_in_search_order):
- Add declaration.
- * objfiles.c (default_iterate_over_objfiles_in_search_order):
- New function.
- * symtab.c (lookup_symbol_aux_objfile): New function, extracted
- out of lookup_symbol_aux_symtabs.
- (lookup_symbol_aux_symtabs): Replace extracted-out code by
- call to lookup_symbol_aux_objfile.
- (struct global_sym_lookup_data): New type.
- (lookup_symbol_global_iterator_cb): New function.
- (lookup_symbol_global): Search for symbol using
- gdbarch_iterate_over_objfiles_in_search_order and
- lookup_symbol_global_iterator_cb.
- * findvar.c (struct minsym_lookup_data): New type.
- (minsym_lookup_iterator_cb): New function.
- (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the
- symbol's address via gdbarch_iterate_over_objfiles_in_search_order
- and minsym_lookup_iterator_cb.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- Revert the following patch:
- * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
- try locating the symbol in the symbol's own objfile first, before
- extending the search to all objfiles.
- * symtab.c (lookup_symbol_aux_objfile): New function, extracted
- out of lookup_symbol_aux_symtabs.
- (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
- Replace extracted-out code by call to lookup_symbol_aux_objfile.
- Do not search EXCLUDE_OBJFILE.
- (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
- (lookup_symbol_global): Search for matches in the block's objfile
- first, before searching all other objfiles.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- * breakpoint.c (find_condition_and_thread): Stop parsing
- as soon as the first invalid keyword is found.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- * config/djgpp/djcheck.sh: Add copyright header.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- * copyright.py (update_files, main): Fix path to update-copyright
- script.
-
-2012-06-05 Joel Brobecker <brobecker@adacore.com>
-
- * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant.
- (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files
- for which a reminder to update by hand is printed.
-
-2012-06-04 Doug Evans <dje@google.com>
-
- * buildsym.c (make_blockvector): Add comment.
-
-2012-06-04 Pedro Alves <palves@redhat.com>
-
- * arch-utils.c (default_gdb_signal_from_target): Delete.
- * arch-utils.h (default_gdb_signal_from_target): Delete.
- * corelow.c (core_open) <signal mapping>: Extended comment. Check
- gdbarch_gdb_signal_from_target_p.
- * gdbarch.sh (gdb_signal_from_target): Make it an M method (with
- predicate).
- * gdbarch.h: Regenerate.
- * gdbarch.c: Regenerate.
+ * break-catch-sig.c (signal_catchpoint_explains_signal): Add 'sig'
+ argument.
+ * breakpoint.c (bpstat_explains_signal): Add 'sig' argument.
+ Special case signals other than GDB_SIGNAL_TRAP.
+ (explains_signal_watchpoint): New function.
+ (base_breakpoint_explains_signal): Add 'sig' argument.
+ (initialize_breakpoint_ops): Set 'explains_signal' method for
+ watchpoints.
+ * breakpoint.h (struct breakpoint_ops) <explains_signal>: Add
+ signal argument.
+ (bpstat_explains_signal): Likewise.
+ * infrun.c (handle_syscall_event, handle_inferior_event): Update.
-2012-06-04 Pedro Alves <palves@redhat.com>
+2013-06-18 Tom Tromey <tromey@redhat.com>
- * gdbarch.sh (gdb_signal_from_target): Mention that the
- implementation of the method must be host independent.
- * gdbarch.h: Regenerate.
+ * python/py-inferior.c (gdbpy_selected_inferior): Don't incref.
-2012-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-06-18 Tom Tromey <tromey@redhat.com>
- * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
- parameters.
- (target_read_memory_bfd): New function.
- (symbol_file_add_from_memory): Use it.
+ * python/python.c (finish_python_initialization): Decref
+ 'pythondir' on failure path as well.
-2012-06-03 Doug Evans <dje@google.com>
+2013-06-18 Tom Tromey <tromey@redhat.com>
- * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector
- of primary symtab.
- (basic_lookup_transparent_type): Ditto.
+ PR symtab/15391:
+ * dwarf2loc.c (read_pieced_value): Truncate this_size_bits
+ after taking bits_to_skip into account. Sign extend byte_offset.
+ * utils.h (gdb_sign_extend): Declare.
+ * utils.c (gdb_sign_extend): New function.
- * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro.
- (ALL_PRIMARY_SYMTABS): Use it.
- (ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
- * dwarf2read.c (dw2_find_symbol_file): Ditto.
- * linespec.c (iterate_over_all_matching_symtabs): Ditto.
- * symtab.c (lookup_symbol_aux_objfile): Ditto.
- (basic_lookup_transparent_type): Ditto.
+2013-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-06-02 Sergio Durigan Junior <sergiodj@redhat.com>
+ * dwarf2read.c (write_psymtabs_to_index): Ignore NULL PSYMTAB.
- * symtab.c (symbol_demangled_name): New variable `dem_name'. Use
- it to optimize resolution of demangled name.
+2013-06-17 Pierre Muller <muller@sourceware.org>
-2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * corelow.c (core_open): Print GDB signal name instead of target
+ signal number.
- * configure.ac (development): Define new variable.
- Call AC_CHECK_LIB for mcheck if $development.
- (ERROR_ON_WARNING): Enable it by default only if $development.
- * config.in: Regenerate.
- * configure: Regenerate.
+2013-06-17 Mike Frysinger <vapier@gentoo.org>
-2012-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * .gitignore: Add /gcore.
- * target.c (target_read_memory): Make LEN argument as size_t.
- * target.h (target_read_memory): Likewise.
+2013-06-13 Doug Evans <dje@google.com>
-2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * dwarf2read.c (try_open_dwop_file): Work around behaviour of
+ OPF_TRY_CWD_FIRST to not search path if the file contains a '/'.
- * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values.
+2013-06-12 Phil Muldoon <pmuldoon@redhat.com>
-2012-05-31 Edjunior Machado <emachado@linux.vnet.ibm.com>
+ * stack.c (backtrace_command_1): Fix indentation.
- * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace
- BookE interface for PowerPC server processors if not available
- in the Linux Kernel.
+2013-06-11 Joel Brobecker <brobecker@adacore.com>
-2012-05-31 Keith Seitz <keiths@redhat.com>
+ * window-nat.c (thread_rec): Add missing empty line after
+ local variable declaration.
- * linespec.c (decode_objc): Add cleanup to free
- INFO.FILE_SYMTABS.
- (find_linespec_symbols): Add cleanup to free CLASSES.
- * symfile.c (find_separate_debug_file_by_debuglink): Add
- cleanup to free DEBUGLINK.
- * ui-out.c (clear_header_list): No need to check if
- HEADER_NEXT.COLHDR is NULL.
- Free HEADER_NEXT.COL_NAME.
+2013-06-11 Joel Brobecker <brobecker@adacore.com>
-2012-05-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+ * windows-nat.c (thread_rec): Revert format used to print
+ error code returned by SuspendThread from %d back to %u.
- * ada-lang.c (standard_lookup): Prevent uninitialized variable
- warning.
+2013-06-11 Joel Brobecker <brobecker@adacore.com>
-2012-05-30 Jeff Kenton <jkenton@tilera.com>
+ * windows-nat.c (windows_continue): Add "0x" prefix for thread
+ ID in debug trace.
+ (get_windows_debug_event): Likewise, for all debug traces.
- * configure.host (gdb_host_cpu): Handle tilegx*.
- (gdb_host): Handle tilegx-*-linux*.
- * tilegx-linux-nat.c: New file.
- * config/tilegx/linux.mh: New file.
+2013-06-11 Joel Brobecker <brobecker@adacore.com>
-2012-05-30 Jeff Kenton <jkenton@tilera.com>
+ * window-nat.c (thread_rec): Add thread ID in SuspendThread
+ warning message.
- * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and
- tilegx-linux-tdep.o.
- (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and
- tilegx-linux-tdep.c.
- * configure.tgt: Handle tilegx-*-linux*.
- * tilegx-tdep.h: New file.
- * tilegx-tdep.c: New file.
- * tilegx-linux-tdep.c: New file.
- * regformats/reg-tilegx.dat: New file.
+2013-06-08 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
-2012-05-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
+ * mi/mi-main.c (get_register): Remove declaration.
+ (output_register): Declare.
+ (mi_cmd_data_list_register_values): Remove local variable
+ 'tuple_cleanup'. Move some code into output_register.
+ (get_register): Renamed to ...
+ (output_register): ... this. Output the register's
+ "number" ui_out tuple here.
- * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix
- accounting of hw watchpoints on ppc.
+2013-06-07 Pedro Alves <palves@redhat.com>
-2012-05-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
+ * darwin-nat.c: Fix formating in copyright header.
+ * darwin-nat.h: Likewise.
+ * gnu-nat.c: Likewise.
+ * machoread.c: Likewise.
- * source.c (openp): Expand tilde in path entries.
+2013-06-07 Pedro Alves <palves@redhat.com>
-2012-05-29 Doug Evans <dje@google.com>
+ PR server/14823
+ * regformats/regdat.sh: Output #include tdesc.h. Make globals
+ static. Output a global target description pointer.
+ (init_registers_${name}): Adjust to initialize a
+ target description structure.
- * buildsym.c (block_compar): Fix comment.
- (end_symtab): Fix and clarify some comments.
+2013-06-07 Will Newton <will.newton@linaro.org>
- * stabsread.h (cleanup_undefined_stabs_types): Renamed from
- cleanup_undefined_types.
- * stabsread.c (cleanup_undefined_stabs_types): Ditto.
- All callers updated.
+ * printcmd.c (build_address_symbolic): Call
+ gdbarch_addr_bits_remove for text minimal symbols.
+
+2013-06-07 Will Newton <will.newton@linaro.org>
+
+ * MAINTAINERS: Add myself to Write After Approval.
+
+2013-06-07 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (start_tracing): Move code to ...
+ (trace_reset_local_state): ... here. New.
+ (disconnect_tracing): Don't call set_current_traceframe,
+ set_tracepoint_num, and set_traceframe_context. Call
+ trace_reset_local_state instead.
+ (tfile_close): Call trace_reset_local_state.
+ * ctf.c (ctf_close): Likewise.
+ * remote.c (remote_close): Likewise.
+ * tracepoint.h (trace_reset_local_state): Declare.
-2012-05-29 Tom Tromey <tromey@redhat.com>
+2013-06-06 Doug Evans <dje@google.com>
- * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen
- fails.
- * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails.
- * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen
- fails.
- * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen
- fails.
+ * dwarf2read.c: Whitespace fixes for DWP file format documentation,
+ and fix header docs.
-2012-05-29 Tristan Gingold <gingold@adacore.com>
+2013-06-05 Doug Evans <dje@google.com>
+ Keith Seitz <keiths@redhat.com>
- * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into...
- (struct darwin_info): ... New struct.
- (solib_darwin_pspace_data): New variable.
- (darwin_pspace_data_cleanup): New function.
- (get_darwin_info): Likewise.
- (darwin_dyld_version_ok, darwin_load_image_infos)
- (darwin_solib_get_all_image_info_addr_at_init)
- (darwin_solib_read_all_image_info_addr): Add info argument.
- Adjust code.
- (darwin_current_sos): Use per pspace structure.
- (darwin_solib_create_inferior_hook): Likewise.
- (darwin_clear_solib): Likewise.
- (_initialize_darwin_solib): Initialize solib_darwin_pspace_data.
+ PR 15519
+ * cp-namespace.c (find_symbol_in_baseclass): Call
+ cp_lookup_symbol_in_namespace instead of cp_lookup_symbol_namespace.
+ Check result of call to lookup_symbol_static.
+ Call lookup_static_symbol_aux unconditionally.
+ Call check_typedef on base types before accessing them.
+ (cp_lookup_nested_symbol): Fix comment.
-2012-05-28 Pedro Alves <palves@redhat.com>
+2013-06-05 Luis Machado <lgustavo@codesourcery.com>
- * infrun.c (wait_for_inferior): Move ecss and ecs locals to the
- block that uses them. Clear ecss before handling each event.
+ * gnu-v3-abi.c (gnuv3_skip_trampoline): Handle thunk
+ minimal symbols pointing to function descriptors.
-2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-06-05 Tom Tromey <tromey@redhat.com>
- * solib-svr4.c (svr4_current_sos): New comment on
- svr4_current_sos_via_xfer_libraries fall back.
+ * python/py-utils.c (gdb_pymodule_addobject): Cast away const.
-2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
+ Pedro Alves <palves@redhat.com>
- * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use
- it as a fallback for TYPE_IS_OPAQUE.
- * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE
- symbols for lookup_symbol.
+ * remote.c (remote_wait_as): Restore signal handler before returning
+ when GDB gets a notification.
+
+2013-06-04 Gary Benson <gbenson@redhat.com>
+
+ PR 2328
+ * breakpoint.h (handle_solib_event): Moved function declaration
+ to solib.h.
+ * breakpoint.c (handle_solib_event): Moved function to solib.c.
+ (bpstat_stop_status): Pass new argument to handle_solib_event.
+ * solib.h (update_solib_breakpoints): New function declaration.
+ (handle_solib_event): Moved function declaration from
+ breakpoint.h.
+ * solib.c (update_solib_breakpoints): New function.
+ (handle_solib_event): Moved function from breakpoint.c.
+ Updated to call solib_ops->handle_event if not NULL.
+ * solist.h (target_so_ops): New fields "update_breakpoints" and
+ "handle_event".
+ * infrun.c (set_stop_on_solib_events): New function.
+ (_initialize_infrun): Use the above for "set
+ stop-on-solib-events".
+ (handle_inferior_event): Pass new argument to handle_solib_event.
+ * solib-svr4.c (probe.h): New include.
+ (svr4_free_library_list): New forward declaration.
+ (probe_action): New enum.
+ (probe_info): New struct.
+ (probe_info): New static variable.
+ (NUM_PROBES): New definition.
+ (svr4_info): New fields "using_xfer", "probes_table" and
+ "solib_list".
+ (free_probes_table): New function.
+ (free_solib_list): New function.
+ (svr4_pspace_data_cleanup): Free probes table and solib list.
+ (svr4_copy_library_list): New function.
+ (svr4_current_sos_via_xfer_libraries): New parameter "annex".
+ (svr4_read_so_list): New parameter "prev_lm".
+ (svr4_current_sos_direct): Renamed from "svr4_current_sos".
+ (svr4_current_sos): New function.
+ (probe_and_action): New struct.
+ (hash_probe_and_action): New function.
+ (equal_probe_and_action): Likewise.
+ (register_solib_event_probe): Likewise.
+ (solib_event_probe_at): Likewise.
+ (solib_event_probe_action): Likewise.
+ (solist_update_full): Likewise.
+ (solist_update_incremental): Likewise.
+ (disable_probes_interface_cleanup): Likewise.
+ (svr4_handle_solib_event): Likewise.
+ (svr4_update_solib_event_breakpoint): Likewise.
+ (svr4_update_solib_event_breakpoints): Likewise.
+ (svr4_create_solib_event_breakpoints): Likewise.
+ (enable_break): Free probes table before creating breakpoints.
+ Use svr4_create_solib_event_breakpoints to create breakpoints.
+ (svr4_solib_create_inferior_hook): Free the solib list.
+ (_initialize_svr4_solib): Initialise
+ svr4_so_ops.handle_solib_event and svr4_so_ops.update_breakpoints.
+
+2013-06-04 Gary Benson <gbenson@redhat.com>
+
+ * target.h (target_ops): New field
+ "to_augmented_libraries_svr4_read".
+ (target_augmented_libraries_svr4_read): New macro.
+ * target.c (update_current_target): Handle
+ to_augmented_libraries_svr4_read.
+ * remote.c (remote_state): New field
+ "augmented_libraries_svr4_read".
+ (remote_augmented_libraries_svr4_read_feature): New function.
+ (remote_protocol_features): Add entry for
+ "augmented-libraries-svr4-read".
+ (remote_augmented_libraries_svr4_read): New function.
+ (init_remote_ops): Initialize
+ remote_ops.to_augmented_libraries_svr4_read.
+
+2013-06-04 Gary Benson <gbenson@redhat.com>
-2012-05-24 John Steele Scott <toojays@toojays.net>
+ * NEWS: Update.
- PR symtab/13277: Resolving opaque structures in ICC generated binaries.
- * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field.
- (producer_is_gxx_lt_4_6): Move the checking and caching to...
- (check_producer): ... this new function, which also checks for ICC
- and caches the result.
- (producer_is_icc): New function.
- (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the
- producer was ICC.
+2013-06-04 Gary Benson <gbenson@redhat.com>
-2012-05-24 Pedro Alves <palves@redhat.com>
+ * objfiles.h (inhibit_section_map_updates): New function
+ declaration.
+ (resume_section_map_updates): Likewise.
+ (resume_section_map_updates_cleanup): Likewise.
+ * objfiles.c (objfile_pspace_info): Removed field
+ "objfiles_changed_p". New fields "new_objfiles_available",
+ "section_map_dirty" and "inhibit_updates".
+ (allocate_objfile): Set new_objfiles_available.
+ (free_objfile): Set section_map_dirty.
+ (objfile_relocate1): Likewise.
+ (in_plt_section): Likewise.
+ (find_pc_section): Update the conditions under which the
+ section map will be updated.
+ (inhibit_section_map_updates): New function.
+ (resume_section_map_updates): Likewise.
+ (resume_section_map_updates_cleanup): Likewise.
+
+2013-06-04 Gary Benson <gbenson@redhat.com>
+
+ * probe.h (get_probe_argument_count): New declaration.
+ (evaluate_probe_argument): Likewise.
+ * probe.c (get_probe_argument_count): New function.
+ (evaluate_probe_argument): Likewise.
+ (probe_safe_evaluate_at_pc): Use the above new functions.
+
+2013-06-04 Alan Modra <amodra@gmail.com>
+
+ * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
+ * rs6000-tdep.c (read_insn): Add frame param, don't assume big-endian.
+ (ppc_insns_match_pattern): Add frame param. Avoid multiple
+ target mem reads on optional insns.
+ * ppc-linux-tdep.c (ppc_skip_trampoline_code): Update
+ ppc_insns_match_pattern calls.
+ * ppc64-tdep.c (ppc64_standard_linkage2, ppc64_standard_linkage3):
+ Add match for power7 thread safety insns, and new order of
+ std 2,40(1) insn. Correct code shown for _dl_runtime_resolve
+ invocation in comment, and update rest of comment.
+ (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN,
+ PPC64_STANDARD_LINKAGE3_LEN): Delete.
+ (ppc64_standard_linkage2_target): Update insn offsets.
+ (ppc64_skip_trampoline_code): Use a single insn buffer. Match newer
+ stubs first. Update calls.
+
+2013-06-04 Yao Qi <yao@codesourcery.com>
+
+ * solib.c (solib_find): Don't need dir separator if path has
+ drive spec.
+
+2013-06-03 Joel Brobecker <brobecker@adacore.com>
+
+ Revert (indirectly causes a SIGSEGV):
+ * machoread.c (macho_symfile_read): Assign first cleanup to
+ 'back_to'.
+
+2013-06-03 Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmd-var.c (mi_no_values, mi_simple_values): Move to
+ mi-parse.c. Make them static.
+ (mi_all_values): Likewise.
+ (mi_parse_values_option): Move to mi-parse.c. Rename it to
+ mi_parse_print_values. Make it external.
+ * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values):
+ Remove the declarations.
+ * mi/mi-parse.c (mi_parse_print_values): Moved from mi-cmd-var.c.
+ * mi/mi-parse.h (mi_parse_print_values): Declare.
+ * mi/mi-cmd-stack.c: Include mi-parse.h.
+ (parse_print_values): Remove
+ (mi_cmd_stack_list_locals): Call mi_parse_print_values instead
+ of parse_print_values.
+ (mi_cmd_stack_list_args, mi_cmd_stack_list_variables): Likewise.
+
+2013-05-31 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- PR gdb/7205
+ * tracepoint.c (all_tracepoint_actions_and_cleanup): Declare.
+ (encode_actions): Move code to ...
+ (all_tracepoint_actions_and_cleanup): ... here. New.
+ (trace_dump_command): Likewise.
- * arch-utils.c (default_gdb_signal_to_host): Rename to ...
- (default_gdb_signal_to_target): ... this. Add comment.
- (default_gdb_signal_from_host): Rename to ...
- (default_gdb_signal_from_target): ... this. Add comment.
- * arch-utils.h (default_gdb_signal_to_host): Rename to ...
- (default_gdb_signal_to_target): ... this.
- (default_gdb_signal_from_host): Rename to ...
- (default_gdb_signal_from_target): ... this.
- * corelow.c (core_open): Adjust to naming change. Replace comment.
- * gdbarch.sh (gdb_signal_from_host): Rename to ...
- (gdb_signal_from_target): ... this. Adjust to
- default_gdb_signal_from_host naming change. Extend comment.
- (gdb_signal_to_host): Rename to ...
- (gdb_signal_to_target): ... this. Adjust to
- default_gdb_signal_to_host naming change.
- * gdbarch.h, gdbarch.c: Renegerate.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-24 Pedro Alves <palves@redhat.com>
+ * symmisc.c (maintenance_expand_symtabs): Call do_cleanups.
- PR gdb/7205
+2013-05-30 Tom Tromey <tromey@redhat.com>
- Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+ * xml-support.c (gdb_xml_create_parser_and_cleanup): Rename from
+ gdb_xml_create_parser_and_cleanup_1. Return a cleanup. Remove
+ 'old_chain' argument. Add 'parser_result' argument.
+ (gdb_xml_create_parser_and_cleanup): Remove old version.
+ (gdb_xml_parse_quick): Update.
+ (xml_process_xincludes): Update.
+ * xml-support.h (gdb_xml_create_parser_and_cleanup): Don't
+ declare.
-2012-05-24 Pedro Alves <palves@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- PR gdb/7205
+ * probe.c (collect_probes): Check arguments for NULL before
+ calling compile_rx_or_error.
+ * utils.c (compile_rx_or_error): Require 'rx' to be non-NULL.
+ Remove NULL return.
- Replace target_signal with gdb_signal throughout.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-24 Pedro Alves <palves@redhat.com>
+ * infrun.c (adjust_pc_after_break): Introduce an outer null
+ cleanup.
- PR tui/14159
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * tui/tui-hooks.c (tui_query_hook): Pre-compute the question
- string, instead of reusing the va_list argument.
+ * mi/mi-cmd-var.c (varobj_update_one): Add an outer null cleanup.
-2012-05-24 Tom Tromey <tromey@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * cp-support.h (cp_finalize_namespace, cp_initialize_namespace):
- Remove.
+ * cli/cli-script.c (read_command_lines_1): Use a null cleanup
+ for 'old_chain'. Do not check 'head' before processing
+ cleanups.
-2012-05-23 Doug Evans <dje@google.com>
-
- * symtab.c (search_symbols): Formatting fixes.
- (print_symbol_info): Formatting fixes.
-
- * dwarf2-frame.c (execute_cfa_program): Update to handle long long ->
- int64_t change to leb128 API.
- (read_encoded_value, decode_frame_entry_1): Ditto.
- * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto.
- (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto.
- (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
- (execute_stack_op): Ditto.
- * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto.
- (safe_read_uleb128, safe_read_sleb128): Ditto.
- * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto.
- (dwarf2_compile_expr_to_ax): Ditto.
- (locexpr_describe_location_piece): Ditto.
- (disassemble_dwarf_expression): Ditto.
- (locexpr_describe_location_1): Ditto.
-
-2012-05-23 Stan Shebs <stan@codesourcery.com>
- Kwok Cheung Yeung <kcy@codesourcery.com>
-
- * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o.
- (SUBDIR_MI_SRCS): Add mi-cmd-info.c.
- (mi-cmd-info.o): New rule.
- * osdata.h (info_osdata_command): New declaration.
- * osdata.c (info_osdata_command): Change to non-static.
- * mi/mi-cmds.h (mi_cmd_info_os): New declaration.
- * mi/mi-cmds.c (mi_cmds): Add -info-os MI command.
- * mi/mi-cmd-info.c: New file.
-
-2012-05-23 Doug Evans <dje@google.com>
-
- * symtab.c (search_symbols): Pass NULL for file_matcher to
- expand_symtabs_matching if there are no files to match.
-
- * gdbtypes.c (lookup_typename): Simplify.
-
-2012-05-23 Pedro Alves <palves@redhat.com>
-
- * arch-utils.h (default_target_signal_to_host): Delete.
- * arch-utils.c (default_target_signal_to_host): Delete.
- * gdbarch.sh (target_signal_to_host): Remove.
- * gdbarch.h, gdbarch.c: Regenerate.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-22 Doug Evans <dje@google.com>
-
- * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end
- "const gdb_byte *".
- (struct dwarf2_fde): Make instructions, end "const gdb_byte *".
- (execute_cfa_program): Update to match API of leb128 functions.
- (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter
- "const gdb_byte *".
- (read_unsigned_leb128, read_signed_leb128): Delete.
- (read_initial_length): Change type of buf argument to
- "const gdb_byte *".
- (read_encoded_value): Update to match API of leb128 functions.
- (decode_frame_entry): Change result to "const gdb_byte *", and
- similarly for "start" parameter.
- (decode_frame_entry_1): Ditto. Use new leb128 reader functions.
- (dwarf2_build_frame_info): Change local frame_ptr to
- "const gdb_byte *".
- * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces
- read_uleb128, read_sleb128. All callers updated.
- (safe_skip_leb128): New function.
- (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions.
- Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128.
- (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128
- functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of
- read_uleb128, read_sleb128.
- (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto.
- (execute_stack_op): Update to match API of leb128 functions.
- * dwarf2expr.h: #include "leb128.h".
- (read_uleb128, read_sleb128): Delete.
- (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions.
- (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare.
- * dwarf2loc.c (debug_loc_kind): New enum.
- (decode_debug_loc_addresses): New function.
- (decode_debug_loc_dwo_addresses): New function.
- (dwarf2_find_location_expression): Rewrite.
- (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions.
- (locexpr_describe_location_piece): Ditto.
- (disassemble_dwarf_expression): Ditto.
- (locexpr_describe_location_1): Ditto.
- (loclist_describe_location): Rewrite.
- * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo".
- * dwarf2read.c (die_reader_specs): New member "buffer_end".
- (dwarf2_section_buffer_overflow_complaint): Renamed from
- dwarf2_macros_too_long_complaint. All callers updated.
- (skip_leb128): Delete.
- (init_cu_die_reader): Initialize reader->buffer_end.
- (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128.
- (skip_form_bytes): New arg buffer_end. All callers updated.
- Replace call to skip_leb128 with gdb_skip_leb128.
- (skip_unknown_opcode): New arg mac_end. All callers updated.
- (fill_in_loclist_baton): Initialize baton->from_dwo.
-
-2012-05-22 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-linux-nat.c (mips_linux_read_description): Use a more
- verbose error message.
-
-2012-05-22 Maciej W. Rozycki <macro@codesourcery.com>
-
- * NEWS: Add MIPS/Linux DSP support.
- * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout.
- (SIGCONTEXT_DSPCTL): New macro.
- (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise.
- (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise.
- (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise.
- (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise.
- (N64_SIGCONTEXT_HI3): Likewise.
- (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise.
- (N64_SIGCONTEXT_LO3): Likewise.
- (N64_SIGCONTEXT_DSPCTL): Likewise.
- (N64_SIGCONTEXT_FPCSR): Clarify definition.
- (mips_linux_o32_sigframe_init): Handle DSP registers.
- (mips_linux_n32n64_sigframe_init): Likewise.
-
-2012-05-22 Pierre Muller <muller@ics.u-strasbg.fr>
-
- * common/buffer.c (buffer_grow): ARI fix: Remove unneeded
- call to abort.
-
-2012-05-22 Pedro Alves <palves@redhat.com>
-
- * target.h (store_waitstatus): Move declaration ...
- * inf-child.h (store_waitstatus): ... here.
- * target.c: Move inclusion of gdb_wait.h, and ...
- (store_waitstatus): ... this ...
- * inf-child.c: ... here.
- * linux-nat.c: Include inf-child.h.
- * rs6000-nat.c: Include inf-child.h.
- * spu-linux-nat.c: Include inf-child.h.
-
-2012-05-22 Pierre Muller <muller@ics.u-strasbg.fr>
-
- * tracepoint.c (start_tracing): Add missing i18n markup.
- (stop_tracing, set_trace_user): Ditto.
- (set_trace_notes, set_trace_stop_notes): Ditto.
-
-2012-05-21 Tom Tromey <tromey@redhat.com>
-
- PR c++/7173:
- * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java
- types.
- * value.h (value_cast_pointers): Update.
- * valops.c (value_cast_pointers): Add 'subclass_check' argument.
- (value_cast): Update.
- (update_search_result): New function.
- (do_search_struct_field): New, from search_struct_field. Check
- for ambiguous results.
- (search_struct_field): Rewrite.
- * infcall.c (value_arg_coerce): Update.
- * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use
- value_cast_pointers.
- * ada-lang.c (ada_convert_actual): Update.
-
-2012-05-21 Tom Tromey <tromey@redhat.com>
-
- * macroexp.c (macro_stringify): Terminate the string.
-
-2012-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path.
- Describe it.
- * auto-load.c (auto_load_expand_dir_vars): New function.
- (auto_load_safe_path_vec_update): Use it, remove the
- substitute_path_component call thanks to it.
- (auto_load_objfile_script): Remove the debug_file_directory processing.
- Use auto_load_expand_dir_vars, remove the substitute_path_component
- call thanks to it.
- * configure: Regenerate.
- * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default
- path. Escape $ also for $debugdir.
- (--with_auto_load_safe_path): Escape $ also for $debugdir.
- * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR.
-
-2012-05-20 Doug Evans <dje@google.com>
-
- * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s"
- before use. Check for symtab->includes == NULL before scanning it.
-
-2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips_reg3_to_reg): Optimize storage.
-
-2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
-
- * NEWS: Add microMIPS support and "set mips compression",
- "show mips compression" commands.
- * mips-tdep.h (mips_isa): New enum.
- (gdbarch_tdep): Add mips_isa.
- (mips_pc_is_mips16): Update prototype.
- (mips_pc_is_mips, mips_pc_is_micromips): New prototypes.
- * mips-tdep.c (mips_compression_mips16): New variable.
- (mips_compression_micromips): Likewise.
- (mips_compression_strings): Likewise.
- (mips_compression_string): Likewise.
- (is_mips16_isa, is_micromips_isa): New functions.
- (is_mips16_addr): Rename to...
- (is_compact_addr): ... this.
- (unmake_mips16_addr): Likewise to...
- (unmake_compact_addr): ... this.
- (make_mips16_addr): Likewise to...
- (make_compact_addr): ... this.
- (is_mips_addr, is_mips16_addr, is_micromips_addr): New
- functions.
- (mips_elf_make_msymbol_special): Handle microMIPS code.
- (msymbol_is_special): Rename to...
- (msymbol_is_mips16): ... this.
- (mips_make_symbol_special, mips_pc_is_mips16): Update
- accordingly.
- (msymbol_is_mips, msymbol_is_micromips): New functions.
- (mips16_to_32_reg): Rename to...
- (mips_reg3_to_reg): ... this.
- (mips_pc_is_mips, mips_pc_is_micromips): New functions.
- (mips_pc_isa): Likewise.
- (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS
- code.
- (mips_fetch_instruction): Pass return status instead of printing
- an error message if requested. Handle microMIPS code. Bail out
- on an invalid ISA.
- (micromips_op): New macro.
- (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise.
- (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise.
- (b6s4_op, b7s3_reg): Likewise.
- (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise.
- (b6s10_ext, b11s5_reg, b12s4_op): Likewise.
- (mips_insn_size): New function.
- (mips32_next_pc): Update mips_fetch_instruction call.
- (micromips_relative_offset7): New function.
- (micromips_relative_offset10): Likewise.
- (micromips_relative_offset16): Likewise.
- (micromips_pc_insn_size): Likewise.
- (micromips_bc1_pc): Likewise.
- (micromips_next_pc): Likewise.
- (unpack_mips16): Update mips_fetch_instruction call.
- (extended_mips16_next_pc): Update according to change to
- mips16_to_32_reg.
- (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS
- code.
- (mips16_scan_prologue): Update mips_fetch_instruction call.
- Update according to change to mips16_to_32_reg.
- (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call.
- (mips_insn16_frame_base_sniffer): Likewise.
- (micromips_decode_imm9): New function.
- (micromips_scan_prologue): Likewise.
- (mips_micro_frame_cache): Likewise.
- (mips_micro_frame_this_id): Likewise.
- (mips_micro_frame_prev_register): Likewise.
- (mips_micro_frame_sniffer): Likewise.
- (mips_micro_frame_unwind): New variable.
- (mips_micro_frame_base_address): New function.
- (mips_micro_frame_base): New variable.
- (mips_micro_frame_base_sniffer): New function.
- (mips32_scan_prologue): Update mips_fetch_instruction call.
- (mips_insn32_frame_sniffer): Check for the standard MIPS ISA
- rather than for MIPS16.
- (mips_insn32_frame_base_sniffer): Likewise.
- (mips_addr_bits_remove): Handle microMIPS code.
- (deal_with_atomic_sequence): Rename to...
- (mips_deal_with_atomic_sequence): ... this. Update the type
- of the variable used to hold an instruction. Remove the ISA bit
- check. Update mips_fetch_instruction call.
- (micromips_deal_with_atomic_sequence): New function.
- (deal_with_atomic_sequence): Likewise.
- (mips_about_to_return): Handle microMIPS code. Update
- mips_fetch_instruction call.
- (heuristic_proc_start): Check for the standard MIPS ISA rather
- than for MIPS16. Update mips_pc_is_mips16 and
- mips_fetch_instruction calls. Handle microMIPS code.
- (mips_push_dummy_code): Handle microMIPS code.
- (mips_eabi_push_dummy_call): Likewise.
- (mips_o32_return_value): Update mips_pc_is_mips16 call.
- (mips_o64_push_dummy_call): Handle microMIPS code.
- (mips_o64_return_value): Update mips_pc_is_mips16 call.
- (is_delayed): Remove function.
- (mips_single_step_through_delay): Replace the call to is_delayed
- with mips32_instruction_has_delay_slot. Correct MIPS16 handling.
- Handle microMIPS code.
- (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle
- microMIPS code.
- (mips32_in_function_epilogue_p): Update mips_fetch_instruction
- call.
- (micromips_in_function_epilogue_p): New function.
- (mips16_in_function_epilogue_p): Update mips_fetch_instruction
- call.
- (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call.
- Handle microMIPS.
- (gdb_print_insn_mips): Likewise.
- (mips_breakpoint_from_pc): Likewise.
- (mips_remote_breakpoint_from_pc): New function.
- (mips32_instruction_has_delay_slot): Simplify making use of the
- updated mips_fetch_instruction interface.
- (micromips_instruction_has_delay_slot): New function.
- (mips16_instruction_has_delay_slot): Simplify making use of the
- updated mips_fetch_instruction interface.
- (mips_adjust_breakpoint_address): Check for the standard MIPS
- ISA rather than for MIPS16 ISA. Update for unmake_compact_addr
- calls. Handle microMIPS code.
- (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call.
- (mips_skip_trampoline_code): Handle microMIPS code.
- (global_mips_compression): New function.
- (mips_gdbarch_init): Handle the compressed ISA setting from ELF
- file flags. Register the microMIPS remote breakpoint handler
- and heuristic frame unwinder.
- (show_mips_compression): New function.
- (_initialize_mips_tdep): Add the "set mips compression" and
- "show mips compression" commands.
-
-2012-05-18 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * ada-lang.c:
- * ada-tasks.c:
- * ada-varobj.c:
- * amd64-darwin-tdep.c:
- * arm-symbian-tdep.c:
- * arm-tdep.c:
- * avr-tdep.c:
- * ax-gdb.c:
- * bfin-linux-tdep.c:
- * breakpoint.c:
- * c-valprint.c:
- * cli/cli-cmds.c:
- * coffread.c:
- * cp-support.c:
- * cris-tdep.c:
- * dwarf2-frame-tailcall.c:
- * dwarf2-frame.c:
- * dwarf2expr.c:
- * dwarf2loc.c:
- * dwarf2read.c:
- * elfread.c:
- * eval.c:
- * expprint.c:
- * f-valprint.c:
- * frv-tdep.c:
- * h8300-tdep.c:
- * hppa-hpux-tdep.c:
- * hppa-tdep.c:
- * hppanbsd-tdep.c:
- * i386-nto-tdep.c:
- * i386-tdep.c:
- * i387-tdep.c:
- * ia64-tdep.c:
- * jit.c:
- * linespec.c:
- * linux-tdep.c:
- * lm32-tdep.c:
- * m2-valprint.c:
- * m32c-tdep.c:
- * m32r-rom.c:
- * m32r-tdep.c:
- * m68k-tdep.c:
- * m68klinux-tdep.c:
- * mi/mi-main.c:
- * microblaze-tdep.c:
- * mips-linux-tdep.c:
- * mips-tdep.c:
- * mn10300-tdep.c:
- * p-valprint.c:
- * parse.c:
- * ppc-linux-tdep.c:
- * ppc-sysv-tdep.c:
- * printcmd.c:
- * python/py-finishbreakpoint.c:
- * python/py-inferior.c:
- * python/py-infthread.c:
- * python/py-type.c:
- * python/python.c:
- * remote-fileio.c:
- * remote-m32r-sdi.c:
- * remote-mips.c:
- * reverse.c:
- * rl78-tdep.c:
- * rs6000-aix-tdep.c:
- * rs6000-tdep.c:
- * s390-tdep.c:
- * score-tdep.c:
- * sh64-tdep.c:
- * skip.c:
- * solib-darwin.c:
- * solib-dsbt.c:
- * solib-frv.c:
- * sparc-tdep.c:
- * spu-multiarch.c:
- * spu-tdep.c:
- * stack.c:
- * symfile.c:
- * symtab.c:
- * tic6x-tdep.c:
- * tracepoint.c:
- * v850-tdep.c:
- * valarith.c:
- * valprint.c:
- * value.c:
- * xcoffread.c:
- * xtensa-tdep.c:
- * ada-lang.c:
- * ada-tasks.c:
- * ada-varobj.c:
- * amd64-darwin-tdep.c:
- * arm-symbian-tdep.c:
- * arm-tdep.c: Delete unused variables.
-
-2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Rename $ddir to $datadir.
- * NEWS (--with-auto-load-dir): Rename $ddir to $datadir.
- * auto-load.c (auto_load_safe_path_vec_update)
- (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise.
- * configure: Regenerate.
- * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path):
- Likewise. Remove the 'use $ddir' help string.
+ * mi/mi-cmd-stack.c (list_arg_or_local): Remove
+ "cleanup_tuple".
-2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * auto-load.c (show_auto_load_safe_path): Accept any combination of
- DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match.
+ * dbxread.c (dbx_read_symtab): Declare 'back_to' in a more
+ inner scope. Unconditionally call do_cleanups.
-2012-05-18 Tom Tromey <tromey@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- PR exp/13907:
- * valprint.h (struct value_print_options) <symbol_print>: New
- field.
- * valprint.c (user_print_options): Add default for symbol_print.
- (show_symbol_print): New function.
- (generic_val_print): Respect symbol_print.
- (_initialize_valprint): Add "print symbol" setting.
- * f-valprint.c (f_val_print): Respect symbol_print.
- * c-valprint.c (c_val_print): Respect symbol_print.
- * NEWS: Update.
- * printcmd.c (print_address_symbolic): Return int. Ignore some
- zero-size symbols.
- (print_address_demangle): Return int.
- * defs.h: (print_address_symbolic): Return int.
- * value.h (print_address_demangle): Return int.
-
-2012-05-18 Tom Tromey <tromey@redhat.com>
-
- * valprint.c (val_print_string): Don't print leading space.
- * p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally
- print space before string or vtbl.
- * m2-valprint.c (print_unpacked_pointer): Optionally print space
- before string.
- * jv-valprint.c (java_value_print): Print space before string.
- * go-valprint.c (print_go_string): Print space before string.
- * f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print
- space before string.
- * c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print
- space before string or vtbl.
- * auxv.c (fprint_target_auxv): Print space after address.
-
-2012-05-18 Tom Tromey <tromey@redhat.com>
-
- * printcmd.c (print_address_demangle): Remove special case for 0.
-
-2012-05-18 Tom Tromey <tromey@redhat.com>
-
- * printcmd.c (print_address_demangle): Add 'opts' argument.
- * p-valprint.c (pascal_val_print): Update.
- * jv-valprint.c (java_val_print): Update.
- * value.h: Update.
- * valprint.c (generic_val_print): Update.
- (print_function_pointer_address): Add 'options' argument. Remove
- 'addressprint' argument. Update.
- * m2-valprint.c (print_unpacked_pointer): Update.
- * gnu-v3-abi.c (print_one_vtable): Update.
- (gnuv3_print_method_ptr): Update.
- * f-valprint.c (f_val_print): Update.
- * cp-valprint.c (cp_print_value_fields): Update.
- * valprint.h (print_function_pointer_address): Update.
- * c-valprint.c (c_val_print): Update.
-
-2012-05-18 Tom Tromey <tromey@redhat.com>
-
- * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab
- directly corresponding to the found psymtab.
- * dwarf2read.c (recursively_find_pc_sect_symtab): New function.
- (dw2_find_pc_sect_symtab): Use it.
- * block.h (blockvector_contains_pc): Declare.
- * block.c (find_block_in_blockvector): New function.
- (blockvector_for_pc_sect): Use it.
- (blockvector_contains_pc): New function.
-
-2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.h (mips_write_pc): New prototype.
- * mips-tdep.c (mips_write_pc): Make external, add description.
- * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc,
- add description.
-
-2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of
- mips_regnum->pc.
- (mips_unwind_pc, mips_write_pc): Likewise.
- (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and
- gdbarch_read_pc.
-
-2012-05-17 Joel Brobecker <brobecker@adacore.com>
-
- * procfs.c (procfs_find_new_threads, procfs_pid_to_str,
- proc_warn, proc_error, proc_get_status, proc_flags,
- proc_why, proc_what, proc_nsysarg, proc_sysargs,
- proc_set_run_on_last_close, proc_unset_run_on_last_close,
- proc_unset_inherit_on_fork, proc_set_async, proc_unset_async,
- proc_stop_process, proc_wait_for_stop, proc_run_process,
- proc_set_traced_signals, proc_set_traced_faults,
- proc_set_traced_sysentry, proc_set_traced_sysexit,
- proc_set_held_signals, proc_get_held_signals,
- proc_get_traced_signals, proc_get_traced_faults,
- proc_get_traced_sysentry, proc_get_traced_sysexit,
- proc_clear_current_fault, proc_set_current_signal,
- proc_clear_current_signal, proc_get_gregs, proc_get_fpregs,
- proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid,
- proc_get_nthreads, proc_get_nthreads, proc_get_nthreads,
- proc_get_current_thread, proc_get_current_thread,
- proc_get_current_thread, proc_update_threads,
- proc_update_threads, proc_update_threads, proc_update_threads,
- proc_iterate_over_threads, procfs_find_new_threads,
- procfs_pid_to_str): Make static. Remove advance declaration.
- (proc_cursig): Make static. Conditionalized defintion on
- PROCFS_DONT_PIOCSSIG_CURSIG being defined.
- (proc_syscall, proc_set_kill_on_last_close,
- proc_unset_kill_on_last_close, proc_set_inherit_on_fork,
- proc_get_pending_signals, proc_get_signal_actions,
- proc_trace_signal, proc_ignore_signal): Delete.
-
-2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * coffread.c (cs_section_address): Passing proper argument for
- `bfd_get_section_vma'.
- * dwarf2read.c (dwarf2_locate_sections): Likewise, for
- `bfd_get_section_flags'.
- * remote.c (remote_trace_set_readonly_regions): Likewise, for
- `bfd_get_section_vma'.
-
-2012-05-16 Tom Tromey <tromey@redhat.com>
-
- PR macros/13205:
- * macrotab.h: (macro_define_special): Declare.
- (enum macro_special_kind): New.
- (struct macro_definition) <argc, replacement>: Update comments.
- * macrotab.c (new_macro_definition): Unconditionally set 'argc'.
- (macro_define_object_internal): New function.
- (macro_define_object): Use it.
- (macro_define_special): New function.
- (fixup_definition): New function.
- (macro_lookup_definition, foreach_macro_in_scope)
- (foreach_macro): Use fixup_definition.
- * macroexp.h (macro_stringify): Declare.
- * macroexp.c (free_buffer_return_text): New function.
- (stringify): Constify "arg".
- (macro_stringify): New function.
- * dwarf2read.c (macro_start_file): Call macro_define_special.
-
-2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
- Maciej W. Rozycki <macro@mips.com>
-
- * breakpoint.h (bp_location): Add related_address member.
- * inferior.h (get_return_value): Take a pointer to struct value
- instead of struct type for the function requested.
- * value.h (using_struct_return): Likewise.
- * gdbarch.sh (return_value): Take a pointer to struct value
- instead of struct type for the function requested.
- * breakpoint.c (set_breakpoint_location_function): Initialize
- related_address for bp_gnu_ifunc_resolver breakpoints.
- * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the
- requested function's address to gdbarch_return_value.
- * eval.c (evaluate_subexp_standard): Pass the requested
- function's address to using_struct_return.
- * infcall.c (call_function_by_hand): Pass the requested
- function's address to using_struct_return and
- gdbarch_return_value.
- * infcmd.c (get_return_value): Take a pointer to struct value
- instead of struct type for the function requested.
- (print_return_value): Update accordingly.
- (finish_command_continuation): Likewise.
- * stack.c (return_command): Pass the requested function's
- address to using_struct_return and gdbarch_return_value.
- * value.c (using_struct_return): Take a pointer to struct value
- instead of struct type for the function requested. Pass the
- requested function's address to gdbarch_return_value.
- * python/py-finishbreakpoint.c (finish_breakpoint_object):
- New function_value member, replacing function_type.
- (bpfinishpy_dealloc): Update accordingly.
- (bpfinishpy_pre_stop_hook): Likewise.
- (bpfinishpy_init): Likewise. Record the requested function's
- address.
- * mips-tdep.c (mips_fval_reg): New enum.
- (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap
- words put in GP registers.
- (mips_o64_push_dummy_call): Update a comment.
- (mips_o32_return_value): Take a pointer to struct value instead
- of struct type for the function requested and use it to check if
- using the MIPS16 calling convention. Return the designated
- general purpose registers for floating-point values returned in
- MIPS16 mode.
- (mips_o64_return_value): Likewise.
- * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype.
- (ppc_sysv_abi_broken_return_value): Likewise.
- (ppc64_sysv_abi_return_value): Likewise.
- * alpha-tdep.c (alpha_return_value): Take a pointer to struct
- value instead of struct type for the function requested.
- * amd64-tdep.c (amd64_return_value): Likewise.
- * amd64-windows-tdep.c (amd64_windows_return_value): Likewise.
- * arm-tdep.c (arm_return_value): Likewise.
- * avr-tdep.c (avr_return_value): Likewise.
- * bfin-tdep.c (bfin_return_value): Likewise.
- * cris-tdep.c (cris_return_value): Likewise.
- * frv-tdep.c (frv_return_value): Likewise.
- * h8300-tdep.c (h8300_return_value): Likewise.
- (h8300h_return_value): Likewise.
- * hppa-tdep.c (hppa32_return_value): Likewise.
- (hppa64_return_value): Likewise.
- * i386-tdep.c (i386_return_value): Likewise.
- * ia64-tdep.c (ia64_return_value): Likewise.
- * iq2000-tdep.c (iq2000_return_value): Likewise.
- * lm32-tdep.c (lm32_return_value): Likewise.
- * m32c-tdep.c (m32c_return_value): Likewise.
- * m32r-tdep.c (m32r_return_value): Likewise.
- * m68hc11-tdep.c (m68hc11_return_value): Likewise.
- * m68k-tdep.c (m68k_return_value): Likewise.
- (m68k_svr4_return_value): Likewise.
- * m88k-tdep.c (m88k_return_value): Likewise.
- * mep-tdep.c (mep_return_value): Likewise.
- * microblaze-tdep.c (microblaze_return_value): Likewise.
- * mn10300-tdep.c (mn10300_return_value): Likewise.
- * moxie-tdep.c (moxie_return_value): Likewise.
- * mt-tdep.c (mt_return_value): Likewise.
- * ppc-linux-tdep.c (ppc_linux_return_value): Likewise.
- * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise.
- (ppc_sysv_abi_broken_return_value): Likewise.
- (ppc64_sysv_abi_return_value): Likewise.
- * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise.
- * rl78-tdep.c (rl78_return_value): Likewise.
- * rs6000-aix-tdep.c (rs6000_return_value): Likewise.
- * rx-tdep.c (rx_return_value): Likewise.
- * s390-tdep.c (s390_return_value): Likewise.
- * score-tdep.c (score_return_value): Likewise.
- * sh-tdep.c (sh_return_value_nofpu): Likewise.
- (sh_return_value_fpu): Likewise.
- * sh64-tdep.c (sh64_return_value): Likewise.
- * sparc-tdep.c (sparc32_return_value): Likewise.
- * sparc64-tdep.c (sparc64_return_value): Likewise.
- * spu-tdep.c (spu_return_value): Likewise.
- * tic6x-tdep.c (tic6x_return_value): Likewise.
- * v850-tdep.c (v850_return_value): Likewise.
- * vax-tdep.c (vax_return_value): Likewise.
- * xstormy16-tdep.c (xstormy16_return_value): Likewise.
- * xtensa-tdep.c (xtensa_return_value): Likewise.
- * gdbarch.c: Regenerate.
- * gdbarch.h: Regenerate.
+ * source.c (find_and_open_source): Call do_cleanups.
-2012-05-15 Tom Tromey <tromey@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest.
+ * linux-thread-db.c (thread_db_load_search): Unconditionally
+ call do_cleanups.
-2012-05-15 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * breakpoint.c (init_breakpoint_sal): Add quotes around part
- of command in two error message.
+ * solib-aix.c (solib_aix_bfd_open): Don't use a null cleanup
+ for 'cleanup'; instead use a later one.
-2012-05-15 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * breakpoint.c (init_breakpoint_sal): Remove trailing spaces.
+ * python/py-breakpoint.c (bppy_get_commands): Use
+ explicit, unconditional return.
+ * python/py-frame.c (frapy_read_var): Likewise.
+ * python/python.c (gdbpy_decode_line): Likewise.
-2012-05-15 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * breakpoint.c (find_condition_and_thread): Minor reformatting.
+ * cp-namespace.c (cp_lookup_symbol_imports_or_template): Call
+ do_cleanups on all return paths.
-2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * NEWS (show auto-load scripts-directory): Add forgotten command.
+ * top.c (execute_command): Discard 'cleanup_if_error' cleanups.
-2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * spu-tdep.c (spu_catch_start): Update create_breakpoint caller
- parameters.
+ * stabsread.c (read_struct_type): Call do_cleanups along
+ all return paths.
-2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-tdep.c: Include features/i386/x32.c and
- features/i386/x32-avx.c.
- (_initialize_amd64_tdep): Call initialize_tdesc_x32 and
- initialize_tdesc_x32_avx.
-
-2012-05-14 Stan Shebs <stan@codesourcery.com>
-
- Add dynamic printf.
- * breakpoint.h (enum bptype): New type bp_dprintf.
- (struct breakpoint): New field extra_string.
- (struct breakpoint_ops): Add arg to create_breakpoints_sal.
- (create_breakpoint): Add extra_string arg.
- * breakpoint.c (dprintf_breakpoint_ops): New.
- (is_breakpoint): Add bp_dprintf.
- (bpstat_what): Add dprintf case.
- (bptype_string): Ditto.
- (print_one_breakpoint_location): Ditto.
- (init_bp_location): Ditto.
- (bkpt_print_mention): Ditto.
- (dprintf_style_enums): New array.
- (dprintf_style): New global.
- (dprintf_function): New global.
- (dprintf_channel): New global.
- (update_dprintf_command_list): New function.
- (update_dprintf_commands): New function.
- (init_breakpoint_sal): Add extra_string argument, handle it.
- (create_breakpoint_sal): Add extra_string argument.
- (create_breakpoints_sal): Add extra_string argument, update callers.
- (find_condition_and_thread): Add extra argument.
- (create_breakpoint): Add extra_string argument, record it.
- (dprintf_command): New function.
- (break_command_1): Add arg to create_breakpoint call.
- (handle_gnu_v3_exceptions): Ditto.
- (trace_command): Ditto.
- (ftrace_command): Ditto.
- (strace_command): Ditto.
- (bkpt_print_mention): Add dprintf case.
- (create_breakpoint_sal_default): Add extra_string argument.
- (_initialize_breakpoint): Add new commands.
- * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call.
- * python/py-breakpoint.c (bppy_init): Ditto.
- * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto.
-
-2012-05-14 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips_push_dummy_code): Correct description typo.
-
-2012-05-14 Siva Chandra Reddy <sivachandra@google.com>
-
- * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
- unsigned long long.
-
-2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
-
- Add a new function gdb.find_pc_line to the Python API.
- * NEWS (Python Scripting): Add entry about the new function.
- * python/python.c (gdbpy_find_pc_line): New function which
- implements gdb.find_pc_line.
- (GdbMethods): Add entry for the new function.
-
-2012-05-12 Pedro Alves <palves@redhat.com>
-
- * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call
- initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux.
-
-2012-05-12 Eli Zaretskii <eliz@gnu.org>
-
- * inferior.c: Include completer.h
- (initialize_inferiors): Set completer of add-inferior to
- filename_completer.
-
-2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-tdep.c (amd64_linux_core_read_description): Check
- gdbarch_ptr_bit for x32 core dump.
-
-2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-tdep.c: Include features/i386/x32-linux.c
- and features/i386/x32-avx-linux.c.
-
-2012-05-11 Stan Shebs <stan@codesourcery.com>
- Kwok Cheung Yeung <kcy@codesourcery.com>
-
- * NEWS: Describe new info os commands.
- * common/linux-osdata.c (PID_T, TIME_T): Define.
- (MAX_PID_T_STRLEN): New.
- (linux_common_core_of_thread): Add comment. Change to use PID_T and
- MAX_PID_T_STRLEN.
- (command_from_pid): Add comment. Change to use PID_T.
- (commandline_from_pid): Change to use PID_T.
- (user_from_pid): Add comment.
- (get_process_owner): Add comment. Change to use PID_T and
- MAX_PID_T_STRLEN.
- (get_number_of_cpu_cores): Add comment.
- (get_cores_used_by_process): Add comment. Change to use PID_T and
- MAX_PID_T_STRLEN.
- (linux_xfer_osdata_processes): Change to use PID_T and
- MAX_PID_T_STRLEN.
- (compare_processes): New function.
- (linux_xfer_osdata_processgroups): New function.
- (linux_xfer_osdata_threads): Change to use PID_T.
- (linux_xfer_osdata_fds): New function.
- (format_socket_state, print_sockets): New functions.
- (union socket_addr): New union.
- (linux_xfer_osdata_isockets): New function.
- (time_from_time_t, group_from_gid): New functions.
- (linux_xfer_osdata_shm): New function.
- (linux_xfer_osdata_sem): New function.
- (linux_xfer_osdata_msg): New function.
- (linux_xfer_osdata_modules): New function.
- (osdata_table): Add new entries.
- * common/buffer.c (buffer_xml_printf): Add support for long and
- long long format specifiers.
-
-2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
-
- * amd64-linux-tdep.h (tdesc_x32_linux): New.
- (tdesc_x32_avx_linux): Likewise.
-
-2012-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Implement multi-component --with-auto-load-dir.
- * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New
- entries.
- (--with-auto-load-safe-path): Update the default value description.
- * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir):
- New.
- (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove
- GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by
- AUTO_LOAD_DIR. Support $ddir and multiple components in it.
- (_initialize_auto_load): Initialize also auto_load_dir. Install new
- "set auto-load scripts-directory".
- * config.in: Regenerate.
- * configure: Regenerate.
- * configure.ac (--with-auto-load-dir): New configure option.
- (--auto-load-safe-path): Change the default to --with-auto-load-dir.
+2013-05-30 Maciej W. Rozycki <macro@codesourcery.com>
-2012-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * mips-linux-tdep.c: Adjust formatting throughout.
- Provide $ddir substitution for --with-auto-load-safe-path.
- * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New
- entries.
- * auto-load.c: Include observer.h.
- (auto_load_safe_path_vec_update): Call substitute_path_component for
- each component. New variable ddir_subst.
- (auto_load_gdb_datadir_changed): New function.
- (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
- AUTO_LOAD_SAFE_PATH. New comment.
- (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
- AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed.
- * config.in: Regenerate.
- * configure: Regenerate.
- * configure.ac (--auto-load-safe-path): Rename
- DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to
- GDB_DATADIR/auto-load.
- * defs.h (substitute_path_component): New declaration.
- * top.c: Include observer.h.
- (set_gdb_datadir): New function.
- (init_main): Install it for "set data-directory".
- * utils.c (substitute_path_component): New function.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * mipsread.c (read_alphacoff_dynamic_symtab): Call do_cleanups
+ along all return paths.
- Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY.
- * auto-load.c (auto_load_objfile_script): Remove check for NULL
- DEBUG_FILE_DIRECTORY. Handle multiple components of
- DEBUG_FILE_DIRECTORY.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-10 Tom Tromey <tromey@redhat.com>
+ * symfile.c (find_separate_debug_file): Call do_cleanups
+ along all return paths.
- * dwarf2read.c (recursively_write_psymbols): New function.
- (write_psymtabs_to_index): Use it.
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New
- field.
- (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit)
- (load_partial_comp_unit): Update.
- (queue_comp_unit): Add argument 'pretend_language'.
- (process_queue): Update.
- (psymtab_to_symtab_1): Skip dependencies that have a user.
- (load_partial_comp_unit_reader): Give meaning to the 'data'
- argument.
- (load_full_comp_unit): Add 'pretend_language' argument.
- (process_full_comp_unit): Add 'pretend_language' argument. Set
- language on CU.
- (process_imported_unit_die, read_file_scope, read_type_unit_scope):
- Update.
- (maybe_queue_comp_unit): Add 'pretend_language' argument.
- (follow_die_offset, follow_die_sig, read_signatured_type_reader):
- Update.
- (prepare_one_comp_unit): Add 'pretend_language' argument.
-
- * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef.
- (struct dwarf2_per_objfile) <just_read_cus>: New field.
- (struct dwarf2_per_cu_data) <imported_symtabs>: New field.
- (dw2_do_instantiate_symtab): Check whether symtab was read in
- before queueing.
- (dw2_instantiate_symtab): Add assertion. Call
- process_cu_includes.
- (process_psymtab_comp_unit): Compute 'dependencies' for psymtab.
- (partial_symtab_p): New typedef.
- (set_partial_user): New function.
- (dwarf2_build_psymtabs_hard): Use set_partial_user.
- (scan_partial_symbols): Add imported CU to imported_symtabs.
- (dwarf2_psymtab_to_symtab): Call process_cu_includes.
- (psymtab_to_symtab_1): Do nothing if psymtab is readin.
- (get_symtab, recursively_compute_inclusions)
- (compute_symtab_includes, process_cu_includes)
- (process_imported_unit_die): New functions.
- (process_die) <DW_TAG_imported_unit>: New case.
- (dwarf2_per_objfile_free): Free 'imported_symtabs'.
-
- * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update
- comment.
- (struct partial_die_info) <locdesc>: Remove.
- <d>: New field.
- (process_psymtab_comp_unit): Add 'read_partial' argument.
- Update.
- (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update.
- (scan_partial_symbols): Handle DW_TAG_imported_unit.
- (add_partial_symbol): Update.
- (process_die): Handle DW_TAG_partial_unit.
- (read_file_scope): Update comment.
- (load_partial_dies): Handle DW_TAG_imported_unit.
- (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import.
- (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit.
-
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * cc-with-dwz.sh: New file.
-
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * symtab.h (struct symtab) <includes, user>: New fields.
- * block.h (struct block_iterator) <d, idx, which>: New fields.
- * block.c (initialize_block_iterator, find_iterator_symtab)
- (block_iterator_step, block_iter_name_step)
- (block_iter_match_step): New functions.
- (block_iterator_first, block_iterator_next)
- (block_iter_name_first, block_iter_name_next)
- (block_iter_match_first, block_iter_match_next): Rewrite.
- (get_block_symtab): New function.
-
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * jv-lang.c (get_java_class_symtab): Use allocate_global_block,
- set_block_symtab.
- * jit.c (finalize_symtab): Use allocate_global_block,
- set_block_symtab.
- * buildsym.c (finish_block_internal): New function, from old
- finish_block.
- (finish_block): Rewrite.
- (end_symtab): Use finish_block_internal, set_block_symtab.
- * block.h (struct global_block): New.
- (allocate_global_block, set_block_symtab): Declare.
- * block.c (allocate_global_block, set_block_symtab): New
- functions.
+ * symtab.c (search_symbols): Introduce a null cleanup for
+ 'retval_chain'.
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * psymtab.c (partial_map_expand_apply): Add assertion.
- (partial_map_symtabs_matching_filename): Skip included psymtabs.
- (psymtab_to_symtab): Find unshared psymtab.
- (dump_psymtab): Print including psymtabs.
- (recursively_search_psymtabs): New function.
- (expand_symtabs_matching_via_partial): Use it.
- * psympriv.h (struct partial_symtab) <user, searched_flag>: New
- fields.
- (enum psymtab_search_status): New.
-
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * tracepoint.c (scope_info): Update.
- * symtab.c (lookup_block_symbol, iterate_over_symbols)
- (find_pc_sect_symtab, search_symbols)
- (default_make_symbol_completion_list_break_on)
- (make_file_symbol_completion_list): Update.
- * symmisc.c (dump_symtab_1): Update.
- * stack.c (print_frame_args, iterate_over_block_locals)
- (print_frame_labels, iterate_over_block_arg_vars): Update.
- * python/py-block.c (block_object) <dict>: Remove.
- <block>: New field.
- <iter>: Change type.
- (blpy_iter): Update.
- (blpy_block_syms_iternext): Update.
- * psymtab.c (map_block): Use block iterators.
- * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS.
- * mi/mi-cmd-stack.c (list_args_or_locals): Update.
- * mdebugread.c (parse_symbol, mylookup_symbol): Update.
- * infrun.c (check_exception_resume): Update.
- * cp-support.c (make_symbol_overload_list_block): Update.
- * coffread.c (patch_opaque_types): Update.
- * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS.
- * block.h (struct block_iterator): New.
- (block_iterator_first, block_iterator_next, block_iter_name_first)
- (block_iter_name_next, block_iter_match_first)
- (block_iter_match_next): Declare.
- (ALL_BLOCK_SYMBOLS): Redefine.
- * block.c (block_iterator_first, block_iterator_next)
- (block_iter_name_first, block_iter_name_next)
- (block_iter_match_first, block_iter_match_next): New functions.
- * ada-lang.c (ada_add_block_symbols)
- (ada_make_symbol_completion_list): Use block iterator.
-
-2012-05-10 Tom Tromey <tromey@redhat.com>
-
- * psymtab.c (PSYMTAB_TO_SYMTAB): Remove.
- (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs)
- (lookup_partial_symbol, find_last_source_symtab_from_partial)
- (read_psymtabs_with_filename, map_matching_symbols_psymtab)
- (expand_symtabs_matching_via_partial, maintenance_check_symtabs):
- Update.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-10 Joel Brobecker <brobecker@adacore.com>
+ * python/py-value.c (valpy_binop): Call do_cleanups before
+ exiting loop.
- * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c,
- print-file-var-lib2.c, print-file-var-main.c and
- print-file-var.exp (located in gdb/testsuite/gdb.base).
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-10 Joel Brobecker <brobecker@adacore.com>
+ * python/py-prettyprint.c (print_children): Remove extra
+ do_cleanups call.
- * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols,
- try locating the symbol in the symbol's own objfile first, before
- extending the search to all objfiles.
- * symtab.c (lookup_symbol_aux_objfile): New function, extracted
- out of lookup_symbol_aux_symtabs.
- (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile".
- Replace extracted-out code by call to lookup_symbol_aux_objfile.
- Do not search EXCLUDE_OBJFILE.
- (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs.
- (lookup_symbol_global): Search for matches in the block's objfile
- first, before searching all other objfiles.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-10 Tristan Gingold <gingold@adacore.com>
+ * python/py-frame.c (frapy_read_var): Call do_cleanups along
+ all return paths.
- * printcmd.c (set_command): Add pre/post inc/dec.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-09 Frank Ch. Eigler <fche@redhat.com>
+ * python/py-breakpoint.c (bppy_get_commands): Call do_cleanups
+ along all return paths.
- * gdb.1: Document -ex option.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-09 Joel Brobecker <brobecker@adacore.com>
+ * cli/cli-logging.c (set_logging_redirect): Unconditionally
+ call do_cleanups.
- * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling.
- * inferior.h (AT_SYMBOL): Delete.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-09 Joel Brobecker <brobecker@adacore.com>
+ * varobj.c (c_value_of_root): Call do_cleanups along all
+ return paths.
- * mips-tdep.c (mips_push_dummy_code): New function.
- (mips_gdbarch_init): Set the gdbarch call_dummy_location to
- ON_STACK and install mips_push_dummy_code as our gdbarch
- push_dummy_code routine.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-09 Pedro Alves <palves@redhat.com>
+ * tracepoint.c (trace_dump_command): Unconditionally call
+ do_cleanups.
- * target.c (set_maintenance_target_async_permitted): Rename to ...
- (set_target_async_command): ... this.
- (show_maintenance_target_async_permitted): Rename to ...
- (show_target_async_command): ... this.
- (initialize_targets): Adjust.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-08 Doug Evans <dje@google.com>
+ * breakpoint.c (output_thread_groups, parse_cmd_to_aexpr): Call
+ do_cleanups earlier.
- * go-exp.y (classify_name): Add missing assignment of fields of
- yylval.ssym.
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-08 Eli Zaretskii <eliz@gnu.org>
+ * machoread.c (macho_symfile_read): Assign first cleanup to
+ 'back_to'.
- Display the ">" prompt in interactive mode while reading canned
- commands, even when the current interpreter is MI.
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * interps.c (interp_set_temp): New function.
+ * m32r-rom.c (m32r_load): Call do_cleanups at all returns.
- * interps.h (interp_set_temp): Add prototype.
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * cli/cli-script.c (restore_interp): New cleanup function.
- (read_command_lines): Temporarily override the current interpreter
- with CLI and arrange for restoring the original one.
+ * mi/mi-main.c (list_available_thread_groups): Call do_cleanups.
-2012-05-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * microblaze-rom.c (_initialize_picobug_rom): Add prototype.
+ * inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
+ call discard_cleanups.
+ (inf_ptrace_attach): Likewise.
-2012-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * probe.c (parse_probes): Move conditional to check for
- debuginfo files from here...
- * stap-probe.c (stap_get_probes): ... to here.
+ * remote-mips.c (mips_exit_debug): Call do_cleanups on all
+ return paths.
+ (mips_initialize): Likewise.
+ (common_open): Call do_cleanups.
-2012-05-07 Mark Kettenis <kettenis@gnu.org>
- H.J. Lu <hongjiu.lu@intel.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * amd64-tdep.c (amd64_analyze_prologue): Additionally check for
- `movl %esp, %ebp' for the X32 ABI.
+ * utils.c (internal_vproblem): Call do_cleanups.
-2012-05-07 Tom Tromey <tromey@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * dwarf2read.c (dwarf_tag_name): Return const char *. Use
- get_DW_TAG_name.
- (dwarf_attr_name): Return const char *. Use get_DW_AT_name.
- (dwarf_form_name): Return const char *. Use get_DW_FORM_name.
- (dwarf_stack_op_name): Remove.
- (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name.
- (decode_locdesc): Use get_DW_OP_name.
- * dwarf2loc.c (unimplemented): Use get_DW_OP_name.
- (dwarf2_compile_expr_to_ax): Likewise.
- (disassemble_dwarf_expression): Likewise.
- * dwarf2expr.h: (dwarf_stack_op_name): Remove.
+ * linespec.c (find_linespec_symbols): Don't reassign to 'cleanup'.
-2012-05-07 Chung-Lin Tang <cltang@codesourcery.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h.
- (sh_linux_sigtramp_cache): New function.
- (sh_linux_sigreturn_init): New function.
- (sh_linux_rt_sigreturn_init): New function.
- (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction
- patterns.
- (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn
- syscall codes.
- (sh_linux_sigreturn_tramp_frame): New tramp_frame definition.
- (sh_linux_rt_sigreturn_tramp_frame): Likewise.
- (sh_linux_init_abi): Add init calls to register new tramp_frame
- definitions under 32-bit SH, update comments.
+ * cli/cli-script.c (setup_user_args): Don't return after error.
+
+2013-05-30 Tom Tromey <tromey@redhat.com>
-2012-05-07 Pedro Alves <palves@redhat.com>
+ * somread.c (som_symtab_read): Call do_cleanups.
- PR gdb/10952
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * amd64-linux-tdep.c: Include glibc-tdep.h.
- (amd64_linux_init_abi): Install glibc_skip_solib_resolver as
- gdbarch_skip_solib_resolver callback.
+ * printcmd.c (print_command_1): Unconditionally call do_cleanups.
-2012-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH
- back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "".
- (show_auto_load_safe_path): Check any-directory by comparison with "/".
- (add_auto_load_safe_path): Change the error message.
- (_initialize_auto_load): Change the "safe-path" help text.
- * configure: Regenerate
- * configure.ac (--without-auto-load-safe-path): Set
- WITH_AUTO_LOAD_SAFE_PATH to /.
+ * cli/cli-cmds.c (cd_command, alias_command): Call do_cleanups.
+ * cli/cli-dump.c (restore_binary_file): Call do_cleanups.
+ * interps.c (interpreter_exec_cmd): Call do_cleanups.
+ * source.c (show_substitute_path_command): Call do_cleanups.
+ (unset_substitute_path_command, set_substitute_path_command):
+ Likewise.
+ * symfile.c (load_command): Call do_cleanups.
-2012-05-05 Sergio Durigan Junior <sergiodj@redhat.com>
+2013-05-30 Tom Tromey <tromey@redhat.com>
- * stap-probe.h: Do not include unecessary `probe.h'.
+ * contrib/cleanup_check.py: New file.
+ * contrib/gcc-with-excheck: Add option parsing.
-2012-05-05 Alan Modra <amodra@gmail.com>
+2013-05-30 Joel Brobecker <brobecker@adacore.com>
- * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and
- bfd_und_section_ptr.
- * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr
- and bfd_com_section_ptr.
+ * windows-nat.c (windows_delete_thread): Add missing space
+ in cast expression.
-2012-05-04 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Hafiz Abid Qadeer <abidh@codesourcery.com>
- * MAINTAINERS (Past Maintainers): Add Chris Faylor.
+ * inferior.c (top level): Include tilde.h.
+ (add_inferior_command): Call tilde_expand on the value of 'exec'
+ argument.
-2012-05-04 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Pedro Alves <pedro@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- * windows-nat.h (segment_register_p_ftype): New typedef.
- (windows_set_segment_register_p): Add declaration.
- * windows-nat.c (segment_register_p): New static global.
- (windows_set_segment_register_p): New function.
- (do_windows_fetch_inferior_registers): Add special handling
- for segment registers.
- * amd64-windows-nat.c: #include "amd64-tdep.h".
- (amd64_windows_segment_register_p): New function.
- (_initialize_amd64_windows_nat): Call windows_set_segment_register_p.
- * i386-windows-nat.c: #include "i386-tdep.h".
- (i386_windows_segment_register_p): New function.
- (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
+ * tracepoint.c (encode_actions_1): Remove parameter 't'.
+ Caller update.
+ (encode_actions): Likewise.
+ * remote.c (remote_download_tracepoint): Caller update.
+ * tracepoint.h (encode_actions): Update declaration.
-2012-05-04 Tristan Gingold <gingold@adacore.com>
+2013-05-30 Pedro Alves <palves@redhat.com>
- * printcmd.c (set_command): Emit a warning if the expression is not
- an assignment.
+ * python/python-internal.h (gdb_Py_DECREF): Cast OP to PyObject
+ pointer.
-2012-05-03 Joel Brobecker <brobecker@adacore.com>
+2013-05-30 Yao Qi <yao@codesourcery.com>
- * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str):
- Make static.
+ * remote.c (remote_check_symbols): Remove unused parameter
+ 'objfile'.
+ Declaration update.
+ (remote_start_remote, remote_new_objfile): Caller update.
-2012-05-03 Sergio Durigan Junior <sergiodj@redhat.com>
+2013-05-30 Yao Qi <yao@codesourcery.com>
- * stap-probe.c (stap_is_operator): Change declaration.
- (stap_get_opcode): Change return value.
- (stap_parse_argument_1): Update calls to `stap_get_opcode' and
- `stap_parse_argument_1'.
+ * mi/mi-cmds.c (mi_cmds): Define MI command
+ '-exec-arguments' by macro DEF_MI_CMD_CLI_1 instead of
+ DEF_MI_CMD_CLI.
-2012-05-03 Pedro Alves <pedro@codesourcery.com>
+2013-05-29 Pedro Alves <palves@redhat.com>
- * infrun.c (displaced_step_fixup): Add "displaced:" prefix to
- debug log.
+ * remote.c (remote_insert_breakpoint, remote_remove_breakpoint)
+ (remote_insert_watchpoint, remote_remove_watchpoint)
+ (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
+ (remote_verify_memory, compare_sections_command)
+ (remote_search_memory): Set the general process/thread on the
+ remote side.
-2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
+2013-05-29 Pedro Alves <palves@redhat.com>
- Add two new methods global_block and static_block to gdb.Symtab
- objects.
- * NEWS (Python scripting): Add entry about the new methods.
- * python/py-symtab.c (stpy_global_block): New function which
- implements the gdb.Symtab.global_block() method.
- (stpy_static_block): New function which implements the
- gdb.Symtab.static_block() method.
- (symtab_object_methods): Add entries for the two new methods.
+ * aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
+ (_initialize_aarch64_tdep): Don't call
+ initialize_tdesc_aarch64_without_fpu.
+ * features/Makefile (WHICH): Remove reference to
+ aarch64-without-fpu.
+ * features/aarch64-without-fpu.c: Delete file.
+ * regformats/aarch64-without-fpu.dat: Delete file.
-2012-05-03 Doug Evans <dje@google.com>
+2013-05-28 Yao Qi <yao@codesourcery.com>
- * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no
- files.
+ * tracepoint.c (stringify_collection_list): Remove parameter
+ 'string'.
+ (encode_actions): Caller update. Remove local variables.
-2012-05-03 Yao Qi <yao@codesourcery.com>
+2013-05-24 Yao Qi <yao@codesourcery.com>
- * i386-tdep.c (i386_fetch_pointer_argument): Remove extra
- space.
- (i386_process_record): Ditto.
+ * tracepoint.c (TFILE_PID): Remove.
+ (tfile_open): Don't add thread and inferior.
+ (tfile_close): Don't set 'inferior_ptid'. Don't call
+ exit_inferior_silent.
+ (tfile_thread_alive): Remove.
+ (init_tfile_ops): Don't set field 'to_thread_alive' of
+ tfile_ops.
-2012-05-02 Joel Brobecker <brobecker@adacore.com>
+2013-05-23 Doug Evans <dje@google.com>
- * infcall.c (unwind_on_signal_p): Make static.
+ * contrib/cc-with-tweaks.sh (-p): Handle no dwo files.
-2012-05-02 Joel Brobecker <brobecker@adacore.com>
+2013-05-23 Pedro Alves <palves@redhat.com>
- * sol-thread.c (solaris_pid_to_str): Make static.
- (_initialize_sol_thread): Add prototype.
+ * common/filestuff.c [USE_WIN32API]: Define HAVE_SOCKETS.
+ [HAVE_SYS_SOCKET_H]: Define HAVE_SOCKETS.
+ (socket_mark_cloexec, gdb_socketpair_cloexec, gdb_socket_cloexec):
+ Only define if HAVE_SOCKETS is defined.
+ * configure.ac: Check for sys/socket.h.
+ * config.in, configure: Regenerate.
-2012-05-02 Joel Brobecker <brobecker@adacore.com>
+2013-05-23 Pedro Alves <palves@redhat.com>
- * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
+ * dwarf2read.c (create_dwp_hash_table, create_dwo_in_dwp)
+ (open_and_init_dwp_file): Use %s/pulongest instead of %u for
+ printing uint32_t variables.
-2012-05-02 Christopher Faylor <me.cygwin2012@cgf.cx>
+2013-05-23 Pedro Alves <palves@redhat.com>
- * MAINTAINERS: Remove myself.
+ * NEWS: Mention GDBserver range stepping support.
-2012-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-05-23 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
- Fix --without-auto-load-safe-path for MS-Windows host platform.
- * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
+ * gdbthread.h (struct thread_control_state) <may_range_step>: New
+ field.
+ * infcmd.c (step_once, until_next_command): Enable range stepping.
+ * infrun.c (displaced_step_prepare): Disable range stepping.
+ (resume): Disable range stepping if stepping over a breakpoint or
+ we have software watchpoints. If range stepping is enabled,
+ assert the thread is in the stepping range.
+ (clear_proceed_status_thread): Clear may_range_step.
+ (handle_inferior_event): Disable range stepping as soon as we know
+ the thread that hit the event. Re-enable it whenever we're going
+ to step with a step range.
+ * remote.c (struct vCont_action_support) <r>: New field.
+ (use_range_stepping): New global.
+ (remote_vcont_probe): Handle 'r' action.
+ (append_resumption): Append an 'r' action if the thread may range
+ step.
+ (show_range_stepping): New function.
+ (set_range_stepping): New function.
+ (_initialize_remote): Call add_setshow_boolean_cmd to register the
+ 'set range-stepping' and 'show range-stepping' commands.
+ * NEWS: Mention range stepping, the new vCont;r action, and the
+ new "set/show range-stepping" commands.
+
+2013-05-23 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
-2012-05-02 Eli Zaretskii <eliz@gnu.org>
+ * remote.c (struct vCont_action_support): New struct.
+ (struct remote_state) <support_vCont_t>: Remove field.
+ <vCont_actions_support>: New field.
+ (remote_vcont_probe, remote_stop_ns): Update.
- * gdb_curses.h: Undefine KEY_EVENT before including curses
- headers. Move "#undef MOUSE_MOVED" before any curses header
- inclusion.
+2013-05-23 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (pc_in_thread_step_range): New declaration.
+ * thread.c (pc_in_thread_step_range): New function.
+ * infrun.c (handle_inferior_event): Use it.
+
+2013-05-23 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead
+ of sprintf.
+
+2013-05-22 Keith Seitz <keiths@redhat.com>
+
+ * ada-lang.c (is_known_support_routine): Add explicit free of
+ 'func_name' from find_frame_funname.
+ (ada_unhandled_exception_name_addr_from_raise): Add cleanups
+ for func_name from find_frame_funname.
+ * python/py-frame.c (frapy_name): Add explicit free of
+ 'name' from find_frame_funname.
+ * stack.c (find_frame_funname): Add comment explaining that
+ funcp must be freed by the caller.
+ Return copy of symbol names instead of pointers.
+ (print_frame): Add a cleanup for 'funname' from
+ find_frame_funname.
+ * stack.h (find_frame_funname): Remove "const" from
+ 'funname' parameter.
+
+2013-05-22 Tom Tromey <tromey@redhat.com>
+
+ PR c++/15401:
+ * c-valprint.c (c_value_print): Use value_addr for
+ references. Convert back to reference type with value_ref.
+
+2013-05-22 Eli Zaretskii <eliz@gnu.org>
+
+ * windows-nat.c (handle_unload_dll): Don't call solib_add for the
+ unloaded DLL, it will be done by handle_solib_event. See
+ http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the
+ details.
+
+2013-05-22 Phil Muldoon <pmuldoon@redhat.com>
+
+ * ui-out.c: Create typedef ui_out_level_p and define vector
+ operations for that type.
+ (struct ui_out): Use a vector instead of an array.
+ (current_level): Return level from a vector.
+ (push_level): Create a level in a vector.
+ (pop_level): Delete a level in a vector.
+ (ui_out_new): Create initial level zero level, and store in a
+ vector.
+ (ui_out_destroy): Add vector cleanup.
+
+2013-05-22 Pedro Alves <palves@redhat.com>
+
+ * python/python-internal.h (gdb_Py_DECREF): Tag with
+ "ARI: editCase function".
+
+2013-05-21 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * solib-svr4.c (svr4_free_so): Protect against NULL dereference.
+
+2013-05-21 Pedro Alves <palves@redhat.com>
+
+ * python/py-prettyprint.c (apply_val_pretty_printer): Check
+ whether PRINTER is NULL before installing a Py_DECREF cleanup.
+ * python/py-utils.c (py_decref): Don't check for NULL before
+ calling Py_DECREF.
+
+2013-05-21 Pedro Alves <palves@redhat.com>
+
+ * python/py-utils.c (py_decref): Remove extra braces.
+ (gdb_pymodule_addobject): Remove extra braces.
+ * python-internal.h (gdb_Py_DECREF): New static inline function.
+ (Py_DECREF): Redefine as calling gdb_Py_DECREF.
+
+2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * breakpoints.c (detach_breakpoints): Do not
+ detach breakpoints locations with loc_type bp_loc_other.
+
+2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Workaround Python 2.6.
+ * python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into
+ a block.
+
+2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup: constification.
+ * solib.c (solib_ops): Make return type and ops variable type const.
+ (set_solib_ops): Make the new_ops parameter and ops variable const.
+ (solib_find, solib_map_sections, clear_so, free_so, update_solib_list)
+ (solib_add, solib_keep_data_in_core, clear_solib)
+ (solib_create_inferior_hook, in_solib_dynsym_resolve_code)
+ (reload_shared_libraries, solib_global_lookup): Make the ops variable
+ const.
+ * solib.h (set_solib_ops): Make the new_ops parameter const.
-2012-05-02 Sergio Durigan Junior <sergiodj@gmail.com>
-
- * features/i386/i386-mmx-linux.c: Regenerate.
- * features/rs6000/powerpc-32.c: Likewise.
- * features/rs6000/powerpc-32l.c: Likewise.
- * features/rs6000/powerpc-403.c: Likewise.
- * features/rs6000/powerpc-403gc.c: Likewise.
- * features/rs6000/powerpc-405.c: Likewise.
- * features/rs6000/powerpc-505.c: Likewise.
- * features/rs6000/powerpc-601.c: Likewise.
- * features/rs6000/powerpc-602.c: Likewise.
- * features/rs6000/powerpc-603.c: Likewise.
- * features/rs6000/powerpc-604.c: Likewise.
- * features/rs6000/powerpc-64.c: Likewise.
- * features/rs6000/powerpc-64l.c: Likewise.
- * features/rs6000/powerpc-750.c: Likewise.
- * features/rs6000/powerpc-860.c: Likewise.
- * features/rs6000/powerpc-e500.c: Likewise.
- * features/rs6000/powerpc-e500l.c: Likewise.
- * features/rs6000/powerpc-isa205-32l.c: Likewise.
- * features/rs6000/powerpc-isa205-64l.c: Likewise.
- * features/rs6000/rs6000.c: Likewise.
-
-2012-05-02 Sergio Durigan Junior <sergiodj@gmail.com>
-
- * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused
+2013-05-21 Joel Brobecker <brobecker@adacore.com>
+
+ * data-directory/Makefile.in (SYSTEM_GDBINIT_SRCDIR): New
variable.
- * stap-probe.c (stap_parse_single_operand) <reg_suffix,
- reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise.
- (stap_parse_argument) <e>: Likewise.
- (handle_stap_probe) <byte_order>: Likewise.
+ (VPATH): Add SYSTEM_GDBINIT_SRCDIR.
+ (SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_INSTALL_DIR)
+ (SYSTEM_GDBINIT_FILES): New variables.
+ (all): Add stamp-system-gdbinit.
+ (stamp-system-gdbinit): New rule.
+ (clean-system-gdbinit, install-system-gdbinit)
+ (uninstall-system-gdbinit): New rules. Make them .PHONY.
+ (install-only): Add dependency on install-system-gdbinit.
+ (uninstall): Add dependency on uninstall-system-gdbinit.
+ (clean): Add dependency on clean-system-gdbinit.
+ * system-gdbinit/elinos.py: New file.
+ * system-gdbinit/wrs-linux.py: New file.
+
+2013-05-21 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (old_renaming_is_invisible): Fix cleanup leak.
+
+2013-05-21 Hui Zhu <hui@codesourcery.com>
+
+ * breakpoint.c (dprintf_breakpoint_ops): Remove its static.
+ * breakpoint.h (dprintf_breakpoint_ops): Add extern.
+ * mi/mi-cmd-break.c (ctype.h): New include.
+ (gdb_obstack.h): New include.
+ (mi_argv_to_format, mi_cmd_break_insert_1): New.
+ (mi_cmd_break_insert): Call mi_cmd_break_insert_1.
+ (mi_cmd_dprintf_insert): New.
+ * mi/mi-cmds.c (mi_cmds): Add "dprintf-insert".
+ * mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-prettyprint.c (search_pp_list): Decref 'attr'.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-value.c (valpy_get_dynamic_type): Simplify
+ dynamic_type assignment. Use Py_XINCREF.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-type.c (typy_fields): Unconditionally decref 'r'.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame)
+ (gdbpy_selected_frame): Move object-construction code
+ out of TRY_CATCH.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (gdbpy_initialize_arch): Use
+ gdb_pymodule_addobject.
+ * python/py-block.c (gdbpy_initialize_blocks): Use
+ gdb_pymodule_addobject.
+ * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use
+ gdb_pymodule_addobject.
+ * python/py-cmd.c (gdbpy_initialize_breakpoints): Use
+ gdb_pymodule_addobject.
+ * python/py-event.c (gdbpy_initialize_event_generic): Use
+ gdb_pymodule_addobject.
+ * python/py-evtregistry.c (gdbpy_initialize_eventregistry): Use
+ gdb_pymodule_addobject.
+ * python/py-evts.c (add_new_registry): Use
+ gdb_pymodule_addobject.
+ (gdbpy_initialize_py_events): Likewise.
+ * python/py-finishbreakpoint.c
+ (gdbpy_initialize_finishbreakpoints): Use
+ gdb_pymodule_addobject.
+ * python/py-frame.c (gdbpy_initialize_frames): Use
+ gdb_pymodule_addobject.
+ * python/py-function.c (gdbpy_initialize_functions): Use
+ gdb_pymodule_addobject.
+ * python/py-inferior.c (gdbpy_initialize_inferior): Use
+ gdb_pymodule_addobject.
+ * python/py-infthread.c (gdbpy_initialize_thread): Use
+ gdb_pymodule_addobject.
+ * python/py-objfile.c (gdbpy_initialize_objfile): Use
+ gdb_pymodule_addobject.
+ * python/py-param.c (gdbpy_initialize_parameters): Use
+ gdb_pymodule_addobject.
+ * python/py-progspace.c (gdbpy_initialize_pspace): Use
+ gdb_pymodule_addobject.
+ * python/py-symbol.c (gdbpy_initialize_symbols): Use
+ gdb_pymodule_addobject.
+ * python/py-symtab.c (gdbpy_initialize_symtabs): Use
+ gdb_pymodule_addobject.
+ * python/py-type.c (gdbpy_initialize_types): Use
+ gdb_pymodule_addobject.
+ * python/py-utils.c (gdb_pymodule_addobject): New function.
+ * python/py-value.c (gdbpy_initialize_values): Use
+ gdb_pymodule_addobject.
+ * python/python-internal.h (gdb_pymodule_addobject): Declare.
+ * python/python.c (_initialize_python): Use
+ gdb_pymodule_addobject.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-cmd.c (cmdpy_completer): Use explicit decref.
+ * python/py-param.c (get_set_value, get_show_value): Use
+ explicit decrefs.
+ * python/python.c (start_type_printers, apply_type_printers):
+ Use explicit decrefs.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-evts.c (gdbpy_initialize_py_events): Don't
+ incref the module.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_run_events): Decref the result
+ of PyObject_CallObject.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-symtab.c (set_sal): Use
+ CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. Return -1 on error.
+ (symtab_and_line_to_sal_object): Update.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-param.c (compute_enum_values): Decref 'item'.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * mi/mi-main.c: Include python-internal.h.
+ (mi_cmd_list_features): Check gdb_python_initialized.
+ * python/py-inferior.c (python_on_normal_stop, python_on_resume)
+ (python_inferior_exit, python_new_objfile, add_thread_object)
+ (delete_thread_object, py_free_inferior): Check
+ gdb_python_initialized.
+ * python/py-prettyprint.c (apply_val_pretty_printer): Check
+ gdb_python_initialized.
+ * python/py-type.c (save_objfile_types): Check
+ gdb_python_initialized.
+ * python/python-internal.h (gdb_python_initialized): Declare.
+ * python/python.c (ensure_python_env): Throw exception if
+ Python not initialized.
+ (before_prompt_hook, source_python_script_for_objfile)
+ (start_type_printers, apply_type_printers,
+ free_type_printers): Check gdb_python_initialized.
+ * varobj.c (varobj_get_display_hint)
+ (dynamic_varobj_has_child_method, update_dynamic_varobj_children)
+ (install_new_value_visualizer, varobj_set_visualizer)
+ (value_get_print_value): Check gdb_python_initialized.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (gdbpy_initialize_arch): Return 'int'.
+ Check errors.
+ * python/py-auto-load.c (gdbpy_initialize_auto_load): Return 'int'.
+ * python/py-block.c (gdbpy_initialize_blocks): Return 'int'.
+ Check errors.
+ * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Return 'int'.
+ Check errors.
+ * python/py-cmd.c (gdbpy_initialize_commands): Return 'int'.
+ Check errors.
+ * python/py-event.c (gdbpy_initialize_event): Return 'int'.
+ Check errors.
+ * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Change generated
+ init function to return 'int'.
+ * python/py-evtregistry.c (gdbpy_initialize_eventregistry):
+ Return 'int'. Check errors.
+ * python/py-evts.c (gdbpy_initialize_py_events): Return 'int'.
+ Check errors.
+ * python/py-finishbreakpoint.c (gdbpy_initialize_finishbreakpoints):
+ Return 'int'. Check errors.
+ * python/py-frame.c (gdbpy_initialize_frames): Return 'int'.
+ Check errors.
+ * python/py-function.c (gdbpy_initialize_functions): Return 'int'.
+ Check errors.
+ * python/py-gdb-readline.c (gdbpy_initialize_gdb_readline):
+ Check errors.
+ * python/py-inferior.c (gdbpy_initialize_inferior): Return 'int'.
+ Check errors.
+ * python/py-infthread.c (gdbpy_initialize_thread): Return 'int'.
+ Check errors.
+ * python/py-lazy-string.c (gdbpy_initialize_lazy_string): Return 'int'.
+ Check errors.
+ * python/py-objfile.c (gdbpy_initialize_objfile): Return 'int'.
+ Check errors.
+ * python/py-param.c (gdbpy_initialize_parameters): Return 'int'.
+ Check errors.
+ * python/py-progspace.c (gdbpy_initialize_pspace): Return 'int'.
+ Check errors.
+ * python/py-symbol.c (gdbpy_initialize_symbols): Return 'int'.
+ Check errors.
+ * python/py-symtab.c (gdbpy_initialize_symtabs): Return 'int'.
+ Check errors.
+ * python/py-type.c (gdbpy_initialize_types): Return 'int'.
+ Check errors.
+ * python/py-value.c (gdbpy_initialize_values): Return 'int'.
+ Check errors.
+ * python/python-internal.h (gdbpy_initialize_auto_load,
+ gdbpy_initialize_values, gdbpy_initialize_frames,
+ gdbpy_initialize_symtabs, gdbpy_initialize_commands,
+ gdbpy_initialize_symbols, gdbpy_initialize_symtabs,
+ gdbpy_initialize_blocks, gdbpy_initialize_types,
+ gdbpy_initialize_functions, gdbpy_initialize_pspace,
+ gdbpy_initialize_objfile, gdbpy_initialize_breakpoints,
+ gdbpy_initialize_finishbreakpoints,
+ gdbpy_initialize_lazy_string, gdbpy_initialize_parameters,
+ gdbpy_initialize_thread, gdbpy_initialize_inferior,
+ gdbpy_initialize_eventregistry, gdbpy_initialize_event,
+ gdbpy_initialize_py_events, gdbpy_initialize_stop_event,
+ gdbpy_initialize_signal_event,
+ gdbpy_initialize_breakpoint_event,
+ gdbpy_initialize_continue_event,
+ gdbpy_initialize_exited_event, gdbpy_initialize_thread_event,
+ gdbpy_initialize_new_objfile_event, gdbpy_initialize_arch):
+ Update. Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+ * python/python.c (gdb_python_initialized): New global.
+ (gdbpy_initialize_events): Return 'int'. Check errors.
+ (_initialize_python): Check errors. Set
+ gdb_python_initialized.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope):
+ Decref the reslut of PyObject_CallMethod.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-event.c (gdbpy_initialize_event_generic): Return
+ early if PyType_Ready fails.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-type.c (make_fielditem): Add gdb_assert_not_reached
+ as 'default' in the switch.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-inferior.c (gdbpy_inferiors): Update. Hoist
+ get_addr_from_python calls out of TRY_CATCH.
+ (infpy_write_memory, infpy_search_memory): Likewise.
+ * python/py-utils.c (get_addr_from_python): Return negative
+ value on error. Use TRY_CATCH.
+ * python/python-internal.h (get_addr_from_python): Use
+ CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-event.c (evpy_emit_event): Decref the
+ result of PyObject_CallFunctionObjArgs.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-cmd.c (cmdpy_completer): Use iterator protocol.
+ Correctly decref.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-event.h (gdbpy_initialize_event_generic): Use
+ CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+ * python/py-evts.c (add_new_registry): Use
+ CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+ * python/python-internal.h
+ (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (archpy_disassemble): Update.
+ * python/py-type.c (typy_get_composite, typy_lookup_typename)
+ (typy_lookup_type): Use GDB_PY_HANDLE_EXCEPTION.
+ * python/py-utils.c (gdbpy_convert_exception): Return 'void'.
+ * python/python-internal.h (CPYCHECKER_SETS_EXCEPTION): New
+ macro.
+ (GDB_PY_HANDLE_EXCEPTION): Update.
+ (gdbpy_convert_exception): Update. Use CPYCHECKER_SETS_EXCEPTION.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/python-internal.h (events_object_type): Remove.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-event.h (evpy_emit_event): Use
+ CPYCHECKER_STEALS_REFERENCE_TO_ARG.
+ * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
+ New macro.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * py-evtregistry.c (create_event_object): Decref
+ eventregistry_object if PyList_New fails.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * py-cmd.c (gdbpy_string_to_argv): Check result of
+ PyList_New.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (before_prompt_hook): Add cleanup to
+ decref 'hook'.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-function.c (fnpy_init): Decref result of
+ PyObject_GetAttrString.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-threadevent.c (get_event_thread): Use
+ CPYCHECKER_RETURNS_BORROWED_REF.
+ * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
+ New define.
+ (pspace_to_pspace_object, objfile_to_objfile_object)
+ (find_thread_object): Use it.
+
+2013-05-20 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (arch_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-block.c (block_syms_iterator_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-bpevent.c (breakpoint_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-cmd.c (cmdpy_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-continueevent.c (continue_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-event.h (GDBPY_NEW_EVENT_TYPE):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-events.h (thread_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-evtregistry.c (eventregistry_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-exitedevent.c (exited_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-finishbreakpoint.c (finish_breakpoint_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-function.c (fnpy_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-inferior.c (inferior_object_type, membuf_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-infthread.c (thread_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-lazy-string.c (lazy_string_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-newobjfileevent.c (new_objfile_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-objfile.c (objfile_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-param.c (parmpy_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-progspace.c (pspace_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-signalevent.c (signal_event_object_type):
+ Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-symtab.c (symtab_object_type, sal_object_type): Use
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-type.c (type_object_type, field_object_type)
+ (type_iterator_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+ * python/py-internal.h (CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF): New
+ define.
+ (value_object_type, block_object_type, symbol_object_type)
+ (event_object_type, stop_event_object_type, breakpoint_object_type)
+ (frame_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+
+2013-05-20 Andreas Tobler <andreas@fgznet.ch>
+
+ * Makefile.in (ALL_TARGET_OBS): Add ppcfbsd-tdep.o.
+ (ALLDEPFILES): Add ppcfbsd-nat.c and ppcfbsd-tdep.c.
+
+2013-05-20 Doug Evans <dje@google.com>
+
+ When reading CU, stay in DWO. Be more tolerent of bad debug info.
+ For Fission.
+ * dwarf2read.c (struct dwarf2_per_cu_data): New member
+ reading_dwo_directly.
+ (struct signatured_type): New member dwo_unit.
+ (struct die_reader_specs): New member comp_dir.
+ (create_signatured_type_table_from_index): Use malloc for
+ all_type_units instead of objfile's obstack.
+ (create_all_type_units): Ditto.
+ (fill_in_sig_entry_from_dwo_entry): New function.
+ (add_type_unit): New function.
+ (lookup_dwo_signatured_type): New function.
+ (lookup_dwp_signatured_type): New function.
+ (lookup_signatured_type): New arg cu. All callers updated.
+ (init_cu_die_reader): Initialize comp_dir.
+ (read_cutu_die_from_dwo): New arg stub_comp_dir. All callers updated.
+ Change assert of matching type signatures to call error on mismatch.
+ (lookup_dwo_unit): Add assert.
+ (init_tu_and_read_dwo_dies): New function.
+ (init_cutu_and_read_dies): Call it.
+ (build_type_unit_groups): Handle case of no type unit groups created.
+ (hash_dwo_file, eq_dwo_file): Handle missing comp_dir.
+ (lookup_dwo_cutu): Tweak complaint.
+ (dwarf2_free_abbrev_table): Check for NULL abbrev_table.
+ (dwarf2_per_objfile_free): Free all_type_units.
+
+2013-05-20 Joel Brobecker <brobecker@adacore.com>
+
+ * windows-nat.c (handle_unload_dll): Add missing empty line.
+
+2013-05-20 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (prototyped_function_p): New function.
+ (read_subroutine_type): Use it.
+
+2013-05-20 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-aix-tdep.c: De-indent some example code provided
+ as a comment.
+
+2013-05-17 Edjunior Machado <emachado@linux.vnet.ibm.com>
+
+ * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Check if the
+ region is ok for a hardware watchpoint using the new ptrace interface
+ on Power servers.
+
+2013-05-17 Doug Evans <dje@google.com>
+
+ * NEWS: Mention new maintenance commands check-symtabs, and
+ expand-symtabs, and renamed check-psymtabs.
+ * psymtab.c (maintenance_check_psymtabs): Renamed from
+ maintenance_check_symtabs. Only process already-expanded symbol
+ tables.
+ (_initialize_psymtab): Update.
+ * symmisc.c (maintenance_check_symtabs): New function.
+ (maintenance_expand_name_matcher): New function
+ (maintenance_expand_file_matcher): New function
+ (maintenance_expand_symtabs): New function.
+ (_initialize_symmisc): Add "mt check-symtabs" and "mt expand-symtabs"
+ commands.
+
+2013-05-17 Tom Tromey <tromey@redhat.com>
+
+ * python/py-inferior.c (infpy_read_memory): Don't call
+ PyErr_SetString if PyObject_New fails.
+ * python/py-frame.c (frame_info_to_frame_object): Don't call
+ PyErr_SetString if PyObject_New fails.
+
+2013-05-17 Pavel Chupin <pavel.v.chupin@intel.com>
+
+ * acinclude.m4: Add check for dlopen in libdl.
+ * configure.ac: Ditto.
+ * configure: Regenerate.
-2012-04-30 Doug Evans <dje@google.com>
+2013-05-17 Phil Muldoon <pmuldoon@redhat.com>
+
+ * frame.c (frame_stash): Convert to htab.
+ (frame_addr_hash): New function.
+ (frame_addr_hash_eq): New function.
+ (frame_stash_create): Convert function to create
+ a hash table.
+ (frame_stash_add): Convert function to add an entry to a hash
+ table.
+ (frame_stash_find): Convert function to search the hash table.
+ (frame_stash_invalidate): Convert function to empty the hash
+ table.
+ (get_frame_id): Only add to stash if a frame_id is created.
+ (_initialize_frame): Call frame_stash_create.
+
+2013-05-16 Yue Lu <hacklu.newborn@gmail.com> (tiny change)
+
+ * configure.ac: Ensure MIG is available when building for GNU Hurd
+ hosts.
+ * configure: Regenerate.
- * dwarf2read.c (init_cutu_and_read_dies): Renamed from
- init_and_read_dies_worker. All callers updated.
- (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls
- replaced with init_cutu_and_read_dies.
- (load_partial_comp_unit): Pass 1 for use_existing_cu.
- (find_partial_die): Remove FIXME. Don't free current CU.
+2013-05-16 Joel Brobecker <brobecker@adacore.com>
-2012-04-30 Sterling Augustine <saugustine@google.com>
+ * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
- * contrib: New directory.
- * contrib/test_pubnames_and_indexes.py: New file.
+2013-05-16 Joel Brobecker <brobecker@adacore.com>
-2012-04-30 Doug Evans <dje@google.com>
+ * ada-lang.c (ada_make_symbol_completion_list): Make sure
+ all cleanups are done before returning from this function.
- * dwarf2read.c (dwarf_decode_macros): New arg section_name.
- All callers updated.
- (init_cu_die_reader): Verify the section is non-empty.
- (dwarf_decode_line_header): Don't dereference section->asection
- until we know the section is present.
-
-2012-04-29 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * tracepoint.c (start_tracing, stop_tracing): Checking for NULL
- probes.
-
-2012-04-29 Yao Qi <yao@codesourcery.com>
-
- * gdb-code-style.el: New hook gdb-markup-hook
- and gdb-comment-hook.
-
-2012-04-28 Doug Evans <dje@google.com>
-
- Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission
- * symfile.c (default_symfile_relocate): Use sectp->owner instead of
- objfile->obfd.
- * symfile.h (dwarf2_debug_sections): New member addr.
- * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index.
- (ctx_no_get_addr_index): New function.
- * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index.
- (ctx_no_get_addr_index): Declare.
- * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update.
- * dwarf2loc.c (dwarf_expr_get_addr_index): New function.
- (dwarf_expr_ctx_funcs): Update.
- (needs_get_addr_index): New function.
- (needs_frame_ctx_funcs): Update.
- * dwarf2loc.h (dwarf2_read_addr_index): Declare.
- * dwarf2read.c: #include "gdbcore.h".
- (dwarf2_per_objfile): New members addr, dwo_files.
- (dwarf2_elf_names): Add entry for addr.
- (struct dwo_section_names): New type.
- (dwo_section_names): New static global.
- (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base.
- (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of
- old debug_types_section member updated to use this.
- Rename member debug_types_section to info_or_types_section,
- all uses updated.
- (signatured_type): Rename member type_offset to type_offset_in_tu,
- all uses updated. New member type_offset_in_section.
- (struct dwo_sections): New type.
- (struct dwo_unit): New type.
- (struct dwo_file): New type.
- (die_reader_specs): New member dwo_file.
- (dwarf2_locate_sections): Watch for .debug_addr.
- (zlib_decompress_section): Use sectp->owner instead of objfile->obfd.
- (dwarf2_read_section): Get bfd of section from bfd's asection,
- instead of objfile.
- (create_cus_from_index): Initialize the_cu->info_or_types_section.
- (create_signatured_type_table_from_index): Initialize
- sig_type->info_or_types_section.
- (dw2_get_file_names): Statement lists for type units with DWO files
- live in the DWO file.
- (create_debug_types_hash_table): New function.
- (create_all_type_units): Rewrite.
- (init_cu_die_reader): New arg dwo_file, all callers updated.
- (init_and_read_dies_worker): Get section from
- this_cu->info_or_types_section. Set sig_type->type_offset_in_section.
- Watch for DW_AT_GNU_dwo_name and if present lookup the file and
- continue reading the CU/TU from there.
- (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers
- updated. Get section from this_cu->info_or_types_section.
- (create_all_comp_units): Initialize this_cu->info_or_types_section.
- (skip_one_die): New cases DW_FORM_GNU_addr_index,
- DW_FORM_GNU_str_index.
- (hash_dwo_file, eq_dwo_file): New functions.
- (allocate_dwo_file_hash_table): New function.
- (hash_dwo_unit, eq_dwo_unit): New functions.
- (allocate_dwo_unit_table): New function.
- (dwarf2_locate_dwo_sections): New function.
- (struct create_dwo_info_table_data): New type.
- (create_debug_info_hash_table_reader): New function.
- (create_debug_info_hash_table): New function.
- (try_open_dwo_file, open_dwo_file, init_dwo_file): New function.
- (lookup_dwo_file): New function.
- (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions.
- (free_dwo_file, free_dwo_file_cleanup): New functions.
- (free_dwo_file_from_slot, free_dwo_files): New functions.
- (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index.
- (dwarf2_record_block_ranges): Ditto.
- (read_partial_die): Ditto.
- (process_enumeration_scope): Update to use type_offset_in_section.
- (read_full_die_1): New function.
- (read_full_die): Rewrite.
- (read_attribute_value): New cases DW_FORM_GNU_addr_index,
- DW_FORM_GNU_str_index.
- (read_addr_index_1, read_addr_index): New functions.
- (read_addr_index_from_leb128): New function.
- (struct dwarf2_read_addr_index_data): New type.
- (dwarf2_read_addr_index_reader): New function.
- (dwarf2_read_addr_index): New function.
- (read_str_index): New function.
- (leb128_size): New function.
- (dwarf_decode_line_header): Delete arg abfd, all callers updated.
- If processing a type unit from a DWO file, get the line section
- from the DWO file.
- (var_decode_location): Watch for DW_OP_GNU_addr_index.
- (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index,
- DW_FORM_GNU_str_index.
- (lookup_die_type): Check whether section offset of type's die is
- known before looking it up. Remove assert. Condition can
- legimately happen for inter-cu type references.
- (dwarf_attr_name): Handle Fission attributes.
- (dwarf_form_name): Handle Fission forms.
- (dump_die_shallow): New cases DW_FORM_GNU_addr_index,
- DW_FORM_GNU_str_index.
- (follow_die_sig): Update to use type_offset_in_section.
- (decode_locdesc): New case DW_OP_GNU_addr_index.
- (skip_form_bytes): New cases DW_FORM_GNU_addr_index,
- DW_FORM_GNU_str_index.
- (cu_debug_loc_section): New function.
- (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it.
- (dwarf2_per_objfile_free): Unmap .debug_addr section.
- Free DWO files if present.
- * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr.
-
- Refactor DIE reading.
- * dwarf2read.c (dwarf2_per_objfile): Replace members
- debug_info_type_hash and debug_types_type_hash with die_type_hash.
- (die_reader_specs): New member "die_section". Temporarily make
- member "buffer" non-const, pending constifying all info_ptr uses.
- (die_reader_func_ftype): New typedef.
- (dw2_get_file_names_reader): New function.
- (dw2_get_file_names): Rewrite.
- (read_and_check_type_unit_head): Rename arg type_offset to
- type_offset_in_tu.
- (create_all_type_units): Improve debugging message.
- Improve dummy type unit check.
- (init_cu_die_reader): New arg "section". All callers updated.
- (init_and_read_dies_worker): New function.
- (init_cu_and_read_dies, init_tu_and_read_dies): New functions.
- (init_cutu_and_read_dies_no_follow): New function.
- (init_cutu_and_read_dies_simple): New function.
- (process_psymtab_comp_unit_reader): New function.
- (process_psymtab_comp_unit): Delete args section,
- is_debug_types_section. Rewrite. All callers updated.
- (process_psymtab_type_unit): Renamed from process_type_comp_unit.
- All callers updated. Rewrite.
- (load_partial_comp_unit_reader): New function.
- (load_partial_comp_unit): Rewrite.
- (skip_children): New arg reader. Delete args buffer, cu.
- All callers updated.
- (skip_one_die): New arg reader. Delete args buffer, cu.
- All callers updated.
- (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu.
- All callers updated.
- (load_full_comp_unit_reader): New function.
- (load_full_comp_unit): Rewrite.
- (read_comp_unit): Delete.
- (read_die_and_children_1): Delete, contents moved ...
- (read_die_and_children): ... here.
- (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated.
- (load_partial_dies): New arg reader. Delete args abfd, buffer, cu.
- All callers updated.
- (read_partial_die): New arg reader. Delete args abfd, buffer, cu.
- All callers updated.
- (find_partial_die): Rewrite load_all_dies support.
- (read_attribute_value): New arg reader. Delete args abfd, cu.
- All callers updated.
- (read_attribute): New arg reader. Delete args abfd, cu.
- All callers updated.
- (load_full_type_unit): Add assert.
- (read_signatured_type_reader): New function.
- (read_signatured_type): Rewrite.
- (free_stack_comp_unit): Remove call to age_cached_comp_units.
- (free_one_cached_comp_unit): Change target_cu arg to target_per_cu.
- All callers updated. Set per_cu->cu = NULL after freeing it.
- (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type.
- (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash.
- (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq.
- (set_die_type): Update.
- (get_die_type_at_offset): Update.
- (read_file_scope): Call prepare_one_comp_unit.
- (read_type_unit_scope): Ditto.
- (prepare_one_comp_unit): Set producer if present.
-
-2012-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * probe.c (compile_rx_or_error): Silence ARI warning about missing
- gettext function on `error'.
-
-2012-04-27 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table
- is empty.
-
-2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
- Tom Tromey <tromey@redhat.com>
+2013-05-15 Joel Brobecker <brobecker@adacore.com>
- * breakpoint.c (struct breakpoint_objfile_data)
- <longjmp_searched>,<longjmp_probes>,<exception_searched>,
- <exception_probes>: New fields.
- (free_breakpoint_probes): New function.
- (create_longjmp_master_breakpoint): Prefer SystemTap probe over
- `_Unwind_DebugHook'.
- (create_exception_master_breakpoint): Likewise.
- (_initialize_breakpoint): Registering cleanup for SystemTap probes.
- * infrun.c: Including necessary header files for handling SystemTap
- probes.
- (handle_inferior_event): Handling longjmp breakpoint and exceptions
- via SystemTap probes.
- (check_exception_resume): Remove `func' argument. Handle exception
- unwinding breakpoint set via a SystemTap probe.
- (insert_exception_resume_from_probe): New function.
-
-2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
+ * utils.h: #include "exceptions.h".
+ (enum errors): Remove partial declaration.
+
+2013-05-15 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbarch.sh (core_xfer_shared_libraries_aix): New method.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX
+ handling.
+
+ * rs6000-aix-tdep.h: New file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h.
+ * rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and
+ "xml-utils.h".
+ (struct field_info, struct ld_info_desc): New types.
+ (ld_info32_desc, ld_info64_desc): New static constants.
+ (struct ld_info): New type.
+ (rs6000_aix_extract_ld_info): New function.
+ (rs6000_aix_shared_library_to_xml): Likewise.
+ (rs6000_aix_ld_info_to_xml): Likewise.
+ (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
+ (rs6000_aix_init_osabi): Add call to
+ set_gdbarch_core_xfer_shared_libraries_aix.
+ * rs6000-nat.c: Add "rs6000-aix-tdep.h" include.
+ Remove "xml-utils.h" include.
+ (LdInfo): Delete typedef.
+ (ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME):
+ Delete macros.
+ (rs6000_ptrace_ldinfo): Change return type to gdb_byte *.
+ Adjust code accordingly.
+ (rs6000_core_ldinfo): Delete, folded into
+ rs6000_aix_core_xfer_shared_libraries_aix.
+ (rs6000_xfer_shared_library): Delete.
+ (rs6000_xfer_shared_libraries): Reimplement.
+
+2013-05-15 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record.c (record_goto_cmdlist): New.
+ (cmd_record_goto): Split into this ...
+ (cmd_record_goto_begin): ... this
+ (cmd_record_goto_end): ... and this.
+ (_initialize_record): Change "record goto" to prefix command.
+ Add commands for "record goto begin" and "record goto end".
+ Add an alias for "record goto start" to "record goto begin".
+
+2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (convert_linespec_to_sals): New comment for
+ SOURCE_FILENAME assignment.
+
+2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cleanups.c (restore_my_cleanups): Replace gdb_assert by
+ internal_warning.
+
+2013-05-14 Tom Tromey <tromey@redhat.com>
+
+ * eval.c (parse_and_eval_long): Make 'exp' const.
+ * value.h (parse_and_eval_long): Update.
+
+2013-05-14 Tom Tromey <tromey@redhat.com>
+
+ * ui-file.c (gdb_fopen): Make arguments const.
+ * ui-file.h (gdb_fopen): Make arguments const.
+
+2013-05-14 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (remote_set_trace_notes): Make arguments const.
+ * target.c (update_current_target): Update cast.
+ * target.h (to_set_trace_notes): Make arguments const.
+
+2013-05-14 Tom Tromey <tromey@redhat.com>
+
+ * go32-nat.c (go32_terminal_info): Make 'args' const.
+ * inferior.h (child_terminal_info): Update.
+ * inflow.c (child_terminal_info): Make 'args' const.
+ * target.c (default_terminal_info): Make 'args' const.
+ (debug_to_terminal_save_ours): Likewise.
+ * target.h (struct target_ops) <to_terminal_info>: Make argument
+ const.
+
+2013-05-13 Tom Tromey <tromey@redhat.com>
+
+ * gcore.c (create_gcore_bfd): Make 'filename' const.
+ * gcore.h (create_gcore_bfd): Make 'filename' const.
+ * record-full.c (record_full_save): Make 'recfilename' const.
+ * target.c (target_save_record): Make 'filename' const.
+ * target.h (struct target_ops) <to_save_record>: Make 'filename'
+ const.
+ (target_save_record): Likewise.
+
+2013-05-13 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/15338:
+ * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
+ ranges section has been read.
+
+2013-05-13 Tom Tromey <tromey@redhat.com>
+
+ PR exp/15364:
+ * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
+ STRUCTOP_PTR>: Return a not_lval value for
+ EVAL_AVOID_SIDE_EFFECTS.
+ * opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
+ for EVAL_AVOID_SIDE_EFFECTS.
+
+2013-05-13 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
+ floating point registers to register type before storing
+ value.
+ * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
+ Likewise.
+
+2013-05-10 Joel Brobecker <brobecker@adacore.com>
Tom Tromey <tromey@redhat.com>
- Jan Kratochvil <jan.kratochvil@redhat.com>
- * Makefile.in (SFILES): Add `probe' and `stap-probe'.
- (COMMON_OBS): Likewise.
- (HFILES_NO_SRCDIR): Add `probe'.
- * NEWS: Mention support for static and SystemTap probes.
- * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by
- SystemTap probes' arguments parser.
- * arm-linux-tdep.c: Including headers needed to perform the parsing
- of SystemTap probes' arguments.
- (arm_stap_is_single_operand): New function.
- (arm_stap_parse_special_token): Likewise.
- (arm_linux_init_abi): Initializing proper fields used by SystemTap
- probes' arguments parser.
- * ax-gdb.c (require_rvalue): Removing static declaration.
- (gen_expr): Likewise.
- * ax-gdb.h (gen_expr): Declaring function.
- (require_rvalue): Likewise.
- * breakpoint.c: Include `gdb_regex.h' and `probe.h'.
- (bkpt_probe_breakpoint_ops): New variable.
- (momentary_breakpoint_from_master): Set the `probe' value.
- (add_location_to_breakpoint): Likewise.
- (break_command_1): Using proper breakpoint_ops according to the
- argument passed by the user in the command line.
- (bkpt_probe_insert_location): New function.
- (bkpt_probe_remove_location): Likewise.
- (bkpt_probe_create_sals_from_address): Likewise.
- (bkpt_probe_decode_linespec): Likewise.
- (tracepoint_probe_create_sals_from_address): Likewise.
- (tracepoint_probe_decode_linespec): Likewise.
- (tracepoint_probe_breakpoint_ops): New variable.
- (trace_command): Using proper breakpoint_ops according to the
- argument passed by the user in the command line.
- (initialize_breakpoint_ops): Initializing breakpoint_ops for
- static probes on breakpoints and tracepoints.
- * breakpoint.h (struct bp_location) <probe>: New field.
- * cli-utils.c (skip_spaces_const): New function.
- (extract_arg): Likewise.
- * cli-utils.h (skip_spaces_const): Likewise.
- (extract_arg): Likewise.
- * coffread.c (coff_sym_fns): Add `sym_probe_fns' value.
- * configure.ac: Append `stap-probe.o' to be generated when ELF
- support is present.
- * configure: Regenerate.
- * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value.
- * elfread.c: Include `probe.h' and `arch-utils.h'.
- (probe_key): New variable.
- (elf_get_probes): New function.
- (elf_get_probe_argument_count): Likewise.
- (elf_evaluate_probe_argument): Likewise.
- (elf_compile_to_ax): Likewise.
- (elf_symfile_relocate_probe): Likewise.
- (stap_probe_key_free): Likewise.
- (elf_probe_fns): New variable.
- (elf_sym_fns): Add `sym_probe_fns' value.
- (elf_sym_fns_lazy_psyms): Likewise.
- (elf_sym_fns_gdb_index): Likewise.
- (_initialize_elfread): Initialize objfile cache for static
- probes.
- * gdb_vecs.h (struct probe): New forward declaration.
- (probe_p): New VEC declaration.
- * gdbarch.c: Regenerate.
- * gdbarch.h: Regenerate.
- * gdbarch.sh (stap_integer_prefix): New variable.
- (stap_integer_suffix): Likewise.
- (stap_register_prefix): Likewise.
- (stap_register_suffix): Likewise.
- (stap_register_indirection_prefix): Likewise.
- (stap_register_indirection_suffix): Likewise.
- (stap_gdb_register_prefix): Likewise.
- (stap_gdb_register_suffix): Likewise.
- (stap_is_single_operand): New function.
- (stap_parse_special_token): Likewise.
- (struct stap_parse_info): Forward declaration.
- * i386-tdep.c: Including headers needed to perform the parsing
- of SystemTap probes' arguments.
- (i386_stap_is_single_operand): New function.
- (i386_stap_parse_special_token): Likewise.
- (i386_elf_init_abi): Initializing proper fields used by SystemTap
- probes' arguments parser.
- * i386-tdep.h (i386_stap_is_single_operand): New function.
- (i386_stap_parse_special_token): Likewise.
- * machoread.c (macho_sym_fns): Add `sym_probe_fns' value.
- * mipsread.c (ecoff_sym_fns): Likewise.
- * objfiles.c (objfile_relocate1): Support relocation for static
- probes.
- * parse.c (prefixify_expression): Remove static declaration.
- (initialize_expout): Likewise.
- (reallocate_expout): Likewise.
- * parser-defs.h (initialize_expout): Declare function.
- (reallocate_expout): Likewise.
- (prefixify_expression): Likewise.
- * ppc-linux-tdep.c: Including headers needed to perform the parsing
- of SystemTap probes' arguments.
- (ppc_stap_is_single_operand): New function.
- (ppc_stap_parse_special_token): Likewise.
- (ppc_linux_init_abi): Initializing proper fields used by SystemTap
- probes' arguments parser.
- * probe.c: New file, for generic statically defined probe support.
- * probe.h: Likewise.
- * s390-tdep.c: Including headers needed to perform the parsing of
- SystemTap probes' arguments.
- (s390_stap_is_single_operand): New function.
- (s390_gdbarch_init): Initializing proper fields used by SystemTap
- probes' arguments parser.
- * somread.c (som_sym_fns): Add `sym_probe_fns' value.
- * stap-probe.c: New file, for SystemTap probe support.
- * stap-probe.h: Likewise.
- * symfile.h: Include `gdb_vecs.h'.
- (struct sym_probe_fns): New struct.
- (struct sym_fns) <sym_probe_fns>: New field.
- * symtab.c (init_sal): Initialize `probe' field.
- * symtab.h (struct probe): Forward declaration.
- (struct symtab_and_line) <probe>: New field.
- * tracepoint.c (start_tracing): Adjust semaphore on breakpoints
- locations.
- (stop_tracing): Likewise.
- * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value.
-
-2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
+ * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+ New functions.
+ * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+ Declare.
+ * darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec.
+ (darwin_ptrace_him): Use unmark_fd_no_cloexec.
+ * inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec.
+ (inf_ttrace_prepare): Use mark_fd_no_cloexec.
+
+2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
Tom Tromey <tromey@redhat.com>
- * ax-gdb.c (gen_expr): Clean up code to handle internal variables
- and to compile agent expressions.
- * infrun.c (siginfo_make_value): New argument `ignore'.
- (siginfo_funcs): New struct.
- (_initialize_infrun): New argument when calling
- `create_internalvar_type_lazy'.
- * thread.c (thread_id_make_value): New argument `ignore'.
- (thread_funcs): New struct.
- (_initialize_thread): New argument when calling
- `create_internalvar_type_lazy'.
- * tracepoint.c (sdata_make_value): New argument `ignore'.
- (sdata_funcs): New struct.
- (_initialize_tracepoint): New argument when calling
- `create_internalvar_type_lazy'.
- * value.c (make_value): New struct.
- (create_internalvar_type_lazy): New argument `data'.
- (compile_internalvar_to_ax): New function.
- (value_of_internalvar): Properly handling `make_value' case.
- (clear_internalvar): Likewise.
- (show_convenience): Adding `TRY_CATCH' block.
- * value.h (internalvar_make_value): Delete, replace by...
- (struct internalvar_funcs): ... this.
- (create_internalvar_type_lazy) <fun>: Delete argument.
- (create_internalvar_type_lazy) <funcs>, <data>: New arguments.
- (compile_internalvar_to_ax): New function.
- * windows-tdep.c (tlb_make_value): New argument `ignore'.
- (tlb_funcs): New struct.
- (_initialize_windows_tdep): New argument when calling
- `create_internalvar_type_lazy'.
-
-2012-04-27 Mark Wielaard <mjw@redhat.com>
-
- * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to
- see whether it is an address or a constant offset from DW_AT_low_pc.
- (dwarf2_record_block_ranges): Likewise.
- (read_partial_die): Likewise.
-
-2012-04-26 Mark Wielaard <mjw@redhat.com>
+ PR build/15414:
+ * configure: Rebuild.
+ * configure.ac (build_warnings): Do not use -Wformat-nonliteral
+ with -Wno-format.
- * MAINTAINERS (Write After Approval): Add myself to the list.
+2013-05-10 Pedro Alves <palves@redhat.com>
-2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
-
- * proc-utils.h (proc_prettyprint_signalset): New prototype.
- (proc_prettyprint_signal): Likewise.
- (proc_prettyprint_faultset): Likewise.
- (proc_prettyprint_fault): Likewise.
- (proc_prettyprint_actionset): Likewise.
- (proc_prettyprint_flags): Move to new proc-flags.c section.
- (proc_prettyfprint_flags): New prototype.
- * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes.
- (proc_syscall, proc_cursig): Likewise.
- (proc_set_kill_on_last_close): Likewise.
- (proc_unset_kill_on_last_close): Likewise.
- (proc_set_watchpoint): Make static.
- (proc_delete_dead_threads): Likewise.
- (procfs_set_watchpoint): Likewise.
- (_initialize_procfs): Add prototype.
- * proc-events.c: Include proc-utils.h.
- (init_syscall_table): Make static.
- * proc-api.c (_initialize_proc_api): Add prototype.
- * proc-flags.c: Include proc-utils.h.
-
-2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
-
- * configure.ac: Add AC_ARG_PROGRAM.
+ * 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.
-2012-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+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.
- Fix DW_AT_lower_bound defaults for DWARF-4+.
- * dwarf2read.c (read_subrange_type): Remove initialization of low and
- high. New variable low_default_is_valid. Implement DWARF-4+
- DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with
- no default by the DWARF standard.
+2013-05-09 Joel Brobecker <brobecker@adacore.com>
-2012-04-26 Maciej W. Rozycki <macro@mips.com>
- Maciej W. Rozycki <macro@codesourcery.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.
- * infrun.c (handle_inferior_event): Move the check for return
- trampolines ahead of the check for function trampolines.
- * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
- * mips-tdep.c (mips_str_mips16_call_stub): New variable.
- (mips_str_mips16_ret_stub): Likewise.
- (mips_str_call_fp_stub): Likewise.
- (mips_str_call_stub): Likewise.
- (mips_str_fn_stub): Likewise.
- (mips_str_pic): Likewise.
- (mips_in_frame_stub): New function.
- (mips_unwind_pc): Return the return address rather than the PC
- if the PC of an intermediate frame is inside a call thunk.
- (mips_is_stub_suffix): New function.
- (mips_is_stub_mode): Likewise.
- (mips_get_mips16_fn_stub_pc): Likewise.
- (mips_skip_mips16_trampoline_code): Update to handle all the
- currently generated stub types. Don't recurse into __fn_stub
- thunks. Remove heuristics to handle stubs beyond etext/_etext.
- Use cooked register accesses.
- (mips_in_return_stub): Reintroduce function.
- (mips_skip_trampoline_code): Traverse trampolines recursively.
- (mips_gdbarch_init): Handle MIPS16 return trampolines.
-
-2012-04-26 Joel Brobecker <brobecker@adacore.com>
-
- GDB 7.4.1 released.
-
-2012-04-26 Jonathan Larmour <jifl@eCosCentric.com>
-
- * arm-tdep.h (VFP_REGISTER_SIZE): Define.
- * features/arm-with-m-vfp-d16.xml: New file. Describes
- Cortex-M with VFPv4-sp-d16 FPU register layout.
- * features/Makefile (WHICH): Add arm-with-m-vfp-d16.
- * features/arm-with-m-vfp-d16.c: New. Generated from above.
- * arm-tdep.c: Include arm-with-m-vfp-d16.c.
- (arm-register_g_packet_guesses): Add vfp-d16 guess.
- (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.
-
-2012-04-25 Doug Evans <dje@google.com>
-
- * cli/cli-decode.c (print_doc_line): Use stream instead of
- current_uiout.
-
-2012-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * features/arm-with-iwmmxt.c: Regenerate.
- * features/arm-with-m-fpa-layout.c: Likewise.
- * features/arm-with-m.c: Likewise.
- * features/arm-with-neon.c: Likewise.
- * features/arm-with-vfpv2.c: Likewise.
- * features/arm-with-vfpv3.c: Likewise.
- * features/mips-dsp-linux.c: Likewise.
- * features/mips-linux.c: Likewise.
- * features/mips64-dsp-linux.c: Likewise.
- * features/mips64-linux.c: Likewise.
- * features/s390-linux32.c: Likewise.
- * features/s390-linux32v1.c: Likewise.
- * features/s390-linux32v2.c: Likewise.
- * features/s390-linux64.c: Likewise.
- * features/s390-linux64v1.c: Likewise.
- * features/s390-linux64v2.c: Likewise.
- * features/s390x-linux64.c: Likewise.
- * features/s390x-linux64v1.c: Likewise.
- * features/s390x-linux64v2.c: Likewise.
- * features/tic6x-c62x-linux.c: Likewise.
- * features/tic6x-c62x.c: Likewise.
- * features/tic6x-c64x-linux.c: Likewise.
- * features/tic6x-c64x.c: Likewise.
- * features/tic6x-c64xp-linux.c: Likewise.
- * features/tic6x-c64xp.c: Likewise.
- * target-descriptions.c: Only generate `field_type' and `type'
- variables when needed.
-
-2012-04-25 Fredrik Hederstierna <fredrikh.hederstierna@securitas-direct.com>
-
- * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.
-
-2012-04-25 Doug Evans <dje@google.com>
-
- Initial pass at Go language support.
- * NEWS: Mention Go.
- * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c,
- go-valprint.c.
- (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o.
- (YYFILES): Add go-exp.c.
- (YYOBJ): Add go-exp.o.
- (local-maintainer-clean): Delete go-exp.c.
- * defs.h (enum language): Add language_go.
- * dwarf2read.c: #include "go-lang.h".
- (fixup_go_packaging): New function.
- (process_full_comp_unit): Call it when processing Go CUs.
- (dwarf2_physname): Add Go support.
- (read_file_scope): Handle missing language spec for GNU Go.
- (set_cu_language): Handle DW_LANG_Go.
- * go-exp.y: New file.
- * go-lang.h: New file.
- * go-lang.c: New file.
- * go-typeprint.c: New file.
- * go-valprint.c: New file.
- * symtab.c: #include "go-lang.h".
- (symbol_set_language): Handle language_go.
- (symbol_find_demangled_name, symbol_set_names): Ditto.
- (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto.
-
-2012-04-24 Jim Meyering <meyering@redhat.com>
-
- avoid a few strncpy-induced buffer overruns
- * procfs.c (procfs_make_note_section): Be sure to NUL-terminate
- fname and psargs before trying to concatenate.
- * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate
- "name" before applying strchr.
-
-2012-04-25 Siva Chandra Reddy <sivachandra@google.com>
-
- * CONTRIBUTE: Use unified diff instead of context diff when
- generating patches.
-
-2012-04-24 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
- code. Handle JR.HB correctly.
-
-2012-04-24 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c
- (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group
- with the other MIPS16 helpers.
-
-2012-04-24 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * observer.sh: Conditionally declare `args', thus cleaning up
- unused instances of this variable.
-
-2012-04-24 Yao Qi <yao@codesourcery.com>
-
- Revert this patch to allow breakpoint always-inserted
- in record target.
- 2011-12-05 Pedro Alves <pedro@codesourcery.com>
- * breakpoint.c: Include record.h.
- (breakpoints_always_inserted_mode): Return false when the record
- target is in use.
-
- * breakpoint.c (iterate_over_bp_locations): New.
- * breakpoint.h: Declare.
- New typedef walk_bp_location_callback.
- * record.c (record_open): Call record_init_record_breakpoints.
- (record_sync_record_breakpoints): New.
- (record_init_record_breakpoints): New.
- * NEWS: Mention supporting breakpoint always-inserted mode in
- record target.
-
-2012-04-24 Marc Khouzam <marc.khouzam@ericsson.com>
-
- * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
- any thread.
-
-2012-04-24 Yao Qi <yao@codesourcery.com>
-
- * breakpoint.c (ep_is_catchpoint): Renamed to ...
- (is_catchpoint): ... it.
- (print_one_breakpoint_location): Caller update.
- * breakpoint.h: Update declaration.
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
-2012-04-23 David S. Miller <davem@davemloft.net>
+ * sol-thread.c (info_cb): Rework the output of the "maintenance
+ info sol-threads" command a bit.
- * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes.
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
-2012-04-23 Tom Tromey <tromey@redhat.com>
+ * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
+ Replace ti.ti_startfunc by ti.ti_pc.
- * buildsym.c (add_free_pendings): Remove.
- * buildsym.h (add_free_pendings): Remove.
+2013-05-08 Joel Brobecker <brobecker@adacore.com>
-2012-04-23 Doug Evans <dje@google.com>
+ * solib-aix.c (solib_aix_free_library_list): New function
+ for the case where HAVE_LIBEXPAT is not defined.
- * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
- attr.u.unsnd instead of attr.u.addr.
- (read_attribute_value) Ditto for cases DW_FORM_ref_addr,
- DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8,
- DW_FORM_ref_udata.
- (dump_die_shallow): Update cases DW_FORM_ref_addr,
- DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8,
- DW_FORM_ref_udata.
- (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes.
+2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
-2012-04-23 Maciej W. Rozycki <macro@codesourcery.com>
+ PR breakpoints/15413:
+ * breakpoint.c (condition_completer): Simplify the code to
+ disconsider multiple locations of breakpoints when completing the
+ "condition" command.
- * mips-tdep.c (mips_n32n64_return_value): Fix coding style.
- (mips_o32_return_value): Likewise.
- (mips_o64_return_value): Likewise.
+2013-05-07 Pierre Muller <muller@sourceware.org>
-2012-04-21 Paul Hilfinger <hilfinger@adacore.com>
+ * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
+ instead of <sys/wait.h>.
- * ada-lang.c (ada_evaluate_subexp): Add cases for
- TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following
- their treatment in eval.c.
+2013-05-07 Pierre Muller <muller@sourceware.org>
-2012-04-21 David S. Miller <davem@davemloft.net>
+ * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
+ trailing new line from warning message.
- * sparc-tdep.c (X_DISP10): Define.
- (sparc_analyze_control_transfer): Handle compare-and-branch.
+2013-05-07 Pierre Muller <muller@sourceware.org>
-2012-04-21 Jonathan Larmour <jifl@eCosCentric.com>
+ * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
+ (PC_SOLIB): Change type from ari_deprecate to ari_regression.
- * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout.
- * arm-tdep.c (arm_register_g_packet_guesses): Fix comment.
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
-2012-04-20 Nigel Stephens <nigel@mips.com>
- Maciej W. Rozycki <macro@codesourcery.com>
+ * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
+ error message (ARI fix).
- * mips-tdep.c (mips_float_register_p): New function.
- (mips_convert_register_float_case_p): Use mips_float_register_p.
- (mips_register_type): Likewise.
- (mips_print_register): Likewise.
- (print_gp_register_row): Likewise.
- (mips_print_registers_info): Likewise.
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
-2012-04-20 Shun-Yen Lu <dark.asparagus@gmail.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.
- * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification
- of mips16 symbols.
+2013-05-07 Joel Brobecker <brobecker@adacore.com>
-2012-04-20 Andrew Pinski <apinski@cavium.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.
- * MAINTAINERS (Write After Approval): Add myself to the list.
+2013-05-07 Yao Qi <yao@codesourcery.com>
-2012-04-20 Sergio Durigan Junior <sergiodj@redhat.com>
+ * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
+ (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
- * MAINTAINERS: Update my e-mail address.
+2013-05-07 Yao Qi <yao@codesourcery.com>
-2012-04-20 Pedro Alves <palves@redhat.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.
- * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
- $srcdir.
- * configure: Regenerate.
+2013-05-07 Luis Machado <lgustavo@codesourcery.com>
-2012-04-20 Sergio Durigan Junior <sergiodj@redhat.com>
+ * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
+ debug state prior to replicating existing hardware watchpoints or
+ breakpoints.
- * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC
- declaration.
- * gdb_vecs.h: Declare `const_char_ptr' VEC.
-
-2012-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix compilation compatibility with python-2.4
- * python/py-type.c (convert_field): Cast ADDRSTRING for
- PyObject_SetAttrString as non-const. New comment.
-
-2012-04-19 Tom Tromey <tromey@redhat.com>
-
- * top.c (quit_target): Use all_cleanups.
- * main.c (captured_command_loop): Use all_cleanups.
- * exceptions.c (throw_exception): Use all_cleanups.
-
-2012-04-19 Pedro Alves <palves@redhat.com>
-
- * Makefile.in (GNULIB_BUILDDIR): New.
- (LIBGNU, INCGNU, GNULIB_H): Adjust.
- (SUBDIRS): Add $(GNULIB_BUILDDIR).
- (CLEANDIRS). Remove gnulib/import.
- (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
- (all-lib): Ditto.
- (distclean): Remove the $(GNULIB_BUILDDIR) directory.
- (gnulib/import/Makefile): Replace gnulib/import with
- $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
- (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
- (aclocal_m4_deps): Remove the gnulib dependencies. Add
- acx_configure_dir.m4.
- * acinclude.m4: Include acx_configure_dir.m4.
- * acx_configure_dir.m4: New file.
- * aclocal.m4: Regenerate.
- * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
- calls. Configure gnulib using ACX_CONFIGURE_DIR.
- (GNULIB): New variable.
- (GNULIB_STDINT_H): Adjust.
- (AC_OUTPUT): Don't output gnulib/Makefile.
- * gdb/defs.h: Include build-gnulib/config.h.
- * aclocal.m4: Regenerate.
- * config.in: Regenerate.
- * configure: Regenerate.
+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().
- * gnulib/Makefile.in: New file.
- * gnulib/configure.ac: New file.
- * gnulib/aclocal.m4: New file.
- * gnulib/config.in: New file.
- * gnulib/configure: New file.
- * gnulib/: Re-run gnulib-tool to adjust.
-
-2012-04-19 Doug Evans <dje@google.com>
-
- * cleanups.h (struct cleanup): Move to cleanups.c.
- (make_cleanup_dtor_ftype): New typedef.
- (make_cleanup_dtor): Use it.
- (ALL_CLEANUPS): Replace with ...
- (all_cleanups): ... this. Declare. All uses updated.
- * cleanups.c: #include "gdb_assert.h".
- (sentinel_cleanup): New static global.
- (SENTINEL_CLEANUP): Define.
- (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP.
- (make_my_cleanup2): Assert result is non-NULL.
- (all_cleanups): New function.
- (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead
- of NULL.
-
-2012-04-19 Pedro Alves <palves@redhat.com>
-
- * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h.
- Adjust paths to gnulib imported files.
-
-2012-04-19 Pedro Alves <palves@redhat.com>
-
- * gnulib/: Move whole directory ...
- * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust.
- * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS)
- (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS)
- (aclocal_m4_deps): Adjust.
- * aclocal.m4: Regenerate.
- * configure: Regenerate.
- * configure.ac: Adjust AC_OUTPUT output.
-
-2012-04-19 Yao Qi <yao@codesourcery.com>
-
- * Makefile.in (SFILES): Add common/vec.c and remove vec.c.
- (vec.o): New rule.
- * vec.c: Move it ...
- * common/vec.c: ... here.
- * vec.h: Move it ...
- * common/vec.h: ... here.
-
-2012-04-19 Yao Qi <yao@codesourcery.com>
-
- * gdb-code-style.el: New.
-
-2012-04-18 Pedro Alves <palves@redhat.com>
-
- Update gnulib from latest git.
- (639ea5ae15e39fe48d43e04864b2997301e4b969)
-
- * gnulib/Makefile.am: Update.
- * gnulib/dummy.c: Update.
- * gnulib/extra/arg-nonnull.h: Update.
- * gnulib/extra/c++defs.h: Update.
- * gnulib/extra/update-copyright: Update.
- * gnulib/extra/warn-on-use.h: Update.
- * gnulib/inttypes.in.h: Update.
- * gnulib/m4/00gnulib.m4: Update.
- * gnulib/m4/extensions.m4: Update.
- * gnulib/m4/gnulib-cache.m4: Update.
- * gnulib/m4/gnulib-common.m4: Update.
- * gnulib/m4/gnulib-comp.m4: Update.
- * gnulib/m4/gnulib-tool.m4: Update.
- * gnulib/m4/include_next.m4: Update.
- * gnulib/m4/inttypes-pri.m4: Update.
- * gnulib/m4/inttypes.m4: Update.
- * gnulib/m4/longlong.m4: Update.
- * gnulib/m4/memchr.m4: Update.
- * gnulib/m4/memmem.m4: Update.
- * gnulib/m4/mmap-anon.m4: Update.
- * gnulib/m4/multiarch.m4: Update.
- * gnulib/m4/onceonly.m4: Update.
- * gnulib/m4/stddef_h.m4: Update.
- * gnulib/m4/stdint.m4: Update.
- * gnulib/m4/string_h.m4: Update.
- * gnulib/m4/warn-on-use.m4: Update.
- * gnulib/m4/wchar_h.m4: Update.
- * gnulib/m4/wchar_t.m4: Update.
- * gnulib/m4/wint_t.m4: Update.
- * gnulib/memchr.c: Update.
- * gnulib/memmem.c: Update.
- * gnulib/stddef.in.h: Update.
- * gnulib/stdint.in.h: Update.
- * gnulib/str-two-way.h: Update.
- * gnulib/string.in.h: Update.
- * gnulib/wchar.in.h: Update.
-
- * gnulib/extra/arg-nonnull.h: Delete.
- * gnulib/extra/c++defs.h: Delete.
- * gnulib/extra/warn-on-use.h: Delete.
- * gnulib/m4/wchar_h.m4: Delete.
- * gnulib/m4/wint_t.m4: Delete.
- * gnulib/wchar.in.h: Delete.
-
- * gnulib/extra/snippets/arg-nonnull.h: New.
- * gnulib/extra/snippets/c++defs.h: New.
- * gnulib/extra/snippets/warn-on-use.h: New.
-
- * aclocal.m4: Regenerate.
- * config.in: Regenerate.
- * configure: Regenerate.
- * gnulib/Makefile.in: Regenerate.
+2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
-2012-04-18 Pedro Alves <palves@redhat.com>
+ * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Do not
+ ignore SIGINT and SIGTRAP in case these internal signals are
+ caught explicitely.
- Reimport the update-copyright module from gnulib
- (250b80067c1e1d8faa0c42fb572f721975b929c5).
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
- * configure: Regenerate.
- * gnulib/Makefile.am: Update.
- * gnulib/Makefile.in: Regenerate.
- * gnulib/extra/update-copyright: Update.
- * gnulib/m4/gnulib-cache.m4: Update.
- * gnulib/m4/gnulib-comp.m4: Update.
+ * 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 *".
-2012-04-18 Tristan Gingold <gingold@adacore.com>
+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.
- * configure.ac (aix): Put -lpthread into libs.
- * configure: Regenerate.
+2013-04-30 Doug Evans <dje@google.com>
-2012-04-18 Tom Tromey <tromey@redhat.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>
- * linespec.c (convert_linespec_to_sals): Don't use
- SYMBOL_OBJ_SECTION.
- (compare_msymbols): Arguments are minsym_and_objfile, not
- minimal_symbol*. Don't use SYMBOL_OBJ_SECTION.
+ * MAINTAINERS (Write After Approval): Add myself to the list.
-2012-04-18 Pedro Alves <palves@redhat.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
- Revert gnulib/ part of:
- 2011-01-01 Joel Brobecker <brobecker@adacore.com>
- Copyright year update in most files (performed by copyright.sh).
+ * 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 *".
-2012-04-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
- Fix 64-bit constants on 32-bit hosts.
- * dwarf2read.c (read_unsigned_leb128): Change declaration return type
- from unsigned long to ULONGEST.
- (read_signed_leb128): Change declaration return type from long to
- LONGEST.
- (dwarf2_const_value_attr): Change declaration parameter value from long
- to LONGEST.
- (dwarf2_compute_name): Change variable value from long to LONGEST.
- (read_unsigned_leb128): Change return type, variable result and some
- casts from unsigned long to ULONGEST.
- (read_signed_leb128): Change return type, variable result and some
- casts from long to LONGEST.
- (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
- value from long to LONGEST.
- (dwarf2_const_value): Change variable value from long to LONGEST.
- * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
- plongest and hex_string.
- * symtab.h (struct general_symbol_info): Change ivalue from long to
- LONGEST, remove the comment.
- * tracepoint.c (validate_actionline, collect_symbol, scope_info):
- Change SYMBOL_VALUE format strings to use plongest and hex_string.
-
-2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
-
- PR symtab/7259:
- * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
- * ada-lang.c (ada_discrete_type_high_bound)
- (ada_discrete_type_low_bound): Fix function comment. Use
- TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
- (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
- (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
- * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
- Use TYPE_FIELD_ENUMVAL.
- * ada-valprint.c (print_optional_low_bound, ada_print_scalar)
- (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
- * c-typeprint.c (c_type_print_base): Move variable lastval to inner
- block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for
- TYPE_CODE_ENUM.
- * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
- * dwarf2read.c (process_enumeration_scope): Likewise.
- * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
- field.bitpos.
- (class StructMainTypePrettyPrinter): Support also
- FIELD_LOC_KIND_ENUMVAL.
- * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
- TYPE_CODE_ENUM.
- (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
- (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
- * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
- (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New
- field enumval.
- (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
- accommodate enumval.
- (struct call_site): Adjust loc_kind to accommodate enumval.
- (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
- (TYPE_FIELD_ENUMVAL): New macros.
- * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
- * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
- TYPE_CODE_ENUM.
- * p-typeprint.c (pascal_type_print_base): Likewise.
- * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
- enumval.
- * python/lib/gdb/types.py (make_enum_dict): Likewise.
- * python/py-type.c (convert_field): New variable addrstring. Use
- TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
- (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
- * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
- * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
- TYPE_CODE_ENUM.
- * valprint.c (generic_val_print): Likewise.
-
-2012-04-17 Doug Evans <dje@google.com>
-
- * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
-
- * dwarf2read.c: Whitespace fixes.
- (lookup_signatured_type): Tweak comment.
- (get_die_type_at_offset): Fix comment.
-
-2012-04-17 Joel Brobecker <brobecker@adacore.com>
-
- * xcoffread.c (xcoff_secnum_to_sections): New function.
- (secnum_to_section, secnum_to_bfd_section): Reimplement
- using xcoff_secnum_to_sections. Rename "secnum" parameter
- into "n_scnum".
- (RECORD_MINIMAL_SYMBOL): Delete.
- (record_minimal_symbol): New function.
- (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL
- by call to record_minimal_symbol and set misc_func_recorded
- to 1. Set last_csect_sec to the XCOFF section index instead
- of GDB's section_offset index. Update calls to
- prim_record_minimal_symbol_and_info to pass the BFD section
- as well.
-
-2012-04-17 Joel Brobecker <brobecker@adacore.com>
-
- * xcoffread.c (read_xcoff_symtab): Delete variables
- last_csect_val and last_csect_sec and associated code.
-
-2012-04-17 Doug Evans <dje@google.com>
-
- * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
- (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
- * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete
- (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.
-
- * cleanups.h: New file.
- * cleanups.c: New file.
- * Makefile.in (SFILES): Add cleanups.c.
- (HFILES_NO_SRCDIR): Add cleanups.h.
- (COMMON_OBS): Add cleanups.o.
- * defs.h (struct cleanup): Moved to cleanups.h.
- (do_cleanups,do_final_cleanups): Ditto.
- (discard_cleanups,discard_final_cleanups): Ditto
- (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
- (save_cleanups,save_final_cleanups): Ditto.
- (restore_cleanups,restore_final_cleanups): Ditto.
- (null_cleanup): Ditto.
- (make_my_cleanup,make_my_cleanup2): Ditto.
- (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
- * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
- (do_cleanups,do_final_cleanups): Ditto.
- (discard_cleanups,discard_final_cleanups): Ditto
- (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
- (save_cleanups,save_final_cleanups): Ditto.
- (restore_cleanups,restore_final_cleanups): Ditto.
- (null_cleanup): Ditto.
- (make_my_cleanup,make_my_cleanup2): Ditto.
- (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
-
- * utils.c (make_cleanup_freeargv): Use make_cleanup instead of
- make_my_cleanup.
- (make_cleanup_dyn_string_delete): Ditto.
- (make_cleanup_ui_file_delete): Ditto.
- (make_cleanup_ui_out_redirect_pop): Ditto.
- (make_cleanup_free_section_addr_info): Ditto.
- (make_cleanup_restore_integer): Ditto.
- (make_cleanup_unpush_target): Ditto.
- (make_cleanup_value_free_to_mark): Ditto.
- (make_cleanup_value_free): Ditto.
- (make_cleanup_free_so): Ditto.
-
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- New option "set debug auto-load".
- * NEWS: New commands "set debug auto-load" and "show debug auto-load".
- * auto-load.c (debug_auto_load, show_debug_auto_load: New.
- (auto_load_safe_path_vec_update)
- (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered
- if DEBUG_AUTO_LOAD.
- (file_is_auto_load_safe): New parameters debug_fmt and ....
- Call fprintf_unfiltered if DEBUG_AUTO_LOAD.
- (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe
- caller by explanatory string.
- (_initialize_auto_load): Register "set debug auto-load".
- * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt
- and ....
- * linux-thread-db.c (try_thread_db_load_from_pdir_1)
- (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller
- by explanatory string.
- * main.c (captured_main): Likewise.
- * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
- (source_section_scripts): Likewise.
+ * 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.
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- New option "set auto-load safe-path".
- * NEWS: New commands "set auto-load safe-path"
- and "show auto-load safe-path".
- * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
- (auto_load_safe_path, auto_load_safe_path_vec)
- (auto_load_safe_path_vec_update, set_auto_load_safe_path)
- (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
- (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
- (source_gdb_script_for_objfile): New variable is_safe. Call
- file_is_auto_load_safe. Return if it is not.
- (struct loaded_script): New field loaded.
- (maybe_add_script): Add parameter loaded. Initialize SLOT with it.
- (print_script): Use LOADED indicator instead of FULL_PATH. Change
- output "Missing" to "No".
- (_initialize_auto_load): New variable cmd. Initialize
- auto_load_safe_path. Register "set auto-load safe-path",
- "show auto-load safe-path" and "add-auto-load-safe-path".
- * auto-load.h (maybe_add_script): Add parameter loaded.
- (file_is_auto_load_safe): New declaration.
- * config.in: Regenerate.
- * configure: Regenerate.
- * configure.ac: New parameters --with-auto-load-safe-path
- and --without-auto-load-safe-path.
- * linux-thread-db.c (try_thread_db_load_from_pdir_1)
- (try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
- * main.c (captured_main): Check file_is_auto_load_safe for
- LOCAL_GDBINIT.
- * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
- variable is_safe. Call file_is_auto_load_safe. Return if it is not.
- (source_section_scripts): Call file_is_auto_load_safe. Return if it is
- not.
-
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- auto-load: Implementation.
- * NEWS: New descriptions for "info auto-load",
- "info auto-load gdb-scripts", "info auto-load python-scripts",
- "info auto-load local-gdbinit" and "info auto-load libthread-db".
- Deprecate "info auto-load-scripts", "set auto-load-scripts on|off"
- and "show auto-load-scripts". New description for "set auto-load",
- "show auto-load", "set auto-load gdb-scripts",
- "show auto-load gdb-scripts", "set auto-load python-scripts",
- "show auto-load python-scripts", "set auto-load local-gdbinit",
- "show auto-load local-gdbinit", "set auto-load libthread-db" and
- "show auto-load libthread-db".
- * auto-load.c: Remove include python/python-internal.h. Add includes
- exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and
- cli/cli-setshow.h.
- (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile)
- (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New.
- (gdbpy_global_auto_load): Rename to ...
- (global_auto_load): ... here.
- (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
- (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit)
- (script_language_gdb, source_gdb_script_for_objfile): New.
- (struct loaded_script): New field language.
- (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also
- LANGUAGE.
- (maybe_add_script): Add parameter language. Drop redundant
- entry.full_path initialization. Initialize entry.language and
- (*slot)->language.
- (auto_load_objfile_script): Change parameter suffix to language.
- Remove the call of maybe_add_script.
- Call language->source_script_for_objfile.
- (load_auto_scripts_for_objfile, struct collect_matching_scripts_data):
- New.
- (collect_matching_scripts): Adjust it for
- struct collect_matching_scripts_data.
- (auto_load_info_scripts_pattern_nl): New variable.
- (info_auto_load_scripts): Rename to ...
- (auto_load_info_scripts): ... here, add parameter language. Adjust it
- for struct collect_matching_scripts_data.
- (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit)
- (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd)
- (auto_load_show_cmdlist_get, info_auto_load_cmd)
- (auto_load_info_cmdlist_get): New.
- (_initialize_auto_load): Move add_info of "auto-load-scripts" to
- python/py-auto-load.c. New installment for "set auto-load gdb-scripts",
- "info auto-load gdb-scripts", "set auto-load local-gdbinit" and
- "info auto-load local-gdbinit".
- * auto-load.h (struct script_language): New.
- (gdbpy_global_auto_load): Rename to ...
- (global_auto_load): ... here.
- (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname)
- (auto_load_local_gdbinit_loaded): New declarations.
- (maybe_add_script): New parameter language.
- (auto_load_objfile_script): Change parameter suffix to language.
- (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl)
- (auto_load_info_scripts, auto_load_set_cmdlist_get)
- (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New
- declarations.
- * linux-thread-db.c: Include auto-load.h and ctype.h.
- (auto_load_thread_db, show_auto_load_thread_db): New.
- (struct thread_db_info): New field filename.
- (delete_thread_db_info): Call xfree for FILENAME.
- (try_thread_db_load): Initialize FILENAME.
- (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return
- if !AUTO_LOAD_THREAD_DB.
- (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New.
- (_initialize_thread_db): Install auto_load_thread_db
- as "set auto-load libthread-db" and install info_auto_load_libthread_db
- as "info auto-load libthread-db".
- * main.c (captured_main): Rename gdbpy_global_auto_load to
- global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and
- AUTO_LOAD_LOCAL_GDBINIT_LOADED.
- (print_gdb_help): Extend the help for 'local init file'.
- * python/py-auto-load.c: Remove a comment about gdb scripts extension.
- (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific.
- (auto_load_scripts): Rename to ...
- (auto_load_python_scripts): ... here, update the comment.
- (gdbpy_load_auto_script_for_objfile): New declaration.
- (show_auto_load_python_scripts, script_language_python)
- (gdbpy_load_auto_script_for_objfile): New.
- (source_section_scripts): Refactor the code.
- (load_auto_scripts_for_objfile): Rename to ...
- (gdbpy_load_auto_scripts_for_objfile): ... here, update the
- auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking.
- (info_auto_load_python_scripts): New.
- (gdbpy_initialize_auto_load): New variables cmd and cmd_name.
- Rename "set auto-load-scripts" to "set auto-load python-scripts".
- Register "set auto-load-scripts" as its deprecated alias. Register
- "info auto-load python-scripts". Register "info auto-load-scripts" as
- its deprecated alias.
- (load_auto_scripts_for_objfile): Rename to ...
- (gdbpy_load_auto_scripts_for_objfile): ... here.
- * python/python.h (load_auto_scripts_for_objfile): Rename to ...
- (gdbpy_load_auto_scripts_for_objfile): ... here.
-
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- auto-load: Move files.
- * Makefile.in (SFILES): Add auto-load.c.
- (HFILES_NO_SRCDIR): Add auto-load.h.
- (COMMON_OBS): Add auto-load.o.
- (distclean): Change .gdbinit for gdb-gdb.gdb.
- * auto-load.c: New file, with parts from python/py-auto-load.c.
- * auto-load.h: New file, with parts from python/python.h.
- * configure: Regenerate.
- * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
- * gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
- * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
- * main.c: Include auto-load.h.
- * python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
- command.h, observer.h and progspace.h to auto-load.c. Add include
- auto-load.h.
- (gdbpy_global_auto_load, struct auto_load_pspace_info)
- (struct loaded_script, auto_load_pspace_data)
- (auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
- (hash_loaded_script_entry, eq_loaded_script_entry)
- (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
- (maybe_add_script): Move to auto-load.c.
- (source_section_scripts): Change maybe_add_script parameters passing,
- use script_not_found_warning_print.
- (clear_section_scripts, auto_load_objfile_script)
- (auto_load_new_objfile, loaded_script_ptr)
- (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
- (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
- (gdbpy_initialize_auto_load): Move auto_load_pspace_data,
- auto_load_new_objfile and info_auto_load_scripts initizations to
- auto-load.c.
- * python/python.h (gdbpy_global_auto_load): Move to auto-load.h.
+2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * i386gnu-nat.c (CREG_OFFSET): New macro.
+ (creg_offset): New array.
+ (CREG_ADDR): Use creg_offset instead of reg_offset.
- Code cleanup.
- * charset.c (find_charset_names): Remove variables ix and elt.
- Use free_char_ptr_vec.
- * elfread.c (build_id_to_debug_filename): New variables debugdir_vec,
- back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
- debugdir_end. New variable debugdir_len.
- * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec)
- (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New
- declarations.
- * progspace.c (clear_program_space_solib_cache): Remove variables ix
- and elt. Use free_char_ptr_vec.
- * source.c (add_path): Remove variables argv, arg and argv_index.
- New variables dir_vec, back_to, ix and name.
- Use dirnames_to_char_ptr_vec_append. Use freeargv instead of
- make_cleanup_freeargv. Remove variable separator. Simplify the code
- no longer expecting DIRNAME_SEPARATOR.
- (openp): Remove variable p, p1 and len. New variables dir_vec,
- back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code
- no longer expecting DIRNAME_SEPARATOR.
- * symfile.c (find_separate_debug_file): New variables debugdir_vec,
- back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable
- debugdir_end.
- * utils.c (free_char_ptr_vec, do_free_char_ptr_vec)
- (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append)
- (dirnames_to_char_ptr_vec): New functions.
-
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
- Code cleanup.
- * source.c (add_path): Remove always true conditional 'p == 0' and
- unindent its code block.
-
-2012-04-17 Pedro Alves <palves@redhat.com>
-
- * gdbtypes.h (FIELD_BITPOS): Rename to ...
- (FIELD_BITPOS_LVAL): ... this.
- (FIELD_BITPOS): New.
- (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL.
- * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS.
- * gdbtypes.c (append_composite_type_field_aligned): Adjust to use
- SET_FIELD_BITPOS.
- * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use
- SET_FIELD_BITPOS.
- * stabsread.c (read_cpp_abbrev, read_one_struct_field)
- (read_baseclasses): Adjust to use SET_FIELD_BITPOS.
- * target-descriptions.c (tdesc_gdb_type): Adjust to use
- SET_FIELD_BITPOS.
-
-2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Do not rely on FIELD_LOC_KIND_BITPOS being zero.
- * ada-lang.c (ada_template_to_fixed_record_type_1): Replace
- TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS.
- * gdbtypes.c (append_flags_type_flag): Likewise, twice.
- * jv-lang.c (java_link_class_type): Likewise, once.
- * stabsread.c (read_enum_type): Likewise.
-
-2012-04-16 Yao Qi <yao@codesourcery.com>
-
- * common/agent.c (agent_run_command): Add one more parameter `len'.
- Update callers.
- * common/agent.h: Update declaration.
- * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
- Update.
- (linux_child_static_tracepoint_markers_by_strid): Ditto.
+ * mep-tdep.c (mep_write_pc): Delete.
+ (mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
+ Add call to set_gdbarch_pc_regnum.
-2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
- PR mi/13393
- * value.c (value_actual_type): New function.
- * value.h (value_actual_type): New declaration.
- * varobj.c (update_type_if_necessary): New function.
- (varobj_create): Call value_actual_type instead of
- value_type.
- (install_dynamic_child): distinct changed and type changed MI variable
- objects.
- (update_dynamic_varobj_children): Updated for install_dynamic_child
- change. All callers updated.
- (varobj_update): Support for MI variable object type change if
- the value changed and RTTI is used to determine the type.
- (create_child_with_value): Call value_actual_type instead of
- value_type.
- (adjust_value_for_child_access): Extended with a new parameter which
- specify whether the given value should be casted to enclosing type.
- All callers updated.
+ * common/filestuff.c: Replace #include <dirent.h> by
+ #include "gdb_dirent.h".
-2012-04-14 Yao Qi <yao@codesourcery.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
- Import gnulib module inttypes from git
- (250b80067c1e1d8faa0c42fb572f721975b929c5)
- * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h.
- (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and
- gnulib/m4/inttypes-pri.m4
- * aclocal.m4, config.in, configure: Regenerated.
- * gnulib/Makefile.am: Update.
- * gnulib/Makefile.in: Update.
- * gnulib/m4/gnulib-cache.m4: Update.
- * gnulib/m4/gnulib-comp.m4: Update.
- * gnulib/inttypes.in.h: New.
- * gnulib/m4/inttypes-pri.m4: New.
- * gnulib/m4/inttypes.m4: New.
+ * common/filestuff.c: Replace #include <sys/stat.h> by
+ #include "gdb_stat.h".
-2012-04-13 Luis Machado <lgustavo@codesourcery.com>
+2013-04-29 Pierre Muller <muller@sourceware.org>
- * infrun.c (resume): Update PC address to the real PC after
- preparing to do displaced stepping.
+ * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
+ editCase function rule.
+ (get_DW_AT_signature_type): Likewise.
-2012-04-12 Doug Evans <dje@google.com>
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
- * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused.
- All callers updated.
+ * m32r-tdep.c (m32r_write_pc): Delete.
+ (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
+ Add call to set_gdbarch_pc_regnum.
-2012-04-12 Mark Kettenis <kettenis@gnu.org>
+2013-04-29 Pierre Muller <muller@sourceware.org>
- * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
+ * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
-2012-04-12 Doug Evans <dje@google.com>
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
- * dwarf2read.c (create_all_type_units): Renamed from
- create_debug_types_hash_table. All callers updated.
+ * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
- * dwarf2read.c (create_signatured_type_table_from_index): Rename
- local type_sig to sig_type, type_offset to type_offset_in_tu.
- (hash_signatured_type): Renamed from hash_type_signature,
- all callers updated.
- (eq_signatured_type): Renamed from eq_type_signature,
- all callers updated.
- (create_debug_types_hash_table): Rename local type_sig to sig_type.
- (process_enumeration_scope): Ditto.
- (lookup_signatured_type_at_offset): Ditto.
- (load_full_type_unit, read_signatured_type): Ditto.
+2013-04-28 Yao Qi <yao@codesourcery.com>
-2012-04-12 Yao Qi <yao@codesourcery.com>
+ * solib-dsbt.c (fetch_loadmap): Re-indent.
+ (displacement_from_map, enable_break2): Likewise.
+ (dsbt_relocate_section_addresses): Likewise.
- * remote.c (async_remote_interrupt): Correct function name in
- debug message.
- (async_remote_interrupt_twice): Ditto.
+2013-04-26 Joel Brobecker <brobecker@adacore.com>
-2012-04-11 Yuanhui Zhang <asmwarrior@gmail.com>
+ GDB 7.6 released.
- * source.c (find_and_open_source): Consistently pass resulting
- full path through xfullpath.
+2013-04-25 Andreas Kaufmann <Andreas.Kaufmann@synopsys.com>
-2012-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR corefiles/14983:
+ * dwarf2read.c (process_full_comp_unit): Always create a static
+ block.
- Provide more specific displaced-stepping memory error message.
- * infrun.c (displaced_step_prepare): New variable status. Call
- target_read_memory instead of read_memory, provide more specific
- error message.
+2013-04-25 Hui Zhu <hui@codesourcery.com>
-2012-04-11 Tristan Gingold <gingold@adacore.com>
+ * breakpoint.c (build_target_command_list): Change loc->cond_bytecode
+ to loc->cmd_bytecode.
- PR gdb/13901
- * darwin-nat.c (darwin_execvp): Revert previous patch.
+2013-04-24 Doug Evans <dje@google.com>
-2012-04-11 Tristan Gingold <gingold@adacore.com>
+ * dwarf2read.c (setup_type_unit_groups): Fix comment.
- PR gdb/13901
- * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only
- in case of change.
+2013-04-22 Keith Seitz <keiths@redhat.com>
-2012-04-11 Tristan Gingold <gingold@adacore.com>
+ * tracepoint.c (trace_save): Call the writer's start method.
- * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
- warning.
+2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
-2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
+ PR gdb/10462
+ * cli/cli-decode.c (lookup_command): Show an error if there is no space
+ before argument.
- New command 'explore' which helps explore values and types in
- scope.
- * NEWS: Add an entry about the new 'explore' command.
- * data-directory/Makefile.in: Add gdb/command/explore.py
- * python/lib/gdb/command/explore.py: Implemention of the 'explore'
- command using the GDB Python API.
+2013-04-23 Tom Tromey <tromey@redhat.com>
-2012-04-10 Maciej W. Rozycki <macro@codesourcery.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.
- * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign
- extension in jump target calculation.
+2013-04-23 Hui Zhu <hui@codesourcery.com>
-2012-04-10 Maciej W. Rozycki <macro@codesourcery.com>
+ PR gdb/15293
+ * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf.
- * mips-tdep.c (mips32_next_pc): Handle JALX.
+2013-04-23 Hui Zhu <hui@codesourcery.com>
-2012-04-10 Yao Qi <yao@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.
- * Makefile.in (gnulib/Makefile): Remove duplicated dependency.
+2013-04-22 Tom Tromey <tromey@redhat.com>
-2012-04-10 Yao Qi <yao@codesourcery.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.
- * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4
- and gnulib/m4/gnulib-tool.m4.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-04-10 Doug Evans <dje@google.com>
+ * ser-tcp.c (net_read_prim): Cast second argument to recv to
+ 'void *'.
- * dwarf2read.c (dwarf2_per_cu_data). Clarify comment.
- (load_partial_dies): Clarify comment.
- (find_partial_die): Support rereading type units.
- Clarify CU handling, if we know offset is in CU, don't search for the
- containing CU. Add comment regarding memory waste.
-
-2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
-
- * features/Makefile (WHICH): Add i386/x32, i386/x32-linux,
- i386/x32-avx and i386/x32-avx-linux.
- (i386/x32-expedite): New.
- (i386/x32-linux-expedite): Likewise.
- (i386/x32-avx-expedite): Likewise.
- (i386/x32-avx-linux-expedite): Likewise.
- ($(outdir)/i386/x32.dat): Likewise.
- ($(outdir)/i386/x32-linux.dat): Likewise.
- ($(outdir)/i386/x32-avx.dat): Likewise.
- ($(outdir)/i386/x32-avx-linux.dat): Likewise.
-
- * features/i386/x32-avx-linux.xml: New file.
- * features/i386/x32-avx.xml: Likewise.
- * features/i386/x32-core.xml: Likewise.
- * features/i386/x32-linux.xml: Likewise.
- * features/i386/x32.xml: Likewise.
-
- * features/i386/x32-avx-linux.c: New. Generated.
- * features/i386/x32-avx.c: Likewise.
- * features/i386/x32-linux.c: Likewise.
- * features/i386/x32.c: Likewise.
- * regformats/i386/x32-avx-linux.dat: Likewise.
- * regformats/i386/x32-avx.dat: Likewise.
- * regformats/i386/x32-linux.dat: Likewise.
- * regformats/i386/x32.dat: Likewise.
-
-2012-04-10 Tristan Gingold <gingold@adacore.com>
-
- * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace
- code to kill the inferior.
-
-2012-04-09 Mark Kettenis <kettenis@gnu.org>
-
- * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs)
- (yyvsp): New defines.
- * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
- * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New
- defines.
-
-2012-04-09 Mark Kettenis <kettenis@gnu.org>
-
- * sparc64-tdep.c (sparc64_store_arguments)
- (sparc64_store_arguments): Fix coding style.
-
-2012-04-07 Mark Kettenis <kettenis@gnu.org>
-
- * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
- complex floats, adjust some related comments and tighten a related
- assertion.
- (sparc64_extract_return_value): Handle complex floats.
-
-2012-04-07 Doug Evans <dje@google.com>
-
- * dwarf2read.c (load_partial_dies): Change condition to assert.
-
-2012-04-06 Doug Evans <dje@google.com>
-
- * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of
- "mov %rsp,%rbp".
-
-2012-04-05 Kevin Buettner <kevinb@redhat.com>
-
- * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix
- fencepost error.
- (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS.
- (v850_gdbarch_init): Set `num_regs' as appropriate for the
- architecture.
-
-2012-04-05 Keith Seitz <keiths@redhat.com>
-
- * linespec.c (decode_compound): Remove.
- (enum offset_relative_sign): New enum.
- (struct line_offset): New struct.
- (struct linespec): New struct.
- (struct linespec_state): Move file_symtabs,
- user_filename, and user_function into struct linespec.
- Make result an anonymous struct holding vectors of
- symbolp and minsym_and_objfile_d.
- Add language member.
- (enum ls_token_type): New enum.
- (linespec_keywords): New array.
- (struct ls_token): New struct.
- (struct ls_parser): New struct.
- (linespec_lexer_lex_number): New function.
- (linespec_lexer_lex_keyword): New function.
- (is_ada_operator): New function.
- (skip_quote_char): New function.
- (copy_token_string): New function.
- (is_closing_quote_enclosed): New function.
- (find_parameter_list_end): New function.
- (linespec_lexer_lex_string): New function.
- (linespec_lexer_lex_one): New function.
- (linespec_lexer_consume_token): New function.
- (linespec_lexer_peek_token): New function.
- (cplusplus_error): Remove unused function.
- (find_methods): Update comment.
- (find_toplevel_char): Return const.
- (is_objc_method_format): Remove unused function.
- (find_toplevel_string): New function.
- (is_linespec_boundary): Remove.
- (symbol_not_found_error): New function.
- (find_method_overload_end): Remove function.
- (unexpected_linespec_error): New function.
- (keep_name_info): Remove.
- (linespec_parse_line_offset): New function.
- (linespec_parse_basic): New function.
- (canonicalize_linespec): New function.
- (decode_line_internal): Remove.
- (create_sals_line_offset): New function adapted from
- decode_all_digits.
- (convert_linespec_to_sals): New function.
- (parse_linespec): New function.
- (linespec_parser_new): New function.
- (linespec_state_destructor): Change parameter type to
- struct linespec_state *.
- Add language parameter.
- Remove freeing of moved members.
- (linespec_parser_delete): New function.
- (decode_line_full): Use parse_linespec and linespec_parser_new.
- (decode_line_1): Likewise.
- (decode_indirect): Rename to ...
- (linespec_expression_to_pc): ... this and rewrite
- to simply find CORE_ADDR, storing this result for later
- conversion to SALs.
- (locate_first_half): Remove.
- (deocde_objc): Add parameter LS.
- Initialize new struct collect_info members.
- Handle minimal symbols, too.
- (decode_compound): Delete.
- (lookup_prefix_sym): Rewrite.
- (compare_msymbols): New function.
- (find_method): Rewrite.
- Do not call cplusplus_error.
- (symtabs_from_filename): Rewrite.
- (collect_function_symbols): Delete.
- (find_function_symbols): Rewrite without ARGPTR-style
- processing.
- (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.)
- (decode_dollar): Adapted and renamed to ...
- (linespec_parse_variable): ... this.
- (find_linespec_symbols): New function.
- (decode_label): Adapted and renamed to ...
- (find_label_symbols): ... this.
- (decode_digits_list_mode): Add and use LS argument.
- (decode_digits_ordinary): Likewise.
- (collect_symbols): Do not collect SALs, just symbols and msymbols.
- If in list mode, allow any symbol class. Otherwise, only
- permit LOC_BLOCK symbols.
- (minsym_found): Update comments.
- (search_minsyms_for_name): Do not convert the matching symbol
- into a SAL. Simply push the symbol and objfile into the
- result vector.
- (decode_variable): Delete. Contents adapted into
- find_linespec_symbols.
-
- * cp-support.c (SKIP_SPACE): Remove.
- (operator_tokens): Remove unused global.
- (cp_validate_operator): Remove.
- * cp-support.h (cp_validate_operator): Remove declaration.
-
-2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity
- for TYPE_VPTR_FIELDNO.
- * valprint.c (valprint_check_validity): Make it global, move the
- function comment ...
- * value.h (valprint_check_validity): ... to this new declaration.
-
-2012-04-02 Tristan Gingold <gingold@adacore.com>
-
- * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use
- the STATE32 api for i386 state.
- (i386_darwin_store_inferior_registers): Likewise.
-
-2012-04-02 Tristan Gingold <gingold@adacore.com>
-
- * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix
- SS offset.
- * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
- format_string.
-
-2012-04-02 Tristan Gingold <gingold@adacore.com>
-
- PR gdb/13901
- * darwin-nat.c (darwin_execvp): Set binary preference.
-
-2012-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * NEWS (set breakpoint condition-evaluation): Use imperative mood.
-
-2012-03-30 Tom Tromey <tromey@redhat.com>
-
- * python/python.c (gdbpy_decode_line): Move cleanup creation out
- of TRY_CATCH. Fix error handling.
- * python/py-value.c (convert_value_from_python): Move 'old'
- declaration to innermost scope.
-
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
-
- -Wshadow warning fix.
- * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
- "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
- Adjust code accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.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.
- * ada-lang.c (symbol_completion_add): Rename parameter
- "encoded" into "encoded_p". Ajust code and documentation
- accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * record.c (validate_history_size): Make parameter 'setting'
+ unsigned.
- -Wshadow warning fix.
- * ada-lang.c (symbol_completion_add): Rename parameter
- "wild_match" into wild_match_p. Update code and documentation
- accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
+ to 'gdb_byte *'.
- * ada-lang.c (symbol_completion_match): Rename parameter
- "encoded" into "encoded_p". Ajust code and documentation
- accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
+ local to int.
- -Wshadow warning fix.
- * ada-lang.c (symbol_completion_match): Rename parameter
- "wild_match" into "wild_match_p". Adjust code and function
- documentation accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * ada-lang.c (print_it_exception): Add cast to gdb_byte *.
+ * ada-tasks.c (read_fat_string_value): Likewise.
- -Wshadow warning fix.
- * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter
- "symbol_info" into "info". Adjust code accordingly.
- (ada_lookup_symbol): Likewise.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.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.
- * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
- of this function's documentation.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
+ (read_index_from_section): Add cast to 'char *'.
- -Wshadow warning fix.
- * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match"
- variable into "wild_match_p". Adjust code accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'.
- -Wshadow warning fix.
- * ada-lang.c (ada_add_local_symbols): Rename "wild_match"
- parameter into "wild_match_p". Adjust code accordingly.
- Document this parameter in the function description.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * coff-pe-read.c (read_pe_exported_syms): Handle strings as char.
- -Wshadow warning fix.
- * ada-lang.c (add_symbols_from_enclosing_procs): Rename
- "wild_match" parameter to "wild_match_p" (-Wshadow).
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ * record-full.c (record_full_get_bookmark): Change local 'ret'
+ type to char * and add cast to gdb_byte *.
+ (record_full_goto_bookmark): Handle 'bookmark' argument as a
+ string.
+ * reverse.c (goto_bookmark_command): Add casts to gdb_byte *.
- * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
- in function documentation.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte
+ * python/py-prettyprint.c (print_string_repr): Change type of
+ 'output' local to char *. Add cast to gdb_byte * in
+ LA_PRINT_STRING call.
+ (print_children): Change type of 'output' local to char *.
+ * python/py-value.c (valpy_string): Add cast to const char * in
+ PyUnicode_Decode call.
- -Wshadow warning fix.
- * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
- variable into wild_match_p. Adjust code accordingly.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
- Andrey Smirnov <andrew.smirnov@gmail.com>
+ * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr'
+ and change its type to 'const char *'. Adjust.
+ (mips_send_packet): Add cast to 'char *', and remove cast to
+ 'unsigned char *'.
+ (mips_receive_packet): Remove cast to 'unsigned char *'.
+ (mips_load_srec): Use bfd_byte.
+ (pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned.
+ (pmon_checkset): Make 'value' parameter unsigned.
- * ada-valprint.c (ada_val_print_1): Move the code handling
- TYPE_CODE_ENUM inside its own lexical block. Declare
- variables len and val there, instead of in the function's
- top level block. Avoid declaring deref_val again in a way
- that shadows another variable of the same name declared
- in one of the up-level blocks. Just re-use the up-level
- variable instead.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ * common/agent.c (agent_run_command): Add cast to gdb_byte *.
- * ada-lang.c (ada_lookup_encoded_symbol): Now returns void.
- Replace block_found argument by symbol_info. Adjust
- implementation accordingly. Add function documentation.
- (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol.
- Fix documentation.
- * ada-lang.h (ada_lookup_encoded_symbol): Update declaration.
- * ada-exp.y (write_object_renaming): Adjust to new
- ada_lookup_encoded_symbol API.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ * remote.c (remote_write_bytes_aux, compare_sections_command)
+ (remote_read_qxfer)
+ (remote_search_memory, remote_hostio_pwrite, remote_hostio_pread)
+ (remote_hostio_readlink, remote_bfd_iovec_pread)
+ (remote_set_trace_notes): Use gdb_byte when RSP buffer is used as
+ binary buffer, and char when buffer is used as string.
+ * tracepoint.c (encode_source_string, tfile_write_uploaded_tp)
+ (trace_save, tfile_open, traceframe_walk_blocks)
+ (tfile_fetch_registers): Likewise.
- * ada-lang.h (struct ada_symbol_info): Reformat. Improve
- documentation.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-28 Rathish C <rathish.c@kpitcummins.com>
+ * ser-base.c (ser_base_write): Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
+ * ser-base.h (ser_base_write): Adjust.
+ * ser-go32.c (cnts): Change type to size_t.
+ (dos_write): Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
+ (dos_info): Print elements of 'cnts' as unsigned long.
+ * serial.c (serial_write): Likewise.
+ * serial.h (serial_write): Adjust.
+ (struct serial_ops) <write>: Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
- * v850-tdep.c: Add the enum values for mpu and fpu registers.
- (v850_register_name): Add the mpu and fpu register names.
- (v850e_register_name): Add the mpu and fpu register names.
- (v850e2_register_name): New function.
- (v850_gdbarch_init): Add case for bfd_mach_v850e2 and
- bfd_mach_v850e2v3.
+2013-04-19 Pedro Alves <palves@redhat.com>
-2012-03-28 Joel Brobecker <brobecker@adacore.com>
+ * c-lang.c (evaluate_subexp_c): Cast result of obstack_base to
+ gdb_byte *.
+ * linux-tdep.c (linux_make_mappings_corefile_notes): Likewise.
- * NEWS: Add entry for Ada varobj support.
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * alpha-tdep.c (alpha_extract_return_value): Use
+ regcache_cooked_read_unsigned to read 'v0'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * xtensa-tdep.c (execute_l32e, execute_s32e): Change type of
+ parameters 'at', 'as' and 'offset' to uint32_t.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * aarch64-tdep.c (aarch64_analyze_prologue): Change type of local
+ 'is64' to signed 'int'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2'
+ parameter to int *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local
+ 'insnbuf' buffer type to unsigned int[].
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
+ unsigned long *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * alpha-tdep.c (heuristic_fence_post): Change type to int.
+ (alpha_heuristic_proc_start): Adjust to check -1 instead of
+ UINT_MAX.
+ * mips-tdep.c (heuristic_fence_post): Change type to int.
+ (heuristic_proc_start): Adjust to check -1 instead of UINT_MAX.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * cris-tdep.c (usr_cmd_cris_version): Make unsigned.
+ (struct gdbarch_tdep) <cris_version>: Make unsigned.
+ (cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'. Use
+ it to get a string view of the byte buffer.
+ * i386-cygwin-tdep.c (core_process_module_section): Change local 'buf'
+ type to gdb_byte *. Adjust.
+ * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full):
+ Change local to char *.
+ * solib-darwin.c (find_program_interpreter): Change return type to
+ char *. Adjust.
+ (darwin_solib_get_all_image_info_addr_at_init): Adjust.
+ * solib-dsbt.c (enable_break2): Change local 'buf' to char *.
+ * solib-frv.c (enable_break2): Change local 'buf' to char *.
+ * solib-spu.c (spu_current_sos): Add gdb_byte * cast.
+ * solib-svr4.c (find_program_interpreter): Change return type to
+ char *. Adjust.
+ (enable_break): Change local 'interp_name' to char *.
+ * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
+ * spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'.
+ (spu_pseudo_register_write_spu): Use char for string buffer.
+ Adjust.
+ (info_spu_event_command, info_spu_signal_command): Add casts to
+ 'char *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * aarch64-tdep.c (aarch64_default_breakpoint): Change type to
+ gdb_byte[].
+ (aarch64_breakpoint_from_pc): Change return type to gdb_byte *.
+ * ada-lang.c (ada_value_assign): Use gdb_byte.
+ * alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[].
+ (alphanbsd_sigtramp_offset): Use gdb_byte.
+ * arm-linux-tdep.c (arm_linux_arm_le_breakpoint)
+ (arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint)
+ (eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint)
+ (arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint)
+ (arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[].
+ * arm-tdep.c (arm_stub_unwind_sniffer)
+ (arm_displaced_init_closure): Use gdb_byte.
+ (arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint)
+ (arm_default_thumb_le_breakpoint)
+ (arm_default_thumb_be_breakpoint): Change type to gdb_byte[].
+ * arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint,
+ thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *.
+ * arm-wince-tdep.c (arm_wince_le_breakpoint)
+ (arm_wince_thumb_le_breakpoint): Change type to gdb_byte[].
+ * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint)
+ (arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint)
+ (arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[].
+ * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint)
+ (arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[].
+ * cris-tdep.c (push_stack_item, cris_push_dummy_call)
+ (cris_store_return_value, cris_extract_return_value): Use
+ gdb_byte.
+ (constraint): Change type of parameter to char * from signed
+ char*. Use gdb_byte.
+ * dwarf2loc.c (read_pieced_value, write_pieced_value): Change type
+ of local buffer to gdb_byte *.
+ * dwarf2read.c (read_index_from_section): Use gdb_byte.
+ (create_dwp_hash_table): Change type of locals to gdb_byte *.
+ (add_address_entry): Change type of local buffer to gdb_byte[].
+ * frv-tdep.c (frv_adjust_breakpoint_address, find_func_descr)
+ (frv_push_dummy_call): Use gdb_byte.
+ * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code)
+ (hppa_hpux_supply_ss_fpblock, hppa_hpux_supply_ss_wide)
+ (hppa_hpux_supply_save_state): Use gdb_byte.
+ * hppa-tdep.c (hppa32_push_dummy_call)
+ (hppa64_convert_code_addr_to_fptr): Use gdb_byte.
+ * ia64-tdep.c (extract_bit_field, replace_bit_field)
+ (slotN_contents, replace_slotN_contents): Change type of parameter
+ to gdb_byte *.
+ (fetch_instruction, ia64_pseudo_register_write)
+ (ia64_register_to_value, ia64_value_to_register)
+ (ia64_extract_return_value, ia64_store_return_value)
+ (ia64_push_dummy_call): Use gdb_byte.
+ * m32c-tdep.c (m32c_return_value): Remove cast.
+ * m68hc11-tdep.c (m68hc11_pseudo_register_write)
+ (m68hc11_push_dummy_call, m68hc11_store_return_value): Use
+ gdb_byte.
+ * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use gdb_byte.
+ * mn10300-tdep.c (mn10300_store_return_value)
+ (mn10300_breakpoint_from_pc, mn10300_push_dummy_call): Use
+ gdb_byte.
+ * moxie-tdep.c (moxie_process_readu): Use gdb_byte.
+ (moxie_process_record): Remove casts.
+ * ppc-ravenscar-thread.c (supply_register_at_address)
+ (ppc_ravenscar_generic_store_registers): Use gdb_byte.
+ * ravenscar-thread.c (get_running_thread_id): Use gdb_byte.
+ * remote-m32r-sdi.c (m32r_fetch_register): Use gdb_byte.
+ * remote-mips.c (mips_xfer_memory): Use gdb_byte.
+ * remote.c (compare_sections_command): Use gdb_byte.
+ * score-tdep.c (score7_free_memblock): Change type of parameter to
+ gdb_byte *.
+ * sh-tdep.c (sh_justify_value_in_reg): Change return type to
+ gdb_byte *. Use gdb_byte.
+ (sh_push_dummy_call_fpu): Use gdb_byte.
+ (sh_extract_return_value_nofpu, sh_extract_return_value_fpu)
+ (sh_store_return_value_nofpu, sh_store_return_value_fpu)
+ (sh_register_convert_to_virtual, sh_register_convert_to_raw):
+ Change parameter type to 'gdb_byte *'. Use gdb_byte.
+ (sh_pseudo_register_read, sh_pseudo_register_write): Use gdb_byte.
+ * sh64-tdep.c (sh64_push_dummy_call): Use gdb_byte.
+ (sh64_store_return_value, sh64_register_convert_to_virtual):
+ Change parameter type to 'gdb_byte *'. Use gdb_byte.
+ (sh64_pseudo_register_write): Use gdb_byte.
+ * solib-darwin.c (darwin_current_sos): Add casts to 'gdb_byte *'.
+ * solib-irix.c (fetch_lm_info): Likewise. Use gdb_byte for byte
+ buffer.
+ (irix_current_sos): Use gdb_byte.
+ * solib-som.c (som_current_sos): Use gdb_byte.
+ * sparc-ravenscar-thread.c (supply_register_at_address)
+ (sparc_ravenscar_generic_store_registers): Use gdb_byte.
+ * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
+ * spu-tdep.c (spu_get_overlay_table): Use gdb_byte.
+ * tic6x-tdep.c (tic6x_breakpoint_from_pc): Change return type to
+ 'gdb_byte *'.
+ * tic6x-tdep.h (struct gdbarch_tdep) <breakpoint>: Change type to
+ 'gdb_byte *'.
+ * tracepoint.c (tfile_fetch_registers): Use gdb_byte.
+ * xstormy16-tdep.c (xstormy16_extract_return_value)
+ (xstormy16_store_return_value): Change parameter type to
+ 'gdb_byte *'. Adjust.
+ (xstormy16_push_dummy_call): Use gdb_byte.
+ * xtensa-tdep.c (xtensa_scan_prologue, call0_ret)
+ (call0_analyze_prologue, execute_code): Use gdb_byte.
+
+2013-04-19 Vladimir Kargov <kargov@gmail.com>
+ Pedro Alves <palves@redhat.com>
-2012-03-28 Joel Brobecker <brobecker@adacore.com>
+ * i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to
+ value contents.
+
+2013-04-17 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct signatured_type): New member type.
+ (struct attribute): Replace member signatured_type with signature.
+ (DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE.
+ (read_call_site_scope): Call follow_die_ref instead of
+ follow_die_ref_or_sig.
+ (read_structure_type): Rewrite handling of signatured types.
+ (read_enumeration_type): Ditto.
+ (read_attribute_value): Update.
+ (build_error_marker_type): New function.
+ (lookup_die_type): Add assert. Rewrite handling of signatured types.
+ Don't call error for bad types, just build an error marker type.
+ (dump_die_shallow): Update.
+ (follow_die_sig_1): Renamed from follow_die_sig.
+ Don't call error for bad types, instead return NULL.
+ (follow_die_sig): New function.
+ (get_signatured_type, get_DW_AT_signature_type): New functions.
+
+2013-04-17 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * aarch64-tdep.c (aarch64_write_pc): Removed.
+ (aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above
+ function.
- * varobj.c (default_value_is_changeable_p): New function,
- extracted from varobj_value_is_changeable_p. Add declaration.
- (ada_value_is_changeable_p): New function, extracted from
- varobj_value_is_changeable_p. Add declaration.
- (struct language_specific): New field "value_is_changeable_p".
- (languages): Add entries for new field.
- (varobj_create): Set language before calling install_new_value.
- (varobj_value_is_changeable_p): Reimplement to call the varobj's
- "value_is_changeable_p" language callback.
+2013-04-17 Yao Qi <yao@codesourcery.com>
-2012-03-28 Joel Brobecker <brobecker@adacore.com>
+ * top.c (print_gdb_configuration): Print configure-time
+ parameter on using libbabeltrace or not.
- * ada-varobj.h, ada-varobj.c: New files.
- * Makefile.in (SFILES): Add ada-varobj.c.
- (HFILES_NO_SRCDIR): Add ada-varobj.h.
- (COMMON_OBS): Add ada-varobj.o.
+2013-04-16 Pedro Alves <palves@redhat.com>
-2012-03-28 Joel Brobecker <brobecker@adacore.com>
+ * copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h.
- * varobj.c (ada_value_has_mutated): Add declaration. New function.
- (struct language_specific): New field "value_has_mutated".
- (languages): Set field "value_has_mutated" in each entry of array.
- (varobj_value_has_mutated): New function.
- (varobj_udpdate): Add handling of type mutation.
- (value_of_root): Add handling of type mutation.
- (ada_value_has_mutated): New function.
+2013-04-16 Pedro Alves <palves@redhat.com>
-2012-03-28 Pedro Alves <palves@redhat.com>
+ * common/glibc_thread_db.h: Update from upstream glibc
+ (git 568035b7874a099087b77f7bba3e36a1173787b0).
- * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register):
- Always supply $fr0 as 0.0 and $fr1 as 1.0.
+2013-04-16 Pedro Alves <palves@redhat.com>
-2012-03-28 Tom Tromey <tromey@redhat.com>
+ * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: Factor out to ...
+ * common/glibc_thread_db.h: ... this new file ...
+ * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: ... and include it.
- * python/py-inferior.c (infpy_read_memory): Remove cleanups and
- explicitly free 'buffer' on exit paths. Decref 'membuf_object'
- before returning.
+2013-04-16 Will Newton <will.newton@gmail.com>
+ Pedro Alves <palves@redhat.com>
-2012-03-28 Tom Tromey <tromey@redhat.com>
+ PR build/11881
- * .dir-locals.el: New file.
+ * common/gdb_thread_db.h (LIBTHREAD_DB_SO)
+ (LIBTHREAD_DB_SEARCH_PATH): Move outside of #ifdef
+ HAVE_THREAD_DB_H.
-2012-03-28 Pedro Alves <palves@redhat.com>
+2013-04-16 Pedro Alves <palves@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
- * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
+ * NEWS: Mention "set foo unlimited".
-2012-03-28 Joel Brobecker <brobecker@adacore.com>
+2013-04-15 Doug Evans <dje@google.com>
- * ia64-linux-nat.c (ia64_linux_fetch_register): Add special
- handling for r0.
+ * dwarf2read.c (struct dwo_file): Replace member "cus" with "cu".
+ (struct create_dwo_cu_data): Renamed from create_dwo_info_table_data.
+ (create_dwo_cu_reader): Renamed from
+ create_dwo_debug_info_hash_table_reader.
+ (create_dwo_cu): Renamed from create_dwo_debug_info_hash_table.
+ Remove support for multiple CUs in a DWO file.
+ (open_and_init_dwo_file, lookup_dwo_cutu): Update.
-2012-03-27 Pedro Alves <palves@redhat.com>
+ * dwarf2read.c (create_debug_types_hash_table): Use hex_string
+ instead of phex.
+ (lookup_dwo_unit, create_dwo_debug_info_hash_table_reader): Ditto.
+ (create_dwo_in_dwp): Ditto.
- Eliminate struct ui_stream.
+2013-04-15 Tom Tromey <tromey@redhat.com>
- * ui-out.h (struct ui_stream): Delete.
- (ui_out_field_stream): Adjust prototype.
- (ui_out_stream_new, ui_out_stream_delete)
- (make_cleanup_ui_out_stream_delete): Delete declarations.
- * ui-out.c (ui_out_field_stream): Change prototype to take a
- ui_file instead of a ui_stream. Adjust.
- (ui_out_stream_new, ui_out_stream_delete, do_stream_delete)
- (make_cleanup_ui_out_stream_delete): Delete.
- * breakpoint.c (print_breakpoint_location)
- (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use
- ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
- * disasm.c (dump_insns): Ditto.
- (do_mixed_source_and_assembly, do_assembly_only): Adjust
- prototype.
- (gdb_disassembly): Use ui_file/mem_fileopen instead of
- ui_stream/ui_out_stream_new.
- * infcmd.c (print_return_value): Ditto.
- * osdata.c (info_osdata_command): Don't allocate a local
- ui_stream.
- * stack.c (print_frame_arg, print_frame_args, print_frame): Use
- ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new.
- * tracepoint.c (print_one_static_tracepoint_marker): Don't
- allocate a local ui_stream.
- * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen
- instead of ui_stream/ui_out_stream_new.
- (list_args_or_locals): Don't allocate a local ui_stream.
- * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression)
- (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of
- ui_stream/ui_out_stream_new.
- * cli/cli-setshow.c (do_setshow_command): Ditto.
-
-2012-03-27 Oza Pawandeep <oza.pawandeep@gmail.com>
-
- * arm-linux-tdep.c (arm_linux_init_abi): Call
- set_gdbarch_process_record. Initialize `arm_swi_record' field.
- * arm-tdep.c (arm_process_record): New function.
- (deallocate_reg_mem): New function.
- (decode_insn): New function.
- (thumb_record_branch): New function.
- (thumb_record_ldm_stm_swi(): New function.
- (thumb_record_misc): New function.
- (thumb_record_ld_st_stack): New function.
- (thumb_record_ld_st_imm_offset): New function.
- (thumb_record_ld_st_reg_offset(): New function.
- (thumb_record_add_sub_cmp_mov): New function.
- (thumb_record_shift_add_sub): New function.
- (arm_record_coproc_data_proc): New function.
- (arm_record_coproc): New function.
- (arm_record_b_bl): New function.
- (arm_record_ld_st_multiple): New function.
- (arm_record_ld_st_reg_offset): New function.
- (arm_record_ld_st_imm_offset): New function.
- (arm_record_data_proc_imm): New function.
- (arm_record_data_proc_misc_ld_str): New function.
- (arm_record_extension_space): New function.
- (arm_record_strx): New function.
- (sbo_sbz): New function.
- (struct insn_decode_record): New structure for arm insn record.
- (REG_ALLOC): New macro for reg allocations.
- (MEM_ALLOC): New macro for memory allocations.
- * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'.
-
-2012-03-27 Andreas Schwab <schwab@linux-m68k.org>
-
- * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.
- (store_register): Likewise.
-
-2012-03-26 Oza Pawandeep <oza.pawandeep@gmail.com>
+ * NEWS: Move recent entries into "since 7.6" section.
- * MAINTAINERS (Write After Approval): Add myself to the list.
+2013-04-15 Tom Tromey <tromey@redhat.com>
-2012-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR c++/13588:
+ * NEWS: Update.
+ * break-catch-throw.c (struct exception_catchpoint)
+ <exception_rx, pattern>: New fields.
+ (fetch_probe_arguments, dtor_exception_catchpoint)
+ (check_status_exception_catchpoint)
+ (print_one_detail_exception_catchpoint): New functions.
+ (handle_gnu_v3_exceptions): Add "except_rx" argument.
+ Compile regular expression if needed.
+ (extract_exception_regexp): New function.
+ (catch_exception_command_1): Use extract_exception_regexp.
+ (compute_exception): Use fetch_probe_arguments.
+ (initialize_throw_catchpoint_ops): Set dtor, print_one_detail,
+ and check_status fields.
+ * cp-abi.c (cplus_typename_from_type_info): New function.
+ * cp-abi.h (cplus_typename_from_type_info): Declare.
+ (struct cp_abi_ops) <get_typename_from_type_info>: New field.
+ * gdb_regex.h (compile_rx_or_error): Declare.
+ * gnu-v3-abi.c (gnuv3_get_typename_from_type_info): Update
+ comment.
+ (init_gnuv3_ops): Set get_type_from_type_info field.
+ * probe.c (compile_rx_or_error): Move...
+ * utils.c (compile_rx_or_error): ... here.
- * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host".
- Describe also the option "auto".
+2013-04-15 Tom Tromey <tromey@redhat.com>
-2012-03-22 Richard Henderson <rth@redhat.com>
+ PR c++/15176:
+ * NEWS: Update.
+ * break-catch-throw.c (compute_exception): New function.
+ (exception_funcs): New global.
+ (_initialize_break_catch_throw): Create $_exception.
+ * cp-abi.c (cplus_type_from_type_info): New function.
+ * cp-abi.h (cplus_type_from_type_info): Declare.
+ (struct cp_abi_ops) <get_type_from_type_info>: New field.
+ * gnu-v3-abi.c (gnuv3_get_typename_from_type_info)
+ (gnuv3_get_type_from_type_info): New functions.
+ (init_gnuv3_ops): Set get_type_from_type_info ABI field.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ * break-catch-throw.c (struct exception_names): New.
+ (exception_functions): Change type.
+ (re_set_exception_catchpoint): Look for SDT probes.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/10119:
+ * break-catch-throw.c (exception_functions): New global.
+ (gnu_v3_exception_catchpoint_ops): Move earlier.
+ (struct exception_catchpoint): New.
+ (classify_exception_breakpoint): Rewrite.
+ (re_set_exception_catchpoint): New function.
+ (handle_gnu_v3_exceptions): Return void. Use init_catchpoint.
+ Allocate a struct exception_catchpoint.
+ (catch_exception_command_1): Update.
+ (initialize_throw_catchpoint_ops): Set 're_set' method.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (SFILES): Add break-catch-throw.c
+ (COMMON_OBS): Add break-catch-throw.o.
+ * break-catch-throw.c: New file.
+ * breakpoint.c: Move exception-catching code to new file.
+ (ep_parse_optional_if_clause): No longer static.
+ * breakpoint.h (ep_parse_optional_if_clause): Declare.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/9065:
+ * NEWS: Update.
+ * breakpoint.c (watchpoint_exp_is_const): Add OP_TYPEID.
+ * c-exp.y (TYPEID): New token.
+ (exp): Add new TYPEID productions.
+ (ident_tokens): Add "typeid".
+ * cp-abi.c (cplus_typeid, cplus_typeid_type): New functions.
+ * cp-abi.h (cplus_typeid, cplus_typeid_type): Declare.
+ (struct cp_abi_ops) <get_typeid, get_typeid_type>: New fields.
+ * eval.c (evaluate_subexp_standard) <OP_TYPEID>: New case.
+ * expprint.c (dump_subexp_body_standard) <OP_TYPEID>: New
+ case.
+ * gnu-v3-abi.c (std_type_info_gdbarch_data): New global.
+ (build_std_type_info_type, gnuv3_get_typeid_type)
+ (gnuv3_get_typeid): New functions.
+ (init_gnuv3_ops): Initialize std_type_info_gdbarch_data. Set
+ new fields on ABI object.
+ * parse.c (operator_length_standard) <OP_TYPEID>: New case.
+ * std-operator.def (OP_TYPEID): New.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ * elfread.c (elf_symtab_read): Install versioned symbol under
+ unversioned name as well.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/11990:
+ * c-lang.c (cplus_language_defn): Use gdb_demangle.
+ * c-typeprint.c (c_type_print_base): Use gdb_demangle.
+ * cp-support.c (mangled_name_to_comp): Use gdb_demangle.
+ (gdb_demangle): New function.
+ * cp-support.h (gdb_demangle): Declare.
+ * dwarf2read.c (dwarf2_physname, fixup_partial_die)
+ (dwarf2_name): Use gdb_demangle.
+ * gdbtypes.c (check_stub_method): Use gdb_demangle.
+ * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version
+ suffixes from name.
+ (gnuv3_print_method_ptr): Use gdb_demangle.
+ * jv-lang.c (java_demangle): Use gdb_demangle.
+ * jv-typeprint.c (java_type_print_base): Use gdb_demangle.
+ * language.c (unk_lang_demangle): Use gdb_demangle.
+ * symtab.c (symbol_find_demangled_name)
+ (demangle_for_lookup): Use gdb_demangle.
+
+2013-04-15 Tom Tromey <tromey@redhat.com>
+
+ PR c++/12824:
+ * NEWS: Update.
+ * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>:
+ New constant.
+ (classify_exception_breakpoint): New function.
+ (print_it_exception_catchpoint, print_one_exception_catchpoint)
+ (print_mention_exception_catchpoint)
+ (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions)
+ (catch_exception_command_1): Handle "rethrow" catchpoint.
+ (catch_rethrow_command): New function.
+ (_initialize_breakpoint): Add "catch rethrow" command.
- * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
- * sparc-nat.c (sparc_xfer_wcookie): Make static.
+2013-04-15 Pierre Muller <muller@sourceware.org>
-2012-03-22 Richard Henderson <rth@redhat.com>
+ * contrib/ari/gdb_ari.sh (write_pc rule): Do not consider
+ set_gdbarch_write_pc as deprecated anymore.
- * jit.c (jit_read_code_entry): Compute alignment and offset of
- int64_t member before computing entry_size.
+2013-04-15 Joel Brobecker <brobecker@adacore.com>
-2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
+ * spu-tdep.c (spu_write_pc): Add empty line after local variable
+ declarations.
- Python scripting: Add new method Value.referenced_value to
- gdb.Value which can dereference pointer as well as reference
- values.
- * NEWS: Add entry under 'Python scripting' about the new method
- Value.referenced_value on gdb.Value objects.
- * python/py-value.c (valpy_referenced_value): New function
- defining a new method on gdb.Value objects which can dereference
- pointer and reference values.
+2013-04-13 Yao Qi <yao@codesourcery.com>
-2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
+ * ctf.c (_initialize_ctf): Include "completer.h".
+ Call add_target_with_completer instead of add_target.
- * MAINTAINERS (Write After Approval): Add myself to the list.
+2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-21 Kevin Buettner <kevinb@redhat.com>
+ Fix GDB regression related to PR binutils/14813.
+ * jit.c (mem_bfd_iovec_close): Return 0 for success.
+ * minidebug.c (lzma_close): Add return value comment.
+ * remote.c (remote_bfd_iovec_close): Return 0 for success.
+ * solib-spu.c (spu_bfd_iovec_close): Likewise.
+ * spu-linux-nat.c (spu_bfd_iovec_close): Likewise.
- * symtab.c (skip_prologue_sal): Change test to check for "main()"
- in addition to "main".
+2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-21 Joel Brobecker <brobecker@adacore.com>
+ * config.in: Regenerate.
- * expression.h (op_name): Add declaration.
- * expprint.c (op_name): Remove declaration. Make non-static.
- * ax-gdb.c (gen_expr): Use op_name instead of op_string.
+2013-04-12 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2-frame.c (struct comp_unit) <dwarf_frame_buffer>: Now
+ const.
+ * dwarf2read.c (struct dwarf2_section_info) <buffer>: Now const.
+ (struct die_reader_specs) <buffer>: Likewise.
+ (die_reader_func_ftype): Make 'info_ptr' const.
+ (struct line_header) <include_dirs, statement_program_start,
+ statement_program_end>: Now const.
+ (struct file_entry) <name>: Likewise.
+ (struct partial_die_info) <sibling>: Likewise.
+ (struct dwarf_block) <data>: Likewise.
+ (dwarf2_read_section): Remove cast.
+ (dwarf2_get_section_info): Make 'bufp' const.
+ (read_index_from_section): Constify.
+ (dw2_get_file_names_reader): Make 'info_ptr' const.
+ (dw2_get_primary_filename_reader): Likewise.
+ (read_comp_unit_head): Make 'info_ptr' and return type const.
+ (read_and_check_comp_unit_head, read_and_check_type_unit_head):
+ Likewise.
+ (read_abbrev_offset): Constify.
+ (dwarf2_create_include_psymtab): Make 'name' const.
+ (create_debug_types_hash_table): Update.
+ (read_cutu_die_from_dwo): Make 'result_info_ptr' const.
+ (init_cutu_and_read_dies, init_cutu_and_read_dies_no_follow):
+ Constify.
+ (process_psymtab_comp_unit_reader, build_type_psymtabs_reader)
+ (load_partial_comp_unit_reader): Make 'info_ptr' const.
+ (read_comp_units_from_section): Constify.
+ (peek_abbrev_code, peek_die_abbrev, skip_children, skip_one_die)
+ (locate_pdi_sibling, load_full_comp_unit_reader): Make 'info_ptr'
+ const.
+ (dwarf2_compute_name, setup_type_unit_groups): Constify.
+ (create_dwo_debug_info_hash_table): Make 'info_ptr' const.
+ (create_dwp_hash_table, dwarf2_ranges_read)
+ (dwarf2_record_block_ranges): Constify.
+ (read_die_and_children, read_die_and_siblings_1)
+ (read_die_and_siblings): Make 'info_ptr' and 'new_info_ptr'
+ const.
+ (read_full_die_1, read_full_die): Make 'info_ptr' const.
+ (abbrev_table_read_table): Constify.
+ (load_partial_dies): Make 'info_ptr' const.
+ (read_partial_die, read_attribute_value, read_attribute): Make
+ 'info_ptr' and return type const.
+ (read_address, read_initial_length)
+ (read_checked_initial_length_and_offset, read_offset)
+ (read_offset_1, read_n_bytes, read_direct_string): Make 'buf'
+ const.
+ (read_direct_string): Make 'buf' and return type const.
+ (read_indirect_string_at_offset, read_indirect_string_from_dwz)
+ (read_indirect_string): Make return type const.
+ (read_unsigned_leb128, read_signed_leb128): Make 'buf' const.
+ (read_addr_index_from_leb128, dwarf2_read_addr_index_reader): Make
+ 'info_ptr' const.
+ (read_str_index): Make return type const.
+ (add_include_dir): Make 'include_dir' const.
+ (add_file_name): Make 'name' const.
+ (dwarf_decode_line_header): Constify.
+ (psymtab_include_file_name): Make return type const.
+ (dwarf_decode_lines_1, dwarf_decode_lines): Constify.
+ (dwarf2_start_subfile): Make 'filename' const.
+ (dwarf2_const_value_attr): Make 'bytes' const.
+ (read_signatured_type_reader): Make 'info_ptr' const.
+ (decode_locdesc): Constify.
+ (skip_form_bytes): Make 'bytes', 'buffer_end', and return type
+ const.
+ (skip_unknown_opcode): Make 'opcode_definitions', 'mac_ptr',
+ 'mac_end', and return type const.
+ (dwarf_parse_macro_header): Make 'mac_ptr' and return type const.
+ (dwarf_decode_macro_bytes): Make 'mac_ptr', 'mac_end', and return
+ type const.
+ (per_cu_header_read_in): Constify.
+ * symfile.h (dwarf2_get_section_info): Update.
+
+2013-04-12 Tom Tromey <tromey@redhat.com>
+
+ * symtab.h (struct general_symbol_info) <value.bytes>: Make const.
+
+2013-04-12 Eli Zaretskii <eliz@gnu.org>
+
+ * NEWS: Mention "show configuration", --configuration.
+ * top.c (print_gdb_configuration): New function, displays the
+ details about GDB configure-time parameters.
+ (print_gdb_version): Mention "show configuration".
+ * cli/cli-cmds.c (show_configuration): New function.
+ (_initialize_cli_cmds): Add the "show configuration" command.
+ * main.c (captured_main) <print_configuration>: New static var.
+ <long_options>: Use it.
+ If --configuration was given, call print_gdb_configuration.
+
+2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <palves@redhat.com>
-2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
+ * Makefile.in (HAVE_NATIVE_GCORE_TARGET): New.
+ (generated_files): Add gcore.
+ (install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or
+ HAVE_NATIVE_GCORE_HOST.
+ (gcore): New.
+ * NEWS (Changes since GDB 7.6): Mention newly installed gcore.
+ * config/alpha/alpha-osf3.mh, config/i386/fbsd.mh,
+ config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh,
+ config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh,
+ config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh:
+ Add HAVE_NATIVE_GCORE_HOST.
+ * configure: Regenerate.
+ * configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it.
+ New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New
+ AC_CONFIG_FILES for gcore.
+ * configure.tgt: Add gdb_have_gcore to the initial comment. Set
+ gdb_have_gcore.
+ * gdb_gcore.sh: Rename to ...
+ * gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME
+ and GCORE_TRANSFORM_NAME substitutions.
+
+ Fix parsing tabs in ${gdb_target_obs}.
+ * configure.tgt (gdb_have_gcore): Replace case with for and if.
+
+2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * remote.c (unpush_and_perror): Add output message final dot.
+
+2013-04-11 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tfile_interp_line): Fit parameters line and
+ utpp in one line.
+
+2013-04-10 Joel Brobecker <brobecker@adacore.com>
+
+ * solib.c (solib_map_sections): Remove code overwriting
+ SO->SO_NAME with the bfd's filename.
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-decode.c (integer_unlimited_completer): New function.
+ (add_setshow_integer_cmd, add_setshow_uinteger_cmd)
+ (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited"
+ completer.
+ * cli/cli-setshow.c: Include "cli/cli-utils.h".
+ (is_unlimited_literal): New function.
+ (do_set_command): Handle literal "unlimited" arguments.
+ * frame.c (_initialize_frame) <set backtrace limit>: Document
+ "unlimited".
+ * printcmd.c (_initialize_printcmd) <set print
+ max-symbolic-offset>: Add help text.
+ * record-full.c (_initialize_record_full) <set record full
+ insn-number-max>: Likewise.
+ * record.c (_initialize_record) <set record
+ instruction-history-size, set record function-call-history-size>:
+ Add help text.
+ * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add
+ help text.
+ * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>:
+ Likewise.
+ * source.c (_initialize_source) <set listsize>: Add help text.
+ * utils.c (initialize_utils) <set height, set width>: Likewise.
+ <set pagination>: Mention "set height unlimited".
+ * valprint.c (_initialize_valprint) <set print elements, set print
+ repeats>: Document "unlimited".
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-cmds.c (quit_command): Call query_if_trace_running
+ instead of disconnect_tracing.
+ * infcmd.c (detach_command, disconnect_command): Call
+ query_if_trace_running. Adjust.
+ * top.c: Include "tracepoint.h".
+ (quit_target): Delete. Contents moved ...
+ (quit_force): ... here. Wrap each stage of teardown in
+ TRY_CATCH. Call disconnect_tracing before detaching.
+
+2013-04-10 Hui Zhu <hui@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead
- of struct siginfo.
- * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise.
- * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
- * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup)
- (linux_xfer_siginfo, linux_nat_set_siginfo_fixup)
- (linux_nat_get_siginfo): Likewise.
- * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup)
- (linux_nat_get_siginfo): Likewise.
- * linux-tdep.c (linux_get_siginfo_type): Likewise.
- * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise.
- * procfs.c (gdb_siginfo_t): Likewise.
+ * configure.ac: Check libbabeltrace is installed.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * Makefile.in (LIBBABELTRACE): New.
+ (CLIBS): Add LIBBABELTRACE.
+ * ctf.c: Include "exec.h".
+ (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
+ (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
+ (ctf_save_metadata_header): Define new type aliases in
+ metadata.
+ (ctf_write_header): Define event type "tsv_def" and "tp_def"
+ in metadata. Start a new faked packet for trace status.
+ (ctf_write_status): Write trace status to CTF.
+ (ctf_write_uploaded_tsv): Write TSV to CTF.
+ (ctf_write_uploaded_tp): Write tracepoint definition to CTF.
+ (ctf_write_definition_end): End the faked packet.
+
+ (ctx, ctf_iter, trace_dirname): New.
+ (start_pos): New variable.
+ (ctf_destroy, ctf_open_dir, ctf_open): New.
+ (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
+ macros.
+ (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
+ (ctf_fetch_registers, ctf_xfer_partial): New.
+ (ctf_get_trace_state_variable_value): New.
+ (ctf_get_tpnum_from_frame_event): New.
+ (ctf_get_traceframe_address): New.
+ (ctf_trace_find, ctf_has_stack): New.
+ (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
+ (ctf_get_trace_status, ctf_read_status): New.
+ (_initialize_ctf): New.
+ * tracepoint.c (get_tracepoint_number): New
+ (get_uploaded_tsv): Remove 'static'.
+ (struct traceframe_info, trace_regblock_size): Move it to ...
+ * tracepoint.h: ... here.
+ (get_tracepoint_number): Declare it.
+ (get_uploaded_tsv): Declare it.
+
+ * NEWS: Mention new configure option.
+
+2013-04-10 Pedro Alves <palves@redhat.com>
+ Hui Zhu <hui@codesourcery.com>
+
+ * breakpoint.c (dprintf_re_set): New.
+ (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
+ to dprintf_re_set.
+
+2013-04-09 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
+ Remove solib-svr4.o from the list.
+
+2013-04-09 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
+ Use gdb_assert_not_reached instead of invalid boolean expression.
+
+2013-04-09 Pedro Alves <palves@redhat.com>
+
+ * remote.c (unpush_and_perror): New function.
+ (readchar, remote_serial_write): Use it.
+
+2013-04-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * NEWS: Mention new btrace RSP packets.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
+ long.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * maint.c (print_bfd_section_info): Print the section index.
+ * symmisc.c (dump_msymbols): Print the section index.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/8424:
+ * blockframe.c (find_pc_partial_function_gnu_ifunc): Check
+ SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
+ * breakpoint.c (resolve_sal_pc): Update.
+ * elfread.c (elf_gnu_ifunc_record_cache): Update.
+ * findvar.c (struct minsym_lookup_data) <objfile>: New field.
+ (minsym_lookup_iterator_cb): Use it.
+ (default_read_var_value): Update.
+ * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
+ Update.
+ * infcmd.c (jump_command): Update.
+ * linespec.c (minsym_found): Update.
+ * maint.c (maintenance_translate_address): Update.
+ * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
+ (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
+ * parse.c (write_exp_msymbol): Update.
+ * printcmd.c (address_info): Update.
+ * psymtab.c (find_pc_sect_psymbol): Update.
+ (fixup_psymbol_section): Check SYMBOL_SECTION, not
+ SYMBOL_OBJ_SECTION.
+ (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
+ Don't initialize SYMBOL_OBJ_SECTION.
+ * spu-tdep.c (spu_catch_start): Update.
+ * stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
+ * symmisc.c (dump_msymbols, print_symbol): Update.
+ * symtab.c (fixup_section): Don't set 'obj_section'. Change
+ how fallback section is computed.
+ (fixup_symbol_section): Update.
+ (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
+ Update.
+ (allocate_symbol, initialize_symbol, allocate_template_symbol):
+ Initialize SYMBOL_SECTION.
+ * symtab.h (struct general_symbol_info) <section>: Update comment.
+ <obj_section>: Remove.
+ (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite.
+ (SYMBOL_OBJFILE): New macro.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (record_minimal_symbol): Update.
+ * dbxread.c (record_minimal_symbol): Update.
+ * elfread.c (record_minimal_symbol): Update.
+ * machoread.c (macho_symtab_add_minsym): Update.
+ * mdebugread.c (record_minimal_symbol, parse_partial_symbols):
+ Update.
+ * minsyms.c (prim_record_minimal_symbol): Update.
+ (prim_record_minimal_symbol_full): Remove 'bfd_section'
+ argument.
+ (prim_record_minimal_symbol_and_info): Likewise.
+ * minsyms.h (prim_record_minimal_symbol_full)
+ (prim_record_minimal_symbol_and_info): Update.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): Initialize SYMBOL_SECTION.
+ * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
+ Update.
-2012-03-21 Mike Frysinger <vapier@gentoo.org>
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/8423:
+ * solib-som.c (som_solib_section_offsets): Use BFD section
+ indices. Set offsets for all sections.
+ * somread.c (som_symtab_read): Compute BFD section for
+ symbol. Use prim_record_minimal_symbol_and_info.
+ (som_symfile_read): Fix comment.
+ (struct find_section_offset_arg): New.
+ (find_section_offset, set_section_index): New functions.
+ (som_symfile_offsets): Use set_section_index to compute
+ section indices.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (cs_to_section): Use gdb_bfd_section_index.
+ * elfread.c (record_minimal_symbol, elf_symtab_read): Use
+ gdb_bfd_section_index.
+ * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
+ New functions.
+ * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
+ Declare.
+ * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
+ Update.
+ * objfiles.c (add_to_objfile_sections_full): New function.
+ (add_to_objfile_sections): Use it.
+ (build_section_table): Rewrite.
+ (objfile_relocate1): Use gdb_bfd_section_index. Update.
+ * objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
+ (struct objfile) <sections>: Update comment.
+ (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
+ is NULL.
+ (ALL_OBJSECTIONS): Use it.
+ * solib-dsbt.c (dsbt_relocate_main_executable): Update.
+ * solib-frv.c (frv_relocate_main_executable): Update.
+ * solib-target.c (solib_target_relocate_section_addresses):
+ Use gdb_bfd_section_index.
+ * symfile.c (build_section_addr_info_from_section_table):
+ Use gdb_bfd_section_index.
+ (build_section_addr_info_from_bfd, place_section): Likewise.
+ * symtab.c (fixup_section): Update.
+ * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * minsyms.h (struct bound_minimal_symbol): New.
+ (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
+ Remove objfile argument.
+ (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
+ Return bound_minimal_symbol.
+ * minsyms.c (lookup_minimal_symbol_by_pc_1)
+ (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
+ Return bound_minimal_symbol.
+ (in_gnu_ifunc_stub): Update.
+ (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
+ Remove 'objfile_p' argument.
+ (lookup_solib_trampoline_symbol_by_pc): Update.
+ * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
+ arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c,
+ c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
+ glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
+ i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
+ linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
+ mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
+ ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
+ stack.c, symtab.c, tui/tui-disasm.c: Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
+ Use symbol's obstack, not an objfile.
+ * coffread.c (process_coff_symbol): Update.
+ * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
+ * jv-lang.c (add_class_symbol): Update.
+ * mdebugread.c (new_symbol): Update.
+ * minsyms.c (prim_record_minimal_symbol_full)
+ (terminate_minimal_symbol_table): Update.
+ * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update.
+ * stabsread.c (define_symbol, read_enum_type): Update.
+ * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
+ Handle Ada specially.
+ (symbol_set_language): Add 'obstack' argument.
+ (symbol_set_names): Update.
+ (symbol_natural_name, symbol_demangled_name): Always use
+ ada_decode_symbol.
+ * symtab.h (struct general_symbol_info)
+ <language_specific::obstack>: New field.
+ <ada_mangled>: New field.
+ (SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
+ (symbol_set_language): Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
+ Take an obstack, not an objfile.
+ (symbol_set_names): Update.
+ * symtab.h (symbol_set_demangled_name): Update.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (process_coff_symbol, coff_read_enum_type): Call
+ allocate_symbol.
+ * dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
+ (read_func_scope): Call allocate_template_symbol.
+ (new_symbol_full): Call allocate_symbol.
+ * jit.c (finalize_symtab): Call allocate_symbol.
+ * jv-lang.c (add_class_symbol): Call allocate_symbol.
+ * mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
+ * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
+ (common_block_end): Call allocate_symbol.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): New functions.
+ * symtab.c (allocate_symbol, initialize_symbol)
+ (allocate_template_symbol): Declare.
+ * xcoffread.c (process_xcoff_symbol): Call initialize_symbol.
+
+2013-04-08 Pedro Alves <palves@redhat.com>
+ Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.c (create_breakpoint): Rename
+ "parse_condition_and_thread" parameter to "parse_arg". Update
+ describing comment. If !PARSE_ARG, then error out if ARG is not
+ the empty string after extracting the location.
+ * breakpoint.h (create_breakpoint): Rename
+ "parse_condition_and_thread" parameter to "parse_arg".
+
+2013-04-08 Aleksandar Ristovski <aristovski@qnx.com
+
+ * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
+
+2013-04-07 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_trace_find): Change type of parameters 'addr1'
+ and 'addr2' to CORE_ADDR.
+ * target.c (update_current_target): Update.
+ * target.h (struct target_ops) <to_trace_find>: Change parameter
+ type to CORE_ADDR.
+ * tracepoint.c (tfind_1): Change type of parameters 'addr1' and
+ 'addr2' to CORE_ADDR.
+ (tfile_trace_find): Likewise.
+ (tfile_get_traceframe_address): Change return type to CORE_ADDR.
+ Change local variable 'addr' to type CORE_ADDR.
+ * tracepoint.h (tfind_1): Update declaration.
- * .gitignore: Ignore more files.
+2013-04-06 Eli Zaretskii <eliz@gnu.org>
-2012-03-20 Pedro Alves <palves@redhat.com>
+ * windows-nat.c (windows_get_absolute_argv0): Move from here...
+ * mingw-hdep.c (windows_get_absolute_argv0): ...to here.
+ Include main.h.
- * remote.c (remote_start_remote): Clear `rs->starting_up' on early
- returns.
+ * windows-nat.h (windows_get_absolute_argv0): Move prototype from
+ here...
+ * main.h (windows_get_absolute_argv0): ...to here.
-2012-03-20 Yao Qi <yao@codesourcery.com>
+2013-04-05 Doug Evans <dje@google.com>
- * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in
- comment.
+ * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment.
+ (read_cutu_die_from_dwo): Add comments.
+ (read_structure_type): Update comment.
+ (read_enumeration_type, read_namespace_type): Update comment.
+ (read_die_type, get_die_type_at_offset, get_die_type): Update comment.
-2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Code cleanupp: Use cu_offset and sect_offset compile time type checking.
- * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op)
- (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and
- sect_offset.
- * dwarf2expr.h (cu_offset, sect_offset): New types.
- (struct dwarf_expr_context_funcs) <dwarf_call>
- (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and
- sect_offset.
- (struct dwarf_expr_context) <len>: Improve the comment.
- (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use
- cu_offset and sect_offset.
- * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call)
- (dwarf_expr_get_base_type, needs_frame_dwarf_call)
- (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise.
- * dwarf2loc.h: Include dwarf2expr.h.
- (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset
- and sect_offset.
- * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>:
- Improve the comment.
- (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data)
- (struct signatured_type, struct line_header, struct partial_die_info)
- (struct die_info, find_partial_die, dwarf2_get_ref_die_offset)
- (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit)
- (get_die_type_at_offset, create_cus_from_index)
- (create_signatured_type_table_from_index, dw2_get_file_names)
- (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head)
- (read_and_check_comp_unit_head, read_and_check_type_unit_head)
- (create_debug_types_hash_table, process_psymtab_comp_unit)
- (load_partial_comp_unit, create_all_comp_units)
- (partial_die_parent_scope, partial_die_full_name, skip_one_die)
- (load_full_comp_unit, dwarf2_physname, read_import_statement)
- (inherit_abstract_dies, read_func_scope, read_call_site_scope)
- (dwarf2_add_member_fn, process_enumeration_scope, read_module_type)
- (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs)
- (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit)
- (find_partial_die, read_attribute_value, lookup_die_type)
- (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset.
- (is_ref_attr): New function comment.
- (dwarf2_get_ref_die_offset): New function comment, new variable retval.
- Use cu_offset and sect_offset.
- (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block)
- (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset)
- (load_full_type_unit, read_signatured_type, per_cu_header_read_in)
- (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type)
- (offset_and_type_hash, offset_and_type_eq, set_die_type)
- (get_die_type_at_offset, partial_die_hash, partial_die_eq)
- (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and
- sect_offset.
-
-2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
- Code cleanup.
- * python/py-auto-load.c (source_section_scripts): New variable back_to.
- Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup
- with xfree.
- (auto_load_objfile_script): Turn fclose into make_cleanup_fclose.
-
-2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * NEWS: Describe new options --init-command=FILE, -ix and
- --init-eval-command=COMMAND, -iex.
- * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and
- CMDARG_INIT_COMMAND.
- (captured_main): New enum items OPT_IX and OPT_IEX. Add
- "init-command", "init-eval-command", "ix" and "iex" to the variable
- long_options. Handle OPT_IX and OPT_IEX. Process them from CMDARG_VEC.
- New comment for CMDARG_FILE and CMDARG_COMMAND processing.
- (print_gdb_help): Describe --init-command=FILE, -ix and
- --init-eval-command=COMMAND, -iex.
-
-2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Convert man pages to texinfo, new gdbinit.5 texinfo page.
+ * Makefile.in (gdb.z): Remove.
+ (install-only): Remove $(man1dir) and gdb.1 installation.
+ * gdb.1: Remove.
- Code cleanup.
- * main.c (struct cmdarg): Move it here from main. Add more comments.
- (cmdarg_s, VEC (cmdarg_s)): New.
- (main): Move struct cmdarg from here. New variables cmdarg_vec and
- cmdarg_p. Remove variables cmdsize and ncmd and their initialization.
- Install cleanup for cmdarg_vec. Update filling for options 'x' and
- 'X'. Replace cmdarg processing by cmdarg_vec processing. Remove xfree
- of CMDARG.
-
-2012-03-19 Tom Tromey <tromey@redhat.com>
-
- * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.
-
-2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- PR symtab/13777
- * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for
- GCC >=4.5.
-
-2012-03-16 Chris January <chris.january@allinea.com>
-
- * tui-tui.win.c (tui_resize_all): Use erase and clearok instead
- of clear.
-
-2012-03-16 Chris January <chris.january@allinea.com>
-
- * source.c (add_path): Use memmove instead of strcpy because the
- strings overlap.
-
-2012-03-16 Joel Brobecker <brobecker@adacore.com>
-
- * value.h (set_value_parent): Add declaration.
- * value.c (set_value_parent): New function.
- (value_address): If VALUE->PARENT is not NULL, then use it as
- the base address instead of VALUE->LOCATION.address.
- * ada-lang.c (ada_value_primitive_packed_val): Keep V's address
- the same as OBJ's address. Adjust V's offset accordingly.
- Set V's parent.
-
-2012-03-16 Gary Benson <gbenson@redhat.com>
-
- PR breakpoints/10738
- * dwarf2read.c (use_deprecated_index_sections): New global.
- (struct partial_die_info): New member may_be_inlined.
- (read_partial_die): Set may_be_inlined where appropriate.
- (add_partial_subprogram): Add partial symbols for partial
- DIEs that may be inlined.
- (new_symbol_full): Add inlined subroutines to the current
- scope.
- (write_psymtabs_to_index): Bump version number.
- (dwarf2_read_index): Read only version 6 indices unless
- use_deprecated_index_sections is set.
- * linespec.c (symbol_and_data_callback): New structure.
- (iterate_inline_only): New function.
- (iterate_over_all_matching_symtabs): New argument
- "include_inline". If nonzero, also call the callback for
- symbols representing inlined subroutines.
- (lookup_prefix_sym): Pass extra argument to the above.
- (find_function_symbols): Likewise.
- (add_matching_symbols_to_info): Likewise.
- * NEWS: Mention that GDB can now set breakpoints on inlined
- functions.
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr>
+ Fix compatibility with Linux kernel 3.8.3.
+ * linux-tdep.c (linux_find_memory_regions_full): Move variable number
+ to more inner block. Remove parsing of NUMBER from outer block.
+ Parse NUMBER only if KEYWORD has been identified.
- * p-typeprint.c (pascal_type_print_method_args):
- Fix display of parameter of methods.
+2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr>
+ Fix variable name shadowing.
+ * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
+ filename to mapsfilename and update its uses.
- * amd64-windows-nat.c (_initialize_amd64_windows_nat):
- Add missing prototype.
+2013-04-05 Eli Zaretskii <eliz@gnu.org>
-2012-03-16 Yao Qi <yao@codesourcery.com>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+ * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
+ empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
+ and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
+ details of the problem.
- Fix false compilation warning.
- * gnu-v3-abi.c (print_one_vtable): Initialize ADDR.
-
-2012-03-15 Jonathan Larmour <jifl@eCosCentric.com>
- Pedro Alves <pedro@codesourcery.com>
-
- * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c".
- (arm_register_g_packet_guesses): New function.
- (arm_gdbarch_init): Don't force a target description with
- registers when the executable is detected as M-profile. Instead
- set gdbarch->tdep->is_m. Register `g' packet guesses.
- (_initialize_arm_tdep): Initialize the new target description.
- * features/arm-with-m-fpa-layout.xml: New description.
- * features/arm-with-m-fpa-layout.c: New, generated.
-
-2012-03-15 Joel Brobecker <brobecker@adacore.com>
-
- * breakpoint.c (breakpoint_xfer_memory): Add assertion.
- Update function description.
- (insert_bp_location): Do not wipe bl->target_info out.
- * mem-break.c: #include "gdb_string.h".
- (default_memory_insert_breakpoint): Do not call target_read_memory
- with a pointer to the breakpoint's shadow_contents buffer. Use
- a local buffer instead.
- * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto.
-
-2012-03-15 Tom Tromey <tromey@redhat.com>
-
- * NEWS: Mention "info vtbl", not "info vtable".
- * cp-support.c (info_vtbl_command): Fix comment.
- (_initialize_cp_support): Fix text.
-
-2012-03-15 Tom Tromey <tromey@redhat.com>
-
- * cp-valprint.c (cp_print_value_fields): Use
- print_function_pointer_address for vtable slot.
-
-2012-03-15 Tom Tromey <tromey@redhat.com>
-
- * gnu-v3-abi.c (struct value_and_voffset): New.
- (hash_value_and_voffset, eq_value_and_voffset)
- (compare_value_and_voffset, compute_vtable_size)
- (print_one_vtable, gnuv3_print_vtable): New functions.
- (init_gnuv3_ops): Initialize 'print_vtable' field.
- * cp-support.c (info_vtbl_command): New function.
- (_initialize_cp_support): Add "info vtbl".
- * cp-abi.h (cplus_print_vtable): Declare.
- (struct cp_abi_ops) <print_vtable>: New field.
- * cp-abi.c (cplus_print_vtable): New function.
- * NEWS: Update.
+2013-04-04 Pedro Alves <palves@redhat.com>
+ Hui Zhu <hui@codesourcery.com>
-2012-03-15 Tom Tromey <tromey@redhat.com>
+ * breakpoint.c (validate_commands_for_breakpoint): If validating a
+ tracepoint, reset its STEP_COUNT and call validate_actionline.
- * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to
- iterate_over_symbols.
+2013-04-03 Doug Evans <dje@google.com>
-2012-03-14 Doug Evans <dje@google.com>
+ * dwarf2read.c (read_die_and_siblings_1): Renamed from
+ read_die_and_siblings.
+ (read_die_and_siblings): New function.
+ (read_cutu_die_from_dwo): Dump die if requested.
+ (read_die_and_children): Call read_full_die_1 and
+ read_die_and_siblings_1.
+ (read_full_die): Dump die if requested.
- * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr,
- DW_OP_GNU_parameter_ref.
+ * dwarf2read.c (read_comp_units_from_section): Add debugging printf.
-2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * dwarf2read.c (struct dwo_file): New member comp_dir.
+ Rename member name to dwo_name. All uses updated.
+ (hash_dwo_file): Include comp_dir in computation.
+ (eq_dwo_file): Ditto.
+ (lookup_dwo_file_slot): New arg comp_dir. All callers updated.
+ (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto.
- Fix double prompt of 'interpreter-exec mi'.
- * mi/mi-interp.c (mi_execute_command_input_handler): New prototype.
- (mi_interpreter_resume): use it.
- (mi_execute_command_input_handler): New function.
- * mi/mi-main.c (mi_execute_command): Move prompt printing to
- mi_execute_command_input_handler.
+ * psymtab.c (read_psymtabs_with_fullname): Don't call
+ psymtab_to_fullname if the basenames are different.
-2012-03-13 Josh Matthews <josh@joshmatthews.net> (tiny change)
+2013-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
- * darwin-nat-info.c (_initialize_darwin_info_commands): Add
- prototype.
- (darwin_debug_port_info): Make static.
- * darwin-nat.c (_initialize_darwin_inferior): Add prototype.
- * machoread.c (_initialize_machoread): Add prototype.
- * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get)
- (i386_darwin_set_control, i386_darwin_get_control)
- i386_darwin_dr_set_addr, i386_darwin_get_addr)
- i386_darwin_get_status, i386_darwin_get_control):
- Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro.
+ * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname".
+ New entry about "fullname" presence.
-2012-03-13 Joel Brobecker <brobecker@adacore.com>
+2013-04-03 Pedro Alves <palves@redhat.com>
- * ax-gdb.c (gen_usual_unary): Remove special handling of
- enum and bool types.
+ * NEWS: Mention x86_64/Cygwin as new native configuration.
-2012-03-13 Joel Brobecker <brobecker@adacore.com>
+2013-04-02 Doug Evans <dje@google.com>
- * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types.
+ * dwarf2read.c (read_structure_type): Fix typo in comment.
-2012-03-13 Joel Brobecker <brobecker@adacore.com>
+2013-04-02 Pedro Alves <palves@redhat.com>
- * aix-thread.c (supply_fprs): Make more consistent with fill_fprs.
+ * NEWS: Mention "set/show debug aarch64", "set/show debug
+ coff-pe-read" and "set/show debug mach-o".
-2012-03-13 Chris January <chris.january@allinea.com>
+2013-04-02 Pedro Alves <palves@redhat.com>
- * aix-thread.c (fill_sprs): Store the floating point registers
- at the correct offsets into vals.
+ * NEWS: Mention "set/show remote trace-buffer-size-packet".
-2012-03-13 Doug Evans <dje@google.com>
+2013-04-02 Eli Zaretskii <eliz@gnu.org>
- * NEWS: Mention symbol-reloading has been deleted.
- * symfile.c (symbol_reloading): Delete.
- (show_symbol_reloading): Delete.
- (_initialize_symfile): Delete set/show symbol-reloading.
+ * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h.
+ gdb_string.h is now in common/.
- * dwarf2read.c (load_partial_comp_unit): Defer adding cu to
- read_in_chain until we have successfully read it in.
- (load_full_comp_unit): Ditto.
- (read_signatured_type): Add comment.
+2013-04-02 Pedro Alves <palves@redhat.com>
-2012-03-13 Chris January <chris.january@allinea.com>
+ * NEWS: Move "set debug notification" and "set trace-buffer-size"
+ under "New options".
- * stabsread.c (fix_common_block): Change type of valu argument
- to CORE_ADDR.
+2013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-13 Chris January <chris.january@allinea.com>
+ Revert this patch:
+ PR gdb/15275
+ * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
- * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0
- instruction.
+2013-04-02 Pedro Alves <palves@redhat.com>
-2012-03-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR gdb/15275
- * common/linux-procfs.c (linux_proc_get_int): New, from
- linux_proc_get_tgid, change its LWPID type to pid_t, add parameter
- field.
- (linux_proc_get_tgid): Only call linux_proc_get_int.
- (linux_proc_get_tracerpid): New.
- (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie.
- (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call
- linux_proc_pid_has_state.
- * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration.
- * common/linux-ptrace.c: Include linux-procfs.h and buffer.h.
- (linux_ptrace_attach_warnings): New.
- * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings):
- New declaration.
- * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h.
- (linux_nat_attach): New variables ex, buffer, message and message_s.
- Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings.
-
-2012-03-13 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * Makefile.in (linux-ptrace.o): New.
- * common/linux-procfs.c (linux_proc_pid_is_zombie): New,
- from linux-nat.c.
- * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration.
- * common/linux-ptrace.c: New file.
- * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o.
- * config/arm/linux.mh: Likewise.
- * config/i386/linux.mh: Likewise.
- * config/i386/linux64.mh: Likewise.
- * config/ia64/linux.mh: Likewise.
- * config/m32r/linux.mh: Likewise.
- * config/m68k/linux.mh: Likewise.
- * config/mips/linux.mh: Likewise.
- * config/pa/linux.mh: Likewise.
- * config/powerpc/linux.mh: Likewise.
- * config/powerpc/ppc64-linux.mh: Likewise.
- * config/powerpc/spu-linux.mh: Likewise.
- * config/s390/s390.mh: Likewise.
- * config/sparc/linux.mh: Likewise.
- * config/sparc/linux64.mh: Likewise.
- * config/xtensa/linux.mh: Likewise.
- * linux-nat.c (linux_lwp_is_zombie): Remove, move it to
- common/linux-procfs.c.
- (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie.
-
-2012-03-13 Hui Zhu <teawater@gmail.com>
- Pedro Alves <palves@redhat.com>
+ * remote.c (send_interrupt_sequence): Use remote_serial_write.
+ (remote_serial_write): New function.
+ (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write.
- * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle
- CREATE_BREAKPOINT_FLAGS_INSERTED.
- (create_breakpoint_sal, create_breakpoints_sal)
- (base_breakpoint_create_breakpoints_sal)
- (tracepoint_create_breakpoints_sal)
- (strace_marker_create_breakpoints_sal): New flags parameter. Pass
- down.
- (break_command_1, handle_gnu_v3_exceptions, trace_command)
- (ftrace_command, strace_command): Adjust.
- (create_tracepoint_from_upload): Pass
- CREATE_BREAKPOINT_FLAGS_INSERTED.
- * breakpoint.h (enum breakpoint_create_flags): New.
- (create_breakpoint): New flags parameter.
- * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust.
- * python/py-breakpoint.c (bppy_init): Adjust.
- * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust.
- * spu-tdep.c (spu_catch_start): Adjust.
-
-2012-03-13 Pedro Alves <palves@redhat.com>
- Hui Zhu <teawater@gmail.com>
- Yao Qi <yao@codesourcery.com>
+2013-04-01 Jiong Wang <jiwang@tilera.com>
- * remote.c (struct remote_state): New field `starting_up'.
- (remote_start_remote): Set and clear it.
- (remote_can_download_tracepoint): If starting up, return false.
+ * NEWS: Mention TILE-Gx in "New native configurations" and
+ "New targets" sections.
-2012-03-13 Yao Qi <yao@codesourcery.com>
+2013-04-01 Doug Evans <dje@google.com>
- * inferior.h (struct inferior): Remove fields any_syscall_count,
- syscalls_counts and total_syscalls_count. Move them to new
- struct catch_syscall_inferior_data in breakpoint.c.
- * breakpoint.c: Call DEF_VEC_I(int).
- (struct catch_syscall_inferior_data): New.
- (get_catch_syscall_inferior_data): New.
- (catch_syscall_inferior_data_cleanup): New.
- (insert_catch_syscall): Update to access data in
- struct catch_syscall_inferior_data.
- (insert_catch_syscall): Likewise.
- (remove_catch_syscall): Likewise.
- (remove_catch_syscall): Likewise.
- (is_syscall_catchpoint_enabled): Likewise.
- (add_catch_command): Likewise.
- (_initialize_breakpoint): Register cleanup.
- * breakpoint.h: Removed DEF_VEC_I(int).
- * dwarf2loc.c: Call DEF_VEC_I(int).
- * mi/mi-main.c: Likewise.
+ * dwarf2read.c (lookup_signatured_type_at_offset): Delete.
+ (process_enumeration_scope): Simplify.
-2012-03-12 Mark Kettenis <kettenis@gnu.org>
+ * dwarf2read.c (struct dwarf2_per_cu_data): Move member
+ type_unit_group ...
+ (struct signatured_type): ... to here.
+ (sig_type_ptr): New typedef.
+ (type_unit_group): Delete member 't.first_cu'. Move member 'tus'
+ out of union 't'. All uses updated.
+ (dw2_get_file_names_reader): Assert not called for a type unit.
+ (dw2_get_file_names): Assert not called for a type unit or type
+ unit group.
+ (build_type_psymtabs_reader): Assert called for a type unit.
+ (build_type_psymtab_dependencies): Assert called for a type unit group.
- * inf-ptrace.c (inf_ptrace_post_attach): Make static.
+ * dwarf2read.c (free_dwo_file): Add comment.
+ (dwarf2_per_objfile_free): Unref dwp bfd.
-2012-03-12 Chris January <chris.january@allinea.com>
+2013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
- * aix-thread.c (_initialize_aix_thread): Add prototype.
- * rs6000-nat.c (_initialize_rs6000_nat): Ditto.
- * xcoffsolib.c (_initialize_xcoffsolib): Ditto.
+ * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
+ (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
+ (read_pe_exported_syms): Remove unused 'exportix'.
+ (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
+ 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
+ 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.
-2012-03-12 Joel Brobecker <brobecker@adacore.com>
+2013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
- * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after
- include of "amd64-nat.h".
+ * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'.
+ (print_it_watchpoint): Remove unused 'bl'.
+ (say_where): Remove unused 'uiout'.
+ (bpstat_remove_breakpoint_callback): Remove unused 'uiout'.
+ (bkpt_breakpoint_hit): Remove unused 'b'.
+ (internal_bkpt_print_it): Remove unused 'uiout'.
+ * buildsym.c (augment_type_symtab): Remove unused 'i'.
-2012-03-12 Tom Tromey <tromey@redhat.com>
+2013-03-31 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
- * buildsym.c (record_pending_block): Now static.
- * buildsym.h: (record_pending_block): Remove.
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function.
+ (ppc64_sysv_abi_push_dummy_call): Handle complex arguments.
-2012-03-12 Andreas Tobler <andreast@fgznet.ch>
+2013-03-29 Doug Evans <dje@google.com>
- * amd64bsd-nat.c: Include amd64bsd-nat.h.
+ * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file.
+ Delete arg is_dwp. All callers updated.
+ (open_dwp_file): New function.
+ (open_and_init_dwp_file): Call it.
+ (get_dwp_file): New function.
+ (lookup_dwo_cutu): Call it.
-2012-03-09 Tom Tromey <tromey@redhat.com>
+ * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
+ unnecessary, cleanup.
- * dwarf2read.c (struct dwarf2_cu) <checked_producer,
- producer_is_gxx_lt_4_6>: New fields.
- (producer_is_gxx_lt_4_6): Use and update producer cache fields.
+ * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
-2012-03-09 Tom Tromey <tromey@redhat.com>
+ * dwarf2read.c (read_cutu_die_from_dwo): New function.
+ (lookup_dwo_unit): New function.
+ (init_cutu_and_read_dies): Move DWO handling to new functions.
- * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call.
+ * dwarf2read.c (struct signatured_type): Tweak comment.
+ (struct dwo_unit): Tweak comment.
+ (create_debug_types_hash_table): Tweak comment. Reformat long line.
+ (create_dwo_debug_info_hash_table): Tweak comment.
+ (dwarf2_per_cu_offset_and_type): Tweak comment.
-2012-03-08 Joel Brobecker <brobecker@adacore.com>
+ * dwarf2read.c (lookup_signatured_type): Remove complaint about
+ missing .debug_types section.
- * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add
- prototype.
+2013-03-29 Yao Qi <yao@codesourcery.com>
-2012-03-08 Joel Brobecker <brobecker@adacore.com>
+ * corelow.c: Include "completer.h".
+ (_initialize_corelow): Call add_target_with_completer with
+ argument 'filename_completer'.
+ * tracepoint.c: Likewise.
+ * exec.c (_initialize_exec): Likewise.
+ * target.c (add_target): Rename to ...
+ (add_target_with_completer): ... this. Call set_cmd_completer
+ if parameter completer is not NULL.
+ (add_target): New.
+ * target.h: Include "command.h".
+ (add_target_with_completer): Declare it.
- * ravenscar-thread.c (_initialize_ravenscar): Add prototype.
+2013-03-28 Joel Brobecker <brobecker@adacore.com>
-2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * coffread.c (is_import_fixup_symbol): New function.
+ (record_minimal_symbol): Use is_import_fixup_symbol to
+ detect import fixup symbols, and discard them.
- Fix -Wmissing-prototypes build.
- * arm-linux-nat.c (get_thread_id): Make it static.
- * xtensa-linux-nat.c (get_thread_id): Likewise.
+2013-03-28 Doug Evans <dje@google.com>
-2012-03-08 Joel Brobecker <brobecker@adacore.com>
+ * dwarf2read.c (create_debug_types_hash_table): Don't allocate the
+ types hash table until we know we need it.
- * server.c (process_point_options): If a conditional expression
- is found, only print a message if remote_debug is nonzero.
+ * dwarf2read.c (create_addrmap_from_index): Complain about bad CU
+ index numbers.
-2012-03-08 Luis Machado <lgustavo@codesourcery.com>
+ * dwarf2read.c (dw2_get_file_names): Delete arg "objfile".
+ All callers updated.
+ (dw2_print_stats): Print #read CUs too.
+ (dump_die_shallow): Print signatured types better.
- * ax-gdb.c (gen_fetch): Fail gracefully and use error instead
- of internal error for unknown/unsupported types.
+ * dwarf2read.c (struct dwarf2_per_cu_data): Rename member
+ info_or_types_section to section. All uses updated.
+ (struct dwo_unit): Ditto.
-2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-03-28 Pedro Alves <palves@redhat.com>
- Fix CU relative vs. absolute DIE offsets.
- * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter
- offset to offset_in_cu.
- * dwarf2read.c (process_enumeration_scope): Add CU offset to
- TYPE_OFFSET.
- (dwarf2_fetch_die_location_block): Rename parameter offset to
- offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU.
+ * NEWS (New options): New section.
+ (New options): Mention set/show remote trace-status-packet.
+ * remote.c (PACKET_qTStatus): New enumeration value.
+ (remote_get_trace_status): Skip sending qTStatus if the packet is
+ disabled. Use packet_ok.
+ (_initialize_remote): Register a configuration command for
+ qTStatus packet.
-2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-03-28 Doug Evans <dje@google.com>
- * libunwind-frame.c: Rename to ...
- * ia64-libunwind-tdep.c: ... here.
- * libunwind-frame.h: Rename to ...
- * ia64-libunwind-tdep.h: ... here.
- * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to
- ia64-libunwind-tdep.h.
- (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c.
- * README (--with-libunwind): Rename to ...
- (--with-libunwind-ia64): ... here, note it is ia64 specific now.
- * config.in: Regenerate.
- * configure: Regenerate.
- * configure.ac: New option --with-libunwind-ia64, make the
- AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind.
- Remove AC_DEFINE for HAVE_LIBUNWIND.
- * ia64-libunwind-tdep.c: Make the file top comment ia64 specific.
- Rename libunwind-frame.h #include to ia64-libunwind-tdep.h.
- Rename libunwind-frame in the general comment.
- * ia64-libunwind-tdep.h: Make the file top comment ia64 specific.
- Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H.
- Move forward declarations inside #ifndef. Rename libunwind-frame in
- the general comment.
- * ia64-tdep.c: Rename libunwind-frame.h #include to
- ia64-libunwind-tdep.h.
- (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg)
- (ia64_libunwind_descr): Rename libunwind-frame to
- ia64-libunwind-tdep in these function comments.
- * ia64-tdep.h: Rename libunwind-frame.h #include to
- ia64-libunwind-tdep.h.
- * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to
- ia64-libunwind-tdep in that data comment.
-
-2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * libunwind-frame.h (struct frame_unwind): New declaration.
-
-2012-03-08 Joel Brobecker <brobecker@adacore.com>
-
- * breakpoint.c (_initialize_breakpoint): Fix error in help of
- "set breakpoint condition-evaluation" command.
-
-2012-03-08 Tristan Gingold <gingold@adacore.com>
-
- * sparc-stub.c: Move to stubs/
- * sh-stub.c: Likewise.
- * m68k-stub.c: Likewise.
- * m32r-stub.c: Likewise.
- * i386-stub.c: Likewise.
-
-2012-03-08 Andreas Schwab <schwab@linux-m68k.org>
-
- * m68klinux-tdep.c (m68k_linux_init_abi): Register
- linux_get_siginfo_type.
-
- * m68klinux-nat.c: Include "gdb_proc_service.h".
- (PTRACE_GET_THREAD_AREA): Define.
- (ps_get_thread_area): New function.
-
-2012-03-08 Yao Qi <yao@codesourcery.com>
-
- * remote.c (remote_get_noisy_reply): Replace `sprintf' with
- `xsnprintf'.
- (remote_query_attached): Likewise.
- (remote_static_tracepoint_marker_at): Likewise.
- (remote_set_permissions): Likewise.
- (remote_detach_1, extended_remote_attach_1): Likewise.
- (send_g_packet, remote_vkill): Likewise.
- (extended_remote_disable_randomization): Likewise.
- (remote_add_target_side_condition): Likewise.
- (remote_insert_breakpoint): Likewise.
- (remote_remove_breakpoint): Likewise.
- (remote_insert_watchpoint): Likewise.
- (remote_remove_watchpoint): Likewise.
- (remote_insert_hw_breakpoint): Likewise.
- (remote_insert_hw_breakpoint): Likewise.
- (remote_remove_hw_breakpoint): Likewise.
- (remote_download_command_source): Likewise.
- (remote_download_tracepoint): Likewise.
- (remote_download_trace_state_variable): Likewise.
- (remote_disable_tracepoint): Likewise.
- (remote_trace_set_readonly_regions): Likewise.
- (remote_get_tracepoint_status): Likewise.
- (remote_trace_find): Likewise.
- (remote_get_trace_state_variable_value): Likewise.
- (remote_set_disconnected_tracing): Likewise.
- (remote_set_circular_trace_buffer): Likewise.
- (remote_get_min_fast_tracepoint_insn_len): Likewise.
- (remote_use_agent): Likewise.
- (remote_add_target_side_condition): Add one parameter BUF_SIZE.
- Update callers.
-
-2012-03-07 Pedro Alves <palves@redhat.com>
-
- * NEWS: Mention QProgramSignals.
- * inferior.h (update_signals_program_target): Declare.
- * infrun.c: (update_signals_program_target): New.
- (handle_command): Update the target of the new program signals
- array changes.
- * remote.c (PACKET_QProgramSignals): New enum.
- (last_program_signals_packet): New global.
- (remote_program_signals): New.
- (remote_start_remote): Update the target with the program signals
- list.
- (remote_protocol_features): Add entry for QPassSignals.
- (remote_open_1): Free anc clear last_program_signals_packet.
- (init_remote_ops): Install remote_program_signals.
- * target.c (update_current_target): Adjust.
- (target_program_signals): New.
- * target.h (struct target_ops) <to_program_signals>: New field.
- (target_program_signals): Declare.
-
-2012-03-07 Pedro Alves <palves@redhat.com>
-
- * NEWS: Add subtitle for new z0/z1 conditional breakpoint
- extensions.
-
-2012-03-07 Andreas Schwab <schwab@linux-m68k.org>
-
- * m68klinux-nat.c (getregs_supplies): Make static.
- (getfpregs_supplies): Likewise.
- (have_ptrace_getregs): Likewise.
-
-2012-03-06 Joel Brobecker <brobecker@adacore.com>
-
- * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
- in call to get_die_type_at_offset.
-
-2012-03-06 Stan Shebs <stan@codesourcery.com>
-
- * mi/mi-cmd-break.c: Enforce coding standards, fix comments.
- * mi/mi-cmd-disas.c: Ditto.
- * mi/mi-cmd-env.c: Ditto.
- * mi/mi-cmd-file.c: Ditto.
- * mi/mi-cmd-stack.c: Ditto.
- * mi/mi-cmd-target.c: Ditto.
- * mi/mi-cmd-var.c: Ditto.
- * mi/mi-cmds.c: Ditto.
- * mi/mi-cmds.h: Ditto.
- * mi/mi-console.c: Ditto.
- * mi/mi-getopt.c: Ditto.
- * mi/mi-getopt.h: Ditto.
- * mi/mi-interp.c: Ditto.
- * mi/mi-main.c: Ditto.
- * mi/mi-out.c: Ditto.
- * mi/mi-parse.c: Ditto.
- * mi/mi-parse.h: Ditto.
- * mi/mi-symbol-cmds.c: Ditto.
-
- * mi/mi-getopt.h: Move mi_opt struct up.
- * mi/mi-main.c (captured_mi_execute_command): Remove redundant
- return.
- * mi/mi-out.c (_initialize_mi_out): Remove empty initialize.
-
-2012-03-06 Tom Tromey <tromey@redhat.com>
-
- * proc-service.c (ps_pglobal_lookup): Set the current program
- space.
+ * symfile.c (find_separate_debug_file): Add comment.
+ (terminate_after_last_dir_separator): Tweak comment.
-2012-03-06 Pedro Alves <palves@redhat.com>
+ * dwarf2read.c (create_partial_symtab): Add forward decl.
+ (create_partial_symtab): Move to be closer to other psymtab functions.
+ (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto.
- * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
+ * dwarf2read.c (dwarf2_physname): Move declaration to better spot.
+ (compute_symtab_includes): Remove unnecessary forward declaration.
+ (die_needs_namespace): Add comment marking group of functions for
+ dwarf2 name computation.
-2012-03-05 Joel Brobecker <brobecker@adacore.com>
+ * typeprint.c (_initialize_typeprint): Improve type help text.
- * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
+ * python/python.c (finish_python_initialization): Provide suggestion
+ for how to tell gdb to find its python files.
-2012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-03-28 Pedro Alves <palves@redhat.com>
- Code cleanup.
- * common/linux-osdata.c (linux_common_core_of_thread): New function
- comment.
- * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
- call by linux_common_core_of_thread.
- (linux_nat_core_of_thread_1): Remove.
- * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
- * linux-thread-db.c: Include linux-osdata.h.
- (update_thread_core): Replace linux_nat_core_of_thread_1 call by
- linux_common_core_of_thread.
+ PR gdb/15294
-2012-03-05 Tom Tromey <tromey@redhat.com>
+ * source.c (_initialize_source): Change back "set listsize" to an
+ integer command.
- * value.c (value_primitive_field): Don't fetch contents for
- non-virtual bases.
+2013-03-27 Gareth McMullin <gareth@blacksphere.co.nz>
-2012-03-05 Tom Tromey <tromey@redhat.com>
+ PR gdb/15275
+ * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
- * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
+2013-03-27 Pedro Alves <palves@redhat.com>
-2012-03-05 Andreas Arnez <arnez@linux.vnet.ibm.com>
+ * top.c (history_size): Rename to ...
+ (history_size_setshow_var): ... this. Add comment.
+ (show_commands): Use readline's 'history_length' instead of
+ computing the history length by calling history_get in a loop.
+ (set_history_size_command): Error out for sizes over INT_MAX.
+ Restore previous history size on invalid size.
+ (init_history): If HISTSIZE is negative, leave the history size as
+ zero. Add comments.
+ (init_main): Adjust.
- * s390-nat.c: Include "gregset.h".
+2013-03-27 Pedro Alves <palves@redhat.com>
-2012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
+ coff_pe_read" command to "set debug coff-pe-read".
- * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
- [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
- (libunwind_load): New variable so_error, use it for dlerror. Try to
- load also LIBUNWIND_SO_7.
+2013-03-27 Markus Metzger <markus.t.metzger@intel.com>
-2012-03-05 Pedro Alves <palves@redhat.com>
+ * record.c (command_size_to_target_size): Fix size comparison.
+ Change parameter type from pointer to integer to integer.
+ Update all users.
- * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
- is not NULL, and remove resulting dead code.
+2013-03-27 Pierre Muller <muller@sourceware.org>
-2012-03-05 Thomas Schwinge <thomas@codesourcery.com>
+ * windows-nat.c (handle_output_debug_string): Avoid typecast
+ from integer of different size warning.
- * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
- prologue to sh_analyze_prologue.
- (sh_analyze_prologue): Make better use of such an upper limit, and
- generally be more cautious about accessing memory.
+2013-03-26 Joel Brobecker <brobecker@adacore.com>
-2012-03-05 Tom Tromey <tromey@redhat.com>
+ * windows-nat.c (handle_output_debug_string): Add empty line
+ after local block variable definition.
- * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
- _initialize_ia64_hpux_tdep.
+2013-03-26 Pedro Alves <palves@redhat.com>
-2012-03-05 Pedro Alves <palves@redhat.com>
+ * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned.
+ (net_open): Make 'polls' local unsigned.
- PR gdb/13766
+2013-03-26 Pedro Alves <palves@redhat.com>
- * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
- the register state is clear, supply explicit zero, instead of
- marking the register unavailable.
+ * remote.c (_initialize_remote): Make "set remoteaddresssize"
+ a zuinteger command instead of uinteger.
-2012-03-05 Tristan Gingold <gingold@adacore.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- * NEWS: Mention OpenVMS ia64 new target.
+ * record-full.c (record_full_insn_num): Make it unsigned.
+ (record_full_check_insn_num, record_full_message)
+ (record_full_registers_change, record_full_xfer_partial): Remove
+ record_full_insn_max_num check (it's always != 0).
+ (record_full_info, record_full_restore): Use %u as format string.
+ (): Use %u as format string.
+ (set_record_full_insn_max_num): Remove record_full_insn_max_num
+ check (it's always != 0).
-2012-03-05 Tristan Gingold <gingold@adacore.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
- (ia64_unw_accessors, ia64_unw_rse_accessors)
- (ia64_libunwind_descr): Declare.
- * ia64-vms-tdep.c: New file.
- * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
- (ia64_libunwind_descr): Make them public.
- * configure.tgt: Add ia64-*-*vms*.
- * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
- (ALLDEPFILES): Add ia64-vms-tdep.c
+ * dcache.c (_initialize_dcache): Make the "set dcache line-size"
+ and "set dcache size" commands zuinteger instead of uinteger.
-2012-03-05 Tristan Gingold <gingold@adacore.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
- * remote.c (PACKET_qXfer_uib): New enum value.
- (remote_protocol_features): Add entry for PACKET_qXfer_uib.
- (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
- (_initialize_remote): Call add_packet_config_cmd for
- xfer:uib packet.
+ * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version"
+ command zuinteger instead of uinteger.
-2012-03-05 Tristan Gingold <gingold@adacore.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- * osabi.c (gdb_osabi_names): Add OpenVMS.
- (generic_elf_osabi_sniffer): Likewise.
- * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
+ * coff-pe-read.c (_initialize_coff_pe_read): Make the command
+ zuinteger instead of uinteger.
-2012-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- Removed unused code.
- * libunwind-frame.c (libunwind_frame_unwind)
- (libunwind_frame_base_address): Remove.
- * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
+ * record.c (record_insn_history_size_setshow_var)
+ (record_call_history_size_setshow_var): New globals.
+ (command_size_to_target_size): New function.
+ (cmd_record_insn_history, cmd_record_call_history): Use
+ command_size_to_target_size instead of cast.
+ (validate_history_size, set_record_insn_history_size)
+ (set_record_call_history_size): New functions.
+ (_initialize_record): Install set_record_insn_history_size and
+ set_record_call_history_size as "set" hooks of "set record
+ instruction-history-size" and "set record
+ function-call-history-size".
-2012-03-04 Yao Qi <yao@codesourcery.com>
+2013-03-26 Pedro Alves <palves@redhat.com>
- * common/agent.c (gdb_connect_sync_socket): Add _ markup and
- remove trailing new line.
- (agent_run_command, agent_run_command): Add _ markup.
- (agent_capability_check): Likewise.
+ * top.c (gdb_rl_operate_and_get_next): Replace max_input_history
+ use with history_max_entries use. Remove FIXME note.
-2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
- * breakpoint.c (set_condition_evaluation_mode): Set
- CONDITION_EVALUATION_MODE unconditionally.
+ * record-btrace.c (record_btrace_close): Call
+ record_btrace_auto_disable.
-2012-03-03 Yao Qi <yao@codesourcery.com>
+2013-03-25 Joel Brobecker <brobecker@adacore.com>
- * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
- * common/agent.h: Update declaration.
- * inf-child.c (inf_child_use_agent): New.
- (inf_child_can_use_agent): New.
- (inf_child_target): Initialize fields `to_use_agent'
- and `to_can_use_agent'.
- * agent.c (agent_new_objfile): New.
- (_initialize_agent): Add agent_new_objfile to new_objfile
- observer.
+ * rs6000-nat.c (fixup_breakpoints): Delete declaration.
- * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
- New.
- (linux_target_install_ops): Initialize field
- `to_static_tracepoint_markers_by_strid'.
- * remote.c (free_current_marker): Move it to ...
- * tracepoint.c (free_current_marker): ... here. New.
- (cleanup_target_stop): New.
- * tracepoint.h: Declare free_current_marker.
- * NEWS: Add one entry about `info static-tracepoint-marker'.
+2013-03-25 Doug Evans <dje@google.com>
-2012-03-03 Yao Qi <yao@codesourcery.com>
+ * contrib/cc-with-tweaks.sh: Check exit code of dwp.
- * common/agent.c (agent_loaded_p): New.
- (agent_look_up_symbols): New global.
- * common/agent.h: Declare agent_loaded_p.
+2013-03-25 Tom Tromey <tromey@redhat.com>
-2012-03-03 Yao Qi <yao@codesourcery.com>
+ PR symtab/11462:
+ * c-exp.y (exp): Add new productions for destructors after '.' and
+ '->'.
+ (write_destructor_name): New function.
- * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
- (agent_capability_check, agent_capability_invalidate): New.
- (symbol_list): New array element.
- * common/agent.h (enum agent_capa): New.
- * target.c (target_pre_inferior): Call agent_capability_invalidate.
+2013-03-25 Tom Tromey <tromey@redhat.com>
-2012-03-03 Yao Qi <yao@codesourcery.com>
+ PR c++/9197:
+ * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use
+ value_struct_elt, not lookup_struct_elt_type.
+ * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
+ STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type.
+ * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment.
- * target.h (struct target_ops) <to_use_agent>: New field.
- (struct target_ops) <to_can_use_agent>: New field.
- (target_use_agent, target_can_use_agent): New macro.
- * target.c (update_current_target): Update.
- * remote.c: New enum `PACKET_QAgent'.
- (remote_protocol_features): Add a new element.
- (remote_use_agent, remote_can_use_agent): New.
- (init_remote_ops): Initialize field `can_use_agent' with
- remote_can_use_agent. Intiailize field `use_agent' with
- remote_use_agent.
- * common/agent.c (use_agent): New global.
- * common/agent.h: Declare it.
- * tracepoint.c (info_static_tracepoint_markers_command): Add
- comment.
- * Makefile.in (SFILES): Add common/agent.c and agent.c.
- (COMMON_OBS): Add common/agent.o and agent.o
- (common-agent.o): New rule.
- * agent.c: New.
+2013-03-25 Yao Qi <yao@codesourcery.com>
-2012-03-03 Yao Qi <yao@codesourcery.com>
+ * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
+ instead of '_mkdir'.
- * common/agent.c: New.
- * common/agent.h: New.
- * configure.ac: Add `sys/socket.h' and `sys/un.h' to
- AC_CHECK_HEADERS.
- * configure, configh.in: Regenerated.
+2013-03-23 Eli Zaretskii <eliz@gnu.org>
-2012-03-02 Kevin Buettner <kevinb@redhat.com>
+ * windows-nat.c (windows_get_absolute_argv0): New function.
+ * windows-nat.h: Add its prototype.
- * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
- unless it exists for this architecture.
+ * main.c (get_init_files): Use filename_ncmp instead of strncmp.
+ Use IS_DIR_SEPARATOR instead of looking for a character inside
+ SLASH_STRING. Include filenames.h.
+ (captured_main) [__MINGW32__]: Make argv[0] absolute, so that
+ relocate_gdb_directory works when passed gdb_program_name.
+ Include windows-nat.h.
-2012-03-02 Joel Brobecker <brobecker@adacore.com>
+2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
- * language.h (struct language_defn): New "method" la_read_var_value.
- * findvar.c: #include "language.h".
- (default_read_var_value): Renames read_var_value. Rewrite
- function description.
- (read_var_value): New function.
- * value.h (default_read_var_value): Add prototype.
- * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
- New functions.
- (ada_language_defn): Add entry for la_read_var_value.
- * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
- * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
- language_defn structures to add entry for new la_read_var_value
- field.
+ * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
+ * remote.c (trace_error): Remove the special handling of '2'.
+ (readchar) <SERIAL_EOF>
+ (readchar) <SERIAL_ERROR>
+ (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them.
+ (remote_get_trace_status): Call throw_exception if EX is
+ TARGET_CLOSE_ERROR.
+ * utils.c (perror_with_name): Rename to ...
+ (throw_perror_with_name): ... here. New parameter errcode, describe it
+ in the function comment.
+ (perror_with_name): New function wrapper.
+ * utils.h (enum errors): New stub declaration.
+ (throw_perror_with_name): New declaration.
-2012-03-02 Tom Tromey <tromey@redhat.com>
- Pedro Alves <palves@redhat.com>
+2013-03-22 Pedro Alves <palves@redhat.com>
+ Yao Qi <yao@codesourcery.com>
+ Mark Kettenis <kettenis@gnu.org>
+
+ * cli/cli-setshow.c (do_set_command) <var_uinteger>:
+ Don't let the user set the value to UINT_MAX directly.
+ <var_integer>: Don't let the user set the value to INT_MAX
+ directly.
+
+2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * remote.c (remote_unpush_target): New function.
+ (remote_open_1): Remove two pop_target calls, update one comment, add
+ comment to target_preopen call. Replace pop_target call by
+ remote_unpush_target call.
+ (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace
+ pop_target calls by remote_unpush_target calls.
+
+2013-03-22 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (linux_child_follow_fork): Don't call
+ linux_enable_event_reporting.
+ (linux_handle_extended_wait): Don't call
+ linux_enable_event_reporting.
+
+2013-03-22 Pedro Alves <palves@redhat.com>
+
+ * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro,
+ use it to rewrite the trampoline buffers with type gdb_byte[], and
+ undefine the macro. Remove char* cast.
+
+2013-03-21 Doug Evans <dje@google.com>
+
+ New commands "mt set per-command {space,time,symtab} {on,off}".
+ * NEWS: Add entry.
+ * event-top.c: #include "maint.h".
+ * main.c: #include "maint.h".
+ * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h,
+ timeval-utils.h, maint.h, cli/cli-setshow.h.
+ (per_command_time, per_command_space): New static globals.
+ (per_command_symtab): New static global.
+ (per_command_setlist, per_command_showlist): New static globals.
+ (struct cmd_stats): Move here from utils.c.
+ (set_per_command_time): Renamed from set_display_time in utils.c
+ and moved here. All callers updated.
+ (set_per_command_space): Renamed from set_display_space in utils.c
+ and moved here. All callers updated.
+ (count_symtabs_and_blocks): New function.
+ (report_command_stats): Moved here from utils.c. Add support for
+ printing symtab stats. Only print data if enabled before command
+ executed.
+ (make_command_stats_cleanup): Ditto.
+ (sert_per_command_cmd, show_per_command_cmd): New functions.
+ (_initialize_maint_cmds): Add new commands
+ mt set per-command {space,time,symtab} {on,off}.
+ * maint.h: New file.
+ * top.c: #include "maint.h".
+ * utils.c (reset_prompt_for_continue_wait_time): New function.
+ (get_prompt_for_continue_wait_time): New function.
+ * utils.h (reset_prompt_for_continue_wait_time): Declare
+ (get_prompt_for_continue_wait_time): Declare.
+ (make_command_stats_cleanup): Moved to maint.h.
+ (set_display_time, set_display_space): Moved to maint.h and renamed
+ to set_per_command_time, set_per_command_space.
+ * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from
+ parse_binary_operation and made non-static. Don't call error,
+ just return an error marker. All callers updated.
+ * cli/cli-setshow.h (parse_cli_boolean_value): Declare.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (alloc_section_addr_info): Update header. Don't set
+ 'num_sections' field.
+ (build_section_addr_info_from_section_table): Set 'num_sections'.
+ (build_section_addr_info_from_bfd): Likewise.
+ (build_section_addr_info_from_objfile): Remove dead loop
+ condition.
+ (free_section_addr_info): Unconditionally call xfree.
+ (relative_addr_info_to_section_offsets, addrs_section_sort)
+ (addr_info_make_relative, syms_from_objfile_1): Remove dead loop
+ condition.
+ (syms_from_objfile_1): Remove dead 'if' condition. Check
+ 'num_sections'.
+ (add_symbol_file_command): Set 'num_sections'.
+ * symfile-mem.c (symbol_file_add_from_memory): Set
+ 'num_sections'.
+ * somread.c (som_symfile_offsets): Remove dead loop condition.
+ * machoread.c (macho_symfile_offsets): Remove dead 'if'.
+ * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * tracepoint.h (decode_agent_options): Add 'trace_string'
+ argument.
+ * tracepoint.c (decode_agent_options): Add 'trace_string'
+ argument.
+ (validate_actionline): Update.
+ (collect_symbol): Add 'trace_string' argument.
+ (struct add_local_symbols_data) <trace_string>: New field.
+ (do_collect_symbol): Update.
+ (add_local_symbols): Add 'trace_string' argument.
+ (encode_actions_1): Update.
+ (trace_dump_actions): Update.
+ * dwarf2loc.c (access_memory): Update.
+ * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
+ * ax-general.c (new_agent_expr): Update.
+ * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
+ (gen_trace_for_return_address): Add argument.
+ (trace_kludge, trace_string_kludge): Remove.
+ * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
+ (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
+ (gen_trace_for_var): Add 'trace_string' argument.
+ (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
+ (gen_printf, agent_eval_command_one): Update.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ PR exp/15109:
+ * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
+ Handle FILENAME token.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (YYPRINT): Define.
+ (c_print_token): New function.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (%union) <sym, ivar, ivec>: Remove.
+
+2013-03-21 Yao Qi <yao@codesourcery.com>
+
+ * ctf.c: Include "gdb_stat.h".
+ [USE_WIN32API]: New macro 'mkdir'.
+ (ctf_start): Use permission bits macros if they are defined.
+
+2013-03-20 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.h (struct breakpoint): Add comment to
+ extra_string indicating that this member is mallod'd.
+ * breakpoint.c (base_breakpoint_dtor): Free extra_string.
+
+2013-03-20 Pedro Alves <palves@redhat.com>
+
+ PR gdb/15289
+
+ * cli/cli-setshow.c (do_set_command)
+ <var_uinteger, var_zuinteger>: Use LONGEST for variable holding
+ the result of parsing the command argument. Throw error if the
+ value is greater than UINT_MAX. Print the invalid value with
+ plongest.
+ <var_integer, var_zinteger>: Use LONGEST for variable holding the
+ result of parsing the command argument. Throw error if the value
+ is greater than INT_MAX, not greater or equal. Also throw error
+ if the value is less than INT_MIN. Print the invalid value with
+ plongest.
+ <var_zuinteger_unlimited>: Throw error if the value is greater
+ than INT_MAX, not greater or equal.
+ (do_show_command) <var_integer, var_zinteger,
+ var_zuinteger_unlimited>: Use %d for printing int, not %u.
+
+2013-03-20 Tom Tromey <tromey@redhat.com>
+
+ * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
+ if possible.
+ * dwarf2read.c (read_func_scope): Remove old FIXME.
+ * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
+ not LOC_COMPUTED.
+ * findvar.c (symbol_read_needs_frame, default_read_var_value):
+ Unconditionally call via computed ops, if possible.
+ * printcmd.c (address_info): Unconditionally call via computed ops,
+ if possible.
+ * stack.c (read_frame_arg): Unconditionally call via computed ops,
+ if possible.
+ * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
+ * tracepoint.c (scope_info): Unconditionally call via computed ops,
+ if possible.
+
+2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
- PR breakpoints/13776:
- * breakpoint.c (breakpoint_init_inferior): Delete step-resume
- breakpoints.
- (delete_longjmp_breakpoint_at_next_stop): New.
- * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
- * target.c (generic_mourn_inferior): Call mark_breakpoints_out
- before deleting the inferior. Add comments.
- * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
- breakpoints immediately, but only on next stop. Move that code
- next to where we mark other breakpoints for deletion.
+ PR symtab/8421:
+ * coffread.c (coff_register_index): New global.
+ (process_coff_symbol, coff_read_enum_type): Set
+ SYMBOL_ACLASS_INDEX.
+ (_initialize_coffread): Initialize new global.
+ * dwarf2loc.c (locexpr_find_frame_base_location)
+ (dwarf2_block_frame_base_locexpr_funcs)
+ (loclist_find_frame_base_location)
+ (dwarf2_block_frame_base_loclist_funcs): New.
+ (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
+ (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
+ * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
+ (dwarf2_block_frame_base_loclist_funcs): New.
+ * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
+ (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
+ globals.
+ (read_func_scope): Update.
+ (fixup_go_packaging, mark_common_block_symbol_computed)
+ (var_decode_location, new_symbol_full, dwarf2_const_value):
+ Set SYMBOL_ACLASS_INDEX.
+ (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument.
+ (_initialize_dwarf2_read): Initialize new globals.
+ * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
+ * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
+ * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
+ globals.
+ (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
+ (_initialize_mdebugread): Initialize new globals.
+ * psympriv.h (struct partial_symbol) <aclass>: Update comment.
+ * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
+ (stab_register_index, stab_regparm_index): New globals.
+ (define_symbol, read_enum_type, common_block_end): Set
+ SYMBOL_ACLASS_INDEX.
+ (_initialize_stabsread): Initialize new globals.
+ * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
+ globals.
+ (MAX_SYMBOL_IMPLS): New define.
+ (register_symbol_computed_impl, register_symbol_block_impl)
+ (register_symbol_register_impl)
+ (initialize_ordinary_address_classes): New functions.
+ (_initialize_symtab): Call initialize_ordinary_address_classes.
+ * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
+ (struct symbol_impl): New.
+ (SYMBOL_ACLASS_BITS): New define.
+ (struct symbol) <aclass, ops>: Remove fields.
+ <aclass_index>: New field.
+ (symbol_impls): Declare.
+ (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
+ (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
+ (register_symbol_computed_impl, register_symbol_block_impl)
+ (register_symbol_register_impl): Declare.
+ (struct symbol_computed_ops): Add location_has_loclist.
+ (struct symbol_block_ops): New.
+ (SYMBOL_BLOCK_OPS): New.
+ * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
+
+2013-03-20 Tom Tromey <tromey@redhat.com>
+
+ * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
+ (print_partial_symbols, recursively_search_psymtabs): Use
+ PSYMBOL_CLASS.
+
+2013-03-20 Pierre Muller <muller@sourceware.org>
+
+ * contrib/ari/gdb_ari.sh (OP eol rule): Also check
+ addtion, subtraction, multiplication and division binary operator.
+
+2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-02 Joel Brobecker <brobecker@adacore.com>
+ Code cleanup.
+ * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
+ * bsd-kvm.c (bsd_kvm_close): Likewise.
+ * bsd-uthread.c (bsd_uthread_close): Likewise.
+ * corelow.c (core_close): Likewise.
+ (core_close_cleanup): Remove parameter quitting from a caller.
+ * event-top.c (async_disconnect): Likewise.
+ * exec.c (exec_close_1): Remove parameter quitting.
+ * go32-nat.c (go32_close): Likewise.
+ * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove
+ parameter quitting from a caller.
+ * mips-linux-nat.c (super_close): Remove parameter quitting from the
+ variable.
+ (mips_linux_close): Remove parameter quitting. Remove parameter
+ quitting from a caller.
+ * monitor.c (monitor_close): Remove parameter quitting.
+ * monitor.h (monitor_close): Likewise.
+ * record-btrace.c (record_btrace_close): Likewise.
+ * record-full.c (record_full_close): Likewise.
+ * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
+ it also from fprintf_unfiltered.
+ * remote-mips.c (mips_close): Remove parameter quitting.
+ (mips_detach): Remove parameter quitting from a caller.
+ * remote-sim.c (gdbsim_close): Remove parameter quitting.
+ (gdbsim_close): Remove duplicate function comment. Remove parameter
+ quitting and remove it also from printf_filtered.
+ * remote.c (remote_close): Remove parameter quitting.
+ * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
+ * target.c (update_current_target): Remove parameter int from to_close
+ de_fault.
+ (push_target, unpush_target, pop_target): Remove parameter quitting from
+ a caller.
+ (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
+ Remove parameter quitting from a caller.
+ (target_preopen): Remove parameter quitting from a caller.
+ (target_close): Remove parameter quitting. Remove parameter quitting
+ from a caller two times. Remove parameter quitting also from
+ fprintf_unfiltered.
+ * target.h (struct target_ops): Remove parameter quitting and as int
+ from fields to_xclose and to_close.
+ (extern struct target_ops current_target):
+ (target_close, pop_all_targets): Remove parameter quitting. Update the
+ comment.
+ (pop_all_targets_above): Remove parameter quitting.
+ * top.c (quit_target): Remove parameter quitting from a caller.
+ * tracepoint.c (tfile_close): Remove parameter quitting.
+ * windows-nat.c (windows_close): Remove parameter quitting.
- * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
- marker.
- * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
- violation.
+2013-03-20 Corinna Vinschen <vinschen@redhat.com>
-2012-03-02 Pedro Alves <palves@redhat.com>
+ * windows-nat.c (handle_output_debug_string): Replace call
+ to string_to_core_addr with call to strtoull.
- * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
+2013-03-20 Yao Qi <yao@codesourcery.com>
-2012-03-02 Ulrich Weigand <uweigand@de.ibm.com>
+ * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
+ and write it to CTF metadata.
- Fix -Wmissing-prototypes build.
- * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
- * remote-sim.c (gdbsim_has_all_memory): Likewise.
- (gdbsim_has_memory): Likewise.
+2013-03-19 Corinna Vinschen <vinschen@redhat.com>
-2012-03-02 Yao Qi <yao@codesourcery.com>
+ * windows-nat.c (handle_output_debug_string): Change type of n to
+ SIZE_T to avoid crash on 64 bit systems.
- Fix -Wmissing-prototypes build.
- * charset.c (phony_iconv_open): Make static.
- (phony_iconv_close, phony_iconv): Likewise.
- * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
- * i386-windows-nat.c (_initialize_i386_windows_nat): New
- prototype.
- * mingw-hdep.c (_initialize_mingw_hdep): New prototype.
- * ser-mingw.c (create_select_thread): Make static.
- * windows-termcap.c (tgetent): New prototype.
- (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
-
-2012-03-02 Zhang Yuanhui <asmwarrior@gmail.com>
-
- Fix -Wmissing-prototypes build.
- * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
- (_initialize_windows_nat, _initialize_check_for_gdb_ini)
- (_initialize_loadable): New prototypes.
-
-2012-03-02 Doug Evans <dje@google.com>
-
- * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
- abbrev table, read_comp_unit will do it.
-
-2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix -Wmissing-prototypes build.
- * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
- * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
- * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
- * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
- (_initialize_arm_symbian_tdep): New prototype.
- * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
- * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
- * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
- static.
- * lm32-tdep.c (_initialize_lm32_tdep): New prototype.
- * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
- prototype.
- * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
- (microblaze_skip_prologue, microblaze_frame_cache): Make them static.
- * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
- static.
- * moxie-tdep.c (moxie_process_record): Likewise.
- * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
- (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
- * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
- (_initialize_rl78_tdep): New prototype.
- * rx-tdep.c (rx_breakpoint_from_pc): Make it static.
- (_initialize_rx_tdep): New prototype.
- * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
- (_initialize_darwin_solib): New prototype.
- * solib-spu.c: Include solib-spu.h.
- (_initialize_spu_solib): New prototype.
- * spu-multiarch.c (_initialize_spu_multiarch): New prototype.
- * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
- (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
- (tic6x_software_single_step): Make it static.
- (_initialize_tic6x_tdep): New prototype.
-
-2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix -Wmissing-prototypes build.
- * cris-tdep.c (cris_can_use_hardware_watchpoint)
- (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
-
-2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix -Wmissing-prototypes build.
- * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
- (frv_have_stopped_data_address): Remove.
-
-2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix -Wmissing-prototypes build.
- * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
- * sh-tdep.c: Include sh64-tdep.h.
- * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
- * sh64-tdep.c: Include sh64-tdep.h.
- * sh64-tdep.h: New file.
-
-2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips32_scan_prologue): Correct indentation.
-
-2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
- sp_regnum once the gdbarch_init_osabi hook has been called.
-
-2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
-
- * mips-tdep.c (mips32_bc1_pc): New function.
- (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
- BPOSGE32 and BPOSGE64 instructions.
- (deal_with_atomic_sequence): Likewise.
- (mips32_instruction_has_delay_slot): Likewise.
-
-2012-03-01 Maciej W. Rozycki <macro@mips.com>
- Chris Dearman <chris@mips.com>
- Maciej W. Rozycki <macro@codesourcery.com>
- Joseph Myers <joseph@codesourcery.com>
-
- * features/mips-dsp.xml: New file.
- * features/mips64-dsp.xml: New file.
- * features/mips-dsp-linux.xml: New file.
- * features/mips64-dsp-linux.xml: New file.
- * features/Makefile (WHICH): Add mips-dsp-linux and
- mips64-dsp-linux.
- (mips-dsp-expedite, mips64-dsp-expedite): New variables.
- * features/mips-dsp-linux.c: New file.
- * features/mips64-dsp-linux.c: New file.
- * regformats/mips-dsp-linux.dat: New file.
- * regformats/mips64-dsp-linux.dat: New file.
- * mips-linux-nat.c (mips_linux_register_addr): Handle DSP
- registers.
- (mips64_linux_register_addr): Likewise.
- (mips64_linux_regsets_fetch_registers): Likewise.
- (mips64_linux_regsets_store_registers): Likewise.
- (mips64_linux_fetch_registers): Update call to
- mips64_linux_regsets_fetch_registers.
- (mips64_linux_store_registers): Update call to
- mips64_linux_regsets_store_registers.
- (mips_linux_read_description): Probe for DSP registers.
- (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
- and initialize_tdesc_mips64_dsp_linux.
- * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
- Remove padding of no longer used embedded register slots.
- * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
- (MIPS_RESTART_REGNUM): Redefine enum value.
- * mips-tdep.c (mips_generic_reg_names): Remove trailing null
- strings.
- (mips_tx39_reg_names): Likewise.
- (mips_linux_reg_names): New array of register names for Linux
- targets.
- (mips_register_name): Check for a null pointer in
- mips_processor_reg_names and return an empty string.
- (mips_register_type): Exclude embedded registers for the IRIX
- and Linux ABIs.
- (mips_pseudo_register_type): Likewise. Use dynamic numbers to
- refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
- DSP registers.
- (mips_stab_reg_to_regnum): Handle DSP accumulators.
- (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
- (mips_gdbarch_init): Likewise. Initialize internal register
- indices for the Linux ABI. Use dynamic numbers to refer to
- registers, as applicable, while parsing the target description.
- * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
+2013-03-17 Eli Zaretskii <eliz@gnu.org>
-2012-03-01 Joel Brobecker <brobecker@adacore.com>
+ * python/python-internal.h (HAVE_SNPRINTF)
+ [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
+ about redefinition of snprintf by pyerrors.h.
- * frame.h (read_frame_register_unsigned): Fix typo in function
- description.
+2013-03-15 Steve Ellcey <sellcey@mips.com>
-2012-03-01 Pedro Alves <palves@redhat.com>
+ * remote-sim.c (sim_command_completer): Make char arguments const.
- * jit-reader.in [!__cplusplus]
- (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
+2013-03-15 Tom Tromey <tromey@redhat.com>
-2012-03-01 Pedro Alves <palves@redhat.com>
+ PR c++/15116:
+ * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
- * configure.ac (build_warnings): Add -Wmissing-prototypes.
- * configure: Regenerate.
+2013-03-14 Tom Tromey <tromey@redhat.com>
-2012-03-01 Pedro Alves <palves@redhat.com>
-
- * amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
- * breakpoint.c (create_exception_master_breakpoint, trace_command)
- (ftrace_command, strace_command): Make static.
- * d-lang.c (_initialize_d_language): Declare.
- * dwarf2expr.c (_initialize_dwarf2expr): Declare.
- * dwarf2loc.c (_initialize_dwarf2loc):
- * dwarf2read.c (process_psymtab_comp_unit): Make static.
- * exec.c (exec_get_section_table): Make static.
- * i386-linux-tdep.c (i386_linux_record_signal): Make static.
- * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
- * inferior.c (remove_inferior_command, add_inferior_command)
- (clone_inferior_command): Make static.
- * linux-nat.c (linux_nat_thread_address_space)
- (linux_nat_core_of_thread): Make static.
- * linux-tdep.c (_initialize_linux_tdep): Declare.
- * objc-lang.c (_initialize_objc_lang): Declare.
- * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
- Make static.
- (_initialize_opencl_language): Declare.
- * record.c (_initialize_record): Declare.
- * remote.c (demand_private_info, remote_get_tib_address)
- (remote_supports_cond_tracepoints)
- (remote_supports_fast_tracepoints, remote_get_tracepoint_status):
- Make static.
- * skip.c (_initialize_step_skip): Declare.
- * symtab.c (skip_prologue_using_lineinfo): Make static.
- * tracepoint.c (delete_trace_state_variable)
- (trace_variable_command, delete_trace_variable_command)
- (get_uploaded_tsv, find_matching_tracepoint_location)
- (find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
- Make static.
- * value.c (pack_unsigned_long): Make static.
- * varobj.c (varobj_ensure_python_env): Make static.
- * windows-tdep.c (_initialize_windows_tdep): Declare.
- * xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
-
-2012-03-01 Pedro Alves <palves@redhat.com>
-
- * linux-tdep.c (linux_has_shared_address_space): Make static. Add
- gdbarch parameter.
- (linux_init_abi): Install it as has_shared_address_space gdbarch
- callback.
+ * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
+ New fields.
+ (get_file_crc): Move from symfile.c.
+ (gdb_bfd_crc): New function.
+ * gdb_bfd.h (gdb_bfd_crc): Declare.
+ * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
+ * symfile.c (get_file_crc): Move to gdb_bfd.c.
+ (separate_debug_file_exists): Use gdb_bfd_crc.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Tom Tromey <tromey@redhat.com>
- * observer.c (observer_test_first_notification_function)
- (observer_test_second_notification_function)
- (observer_test_third_notification_function): Add declarations.
+ * symfile.c (get_debug_link_info): Remove.
+ (find_separate_debug_file_by_debuglink): Use
+ bfd_get_debug_link_info.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Tom Tromey <tromey@redhat.com>
- * common/signals.c (default_target_signal_to_host)
- (default_target_signal_from_host): Move ...
- * arch-utils.c: ... here.
- * arch-utils.h (default_target_signal_to_host)
- (default_target_signal_from_host): Declare.
+ * symtab.c (error_in_psymtab_expansion): New function.
+ (lookup_symbol_aux_quick)
+ (basic_lookup_transparent_type_quick): Remove "last resort"
+ code. Use error_in_psymtab_expansion.
- * common/signals.c (target_signal_from_command): Move ...
- * infrun.c: ... here.
- * inferior.h (target_signal_from_command): Declare.
- * target.h (target_signal_from_command)
- (default_target_signal_from_host, default_target_signal_to_host):
- Delete declarations.
+2013-03-14 Doug Evans <dje@google.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
- * common/signals.c (_initialize_signals): Delete.
+ * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
+ any successful compare_filenames_for_search or FILENAME_CMP.
+ * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
+ * symtab.c (iterate_over_some_symtabs): Likewise.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
- * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
- both __cplusplus and !__cplusplus.
+ * source.c (print_source_lines_base): Make a local copy of
+ symtab_to_fullname.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Hui Zhu <hui_zhu@mentor.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
- * psymtab.c (find_and_open_source): Delete declaration.
- * source.c (find_and_open_source): Move comment ...
- * source.h (find_and_open_source): ... to this new declaration.
+ * source.c (print_source_lines_base): Suppress "file" for TUI.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Keith Seitz <keiths@redhat.com>
+ Alan Matsuoka <alanm@redhat.com>
- * inline-frame.c: Include inline-frame.h.
+ PR c++/15203
+ PR c++/15210
+ * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
+ TYPE_CODE_METHOD.
+ * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
+ symbols.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Yao Qi <yao@codesourcery.com>
- * tui/tui-data.c (set_gen_win_origin): Delete.
- * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
- * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
+ * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
+ status to tfile if trace is stopped by command 'tstop'.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Yao Qi <yao@codesourcery.com>
- * remote.c (encode_actions): Delete declaration.
- * tracepoint.c (encode_actions): Make extern.
- * tracepoint.h (encode_actions): Declare.
+ * tracepoint.c (tfile_write_status): Write trace notes and user
+ name into tfile if they are not NULL.
-2012-03-01 Pedro Alves <palves@redhat.com>
+2013-03-14 Hui Zhu <hui@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
- * python/py-breakpoint.c: Include python.h.
- * python/py-continueevent.c (create_continue_event_object): Make
- static.
- * python/py-lazy-string.c (stpy_get_type): Make static.
- * python/py-newobjfileevent.c (create_new_objfile_event_object):
- Make static.
- * python/py-utils.c (unicode_to_target_python_string): Make
- static.
- * python/py-value.c: Include python.h.
+ * Makefile.in (REMOTE_OBS): Add ctf.o.
+ (SFILES): Add ctf.c.
+ (HFILES_NO_SRCDIR): Add ctf.h.
+ * ctf.c, ctf.h: New files.
+ * tracepoint.c: Include 'ctf.h'.
+ (collect_pseudocommand): Remove static.
+ (trace_save_command): Parse option "-ctf".
+ Produce different trace file writers per option.
+ Adjust output message.
+ (trace_save_tfile, trace_save_ctf): New.
+ * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
+ * mi/mi-main.c: Include 'ctf.h'.
+ (mi_cmd_trace_save): Handle option '-ctf'. Call either
+ trace_save_tfile or trace_save_ctf.
+ * NEWS: Mention these changes.
+
+2013-03-14 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (trace_file_writer_xfree): New.
+ (struct tfile_writer_data): New.
+ (tfile_dtor, tfile_can_target_save, tfile_start): New.
+ (tfile_write_header, tfile_write_regblock_type): New.
+ (tfile_write_status, tfile_write_uploaded_tsv): New.
+ (tfile_write_uploaded_tp, tfile_write_definition_end): New.
+ (tfile_write_raw_data, (tfile_end): New.
+ (tfile_write_ops): New global variable.
+ (TRACE_WRITE_R_BLOCK): New macro.
+ (TRACE_WRITE_M_BLOCK_HEADER): New macro.
+ (TRACE_WRITE_M_BLOCK_MEMORY): New macro.
+ (TRACE_WRITE_V_BLOCK): New macro.
+ (trace_save): Add extra one parameter WRITER. Make it static.
+ Use WRITER to writer trace.
+ (tfile_trace_file_writer_new): New.
+ (trace_save_command): Caller update.
+ (trace_save_tfile): Write trace data in TFILE format.
+ * tracepoint.h (struct trace_frame_write_ops): New.
+ (struct trace_file_write_ops): New.
+ (struct trace_file_writer): New.
+ (trace_save): Remove its declaration.
+ (trace_save_tfile): Declare it.
+ * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile
+ instead of trace_save.
+
+2013-03-13 Pedro Alves <palves@redhat.com>
+
+ * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static.
+
+2013-03-13 Pedro Alves <palves@redhat.com>
+
+ * dbxread.c (read_ofile_symtab, process_one_symbol): Remove
+ commented out code.
+ * demangle.c (current_demangling_style_string): Make it const.
+ (set_demangling_command): Assert the demangling style is known.
+ Remove all handling of unknown styles. Set
+ 'current_demangling_style_string' to an element of the
+ demangling_style_names array.
+ (set_demangling_style): Delete.
+ (_initialize_demangler): Set current_demangling_style_string to the
+ element of the demangling_style_names array that corresponds to
+ the default demangling style. Remove FIXME note. Don't call
+ set_demangling_style.
+ * gdb-demangle.h (set_demangling_style): Remove declaration.
+
+2013-03-13 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make
+ fields const.
+ (ada_make_symbol_completion_list): Make "text0" parameter const.
+ * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const.
+ * breakpoint.c (condition_completer): Make "text" and "word"
+ parameters const. Adjust.
+ (check_tracepoint_command): Adjust to validate_actionline
+ prototype change.
+ (catch_syscall_completer): Make "text" and "word" parameters
+ const.
+ * cli/cli-cmds.c (show_user): Make "comname" local const.
+ (valid_command_p): Make "command" parameter const.
+ (alias_command): Make "alias_prefix" and "command_prefix" locals
+ const.
+ * cli/cli-decode.c (add_cmd): Make "name" parameter const.
+ (add_alias_cmd): Make "name" and "oldname" parameters const.
+ Adjust. No longer make copy of OLDNAME.
+ (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd)
+ (add_setshow_cmd_full, add_setshow_enum_cmd)
+ (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
+ (add_setshow_filename_cmd, add_setshow_string_cmd)
+ (add_setshow_string_noescape_cmd)
+ (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
+ (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
+ (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd)
+ (delete_cmd, add_info, add_info_alias, add_com, add_com_alias):
+ Make "name" parameter const.
+ (help_cmd): Rename "command" parameter to "arg". New const local
+ "command".
+ (find_cmd): Make "command" parameter const.
+ (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to
+ deprecated_cmd_warning prototype change.
+ (undef_cmd_error): Make "cmdtype" parameter const.
+ (lookup_cmd): Make "line" parameter const.
+ (deprecated_cmd_warning): Change type of "text" parameter to
+ pointer to const char, from pointer to pointer to char. Adjust.
+ (lookup_cmd_composition): Make "text" parameter const.
+ (complete_on_cmdlist, complete_on_enum): Make "text" and "word"
+ parameters const.
+ * cli/cli-decode.h (struct cmd_list_element) <name>: Make field
+ const.
+ * cli/cli-script.c (validate_comname): Make "tem" local const.
+ (define_command): New const local "tem_c". Use it in calls to
+ lookup_cmd.
+ (document_command): Make "tem" and "comfull" locals const.
+ (show_user_1): Make "prefix" and "name" parameters const.
+ * cli-script.h (show_user_1): Make "prefix" and "name" parameters
+ const.
+ * command.h (add_cmd, add_alias_cmd, add_prefix_cmd)
+ (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1)
+ (deprecated_cmd_warning, lookup_cmd_composition, add_com)
+ (add_com_alias, add_info, add_info_alias, complete_on_cmdlist)
+ (complete_on_enum, add_setshow_enum_cmd)
+ (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
+ (add_setshow_filename_cmd, add_setshow_string_cmd)
+ (add_setshow_string_noescape_cmd)
+ (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
+ (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
+ (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
+ Change prototypes, constifying strings.
+ * completer.c (noop_completer, filename_completer): Make "text"
+ and "prefix" parameters const.
+ (location_completer, expression_completer)
+ (complete_line_internal): Make "text" and "prefix" parameters
+ const and adjust.
+ (command_completer, signal_completer): Make "text" and "prefix"
+ parameters const.
+ * completer.h (noop_completer, filename_completer)
+ (expression_completer, location_completer, command_completer)
+ (signal_completer): Change prototypes.
+ * corefile.c (complete_set_gnutarget): Make "text" and "word"
+ parameters const.
+ * cp-abi.c (cp_abi_completer): Likewise.
+ * expression.h (parse_expression_for_completion): Change
+ prototype.
+ * f-lang.c (f_make_symbol_completion_list): Make "text" and "word"
+ parameters const.
+ * infcmd.c (_initialize_infcmd): Make "cmd_name" local const.
+ * infrun.c (handle_completer): Make "text" and "word" parameters
+ const.
+ * interps.c (interpreter_completer): Make "text" and "word"
+ parameters const.
+ * language.h (struct language_defn)
+ <la_make_symbol_completion_list>: Make "text" and "word"
+ parameters const.
+ * parse.c (parse_exp_1): Move const hack to parse_exp_in_context.
+ (parse_exp_in_context): Rename to ...
+ (parse_exp_in_context_1): ... this.
+ (parse_exp_in_context): Reimplement, with const hack from
+ parse_exp_1.
+ (parse_expression_for_completion): Make "string" parameter const.
+ * printcmd.c (decode_format): Make "string_ptr" parameter pointer
+ to pointer to const char. Adjust.
+ (print_command_1): Make "exp" parameter const.
+ (output_command): Rename to ...
+ (output_command_const): ... this. Make "exp" parameter const.
+ (output_command): Reimplement.
+ (x_command): Adjust.
+ (display_command): Rename "exp" parameter to "arg". New "exp"
+ local, const version of "arg".
+ * python/py-auto-load.c (gdbpy_initialize_auto_load): Make
+ "cmd_name" local const.
+ * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree
+ call.
+ (cmdpy_completer): Make "text" and "word" parameters const.
+ (gdbpy_parse_command_name): Make "prefix_text2" local const.
+ * python/py-param.c (add_setshow_generic): Make "tmp_name" local
+ const.
+ * remote.c (_initialize_remote): Make "cmd_name" local const.
+ * symtab.c (language_search_unquoted_string): Make "text" and "p"
+ parameters const. Adjust.
+ (completion_list_add_fields): Make "sym_text", "text" and "word"
+ parameters const.
+ (struct add_name_data) <sym_text, text, word>: Make fields const.
+ (default_make_symbol_completion_list_break_on): Make "text" and
+ "word" parameters const. Adjust locals.
+ (default_make_symbol_completion_list)
+ (make_symbol_completion_list, make_symbol_completion_type)
+ (make_symbol_completion_list_fn): Make "text" and "word"
+ parameters const.
+ (make_file_symbol_completion_list): Make "text", "word" and
+ "srcfile" parameters const. Adjust locals.
+ (add_filename_to_list): Make "text" and "word" parameters const.
+ (struct add_partial_filename_data) <text, word>: Make fields
+ const.
+ (make_source_files_completion_list): Make "text" and "word"
+ parameters const.
+ * symtab.h (default_make_symbol_completion_list_break_on)
+ (default_make_symbol_completion_list, make_symbol_completion_list)
+ (make_symbol_completion_type enum type_code)
+ (make_symbol_completion_list_fn make_file_symbol_completion_list)
+ (make_source_files_completion_list): Change prototype.
+ * top.c (execute_command): Adjust to pass pointer to pointer to
+ const char to lookup_cmd, and to deprecated_cmd_warning prototype
+ change.
+ (set_verbose): Make "cmdname" local const.
+ * tracepoint.c (decode_agent_options): Make "exp" parameter const,
+ and adjust.
+ (validate_actionline): Make "line" parameter a pointer to const
+ char, and adjust.
+ (encode_actions_1): Make "action_exp" local const, and adjust.
+ (encode_actions): Adjust.
+ (replace_comma): Delete.
+ (trace_dump_actions): Make "action_exp" and "next_comma" locals
+ const, and adjust. Don't frob the action string while splitting
+ it at commas. Instead, make a copy of each split substring in
+ turn.
+ (trace_dump_command): Adjust to validate_actionline prototype
+ change.
+ * tracepoint.h (decode_agent_options, decode_agent_options)
+ (encode_actions, validate_actionline): Change prototypes.
+ * valprint.h (output_command): Delete declaration.
+ (output_command_const): Declare.
+ * value.c (function_destroyer): Cast const away in xfree call.
+
+2013-03-13 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL
+ rather than casting 'const char * const *' to 'const char **'.
+ * ada-lex.l (processInt): Make "trailer" local const. Remove
+ 'const char **' cast.
+ * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *'
+ locals, and use those as strtol output pointer, instead than doing
+ invalid casts to from 'const char **' to 'char **'.
+ (_initialize_demangle): Remove cast.
+ * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *'
+ locals, and use those as strtol output pointer, instead than doing
+ invalid casts to from 'const char **' to 'char **'.
+ * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**'
+ casts.
+ * stap-probe.c (stap_parse_register_operand)
+ (stap_parse_single_operand): Likewise.
+
+2013-03-13 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tfile_get_trace_state_variable_value): Look for
+ the last matched 'V' blcok in trace frame.
+
+2013-03-12 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Create a new section for the next release branch.
+ Rename the section of the current branch, now that it has
+ been cut.
+
+2013-03-12 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
+ * version.in: Bump version to 7.6.50.20130312-cvs.
+
+2013-03-12 Keith Seitz <keiths@redhat.com>
+
+ * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
+ * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
+ Remove temporary copy of input string.
+ (mi_execute_command_wrapper): Make "cmd" const.
+ * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
+ * mi/mi-parse.c (mi_parse_argv): Make "args" const.
+ Use const strings.
+ (mi_parse): Make "cmd" const.
+ Use const strings.
+ * mi/mi-parse.h (mi_parse): Make "cmd" const.
+
+2013-03-12 Keith Seitz <keiths@redhat.com>
+
+ * ada-lang.c (ada_read_renaming_var_value): Pass const
+ pointer to expression string to parse_exp_1.
+ (create_excep_cond_exprs): Likewise.
+ * ax-gdb.c (agent_eval_command_one): Likewise.
+ (maint_agent_printf_command): Likewise.
+ Constify much of the string handling/parsing.
+ * breakpoint.c (set_breakpoint_condition): Pass const
+ pointer to expression string to parse_exp_1.
+ (update_watchpoint): Likewise.
+ (parse_cmd_to_aexpr): Constify string handling.
+ Pass const pointer to parse_exp_1.
+ (init_breakpoint_sal): Pass const pointer to parse_exp_1.
+ (find_condition_and_thread): Likewise.
+ Make TOK const.
+ (watch_command_1): Make "arg" const.
+ Constify string handling.
+ Copy the expression string instead of changing the input
+ string.
+ (update_breakpoint_location): Pass const pointer to
+ parse_exp_1.
+ * eval.c (parse_and_eval_address): Make "exp" const.
+ (parse_to_comma_and_eval): Make "expp" const.
+ (parse_and_eval): Make "exp" const.
+ * expression.h (parse_expression): Make argument const.
+ (parse_exp_1): Make first argument const.
+ * findcmd.c (parse_find_args): Treat "args" as const.
+ * linespec.c (parse_linespec): Pass const pointer to
+ linespec_expression_to_pc.
+ (linespec_expression_to_pc): Make "exp_ptr" const.
+ * parse.c (parse_exp_1): Make "stringptr" const.
+ Make a copy of the expression to pass to parse_exp_in_context until
+ this whole interface can be constified.
+ (parse_expression): Make "string" const.
+ * printcmd.c (ui_printf): Treat "arg" as const.
+ Handle const strings.
+ * tracepoint.c (validate_actionline): Pass const pointer to
+ all calls to parse_exp_1.
+ (encode_actions_1): Likewise.
+ * value.h (parse_to_comma_and_eval): Make argument const.
+ (parse_and_eval_address): Likewise.
+ (parse_and_eval): Likewise.
+ * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
+ (varobj_set_value): Likewise.
+ * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
+ constify string handling.
+ Pass const pointers to parse_and_eval_address and
+ parse_to_comman_and_eval.
+ * cli/cli-utils.c (skip_to_space): Rename to ...
+ (skip_to_space_const): ... this. Handle const strings.
+ * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
+ skip_to_space_const.
+ (skip_to_space_const): Declare.
+ * common/format.c (parse_format_string): Make "arg" const.
+ Handle const strings.
+ * common/format.h (parse_format_string): Make "arg" const.
+ * gdbserver/ax.c (ax_printf): Make "format" const.
+ * python/python.c (gdbpy_parse_and_eval): Do not make a copy
+ of the expression string.
+
+2013-03-12 Hui Zhu <hui@codesourcery.com>
+
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
+
+2013-03-12 Yao Qi <yao@codesourcery.com>
+ Hui Zhu <hui@codesourcery.com>
+
+ * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
+ (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
+ DW_OP_deref_size.
+
+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.
+
+2013-03-11 Pedro Alves <palves@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-03-01 Pedro Alves <palves@redhat.com>
+ * configure: Regenerate.
+ * configure.ac (check dynamic export flag): Link python test with
+ $PYTHON_LIBS.
+
+2013-03-11 Doug Evans <dje@google.com>
+ Keith Seitz <keiths@redhat.com>
+
+ * linespec.c (find_linespec_symbols): Call find_function_symbols
+ first, and then call lookup_prefix_sym/find_method.
+
+2013-03-11 Pedro Alves <palves@redhat.com>
+
+ * charset.c (convert_between_encodings): Don't cast between
+ different pointer to pointer types. Instead, make the 'inp' local
+ be of the type iconv expects.
+ (wchar_iterate): Don't cast between different pointer to pointer
+ types. Instead, use new pointer local of the type iconv expects.
+ * target.c (target_read_stralloc, target_fileio_read_stralloc):
+ Add new local of type char pointer, and use it to get a
+ char/string view of the byte buffer, instead of casting between
+ pointer to pointer types.
+
+2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * remote.c (remote_set_trace_buffer_size): Move != operator
+ to the start of next line to fix an ARI warning.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * NEWS: Add record changes.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-btrace.c (btrace_insn_history): Omit the pc prefix in
+ the instruction history disassembly.
+ * disasm.c (dump_insns): Omit the pc prefix, if requested.
+ * disasm.h (DISASSEMBLY_OMIT_PC): New.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * Makefile.in (SFILES): Add record-btrace.c
+ (COMMON_OBS): Add record-btrace.o
+ * record-btrace.c: New.
+ * objfiles.c: Include btrace.h.
+ (free_objfile): call btrace_free_objfile.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.c (target_call_history, target_call_history_from,
+ target_call_history_range): New.
+ * target.h (target_ops) <to_call_history, to_call_history_from,
+ to_call_history_range>: New fields.
+ (target_call_history, target_call_history_from,
+ target_call_history_range): New declaration.
+ * record.c (get_call_history_modifiers, cmd_record_call_history,
+ record_call_history_size): New.
+ (_initialize_record): Add the "record function-call-history" command.
+ Add "set/show record function-call-history-size" commands.
+ * record.h (record_print_flag): New.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.h (target_ops) <to_insn_history, to_insn_history_from,
+ to_insn_history_range>: New fields.
+ (target_insn_history): New.
+ (target_insn_history_from): New.
+ (target_insn_history_range): New.
+ * target.c (target_insn_history): New.
+ (target_insn_history_from): New.
+ (target_insn_history_range): New.
+ * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
+ (record_insn_history_size): New.
+ (get_insn_number): New.
+ (get_context_size): New.
+ (no_chunk): New.
+ (get_insn_history_modifiers): New.
+ (cmd_record_insn_history): New.
+ (_initialize_record): Add "set/show record instruction-history-size"
+ command. Add "record instruction-history" command.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record.h (record_disconnect): New.
+ (record_detach): New.
+ (record_mourn_inferior): New.
+ (record_kill): New.
+ * record-full.c (record_disconnect, record_detach,
+ record_mourn_inferior, record_kill): Move to...
+ * record.c: ...here.
+ (DEBUG): New.
+ (record_stop): New.
+ (record_unpush): New.
+ (cmd_record_stop): Call record_stop. Replace unpush_target
+ call with record_unpush call.
+ (record_disconnect, record_detach): Assert that the target
+ is of record stratum. Call record_unpush, record_stop, and
+ DEBUG.
+ (record_mourn_inferior, record_kill): Assert that the target
+ is of record stratum. Call record_unpush and DEBUG.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-full.h, record-full.c (record_memory_query): Rename
+ to ...
+ (record_full_memory_query): ...this. Update all users.
+ (record_arch_list_add_reg): Rename to ...
+ (record_full_arch_list_add_reg): ...this. Update all users.
+ (record_arch_list_add_mem): Rename to ...
+ (record_full_arch_list_add_mem): ...this. Update all users.
+ (record_arch_list_add_end): Rename to ...
+ (record_full_arch_list_add_end): ...this. Update all users.
+ (record_gdb_operation_disable_set): Rename to ...
+ (record_full_gdb_operation_disable_set): ...this.
+ Update all users.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
+ (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
+ (RECORD_IS_REPLAY): Renamed to ...
+ (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
+ (RECORD_FILE_MAGIC): Renamed to ...
+ (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
+ (record_mem_entry): Renamed to ...
+ (record_full_mem_entry): ... this. Updated all users.
+ (record_reg_entry): Renamed to ...
+ (record_full_reg_entry): ... this. Updated all users.
+ (record_end_entry): Renamed to ...
+ (record_full_end_entry): ... this. Updated all users.
+ (record_type) <record_end, record_reg, record_mem>: Renamed
+ to ...
+ (record_full_type) <record_full_end, record_full_reg,
+ record_full_mem>: ... this. Updated all users.
+ (record_entry): Renamed to ...
+ (record_full_entry): ... this. Updated all users.
+ (record_core_buf_entry): Renamed to ...
+ (record_full_core_buf_entry): ... this. Updated all users.
+ (record_core_regbuf): Renamed to ...
+ (record_full_core_regbuf): ... this. Updated all users.
+ (record_core_start): Renamed to ...
+ (record_full_core_start): ... this. Updated all users.
+ (record_core_end): Renamed to ...
+ (record_full_core_end): ... this. Updated all users.
+ (record_core_buf_list): Renamed to ...
+ (record_full_core_buf_list): ... this. Updated all users.
+ (record_first): Renamed to ...
+ (record_full_first): ... this. Updated all users.
+ (record_list): Renamed to ...
+ (record_full_list): ... this. Updated all users.
+ (record_arch_list_head): Renamed to ...
+ (record_full_arch_list_head): ... this. Updated all users.
+ (record_arch_list_tail): Renamed to ...
+ (record_full_arch_list_tail): ... this. Updated all users.
+ (record_stop_at_limit): Renamed to ...
+ (record_full_stop_at_limit): ... this. Updated all users.
+ (record_insn_max_num): Renamed to ...
+ (record_full_insn_max_num): ... this. Updated all users.
+ (record_insn_num): Renamed to ...
+ (record_full_insn_num): ... this. Updated all users.
+ (record_insn_count): Renamed to ...
+ (record_full_insn_count): ... this. Updated all users.
+ (record_ops): Renamed to ...
+ (record_full_ops): ... this. Updated all users.
+ (record_core_ops): Renamed to ...
+ (record_full_core_ops): ... this. Updated all users.
+ (set_record_cmdlist): Renamed to ...
+ (set_record_full_cmdlist): ... this. Updated all users.
+ (show_record_cmdlist): Renamed to ...
+ (show_record_full_cmdlist): ... this. Updated all users.
+ (record_cmdlist): Renamed to ...
+ (record_full_cmdlist): ... this. Updated all users.
+ (record_beneath_to_resume_ops): Renamed to ...
+ (record_full_beneath_to_resume_ops): ... this. Updated all users.
+ (record_beneath_to_resume): Renamed to ...
+ (record_full_beneath_to_resume): ... this. Updated all users.
+ (record_beneath_to_wait_ops): Renamed to ...
+ (record_full_beneath_to_wait_ops): ... this. Updated all users.
+ (record_beneath_to_wait): Renamed to ...
+ (record_full_beneath_to_wait): ... this. Updated all users.
+ (record_beneath_to_store_registers_ops): Renamed to ...
+ (record_full_beneath_to_store_registers_ops): ... this.
+ Updated all users.
+ (record_beneath_to_store_registers): Renamed to ...
+ (record_full_beneath_to_store_registers): ... this.
+ Updated all users.
+ (record_beneath_to_xfer_partial_ops): Renamed to ...
+ (record_full_beneath_to_xfer_partial_ops): ... this.
+ Updated all users.
+ (record_beneath_to_xfer_partial): Renamed to ...
+ (record_full_beneath_to_xfer_partial): ... this.
+ Updated all users.
+ (record_beneath_to_insert_breakpoint): Renamed to ...
+ (record_full_beneath_to_insert_breakpoint): ... this.
+ Updated all users.
+ (record_beneath_to_stopped_by_watchpoint): Renamed to ...
+ (record_full_beneath_to_stopped_by_watchpoint): ... this.
+ Updated all users.
+ (record_beneath_to_stopped_data_address): Renamed to ...
+ (record_full_beneath_to_stopped_data_address): ... this.
+ Updated all users.
+ (record_beneath_to_async): Renamed to ...
+ (record_full_beneath_to_async): ... this. Updated all users.
+ (record_goto_insn): Renamed to ...
+ (record_full_goto_insn): ... this. Updated all users.
+ (record_save): Renamed to ...
+ (record_full_save): ... this. Updated all users.
+ (record_reg_alloc): Renamed to ...
+ (record_full_reg_alloc): ... this. Updated all users.
+ (record_reg_release): Renamed to ...
+ (record_full_reg_release): ... this. Updated all users.
+ (record_mem_alloc): Renamed to ...
+ (record_full_mem_alloc): ... this. Updated all users.
+ (record_mem_release): Renamed to ...
+ (record_full_mem_release): ... this. Updated all users.
+ (record_end_alloc): Renamed to ...
+ (record_full_end_alloc): ... this. Updated all users.
+ (record_end_release): Renamed to ...
+ (record_full_end_release): ... this. Updated all users.
+ (record_entry_release): Renamed to ...
+ (record_full_entry_release): ... this. Updated all users.
+ (record_list_release): Renamed to ...
+ (record_full_list_release): ... this. Updated all users.
+ (record_list_release_following): Renamed to ...
+ (record_full_list_release_following): ... this.
+ Updated all users.
+ (record_list_release_first): Renamed to ...
+ (record_full_list_release_first): ... this. Updated all users.
+ (record_arch_list_add): Renamed to ...
+ (record_full_arch_list_add): ... this. Updated all users.
+ (record_get_loc): Renamed to ...
+ (record_full_get_loc): ... this. Updated all users.
+ (record_check_insn_num): Renamed to ...
+ (record_full_check_insn_num): ... this. Updated all users.
+ (record_arch_list_cleanups): Renamed to ...
+ (record_full_arch_list_cleanups): ... this. Updated all users.
+ (record_message): Renamed to ...
+ (record_full_message): ... this. Updated all users.
+ (record_message_wrapper): Renamed to ...
+ (record_full_message_wrapper): ... this. Updated all users.
+ (record_message_wrapper_safe): Renamed to ...
+ (record_full_message_wrapper_safe): ... this. Updated all users.
+ (record_gdb_operation_disable): Renamed to ...
+ (record_full_gdb_operation_disable): ... this. Updated all users.
+ (record_hw_watchpoint): Renamed to ...
+ (record_full_hw_watchpoint): ... this. Updated all users.
+ (record_exec_insn): Renamed to ...
+ (record_full_exec_insn): ... this. Updated all users.
+ (record_restore): Renamed to ...
+ (record_full_restore): ... this. Updated all users.
+ (record_async_inferior_event_token): Renamed to ...
+ (record_full_async_inferior_event_token): ... this.
+ Updated all users.
+ (record_async_inferior_event_handler): Renamed to ...
+ (record_full_async_inferior_event_handler): ... this.
+ Updated all users.
+ (record_core_open_1): Renamed to ...
+ (record_full_core_open_1): ... this. Updated all users.
+ (record_open_1): Renamed to ...
+ (record_full_open_1): ... this. Updated all users.
+ (record_open): Renamed to ...
+ (record_full_open): ... this. Updated all users.
+ (record_close): Renamed to ...
+ (record_full_close): ... this. Updated all users.
+ (record_resume_step): Renamed to ...
+ (record_full_resume_step): ... this. Updated all users.
+ (record_resumed): Renamed to ...
+ (record_full_resumed): ... this. Updated all users.
+ (record_execution_dir): Renamed to ...
+ (record_full_execution_dir): ... this. Updated all users.
+ (record_resume): Renamed to ...
+ (record_full_resume): ... this. Updated all users.
+ (record_get_sig): Renamed to ...
+ (record_full_get_sig): ... this. Updated all users.
+ (record_sig_handler): Renamed to ...
+ (record_full_sig_handler): ... this. Updated all users.
+ (record_wait_cleanups): Renamed to ...
+ (record_full_wait_cleanups): ... this. Updated all users.
+ (record_wait_1): Renamed to ...
+ (record_full_wait_1): ... this. Updated all users.
+ (record_wait): Renamed to ...
+ (record_full_wait): ... this. Updated all users.
+ (record_stopped_by_watchpoint): Renamed to ...
+ (record_full_stopped_by_watchpoint): ... this. Updated all users.
+ (record_disconnect): Renamed to ...
+ (record_full_disconnect): ... this. Updated all users.
+ (record_detach): Renamed to ...
+ (record_full_detach): ... this. Updated all users.
+ (record_mourn_inferior): Renamed to ...
+ (record_full_mourn_inferior): ... this. Updated all users.
+ (record_kill): Renamed to ...
+ (record_full_kill): ... this. Updated all users.
+ (record_stopped_data_address): Renamed to ...
+ (record_full_stopped_data_address): ... this. Updated all users.
+ (record_registers_change): Renamed to ...
+ (record_full_registers_change): ... this. Updated all users.
+ (record_store_registers): Renamed to ...
+ (record_full_store_registers): ... this. Updated all users.
+ (record_xfer_partial): Renamed to ...
+ (record_full_xfer_partial): ... this. Updated all users.
+ (record_breakpoint): Renamed to ...
+ (record_full_breakpoint): ... this. Updated all users.
+ (record_breakpoint_p): Renamed to ...
+ (record_full_breakpoint_p): ... this. Updated all users.
+ (record_breakpoints): Renamed to ...
+ (record_full_breakpoints): ... this. Updated all users.
+ (record_sync_record_breakpoints): Renamed to ...
+ (record_full_sync_record_breakpoints): ... this.
+ Updated all users.
+ (record_init_record_breakpoints): Renamed to ...
+ (record_full_init_record_breakpoints): ... this.
+ Updated all users.
+ (record_insert_breakpoint): Renamed to ...
+ (record_full_insert_breakpoint): ... this. Updated all users.
+ (record_remove_breakpoint): Renamed to ...
+ (record_full_remove_breakpoint): ... this. Updated all users.
+ (record_can_execute_reverse): Renamed to ...
+ (record_full_can_execute_reverse): ... this. Updated all users.
+ (record_get_bookmark): Renamed to ...
+ (record_full_get_bookmark): ... this. Updated all users.
+ (record_goto_bookmark): Renamed to ...
+ (record_full_goto_bookmark): ... this. Updated all users.
+ (record_async): Renamed to ...
+ (record_full_async): ... this. Updated all users.
+ (record_can_async_p): Renamed to ...
+ (record_full_can_async_p): ... this. Updated all users.
+ (record_is_async_p): Renamed to ...
+ (record_full_is_async_p): ... this. Updated all users.
+ (record_execution_direction): Renamed to ...
+ (record_full_execution_direction): ... this. Updated all users.
+ (record_info): Renamed to ...
+ (record_full_info): ... this. Updated all users.
+ (record_delete): Renamed to ...
+ (record_full_delete): ... this. Updated all users.
+ (record_is_replaying): Renamed to ...
+ (record_full_is_replaying): ... this. Updated all users.
+ (record_goto_entry): Renamed to ...
+ (record_full_goto_entry): ... this. Updated all users.
+ (record_goto_begin): Renamed to ...
+ (record_full_goto_begin): ... this. Updated all users.
+ (record_goto_end): Renamed to ...
+ (record_full_goto_end): ... this. Updated all users.
+ (record_goto): Renamed to ...
+ (record_full_goto): ... this. Updated all users.
+ (init_record_ops): Renamed to ...
+ (init_record_full_ops): ... this. Updated all users.
+ (record_core_resume): Renamed to ...
+ (record_full_core_resume): ... this. Updated all users.
+ (record_core_kill): Renamed to ...
+ (record_full_core_kill): ... this. Updated all users.
+ (record_core_fetch_registers): Renamed to ...
+ (record_full_core_fetch_registers): ... this. Updated all users.
+ (record_core_prepare_to_store): Renamed to ...
+ (record_full_core_prepare_to_store): ... this. Updated all users.
+ (record_core_store_registers): Renamed to ...
+ (record_full_core_store_registers): ... this. Updated all users.
+ (record_core_xfer_partial): Renamed to ...
+ (record_full_core_xfer_partial): ... this. Updated all users.
+ (record_core_insert_breakpoint): Renamed to ...
+ (record_full_core_insert_breakpoint): ... this. Updated all users.
+ (record_core_remove_breakpoint): Renamed to ...
+ (record_full_core_remove_breakpoint): ... this. Updated all users.
+ (record_core_has_execution): Renamed to ...
+ (record_full_core_has_execution): ... this. Updated all users.
+ (init_record_core_ops): Renamed to ...
+ (init_record_full_core_ops): ... this. Updated all users.
+ (cmd_record_restore): Renamed to ...
+ (cmd_record_full_restore): ... this. Updated all users.
+ (record_save_cleanups): Renamed to ...
+ (record_full_save_cleanups): ... this. Updated all users.
+ (cmd_record_start): Renamed to ...
+ (cmd_record_full_start): ... this. Updated all users.
+ (set_record_insn_max_num): Renamed to ...
+ (set_record_full_insn_max_num): ... this. Updated all users.
+ (set_record_command): Renamed to ...
+ (set_record_full_command): ... this. Updated all users.
+ (show_record_command): Renamed to ...
+ (show_record_full_command): ... this. Updated all users.
+ (_initialize_record): Renamed to ...
+ (_initialize_record_full): ... this. Updated all users.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record.h: Split into this and ...
+ * record-full.h: ... this.
+ * record.c: Split into this and ...
+ * record-full.c: ... this.
+ * target.h (target_ops): Add new fields to_info_record,
+ to_save_record, to_delete_record, to_record_is_replaying,
+ to_goto_record_begin, to_goto_record_end, to_goto_record.
+ (target_info_record): New.
+ (target_save_record): New.
+ (target_supports_delete_record): New.
+ (target_delete_record): New.
+ (target_record_is_replaying): New.
+ (target_goto_record_begin): New.
+ (target_goto_record_end): New.
+ (target_goto_record): New.
+ * target.c (target_info_record): New.
+ (target_save_record): New.
+ (target_supports_delete_record): New.
+ (target_delete_record): New.
+ (target_record_is_replaying): New.
+ (target_goto_record_begin): New.
+ (target_goto_record_end): New.
+ (target_goto_record): New.
+ * record.h: Declare struct cmd_list_element.
+ (record_cmdlist): New declaration.
+ (set_record_cmdlist): New declaration.
+ (show_record_cmdlist): New declaration.
+ (info_record_cmdlist): New declaration.
+ (cmd_record_goto): New declaration.
+ * record.c: Remove unnecessary includes.
+ Include inferior.h.
+ (cmd_record_goto): Remove declaration.
+ (record_cmdlist): Now extern. Initialize.
+ (set_record_cmdlist): Now extern. Initialize.
+ (show_record_cmdlist): Now extern. Initialize.
+ (info_record_cmdlist): Now extern. Initialize.
+ (find_record_target): New.
+ (require_record_target): New.
+ (cmd_record_start): Update.
+ (cmd_record_delete): Remove target-specific code.
+ Call target_delete_record.
+ (cmd_record_stop): Unpush any record target.
+ (set_record_insn_max_num): Move to record-full.c
+ (set_record_command): Add comment.
+ (show_record_command): Add comment.
+ (info_record_command): Update comment.
+ Remove target-specific code.
+ Call the record target's to_info_record.
+ (cmd_record_start): New.
+ (cmd_record_goto): Now extern.
+ Remove target-specific code.
+ Call target_goto_begin, target_goto_end, or target_goto.
+ (_initialize_record): Move record target ops initialization to
+ record-full.c.
+ Change "record" command help text.
+ Move "record restore", "record set", and "record show" commands to
+ record-full.c.
+ * Makefile.in (SFILES): Add record-full.c.
+ (HFILES_NO_SRCDIR): Add record-full.h.
+ (COMMON_OBS): Add record-full.o.
+ * amd64-linux-tdep.c: Include record-full.h instead of record.h.
+ * arm-tdep.c: Include record-full.h.
+ * i386-linux-tdep.c: Include record-full.h instead of record.h.
+ * i386-tdep.c: Include record-full.h.
+ * infrun.c: Include record-full.h.
+ * linux-record.c: Include record-full.h.
+ * moxie-tdep.c: Include record-full.h.
+ * record-full.c: Include record-full.h.
+ Change module comment.
+ (set_record_full_cmdlist): New.
+ (show_record_full_cmdlist): New.
+ (record_full_cmdlist): New.
+ (record_goto_insn): New declaration.
+ (record_save): New declaration.
+ (record_check_insn_num): Change query string.
+ (record_info): New.
+ (record_delete): New.
+ (record_is_replaying): New.
+ (record_goto_entry): New.
+ (record_goto_begin): New.
+ (record_goto_end): New.
+ (record_goto): New.
+ (init_record_ops): Update.
+ (init_record_core_ops): Update.
+ (cmd_record_save): Rename to record_save. Remove target and arg checks.
+ (cmd_record_start): New.
+ (set_record_insn_max_num): Moved from record.c
+ (set_record_full_command): New.
+ (show_record_full_command): New.
+ (_initialize_record_full): New.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.h (add_deprecated_target_alias): New.
+ * target.c (add_deprecated_target_alias): New.
+
+2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
+
+ * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
+ and signal.h.
+ (linux_supports_btrace): Add kernel and
+ cpuid check.
+ (kernel_supports_btrace): New function.
+ (cpu_supports_btrace): New function.
+ (intel_supports_btrace): New function.
+
+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.
- * inferior.c (delete_threads_of_inferior): Delete.
+2013-03-07 Pedro Alves <palves@redhat.com>
-2012-03-01 Pedro Alves <palves@redhat.com>
+ * target.c (target_read_stralloc, target_fileio_read_alloc):
+ *Cast pointer to 'gdb_byte *' in target call.
- Import fallback definitions from glibc.
+2013-03-07 Pedro Alves <palves@redhat.com>
- * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
- ps_prochandle): Forward declare.
- (ps_err_e): Use glibc's comments.
- [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
- (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
- (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
- (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
- (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
- (struct ps_prochandle): Adjust comment.
+ * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
+ call.
-2012-03-01 Pedro Alves <palves@redhat.com>
+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.
- * ada-lang.c (ada_modulus_from_name): Delete.
- * ada-lex.l (lexer_init): Make static.
+2013-03-07 Pedro Alves <palves@redhat.com>
-2012-03-01 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.
- PR gdb/13767
+2013-03-07 Pedro Alves <palves@redhat.com>
- * frame.c (read_frame_register_unsigned): New.
- * frame.h (read_frame_register_unsigned): Declare.
- * i387-tdep.c (print_i387_status_word): New parameter `status_p'.
- Handle it.
- (print_i387_control_word): New parameter `control_p'. Handle it.
- (i387_print_float_info): Handle unavailable float registers.
+ * 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.
-2012-03-01 Keith Seitz <keiths@redhat.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * linespec.c (decode_line_2): Sort the list of methods
- alphabetically before presenting the user with a selection
- menu.
+ * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
+ for 'regcache->register_status'.
-2012-03-01 Doug Evans <dje@google.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
- has_namespace_info.
- (dwarf2_read_abbrevs): Remove corresponding initialization.
+ * breakpoint.c (breakpoint_xfer_memory): Change type of local to
+ int.
-2012-03-01 Scott J. Goldman <scottjg@vmware.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * NEWS: Mention new python command class gdb.COMMAND_USER.
- * cli/cli-cmds.c (show_user): Print error when used on a python
- command.
- (init_cli_cmds): Update documentation strings for "show user" and
- "set/show max-user-call-depth" to clarify that it does not apply to
- python commands.
- * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
- error check.
- (gdbpy_initialize_commands): Add COMMAND_USER as a constant in
- gdb python api.
- * top.c (execute_command): Only execute a user-defined command as a
- legacy macro if c->user_commands is set.
-
-2012-03-01 Tom Tromey <tromey@redhat.com>
-
- * valprint.h (struct generic_val_print_decorations): New.
- (generic_val_print): Declare.
- * valprint.c (generic_val_print): New function.
- * p-valprint.c (p_decorations): New global.
- (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
- TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
- TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
- TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
- * m2-valprint.c (m2_decorations): New global.
- (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
- TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
- TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
- TYPE_CODE_ERROR>: Call generic_val_print.
- * f-valprint.c (f_decorations): New global.
- (f_val_print): Use print_function_pointer_address.
- <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
- TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
- TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
- generic_val_print.
- * c-valprint.c (c_decorations): New global.
- (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
- TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
- TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
- TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
- TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
- * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
- case.
+ * stap-probe.c (handle_stap_probe): Add cast to char*.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * valprint.c (val_print): Update.
- * p-valprint (pascal_val_print): Return void.
- * p-lang.h (pascal_val_print): Return void.
- * m2-valprint.c (m2_val_print): Return void.
- * m2-lang.h (m2_val_print): Return void.
- * language.h (struct language_defn) <la_val_print>: Return void.
- * language.c (unk_lang_val_print): Return void.
- * jv-valprint.c (java_val_print): Return void.
- * jv-lang.h (java_val_print): Return void.
- * f-valprint.c (f_val_print): Return void.
- * f-lang.h (f_val_print): Return void.
- * d-valprint.c (d_val_print): Return void.
- (dynamic_array_type): Update.
- * d-lang.h (d_val_print): Return void.
- * c-valprint.c (c_val_print): Return void.
- * c-lang.h (c_val_print): Return void.
- * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
- void.
- * ada-lang.h (ada_val_print): Return void.
+ * 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.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * value.h (val_print): Return void.
- * valprint.c (val_print): Return void.
+ * remote-notif.c (notif_debug): Change type to int.
+ * remote-notif.h (notif_debug): Likewise.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * value.h (common_val_print): Return void.
- * valprint.c (common_val_print): Return void.
+ * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-07 Pedro Alves <palves@redhat.com>
- * value.h (value_print): Return void.
- * valprint.c (value_print): Return void.
- * p-valprint.c (pascal_value_print): Return void.
- * p-lang.h (pascal_value_print): Return void.
- * language.h (struct language_defn) <la_value_print>: Return
- void.
- * language.c (unk_lang_value_print): Return void.
- * jv-valprint.c (java_value_print): Return void.
- * jv-lang.h (java_value_print): Return void.
- * f-valprint.c (c_value_print): Don't declare.
- Include c-lang.h.
- * c-valprint.c (c_value_print): Return void.
- * c-lang.h (c_value_print): Return void.
- * ada-valprint.c (ada_value_print): Return void.
- * ada-lang.h (ada_value_print): Return void.
+ * remote.c (hex2bin, bin2hex): Move extern declarations to ...
+ * remote.h (hex2bin, bin2hex): ... here.
+ * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-07 Eli Zaretskii <eliz@gnu.org>
- * value.c (value_primitive_field): Handle virtual base classes.
+ * utils.c (initialize_utils): Improve doc strings of "set/show
+ width", "set/show height", and "set/show pagination".
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-06 Keith Seitz <keiths@redhat.com>
- * gdbtypes.h (struct vbase): Remove.
+ * 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.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-06 Doug Evans <dje@google.com>
- * c-valprint.c (print_function_pointer_address): Move...
- * valprint.c: ... here. Make non-static.
- * m2-valprint.c (print_function_pointer_address): Remove.
- * valprint.h (print_function_pointer_address): Declare.
+ * elfread.c (elf_symfile_read): Move debugging printf to more
+ logical location.
-2012-03-01 Joel Brobecker <brobecker@adacore.com>
+2013-03-06 Pedro Alves <palves@redhat.com>
- * NEWS: Document the fact that one can provide a condition when
- creating an Ada exception catchpoint.
+ * python/py-utils.c (target_string_to_unicode): Delete function.
+ * python/python-internal.h (target_string_to_unicode): Delete
+ declaration.
-2012-03-01 Tom Tromey <tromey@redhat.com>
+2013-03-06 Pierre Muller <muller@sourceware.org>
- * valprint.c (val_print_type_code_flags): Fix placement of
- trailing brace.
+ * linespec.c (get_current_search_block): ARI fix, use (void)
+ for empty parameter list.
-2012-03-01 Joel Brobecker <brobecker@adacore.com>
+2013-03-05 Doug Evans <dje@google.com>
- * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
- (update_files): Do not set MULTILINE_COMMENT_PREFIXES
- environment variable before calling update-copyright.
+ * 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.
-2012-03-01 Joel Brobecker <brobecker@adacore.com>
+2013-03-05 Yao Qi <yao@codesourcery.com>
- * gnulib/extra/update-copyright: Update to the latest from
- gnulib's git repository.
- * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
- variable to 2 instead of 1.
+ * 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.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
- * varobj.c (c_value_of_variable): Remove dead code.
+ * NEWS: Mention new target x86_64-*-cygwin*.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
- * ada-lex.p (processId): Do not modify already encoded IDs.
- Update function documentation.
+ * configure.host: Add x86_64-*-cygwin* as host.
+ * configure.tgt: Add x86_64-*-cygwin* as target.
+ * config/i386/cygwin64.mh: New file.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
- * ada-lang.h (ada_find_renaming_symbol): Replace parameter
- "name" with "struct symbol *name_sym".
- * ada-exp.y (write_var_or_type): Update call to
- ada_find_renaming_symbol.
- "name" with "struct symbol *name_sym". Adjust Implementation
- accordingly. Adjust the function documentation.
+ * linespec.c (decode_line_2): Fix duplicate request off by two message.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
- * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
- * ada-lang.c (ada_find_any_type): Add advance declaration.
- Make static. Replace ada_find_any_symbol by
- ada_find_any_type_symbol.
- (ada_find_any_type_symbol): Renames ada_find_any_symbol.
- Improve function description. Make static.
- (ada_find_renaming_symbol, find_old_style_renaming_symbol):
- Replace ada_find_any_symbol by ada_find_any_type_symbol.
+ * 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.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-04 Corinna Vinschen <vinschen@redhat.com>
- * ada-lang.c (struct tag_args): Delete.
- (ada_get_tsd_type): Function body moved up in source file.
- (ada_tag_name_1, ada_tag_name_2): Delete.
- (ada_get_tsd_from_tag): New function.
- (ada_tag_name_from_tsd): New function.
- (ada_tag_name): Use a TRY_CATCH block instead of catch_errors
- to determine the tag name.
+ * coff-pe-read.c (read_pe_exported_syms): Don't return without
+ calling do_cleanup.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-04 Luis Machado <lgustavo@codesourcery.com>
- * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
- declaration.
- * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
- function.
+ * tracepoint.c (build_traceframe_info): Add code for byte order.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-02 Kevin Buettner <kevinb@redhat.com>
- * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.
+ * v850-tdep.c: (v850e2_register_name): Revise system register
+ names to match current V850E2M architecture specifications.
+ Update register number enum comments too.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-01 Jiong Wang <jiwang@tilera.com>
+ Pedro Alves <palves@redhat.com>
- * ada-lang.c (ada_lookup_symbol_list): Only cache the result of
- full searches.
+ * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
+ to END_ADDR.
+ (tilegx_skip_prologue): Limit prologue analysis to section end.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
- * ada-lang.c (constrained_packed_array_type): If there is a
- parallel XA type, use it to determine the array index type.
+ * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
+ use it.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+2013-03-01 Pedro Alves <palves@redhat.com>
- * ada-valprint.c (ada_val_print_1): If our value is a reference
- to an array descriptor, dereference it before converting it
- to a simple array.
+ Use gdb_byte for bytes from the program being debugged.
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+ * 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.
- * ada-lang.c (ada_to_fixed_value): Call unwrap_value before
- creating fixed value.
- (ada_value_ind, ada_coerce_ref, assign_component)
- (ada_evaluate_subexp): Remove call to unwrap_value before
- call to ada_to_fixed_value.
+2013-02-27 Jiong Wang <jiwang@tilera.com>
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+ * configure.tgt (tilegx-*-linux*): Enable gdbserver.
- * ada-lang.c (to_fixed_array_type): Set result's type name.
+2013-02-27 Jiong Wang <jiwang@tilera.com>
-2012-02-29 Joel Brobecker <brobecker@adacore.com>
+ * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
- * ada-lang.c (catch_ada_exception_command_split): Add new
- argument cond_string. Add support for condition at end of
- "catch exception" commands.
- (ada_decode_exception_location): Add new argument cond_string.
- Update call to catch_ada_exception_command_split.
- (create_ada_exception_catchpoint): Add new argument cond_string.
- Set the breakpoint condition if needed.
- (catch_ada_exception_command): Update call to
- ada_decode_exception_location.
- (ada_decode_assert_location): Add function documentation.
- Add support for condition at end of "catch assert" command.
- (catch_assert_command): Update calls to ada_decode_assert_location
- and create_ada_exception_catchpoint.
+2013-02-27 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
-2012-02-29 Jan Kratochvil <jan.kratochvil@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.
- Fix disp-step-syscall.exp: fork: single step over fork.
- * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
- (i386_linux_get_syscall_number_from_regcache): ... here, new function
- comment, change parameters gdbarch and ptid to regcache. Remove
- parameter regcache, initialize gdbarch from regcache here.
- (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
- New functions.
- (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
- instead.
- * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
- 'syscall'. Make the 'int' check more strict.
+2013-02-26 Anthony Green <green@moxielogic.com>
-2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * configure.tgt: Add support for moxie-*-rtems* target.
- Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
- * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
- (i386_linux_intx80_sysenter_syscall_record): ... here.
- (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
- Use the renamed function name.
+2013-02-25 Pedro Alves <palves@redhat.com>
-2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
+ warning text.
- * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
- * breakpoint.c (until_break_command): Likewise.
- * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
- * infcall.c (call_function_by_hand): Likewise.
- * infcmd.c (finish_forward): Likewise.
- * infrun.c (insert_exception_resume_breakpoint): Likewise.
+2013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
-2012-02-28 Tristan Gingold <gingold@adacore.com>
+ * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
+ if $fp is used as the virtual frame pointer.
- * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
- avoid variable assignments inside condition.
+2013-02-23 Alan Modra <amodra@gmail.com>
-2012-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * elfread.c (elf_symtab_read): Do not use udata.p here to find
+ symbol size.
+ * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
+ * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
+ * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
- Fix static analysis issue found by cppcheck.
- * microblaze-tdep.c (microblaze_extract_return_value): Fix
- uninitialized BUF for size 2.
+2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-02-27 Chris Dearman <chris@mips.com>
- Nathan Froyd <froydnj@codesourcery.com>
- Maciej W. Rozycki <macro@codesourcery.com>
+ Code cleanup.
+ * elfread.c (build_id_bfd_get): Make the return type const.
+ (build_id_verify): Make the check parameter const.
+ (build_id_to_debug_filename): Make the build_id parameter and variable
+ data const.
+ (find_separate_debug_file_by_buildid): Make the variable build_id const.
- * mips-tdep.c (mips32_instruction_has_delay_slot): New function.
- (mips16_instruction_has_delay_slot): Likewise.
- (mips_segment_boundary): Likewise.
- (mips_adjust_breakpoint_address): Likewise.
- (mips_gdbarch_init): Use mips_adjust_breakpoint_address.
+2013-02-21 Alan Modra <amodra@gmail.com>
-2012-02-27 Maciej W. Rozycki <macro@mips.com>
- Maciej W. Rozycki <macro@codesourcery.com>
+ * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
- * infrun.c (handle_inferior_event): Don't proceed through
- shared library trampolines if stepping at the machine
- instruction level.
+2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
-2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
+ Add a new method 'disassemble' to gdb.Architecture class.
+ * python/py-arch.c (archpy_disassmble): Implementation of the
+ new method gdb.Architecture.disassemble.
+ (arch_object_methods): Add entry for the new method.
- * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
- too.
+2013-02-20 Jiong Wang <jiwang@tilera.com>
-2012-02-27 Thomas Schwinge <thomas@codesourcery.com>
+ * MAINTAINERS (Write After Approval): Add myself to the list.
- * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
- (sh_stub_unwind_sniffer): New functions.
- (sh_stub_unwind): New variable.
- (sh_gdbarch_init): Wire everything.
+2013-02-19 Pedro Alves <palves@redhat.com>
-2012-02-27 Pedro Alves <palves@redhat.com>
+ Garbage collect 'struct monitor_ops'::load_routine.
- * linux-nat.c (pid_is_stopped): Delete, moved to common/.
- (linux_nat_post_attach_wait): Adjust to use
- linux_proc_pid_is_stopped.
- * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare.
- * common/linux-procfs.c (linux_proc_pid_is_stopped): New function,
- based on pid_is_stopped from both linux-nat.c and
- gdbserver/linux-low.c, and renamed.
+ * monitor.h (struct monitor_ops) <load_routine>: Remove field.
+ * monitor.c (monitor_load): No longer call
+ current_monitor->load_routine.
+ * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
+ * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
+ * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
-2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
+2013-02-19 Pedro Alves <palves@redhat.com>
- * remote.c (remote_watchpoint_addr_within_range): New function.
- (init_remote_ops): Use it.
+ PR gdb/15161
-2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
+ Harmonize with generic_load.
- * target.h (target_watchpoint_addr_within_range): Document macro.
+ * monitor.c: Include "readline/readline.h".
+ (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
+ instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
+ long/strtol for the 'load_offset' local. Error out if no argument
+ is given or if too many arguments are given. Tilde expand the
+ passed in file name.
-2012-02-24 Pedro Alves <palves@redhat.com>
+2013-02-19 Kai Tietz <ktietz@redhat.com>
- * stack.c (set_last_displayed_sal): Issue internal_error instead
- of warning, and issue it after clearing the last displayed sal.
+ PR gdb/15161
+ * symfile.c (load_section_data): Change type of load_offset
+ to CORE_ADDR.
+ (generic_load): User strtoulst instead of strtoul for conversion
+ of load_offset.
-2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
- Pedro Alves <palves@redhat.com>
+2013-02-19 Jiong Wang <jiwang@tilera.com>
- * breakpoint.c (until_break_command): Install breakpoints after
- all frame manipulations.
+ * tilegx-tdep.c (tilegx_analyze_prologue): add check for
+ for return address, "lr" register, saved on stack.
+ * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
+ after we invoke tilegx_analyze_prologue.
-2012-02-24 Luis Machado <lgustavo@codesourcery.com>
+2013-02-19 Jiong Wang <jiwang@tilera.com>
- * remote.c (remote_supports_cond_breakpoints): New forward
- declaration.
- (remote_add_target_side_condition): New function.
- (remote_insert_breakpoint): Add target-side breakpoint
- conditional if supported.
- (remote_insert_hw_breakpoint): Likewise.
- (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions
- hook.
-
- * target.c (update_current_target): Inherit
- to_supports_evaluation_of_breakpoint_conditions.
- Default to_supports_evaluation_of_breakpoint_conditions to return_zero.
-
- * target.h (struct target_ops)
- <to_supports_evaluation_of_breakpoint_conditions>: New field.
- (target_supports_evaluation_of_breakpoint_conditions): New #define.
-
- * breakpoint.c (get_first_locp_gte_addr): New forward declaration.
- (condition_evaluation_both, condition_evaluation_auto,
- condition_evaluation_host, condition_evaluation_target,
- condition_evaluation_enums, condition_evaluation_mode_1,
- condition_evaluation_mode): New static globals.
- (translate_condition_evaluation_mode): New function.
- (breakpoint_condition_evaluation_mode): New function.
- (gdb_evaluates_breakpoint_condition_p): New function.
- (ALL_BP_LOCATIONS_AT_ADDR): New helper macro.
- (mark_breakpoint_modified): New function.
- (mark_breakpoint_location_modified): New function.
- (set_condition_evaluation_mode): New function.
- (show_condition_evaluation_mode): New function.
- (bp_location_compare_addrs): New function.
- (get_first_location_gte_addr): New helper function.
- (set_breakpoint_condition): Free condition bytecode if locations
- has become unconditional. Call mark_breakpoint_modified (...).
- (condition_command): Call update_global_location_list (1) for
- breakpoints.
- (breakpoint_xfer_memory): Use is_breakpoint (...).
- (is_breakpoint): New function.
- (parse_cond_to_aexpr): New function.
- (build_target_condition_list): New function.
- (insert_bp_location): Handle target-side conditional
- breakpoints and call build_target_condition_list (...).
- (update_inserted_breakpoint_locations): New function.
- (insert_breakpoint_locations): Handle target-side conditional
- breakpoints.
- (bpstat_check_breakpoint_conditions): Add comment.
- (bp_condition_evaluator): New function.
- (bp_location_condition_evaluator): New function.
- (print_breakpoint_location): Print information on where the condition
- will be evaluated.
- (print_one_breakpoint_location): Likewise.
- (init_bp_location): Call mark_breakpoint_location_modified (...) for
- breakpoint location.
- (force_breakpoint_reinsertion): New functions.
- (update_global_location_list): Handle target-side breakpoint
- conditions.
- Reinsert locations that are already inserted if conditions have
- changed.
- (bp_location_dtor): Free agent expression bytecode.
- (disable_breakpoint): Call mark_breakpoint_modified (...).
- Call update_global_location_list (...) with parameter 1 for breakpoints.
- (disable_command): Call mark_breakpoint_location_modified (...).
- Call update_global_location_list (...) with parameter 1 for breakpoints.
- (enable_breakpoint_disp): Call mark_breakpoint_modified (...).
- (enable_command): mark_breakpoint_location_modified (...).
- (_initialize_breakpoint): Update documentation and add
- condition-evaluation breakpoint subcommand.
-
- * breakpoint.h: Include ax.h.
- (condition_list): New data structure.
- (condition_status): New enum.
- (bp_target_info) <cond_list>: New field.
- (bp_location) <condition_changed, cond_bytecode>: New fields.
- (is_breakpoint): New prototype.
-
-2012-02-24 Luis Machado <lgustavo@codesourcery.com>
-
- * remote.c (remote_state) <cond_breakpoints>: New field.
- (PACKET_ConditionalBreakpoints): New enum.
- (remote_cond_breakpoint_feature): New function.
- (remote_protocol_features): Add new ConditionalBreakpoints entry.
- (remote_supports_cond_breakpoints): New function.
- (_initialize_remote): Add new packet configuration for
- target-side conditional breakpoints.
-
-2012-02-24 Luis Machado <lgustavo@codesourcery.com>
-
- * NEWS: Mention target-side conditional breakpoint support,
- new condition-evaluation breakpoint subcommand and remote
- packet extensions.
-
-2012-02-24 Luis Machado <lgustavo@codesourcery.com>
-
- * breakpoint.c (bp_location_compare): Sort by pspace before sorting by
- number.
+ * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
-2012-02-24 Thomas Schwinge <thomas@codesourcery.com>
+2013-02-19 Jiong Wang <jiwang@tilera.com>
- * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal.
- (after_prologue): Remove.
+ * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
-2012-02-23 Tom Tromey <tromey@redhat.com>
+2013-02-19 Jiong Wang <jiwang@tilera.com>
- * jv-valprint.c (java_val_print): Remove dead code.
+ * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
+ (tilegx_write_pc): New function.
+ (tilegx_cannot_reference_register): Return zero if REGNO
+ is TILEGX_FAULTNUM_REGNUM.
+ (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
+ (tilegx_register_name): Add handling of "faultnum" register.
+ * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
+ * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
+ handling of TILEGX_FAULTNUM_REGNUM.
+ * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
-2012-02-23 Tristan Gingold <gingold@adacore.com>
+2013-02-19 Jiong Wang <jiwang@tilera.com>
- * ada-tasks.c (struct ada_tasks_inferior_data): Add
- known_tasks_element and known_tasks_length fields.
- (read_known_tasks_array): Change argument type. Use pointer type
- and number of elements from DATA. Adjust.
- (read_known_tasks_list): Likewise.
- (get_known_tasks_addr): Remove.
- (ada_set_current_inferior_known_tasks_addr): Renamed to ...
- (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element
- type and array length. Merge former get_known_tasks_addr code.
+ * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
+ should be aligned to 64bit.
-2012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-02-19 Kai Tietz <ktietz@redhat.com>
- PR backtrace/13716
- * infcmd.c (finish_forward): New variable frame_id, initialize it, use
- it after set_momentary_breakpoint.
+ * windows-nat.c (windows_xfer_memory): Fix debug-output
+ for LLP64.
-2012-02-22 Sterling Augustine <saugustine@google.com>
+2013-02-19 Lei Liu <lei.liu2@windriver.com>
- PR 13689:
- * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.
+ * mips-linux-nat.c (mips64_linux_regsets_store_registers):
+ Don't check DSP register number if HAVE_DSP is not set.
-2012-02-22 Gary Benson <gbenson@redhat.com>
+2013-02-19 Alan Modra <amodra@gmail.com>
- * dwarf2read.c (dwarf2_read_index): Correct misspelling.
- (find_slot_in_mapped_hash): Likewise.
+ * elfread.c (struct build_id): Delete. Use struct elf_build_id
+ throughout file instead.
+ (build_id_bfd_get): Update to use new elf_tdata build_id field.
+ Don't xmalloc return value.
+ (build_id_verify): Similarly. Don't xfree.
+ (build_id_to_debug_filename): Update.
+ (find_separate_debug_file_by_buildid): Update, don't xfree.
+
+2013-02-18 Tom Tromey <tromey@redhat.com>
-2012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR gdb/15102:
+ * dwarf2read.c (read_subrange_type): Use result of
+ 'check_typedef'.
- PR build/13638
- * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR.
- (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR.
- * configure: Regenerate.
+2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com>
-2012-02-21 Tristan Gingold <gingold@adacore.com>
- Pedro Alves <palves@redhat.com>
+ * frame.c: Remove one extra white space after #include
+ directive.
- * ia64-tdep.c: Do not include libunwind-ia64.h.
- * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
- Include libunwind-ia64.h instead of libunwind.h.
- * configure.ac (--with-libunwind, $enable_libunwind): Don't check
- for libunwind.h existence.
- * configure, config.in: Regenerate.
+2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-02-21 Anton Gorenkov <xgsa@yandex.ru>
-
- * c-valprint.c (c_value_print): Use value_rtti_indirect_type
- instead of value_rtti_target_type.
- * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
- instead of value_rtti_target_type.
- * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
- value_rtti_target_type.
- * valops.c (value_ind): Extract function readjust_indirect_value_type.
- (value_rtti_target_type): Rename to ...
- (value_rtti_indirect_type): ... here and make it indirect. Update
- function comment.
- * value.c (readjust_indirect_value_type): New function.
- (coerce_ref): Support for enclosing type setting for references
- with readjust_indirect_value_type.
- * value.h (readjust_value_type): New declaration.
- (value_rtti_target_type): Rename to ...
- (value_rtti_indirect_type): ... here.
+ * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
-2012-02-21 Anton Gorenkov <xgsa@yandex.ru>
+2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
- * MAINTAINERS (Write After Approval): Add myself to the list.
+ * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
+ and dir commands into an if block.
-2012-02-20 Doug Evans <dje@google.com>
+2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
- * objfiles.c (add_to_objfile_sections): Remove outdated comments.
- Rename objfile_p_char parameter to objfilep.
- (build_objfile_section_table): Result is now void. All callers
- updated.
- * objfiles.h (struct objfile): Tweak comments, whitespace.
- (build_objfile_section_table): Update.
+ * python/py-breakpoint (struct pybp_code): Use int instead of
+ enum type_code.
- * elfread.c (elf_symfile_segments): Fix warning text.
+2013-02-15 Pedro Alves <pedro@codesourcery.com>
+ Hafiz Abid Qadeer <abidh@codesourcery.com>
-2012-02-20 Tom Tromey <tromey@redhat.com>
+ * NEWS: Mention new field "trace-file".
+ * tracepoint.c (trace_status_mi): Output "trace-file" field.
+ (tfile_open): Record the trace file's filename in the trace
+ status.
+ (tfile_files_info): Mention the name of the trace file.
+ Check the "filename" field explicitely.
+ (trace_status_command): Explicitely check "filename" field.
+ (trace_find_command): Ditto.
+ (trace_find_pc_command): Ditto.
+ (trace_find_tracepoint_command): Ditto.
+ (trace_find_line_command): Ditto.
+ (trace_find_range_command): Ditto.
+ (trace_find_outside_command): Ditto.
+ * tracepoint.h (struct trace_status) <from_file>: Rename it
+ to "filename" and make it hold the trace file's filename
+ instead of a boolean.
+ * remote.c (remote_get_trace_status): Initialize "filename"
+ field with NULL instead of 0.
- PR gdb/13498:
- * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a
- particular set of file names once.
- (dw2_map_symbol_filenames): Likewise.
+2013-02-15 Yao Qi <yao@codesourcery.com>
-2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * remote.c: Fix a typo.
- Code cleanup.
- * main.c (write_files): Remove the declaration.
- (external_editor_command): Move the declaration ...
- [GDBTK] (external_editor_command): ... here. Fix the comment.
+2013-02-14 Pierre Muller <muller@sourceware.org>
-2012-02-20 Tom Tromey <tromey@redhat.com>
+ * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
- * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove
- extraneous block.
+2013-02-14 Pedro Alves <palves@redhat.com>
-2012-02-20 Tristan Gingold <gingold@adacore.com>
+ * utils.c (savestring): Don't #undef it. Move function to
+ common/common-utils.c.
+ * common/common-utils.c: Include gdb_string.h.
+ (savestring): Move here from utils.c.
+ * common/common-utils.h (savestring): Declare.
+
+2013-02-14 Pedro Alves <palves@redhat.com>
+
+ * utils.c (savestring): Rename parameter 'size' to 'len'.
+
+2013-02-14 Pedro Alves <palves@redhat.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
+ (aarch64_inferior_data, struct aarch64_inferior_data):
+ Delete.
+ (struct aarch64_process_info): New.
+ (aarch64_process_list): New global.
+ (aarch64_find_process_pid, aarch64_add_process)
+ (aarch64_process_info_get): New functions.
+ (aarch64_inferior_data_get): Delete.
+ (aarch64_process_info_get): New function.
+ (aarch64_forget_process): New function.
+ (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
+ (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
+ aarch64_get_debug_reg_state.
+ (aarch64_notify_debug_reg_change): Use iterate_over_lwps
+ instead of linux_nat_iterate_watchpoint_lwps.
+ (aarch64_linux_new_fork): New function.
+ (aarch64_linux_child_post_startup_inferior): Use
+ aarch64_forget_process instead of aarch64_init_debug_reg_state.
+ (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
+ (aarch64_linux_remove_hw_breakpoint)
+ (aarch64_handle_aligned_watchpoint)
+ (aarch64_handle_unaligned_watchpoint)
+ (aarch64_linux_insert_watchpoint)
+ (aarch64_linux_remove_watchpoint)
+ (aarch64_linux_stopped_data_address): Adjust to pass the current
+ process id to aarch64_debug_reg_state.
+ (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
+ linux_nat_new_fork hook, and aarch64_forget_process as
+ linux_nat_forget_process hook; remove the call to
+ register_inferior_data_with_cleanup.
+
+2013-02-14 Pedro Alves <palves@redhat.com>
+
+ * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
+ EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
+ lval_memory.
+
+2013-02-14 Pedro Alves <pedro@codesourcery.com>
+ Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * tracepoint.h (validate_trace_state_variable_name): Declare.
+ * tracepoint.c (validate_trace_state_variable_name): New.
+ (trace_variable_command): Parse the trace state variable's name
+ without using parse_expression. Do several validations.
+ * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
+ trace state variable's name with parse_expression. Validate it.
+
+2013-02-14 Yao Qi <yao@codesourcery.com>
+
+ * infcmd.c (breakpoint_proceeded): Remove it.
+
+2013-02-14 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (end_actions_pseudocommand): Make it static.
+ (while_stepping_pseudocommand): Likewise.
+ * tracepoint.h (end_actions_pseudocommand): Remove the
+ declaration.
+ (while_stepping_pseudocommand): Likewise.
- * darwin-nat.h (enum darwin_msg_state): Add comments.
+2013-02-14 Yao Qi <yao@codesourcery.com>
-2012-02-20 Tristan Gingold <gingold@adacore.com>
+ * cli/cli-decode.c (help_cmd): Remove the declaration of
+ "cmdlist".
+ (help_all): Likewise.
- * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
- value.
+2013-02-13 Pedro Alves <palves@redhat.com>
-2012-20-18 Joel Brobecker <brobecker@adacore.com>
+ * amd64-linux-nat.c (update_debug_registers_callback):
+ Update comment.
+ (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
+ iterate_over_lwps.
+ (amd64_linux_prepare_to_resume): Pass the lwp's pid to
+ i386_debug_reg_state.
+ (amd64_linux_new_fork): New function.
+ (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
+ linux_nat_new_fork hook, and i386_forget_process as
+ linux_nat_forget_process hook.
+ * i386-linux-nat.c (update_debug_registers_callback):
+ Update comment.
+ (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
+ iterate_over_lwps.
+ (i386_linux_prepare_to_resume): Pass the lwp's pid to
+ i386_debug_reg_state.
+ (i386_linux_new_fork): New function.
+ (_initialize_i386_linux_nat): Install i386_linux_new_fork as
+ linux_nat_new_fork hook, and i386_forget_process as
+ linux_nat_forget_process hook.
+ * i386-nat.c (i386_init_dregs): Delete.
+ (i386_inferior_data, struct i386_inferior_data):
+ Delete.
+ (struct i386_process_info): New.
+ (i386_process_list): New global.
+ (i386_find_process_pid, i386_add_process, i386_process_info_get):
+ New functions.
+ (i386_inferior_data_get): Delete.
+ (i386_process_info_get): New function.
+ (i386_debug_reg_state): New parameter 'pid'. Reimplement.
+ (i386_forget_process): New function.
+ (i386_cleanup_dregs): Rewrite.
+ (i386_update_inferior_debug_regs, i386_insert_watchpoint)
+ (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
+ (i386_stopped_data_address, i386_insert_hw_breakpoint)
+ (i386_remove_hw_breakpoint): Adjust to pass the current process id
+ to i386_debug_reg_state.
+ (i386_use_watchpoints): Don't register inferior data.
+ * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
+ adjust comment.
+ (i386_forget_process): Declare.
+ * linux-fork.c (delete_fork): Call linux_nat_forget_process.
+ * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
+ New static globals.
+ (linux_child_follow_fork): Don't call linux_nat_new_thread here.
+ (add_initial_lwp): New, factored out from ...
+ (add_lwp): ... this. Don't check the number of lwps before
+ calling linux_nat_new_thread.
+ (linux_nat_iterate_watchpoint_lwps): Delete.
+ (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
+ (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
+ forks and vforks.
+ (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
+ initial lwp.
+ (linux_nat_kill, linux_nat_mourn_inferior): Call
+ linux_nat_forget_process.
+ (linux_nat_set_new_fork, linux_nat_set_forget_process)
+ (linux_nat_forget_process): New functions.
+ * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
+ type.
+ (linux_nat_iterate_watchpoint_lwps): Delete declaration.
+ (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
+ types.
+ (linux_nat_set_new_fork, linux_nat_set_forget_process)
+ (linux_nat_forget_process): New declarations.
+
+ * amd64fbsd-nat.c (super_mourn_inferior): New global.
+ (amd64fbsd_mourn_inferior): New function.
+ (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
+ * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
+
+2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
+ Adding _().
+
+2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * aarch64-linux-nat.c (debug_reg_change_callback)
+ (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
+ %s and phex().
+
+2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
+ with LONGEST.
+
+2013-02-13 Pedro Alves <palves@redhat.com>
+ Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
+
+2013-02-12 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/11464:
+ * c-exp.y (lex_one_token): Initialize other fields of yylval on
+ NAME return.
+ (classify_inner_name): Remove 'first_name' argument, add
+ 'context'. Remove unused variable.
+ (yylex): Explicitly maintain the context type. Exit loop earlier
+ if NAME result is seen.
+
+2013-02-12 Pedro Alves <palves@redhat.com>
+
+ * amd64-darwin-tdep.c: Add (C) after Copyright.
+ * cli/cli-cmds.h: Ditto.
+ * cli/cli-decode.c: Ditto.
+ * cli/cli-decode.h: Ditto.
+ * cli/cli-dump.c: Ditto.
+ * cli/cli-dump.h: Ditto.
+ * cli/cli-interp.c: Ditto.
+ * cli/cli-logging.c: Ditto.
+ * cli/cli-script.c: Ditto.
+ * cli/cli-script.h: Ditto.
+ * cli/cli-setshow.c: Ditto.
+ * cli/cli-setshow.h: Ditto.
+ * cli/cli-utils.c: Ditto.
+ * cli/cli-utils.h: Ditto.
+ * config/alpha/nm-osf3.h: Ditto.
+ * config/djgpp/djconfig.sh: Ditto.
+ * config/i386/nm-fbsd.h: Ditto.
+ * config/i386/nm-i386gnu.h: Ditto.
+ * config/nm-linux.h: Ditto.
+ * config/nm-nto.h: Ditto.
+ * config/rs6000/nm-rs6000.h: Ditto.
+ * config/sparc/nm-sol2.h: Ditto.
+ * darwin-nat-info.c: Ditto.
+ * dfp.c: Ditto.
+ * dfp.h: Ditto.
+ * gdb-demangle.h: Ditto.
+ * i386-darwin-nat.c: Ditto.
+ * i386-darwin-tdep.c: Ditto.
+ * linux-fork.h: Ditto.
+ * m32c-tdep.c: Ditto.
+ * microblaze-linux-tdep.c: Ditto.
+ * microblaze-rom.c: Ditto.
+ * microblaze-tdep.c: Ditto.
+ * microblaze-tdep.h: Ditto.
+ * mips-linux-tdep.h: Ditto.
+ * ppc-ravenscar-thread.c: Ditto.
+ * ppc-ravenscar-thread.h: Ditto.
+ * prologue-value.c: Ditto.
+ * prologue-value.h: Ditto.
+ * ravenscar-thread.c: Ditto.
+ * ravenscar-thread.h: Ditto.
+ * sparc-ravenscar-thread.c: Ditto.
+ * sparc-ravenscar-thread.h: Ditto.
+ * tilegx-linux-tdep.c: Ditto.
+ * unwind_stop_reasons.def: Ditto.
+ * windows-nat.h: Ditto.
+ * xtensa-linux-tdep.c: Ditto.
+ * xtensa-xtregs.c: Ditto.
+ * regformats/regdat.sh: Ditto.
+ * regformats/regdef.h: Ditto.
+
+2013-02-12 Pedro Alves <palves@redhat.com>
+
+ * break-catch-sig.c: Update copyright years.
+
+2013-02-11 Siva Chandra Reddy <sivachandra@google.com>
+
+ Add support for a destructor for ui_out data and use it to
+ provide a ui_out destructor.
+ * ui-out.h: Declare the new ui_out destructor.
+ (ui_out_impl): Add a field for data destructor in ui_out_impl.
+ * ui-out.c (default_data_destroy): Add a default data destructor
+ which does nothing.
+ (default_ui_out_impl): Set the new data_destroy field to
+ default_data_destroy
+ (uo_data_destroy): Local function which invokes the data
+ destructor if present.
+ (clear_table): Local function which clears the table data of a
+ ui_out object.
+ (ui_out_destroy): Public function which frees a ui_out object.
+ (ui_out_table_end): Use the new clear_table function.
+ * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
+ NULL.
+ * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
+ to NULL.
+
+2013-02-11 Doug Evans <dje@google.com>
+
+ * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
+ (printf_decfloat): New function. Broken out from ui_printf.
+ Remove unnecessary code to shift the entire format string down.
+ (printf_pointer): New function.
+ (ui_printf): Code to print C strings, wide C strings, decfloats,
+ and pointers moved to separate functions.
+
+2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * valops.c (value_assign): Handling bitfield offset in
+ `lval_internalvar_component' case.
+
+2013-02-08 Doug Evans <dje@google.com>
+
+ * common/format.c (parse_format_string): Fix whitespace.
+
+2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
+
+ * stack.c (return_command): Work around uninitialized variable
+ warning.
- * breakpoint.c (watchpoint_exp_is_const): Add missing empty line
- between function description and implementation.
+2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
-2012-02-17 Tom Tromey <tromey@redhat.com>
+ * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
+ number of the registers from 36 to 34.
- PR python/12070:
- * python/py-event.c (event_object_getset): New global.
- (event_object_type): Reference it.
- * python/py-type.c (field_object_getset): New global.
- (field_object_type): Reference it.
- * python/python-internal.h (gdb_py_generic_dict): Declare.
- * python/py-utils.c (gdb_py_generic_dict): New function.
+2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
-2012-02-17 Tristan Gingold <gingold@adacore.com>
+ * NEWS: Mention new AArch64 native and target support.
- * solib-darwin.c (darwin_current_sos): Check magic and filetype
+2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
-2012-02-17 Thomas Schwinge <thomas@codesourcery.com>
+ * MAINTAINERS (Write After Approval): Add myself.
- * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
- TYPE_CALLING_CONVENTION annotation.
+2013-02-08 Jim MacArthur <jim.macarthur@arm.com>
+ Marcus Shawcroft <marcus.shawcroft@arm.com>
+ Nigel Stephens <nigel.stephens@arm.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
-2012-02-16 Kevin Buettner <kevinb@redhat.com>
+ * aarch64-linux-nat.c: New file.
+ * config/aarch64/linux.mh: New file.
+ * configure.host: Add AArch64.
+ * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
- * MAINTAINERS: Add rx to target ISA section.
- * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
- (ALLDEPFILES): Add rx-tdep.c.
+2013-02-07 Doug Evans <dje@google.com>
-2012-02-16 Tom Tromey <tromey@redhat.com>
+ * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
+ disassemble command.
- * symfile.c (symbol_file_add_main_1): Use inferior's
- symfile_flags.
- * solib.c (solib_read_symbols): Use inferior's symfile_flags.
- * linux-nat.c (linux_child_follow_fork): Set symfile_flags on
- inferior.
- * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
- inferior.
- (follow_exec): Use inferior's symfile_flags.
- * inferior.h (struct inferior) <symfile_flags>: New field.
+2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
-2012-02-16 Mike Frysinger <vapier@gentoo.org>
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
+ set_gdbarch_fetch_tls_load_module_address.
- PR gdb/9734:
- * remote-sim.c (gdbsim_create_inferior): Call error() when
- sim_create_inferior() fails.
+2013-02-06 David S. Miller <davem@davemloft.net>
-2012-02-16 Josh Matthews <josh@joshmatthews.net>
+ * sparc-tdep.c (sparc32_return_value): Handle writing return value when
+ using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
+ * value.c (struct_return_convention): New function.
+ (using_struct_return): Implement in terms of struct_return_convention.
+ * value.h (struct_return_convention): Declare.
+ * stack.c (return_command): Allow successful overriding of the return
+ value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
- * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
+2013-02-06 Tom Tromey <tromey@redhat.com>
-2012-02-16 Tom Tromey <tromey@redhat.com>
+ * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
+ outside of TRY_CATCH.
- PR c++/13653:
- * thread.c (struct current_thread_cleanup) <was_removable>: New
- field.
- (restore_current_thread_cleanup_dtor): Restore 'removable' field.
- (make_cleanup_restore_current_thread): Initialize new field.
-
-2012-02-15 Kevin Buettner <kevinb@redhat.com>
-
- * MAINTAINERS: Add rl78 to target ISA section.
- * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
- (ALLDEPFILES): Add rl78-tdep.c.
- * NEWS: Mention rl78 as a new target.
-
-2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
-
- * frame.c (find_frame_sal): Initialize sal->pspace field from frame
- data.
- * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
-
-2012-02-15 Tom Tromey <tromey@redhat.com>
-
- PR gdb/12659:
- * infcmd.c (registers_info): Print just the current register's
- name.
-
-2012-02-15 Tom Tromey <tromey@redhat.com>
-
- * python/py-symbol.c (sympy_value): Use _().
-
-2012-02-15 Pedro Alves <palves@redhat.com>
-
- * remote.c (remote_detach_1, extended_remote_attach_1): Tweak
- output to be like native targets'.
- (remote_pid_to_str): Special case the null ptid.
-
-2012-02-14 Stan Shebs <stan@codesourcery.com>
-
- * NEWS: Mention enable count command.
- * breakpoint.h (struct breakpoint): New field enable_count.
- * breakpoint.c (enable_breakpoint_disp): Add count argument.
- (enable_breakpoint): Add arg to call.
- (struct disp_data): New struct.
- (do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
- (do_map_enable_once_breakpoint): Create a struct and pass it.
- (do_map_enable_delete_breakpoint): Ditto.
- (do_map_enable_count_breakpoint): New function.
- (enable_count_command): New function.
- (bpstat_stop_status): Decrement enable_count.
- (print_one_breakpoint_location): Report enable count.
- (_initialize_breakpoint): Add enable count command.
-
-2012-02-14 Kevin Buettner <kevinb@redhat.com>
-
- * rl78-tdep.c (reggroups.h): Include.
- (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM)
- (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM)
- (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM)
- (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM)
- (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM)
- (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM)
- (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM)
- (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM)
- (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM)
- (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM)
- (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM)
- (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM)
- (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM)
- (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM)
- (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM)
- (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to
- beginning of register list.
- (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM)
- (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM)
- (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM)
- (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM)
- (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM)
- (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM)
- (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM)
- (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM)
- (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM)
- (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM)
- (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into
- the pseudo registers. Rearrange other pseudo registers too so
- that the bank registers appear at the end.
- (rl78_register_type): Account for the fact that the byte sized
- bank registers are now pseudo-registers.
- (rl78_register_name): Rearrange the register name array. Make
- initial set of raw banked registers inaccessible.
- (rl78_register_reggroup_p, rl78_register_sim_regno): New functions.
- (rl78_pseudo_register_read, rl78_pseudo_register_write): Add
- case for copying bytes back and forth between raw and pseudo
- versions of the banked registers. Update other cases to reflect
- the changed names.
- (rl78_return_value): Update to account for changed names of
- raw registers.
- (rl78_gdbarch_init): Register rl78_register_reggroup_p() and
- rl78_register_sim_regno().
-
-2012-02-14 Kevin Buettner <kevinb@redhat.com>
-
- * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
- the name parameter being passed to find_pc_partial_function().
-
-2012-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * MAINTAINERS: Step down from being ia64 target maintainer.
-
-2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
- compilation warning.
-
-2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix crash on loaded shlibs without loaded exec_bfd.
- * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
- (set_section_command): Replace exec_bfd by p->bfd.
-
-2012-02-10 Tom Tromey <tromey@redhat.com>
-
- * linespec.c (decode_line_internal): Skip symtabs_from_filename
- when we have a C++ qualified name.
-
-2012-02-10 Pedro Alves <palves@redhat.com>
-
- * inferior.c (inferior_pid_to_str): New.
- (print_inferior, inferior_command): Use it.
-
-2012-02-10 Pedro Alves <palves@redhat.com>
-
- * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
- the test CFLAGS.
- * configure: Regenerate.
+2013-02-06 Yao Qi <yao@codesourcery.com>
-2012-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * linespec.c (decode_line_internal): Fix comment correctness.
-
-2012-02-09 Valery Khromov <valery.khromov@gmail.com>
-
- PR gdb/12953
- * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
- * amd64bsd-nat.c: Add support for debug registers (adapted from
- i386bsd-nat.c).
- [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
- (amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
- (amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
- (amd64bsd_dr_get_control): New functions.
- * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
- * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
- [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
- watchpoints initialization.
- * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
-
-2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
- flds_bnds.fields.
- (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
-
-2012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * breakpoint.c (bp_location_compare): Fix comment. Reindent the code.
-
-2012-02-08 Joel Brobecker <brobecker@adacore.com>
-
- * language.h (symbol_name_cmp_ftype): Renames
- symbol_name_match_p_ftype.
- (struct language_defn)[la_get_symbol_name_cmp]: Renames
- la_get_symbol_name_match_p.
- * ada-lang.c (ada_get_symbol_name_cmp): Renames
- ada_get_symbol_name_match_p. Update comment.
- (ada_language_defn)[la_get_symbol_name_cmp]: Update value.
- * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
- Renames symbol_name_match_p. Update field type.
- (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
- * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
- opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
- "la_get_symbol_name_cmp" in comments.
- * language.c: Likewise.
-
-2012-02-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
-
- * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
- %eflags offset.
- * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
- (amd64_sol2_gregset32_reg_offs): Likewise.
-
-2012-02-08 Joel Brobecker <brobecker@adacore.com>
-
- * solib-darwin.c (darwin_bfd_open): Make sure that the filename
- of the returned BFD is allocated by GDB.
-
-2012-02-07 Tom Tromey <tromey@redhat.com>
-
- PR python/12027:
- * python/python-internal.h (frame_object_type): Declare.
- * python/py-symbol.c (sympy_needs_frame): New function.
- (sympy_value): New function.
- (symbol_object_getset): Add "needs_frame".
- (symbol_object_methods): Add "value".
- * python/py-frame.c (frame_object_type): No longer static.
-
-2012-02-07 Tom Tromey <tromey@redhat.com>
-
- PR python/13599:
- * python/py-symbol.c (sympy_line): New function.
- (symbol_object_getset): Add "line".
-
-2012-02-07 Tom Tromey <tromey@redhat.com>
-
- * charset.c (find_charset_names): Check 'in' against NULL.
-
-2012-02-06 Doug Evans <dje@google.com>
-
- * gdbtypes.h (struct main_type): Change type of name,tag_name,
- and fields.name members from char * to const char *. All uses updated.
- (struct cplus_struct_type): Change type of fn_fieldlists.name member
- from char * to const char *. All uses updated.
- (type_name_no_tag): Update.
- (lookup_unsigned_typename, lookup_signed_typename): Update.
- * gdbtypes.c (type_name_no_tag): Change result type
- from char * to const char *. All callers updated.
- (lookup_unsigned_typename, lookup_signed_typename): Change type of
- name parameter from char * to const char *.
- * symtab.h (struct cplus_specific): Change type of demangled_name
- member from char * to const char *. All uses updated.
- (struct general_symbol_info): Change type of name and
- mangled_lang.demangled_name members from char * to const char *.
- All uses updated.
- (symbol_get_demangled_name, symbol_natural_name): Update.
- (symbol_demangled_name, symbol_search_name): Update.
- * symtab.c (symbol_get_demangled_name): Change result type
- from char * to const char *. All callers updated.
- (symbol_natural_name, symbol_demangled_name): Ditto.
- (symbol_search_name): Ditto.
- (completion_list_add_name): Change type of symname,sym_text,
- text,word parameters from char * to const char *.
- (completion_list_objc_symbol): Change type of sym_text,
- text,word parameters from char * to const char *.
- * ada-lang.c (find_struct_field): Change type of name parameter
- from char * to const char *.
- (encoded_ordered_before): Similarly for N0,N1 parameters.
- (old_renaming_is_invisible): Similarly for function_name parameter.
- (ada_type_name): Change result type from char * to const char *.
- All callers updated.
- * ada-lang.h (ada_type_name): Update.
- * buildsym.c (hashname): Change type of name parameter
- from char * to const char *.
- * buildsym.h (hashname): Update.
- * dbxread.c (end_psymtab): Change type of include_list parameter
- from char ** to const char **.
- * dwarf2read.c (determine_prefix): Change result type
- from char * to const char *. All callers updated.
- * f-lang.c (find_common_for_function): Change type of name, funcname
- parameters from char * to const char *.
- * f-lang.c (find_common_for_function): Update.
- * f-valprint.c (list_all_visible_commons): Change type of funcname
- parameters from char * to const char *.
- * gdbarch.sh (static_transform_name): Change type of name parameter
- and result from char * to const char *.
- * gdbarch.c: Regenerate.
- * gdbarch.h: Regenerate.
- * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
- of name parameter from char * to const char *.
- * jv-lang.c (java_primitive_type_from_name): Ditto.
- (java_demangled_signature_length): Similarly for signature parameter.
- (java_demangled_signature_copy): Ditto.
- (java_demangle_type_signature): Ditto.
- * jv-lang.h (java_primitive_type_from_name): Update.
- (java_demangle_type_signature): Update.
- * objc-lang.c (specialcmp): Change type of a,b parameters
- from char * to const char *.
- * p-lang.c (is_pascal_string_type): Change type of arrayname parameter
- from char * to const char *. All callers updated.
- * p-lang.h (is_pascal_string_type): Update.
- * solib-frv.c (find_canonical_descriptor_in_load_object): Change type
- of name parameter from char * to const char *.
- * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
- * utils.c (fprintf_symbol_filtered): Ditto.
- * defs.h (fprintf_symbol_filtered): Update.
- * sparc-tdep.h (sparc_sol2_static_transform_name): Update.
- * stabsread.h (end_psymtab): Update.
- * stack.c (find_frame_funname): Change type of funname parameter
- from char ** to const char **.
- * stack.h (find_frame_funname): Update.
- * typeprint.c (type_print): Change type of varstring parameter
- from char * to const char *.
- * value.h (type_print): Update.
- * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
- from char * to const char *. All callers updated.
- (xcoff_end_psymtab): Change type of include_list parameter
- from char ** to const char **. All callers updated.
- (swap_sym): Similarly for name parameter. All callers updated.
- * coffread.c (patch_type): Add (char*) cast to xfree parameter.
- Use xstrdup.
- (process_coff_symbol): Use xstrdup.
- * stabsread.c (stabs_method_name_from_physname): Renamed from
- update_method_name_from_physname. Change result type from void
- to char *. All callers updated.
- (read_member_functions): In has_destructor case, store name in objfile
- obstack instead of malloc space. In !has_stub case, fix mem leak.
-
-2012-02-06 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
+ * mi/mi-interp.c: Include "tracepoint.h".
+ (mi_tsv_modified): Declare.
+ (mi_tsv_created, mi_tsv_deleted): Update declaration.
+ (mi_interpreter_init): Call observer_attach_tsv_modified.
+ (mi_tsv_modified): New.
+ (mi_tsv_created, mi_tsv_deleted): Update.
+ * tracepoint.c (trace_variable_command): Call
+ observer_notify_tsv_modified if the initial value of tsv is
+ changed.
+ (delete_trace_state_variable): Call
+ observer_notify_tsv_deleted earlier.
+ (trace_variable_command): Caller update.
+ (create_tsv_from_upload): Likewise.
+ * observer.sh: Declare "struct trace_state_variable".
- * configure: Rebuild.
- * configure.ac: Put -L../bfd and -L../libiberty at the front of
- LDFLAGS.
+ * NEWS: Mention the new MI notification "=tsv-modified".
-2012-02-03 Kevin Buettner <kevinb@redhat.com>
+2013-02-05 Doug Evans <dje@google.com>
- * configure.tgt (rl78-*-elf): New target.
- * rl78-tdep.c: New file.
+ * completer.c (location_completer): Fix typo in comment.
-2012-02-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
- * remote.c (remote_rcmd): Use getpkt_sane to detect timeout
- and continue the loop. Add QUIT statement.
+ * breakpoint.c (add_location_to_breakpoint): Insert the location with
+ ADDRESS sorted.
-2012-02-03 Tom Tromey <tromey@redhat.com>
+2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
- PR gdb/13596:
- * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from
- bfd_lookup_symbol_from_symtab.
- * solib-pa64.c (pa64_solib_create_inferior_hook): Use
- gdb_bfd_lookup_symbol_from_symtab.
+ * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
+ Refactor if statement to avoid trailing || operator.
-2012-02-03 Joel Brobecker <brobecker@adacore.com>
+2013-02-05 Andreas Tobler <andreast@fgznet.ch>
- * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
- use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
- symbol. Add assertion that sym2 is never NULL.
+ * NEWS: Add PowerPC FreeBSD as a new native configuration.
-2012-02-02 Doug Evans <dje@google.com>
+2013-02-04 Andreas Tobler <andreast@fgznet.ch>
- * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
- "name" parameter to const char ** from char **. All callers updated.
- (find_pc_partial_function): Ditto.
- (cache_pc_function_name): Change type to const char * from char *.
- * symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
- (find_pc_partial_function): Update.
- * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
- type of "name" parameter to const char * from char *.
- All uses updated.
- * arch-utils.c (generic_in_solib_return_trampoline): Change
- type of "name" parameter to const char * from char *.
- * arch-utils.h (generic_in_solib_return_trampoline): Update.
- * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
- type of "name" parameter to const char * from char *.
- * gdbarch.sh (in_solib_return_trampoline): Ditto.
- * gdbarch.c: Regenerate.
- * gdbarch.h: Regenerate.
- * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
- * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
- * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
- type of "name" parameter to const char * from char *.
- * skip.c (skip_function_pc): Ditto.
- * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
- * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
- * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
- * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
- * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
- * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
- * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
- * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
- * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.
-
-2012-02-02 Pedro Alves <palves@redhat.com>
-
- * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
- the current inferior has no execution. Make sure the current
- remote process matches gdb's current inferior.
-
-2012-02-02 Tom Tromey <tromey@redhat.com>
-
- PR gdb/13405:
- * tui/tui-win.c (parse_scrolling_args): Don't write to possibly
- read-only memory.
-
-2012-02-02 Tom Tromey <tromey@redhat.com>
-
- PR gdb/9307:
- * symtab.c (lookup_language_this): Set block_found.
-
-2012-02-01 Tom Tromey <tromey@redhat.com>
-
- PR gdb/13431:
- * jit.c (struct jit_inferior_data): Rewrite.
- (struct jit_objfile_data): New.
- (get_jit_objfile_data): New function.
- (add_objfile_entry): Update.
- (jit_read_descriptor): Return int. Replace descriptor_addr
- argument with inf_data. Update. Don't call error.
- (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up
- descriptor here.
- (jit_inferior_init): Don't look up descriptor. Don't call error.
- (jit_reset_inferior_data_and_breakpoints)
- (jit_inferior_created_observer): Remove.
- (jit_inferior_exit_hook): Update.
- (jit_executable_changed_observer): Remove.
- (jit_event_handler): Update.
- (free_objfile_data): Reset inferior data if needed.
- (_initialize_jit): Update.
+ * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
+ * configure.host: Add powerpc*-*-freebsd* target.
+ * configure.tgt: Add target info for powerpc*-*-freebsd*.
+ * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
+ * config/powerpc/fbsd.mh: New file.
-2012-02-01 Tom Tromey <tromey@redhat.com>
+2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
+ Denys Vlasenko <dvlasenk@redhat.com>
+ Pedro Alves <palves@redhat.com>
- * jit.c (bfd_open_from_target_memory): Move higher in file.
+ * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
+ (struct elf_internal_linux_prpsinfo): Forward declare.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * linux-tdep.c: Include `cli/cli-utils.h'.
+ (linux_fill_prpsinfo): New function.
+ (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
+ an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
+ elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
+ depending on gdbarch pointer bitness.
+ * ppc-linux-tdep.c: Include elf-bfd.h.
+ (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
+ on 32-bit.
+
+2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
+ Marcus Shawcroft <marcus.shawcroft@arm.com>
+ Nigel Stephens <nigel.stephens@arm.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
+
+2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
+ Marcus Shawcroft <marcus.shawcroft@arm.com>
+ Nigel Stephens <nigel.stephens@arm.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * aarch64-newlib-tdep.c: New file.
+ * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
+ aarch64*-*-elf.
+ * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
+ * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
+ (ALLDEPFILES): Add aarch64-newlib-tdep.c.
+ * osabi.c (gdb_osabi_names): Add "Newlib".
+
+2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
+ Marcus Shawcroft <marcus.shawcroft@arm.com>
+ Nigel Stephens <nigel.stephens@arm.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
+ (ALLDEPFILES): Add aarch64-linux-tdep.c.
+ * aarch64-linux-tdep.c: New file.
+ * aarch64-linux-tdep.h: New file.
+ * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
+ * configure.tgt: Add aarch64-none-linux-gnu.
+
+2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
+ Marcus Shawcroft <marcus.shawcroft@arm.com>
+ Nigel Stephens <nigel.stephens@arm.com>
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
+ (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
+ (ALLDEPFILES): Add aarch64-tdep.c.
+ * aarch64-tdep.c: New file.
+ * aarch64-tdep.h: New file.
+ * configure.tgt: Add AArch64.
+ * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
+ (aarch64-expedite): New definition.
+ * features/aarch64-core.xml: New file.
+ * features/aarch64-fpu.xml: New file.
+ * features/aarch64-without-fpu.c: New file (generated).
+ * features/aarch64-without-fpu.xml: New file.
+ * features/aarch64.c: New file (generated).
+ * features/aarch64.xml: New file.
+ * regformats/aarch64-without-fpu.dat: New file (generated).
+ * regformats/aarch64.dat: New file (generated).
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * contrib/expect-read1.c: New file.
+ * contrib/expect-read1.sh: New file.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (file_file_name): New function with code from
+ file_full_name.
+ (file_full_name): Move most of the code to file_file_name.
+ (macro_start_file): Rename variable full_name to file_name and use
+ file_file_name for it. Add comp_dir parameter to new_macro_table.
+ * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
+ macro_source_file->filename access by macro_source_fullname call.
+ * macroscope.c (_initialize_macroscope): Update the new_macro_table
+ caller.
+ * macrotab.c (struct macro_table): New field comp_dir.
+ (macro_include): New variables link_fullname and source_fullname.
+ Replace any macro_source_file->filename access by macro_source_fullname
+ call.
+ (macro_lookup_inclusion): Remove the partial filenames checking code.
+ (check_for_redefinition): New variables source_fullname and
+ found_key_fullname. Replace any macro_source_file->filename access by
+ macro_source_fullname call.
+ (macro_undef): New variables source_fullname and key_fullname. Replace
+ any macro_source_file->filename access by macro_source_fullname call.
+ (macro_lookup_definition): New variables retval and source_fullname.
+ Replace any macro_source_file->filename access by macro_source_fullname
+ call.
+ (foreach_macro): New variable key_fullname. Replace any
+ macro_source_file->filename access by macro_source_fullname call.
+ (foreach_macro_in_scope): New variable datum_fullname. Replace any
+ macro_source_file->filename access by macro_source_fullname call.
+ (new_macro_table): Add parameter comp_dir. Initialize T with it.
+ (macro_source_fullname): New function.
+ * macrotab.h (struct macro_source_file): Extent the filename field
+ comment.
+ (new_macro_table): New parameter comp_dir, add a comment for it.
+ (macro_source_fullname): new declaration.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
+ this_real_name to outer block. Use it also for
+ compare_filenames_for_search.
+ (dw2_expand_symtabs_matching): New variable this_real_name. Use it
+ with dw2_get_real_path for file_matcher, considering also
+ BASENAMES_MAY_DIFFER.
+ (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
+ to the file_matcher parameter. Pass 0 to it.
+ (dwarf2_create_include_psymtab): Copy also DIRNAME.
+ * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
+ NULL psymtab_to_fullname result.
+ (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
+ an expected filename instead.
+ (expand_symtabs_matching_via_partial): Add basenames parameter to the
+ file_matcher parameter. Call also psymtab_to_fullname, after newly
+ considering BASENAMES_MAY_DIFFER.
+ * source.c (rewrite_source_path): Remove static.
+ * source.h (rewrite_source_path): New declaration.
+ * symfile.h (struct quick_symbol_functions): Add basenames parameter to
+ the expand_symtabs_matching field. Comment it.
+ * symtab.c (file_matches): New function comment. Add parameter
+ basenames, implement it.
+ (search_symbols_file_matches): Add basenames parameter. Update the
+ file_matches caller.
+ (search_symbols): Match FILES also against symtab_to_fullname.
+ Optimize it for BASENAMES_MAY_DIFFER.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * source.c (print_source_lines_base): Print for TUI also "fullname".
+ * tui/tui-data.c (init_content_element): Change tui_locator_element
+ field to full_name.
+ * tui/tui-data.h (struct tui_locator_element): Likewise.
+ * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
+ tui_update_locator_filename calls to tui_update_locator_fullname.
+ Replace symtab->filename refererence by symtab_to_fullname call.
+ * tui/tui-out.c (tui_field_string): Check for "fullname" now.
+ * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
+ field to full_name. Replace symtab->filename refererence by
+ symtab_to_fullname call.
+ (tui_show_symtab_source): Rename parameter to fullname. Change
+ tui_locator_element field to full_name.
+ * tui/tui-stack.c: Include source.h.
+ (tui_set_locator_filename): Rename the declaration to ...
+ (tui_set_locator_fullname): ... here. Rename its parameter to
+ fullname, updates its comment.
+ (tui_set_locator_info): Rename its parameter to fullname.
+ (tui_set_locator_filename): Rename the definition to ...
+ (tui_set_locator_fullname): ... here. Rename its parameter to
+ fullname, updates its comment. Change tui_locator_element field to
+ full_name.
+ (tui_set_locator_info): Rename its parameter to fullname.
+ (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
+ (tui_update_locator_filename): Rename to ...
+ (tui_update_locator_fullname): ... here. Rename callee to
+ tui_set_locator_fullname.
+ (tui_show_frame_info): Replace symtab->filename refererence by
+ symtab_to_fullname call.
+ * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
+ (tui_update_locator_fullname): ... here.
+ * tui/tui-winsource.c (tui_display_main): Rename the callee to
+ tui_update_locator_fullname. Replace symtab->filename refererence by
+ symtab_to_fullname call.
+ * tui/tui.c (tui_show_source): Rename its parameter to fullname.
+ Rename the callee to tui_update_locator_fullname.
+ * tui/tui.h (tui_show_source): Rename its parameter to fullname.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * ada-lang.c (user_select_syms): Replace symtab->filename refererences
+ by symtab_to_filename_for_display calls.
+ * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
+ (clear_command): New variable sal_fullname, initialize it. Replace
+ compare_filenames_for_search by filename_cmp with sal_fullname.
+ (say_where, update_static_tracepoint): Replace symtab->filename
+ refererences by symtab_to_filename_for_display calls.
+ * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
+ Likewise.
+ * dwarf2read.c: Include source.h.
+ (fixup_go_packaging): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
+ Replace symtab->filename refererences by symtab_to_filename_for_display
+ calls.
+ (create_sals_line_offset, convert_linespec_to_sals): New variable
+ fullname, initialize it, replace symtab->filename reference by the
+ variable.
+ * linux-fork.c: Include source.h.
+ (info_checkpoints_command): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
+ by symtab_to_filename_for_display calls.
+ * mdebugread.c: Include source.h.
+ (psymtab_to_symtab_1): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
+ (mi_cmd_file_list_exec_source_files): Likewise.
+ * printcmd.c: Include source.h.
+ (build_address_symbolic): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ * psymtab.c (partial_map_symtabs_matching_filename)
+ (read_psymtabs_with_fullname): Call compare_filenames_for_search also
+ with psymtab_to_fullname.
+ * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
+ by symtab_to_filename_for_display calls.
+ (stpy_get_filename): New variable filename, initialize it, use instead
+ of symtab->filename refererences.
+ (salpy_str): Make variable filename const char *. Replace
+ symtab->filename refererences by symtab_to_filename_for_display calls.
+ * skip.c: Include source.h and filenames.h.
+ (skip_file_command): Remove const from the symtab variable. Replace
+ symtab->filename refererences by symtab_to_fullname call.
+ (function_name_is_marked_for_skip): New variables searched_for_fullname
+ and fullname. Use them to search also with symtab's fullname.
+ * source.c (find_source_lines): Replace symtab->filename refererences
+ by symtab_to_filename_for_display calls.
+ (print_source_lines_base): New variable filename, use it instead of
+ symtab->filename. Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ (line_info, forward_search_command): Replace symtab->filename
+ refererences by symtab_to_filename_for_display calls.
+ (reverse_search_command): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls. New variable filename for it.
+ * stack.c (frame_info): Likewise.
+ * symmisc.c: Include source.h.
+ (dump_objfile, dump_symtab_1, maintenance_print_symbols)
+ (maintenance_info_symtabs): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ * symtab.c (iterate_over_some_symtabs): Call
+ compare_filenames_for_search also with symtab_to_fullname.
+ (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
+ symtab->filename refererences by symtab_to_filename_for_display calls.
+ (find_line_symtab): Replace symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+ (file_matches): Replace filename_cmp by compare_filenames_for_search.
+ (print_symbol_info): Make the last parameter const char *. New
+ variable s_filename. Use it in the function.
+ (symtab_symbol_info): Make the last_filename variable const char *.
+ Replace symtab->filename refererences by symtab_to_filename_for_display
+ calls.
+ (rbreak_command): New variable fullname. Use it. Replace
+ symtab->filename refererence by symtab_to_filename_for_display call.
+ * tracepoint.c (set_traceframe_context, trace_find_line_command)
+ (print_one_static_tracepoint_marker): Replace symtab->filename
+ refererences by symtab_to_filename_for_display calls.
+ * tui/tui-source.c (tui_set_source_content): New variables filename and
+ s_filename. Replace symtab->filename refererences by this variable.
+ Replace other symtab->filename refererences by
+ symtab_to_filename_for_display calls.
+
+2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-02-01 Tristan Gingold <gingold@adacore.com>
+ Add a new variable that controls a way in which filenames are
+ displayed.
+ * NEWS (set filename-display): New entry.
+ * source.c (filename_display_basename, filename_display_relative)
+ (filename_display_absolute, filename_display_kind_names)
+ (filename_display_string, show_filename_display_string)
+ (symtab_to_filename_for_display): New.
+ (_initialize_source): Added initialization of 'filename-display'
+ variable.
+ * source.h (symtab_to_filename_for_display): Added declaration.
+ * stack.c (print_frame): Added new variable and calling of a new
+ function and condition with this variable. Changed third argument of
+ calling of a function.
- * libunwind-frame.c (libunwind_load): Display message if dlopen
- failed.
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-02-01 Gary Benson <gbenson@redhat.com>
+ * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
+ Rename field reference filename to fullname.
+ * tui/tui-data.h (struct tui_source_info): Rename field filename to
+ fullname. New comment for it.
+ * tui/tui-source.c (tui_set_source_content): Rename field reference
+ filename to fullname. Initialize field by symtab_to_fullname now.
+ * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
+ reference filename to fullname. Use symtab_to_fullname during
+ comparison.
- * symtab.h (symbol_found_callback_ftype): New typedef.
- (iterate_over_symbols): Use the above.
- * symtab.c (iterate_over_symbols): Likewise.
- * language.h (language_defn->la_iterate_over_symbols): Likewise.
- * ada-lang.c (ada_iterate_over_symbols): Likewise.
- * linespec.c (iterate_over_all_matching_symtabs): Likewise.
- (iterate_name_matcher): Document return values.
- (collect_one_symbol): Likewise.
- (collect_function_symbols): Likewise.
- (collect_symbols): Likewise.
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-02-01 Tom Tromey <tromey@redhat.com>
+ Code cleanup.
+ * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
+ (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
+ filename to fullname. Rename variable this_name to this_fullname.
+ Lowercase FILENAME_CMP call.
+ (dw2_find_symbol_file): New comment for the returned string.
+ (dwarf2_gdb_index_functions): Rename the function to
+ dw2_expand_symtabs_with_fullname.
+ * psymtab.c (read_psymtabs_with_filename): Rename to ...
+ (read_psymtabs_with_fullname): ... here. Rename parameter filename to
+ fullname.
+ (psym_functions): Rename the function to read_psymtabs_with_fullname.
+ * symfile.h (struct quick_symbol_functions): Rename field
+ expand_symtabs_with_filename to expand_symtabs_with_fullname and its
+ parameter filename to fullname. Document returned string meaning for
+ find_symbol_file.
+ * symtab.c (find_line_symtab): Rename the called function to
+ expand_symtabs_with_fullname.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
- * ada-lang.c (resolve_subexp): Update.
- (ada_lookup_symbol_list): Add 'full_search' argument.
- (ada_iterate_over_symbols): Pass 0 as full_search argument to
- ada_lookup_symbol_list.
- (ada_lookup_encoded_symbol): Update.
- (get_var_value): Update.
- * ada-exp.y (block_lookup): Update.
- (write_var_or_type): Update.
- (write_name_assoc): Update.
- * ada-lang.h (ada_lookup_symbol_list): Update.
+ Code cleanup.
+ * breakpoint.c (clear_command): Remove variable is_abs, unify the
+ call of filename_cmp with compare_filenames_for_search.
+ * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
+ is_abs, unify the call of FILENAME_CMP with
+ compare_filenames_for_search. New gdb_asserts for real_path and name.
+ Unify the call of compare_filenames_for_search with FILENAME_CMP.
+ * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
+ * symfile.h (struct quick_symbol_functions): Extend the comment for
+ map_symtabs_matching_filename.
+ * symtab.c (compare_filenames_for_search): Remove the function comment
+ relative path requirement. Handle absolute filenames, with a comment.
+ (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
+ FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
+ real_path and name. Unify the call of compare_filenames_for_search
+ with FILENAME_CMP.
+ (iterate_over_symtabs): New gdb_assert on REAL_PATH.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-31 Tom Tromey <tromey@redhat.com>
+ Code cleanup.
+ * breakpoint.c (print_breakpoint_location): Replace bp_location field
+ source_file references by symtab field references. Remove variables
+ sal and fullname.
+ (momentary_breakpoint_from_master, add_location_to_breakpoint):
+ (clear_command, say_where): Replace bp_location field source_file
+ references by symtab field references.
+ (bp_location_dtor): Remove the source_file reference.
+ (update_static_tracepoint): Replace bp_location field source_file
+ references by symtab field references.
+ (breakpoint_free_objfile): New function.
+ * breakpoint.h (struct bp_location): Extend the comment for line_number.
+ Replace the field source_file by field symtab, extend its comment.
+ (breakpoint_free_objfile): New declaration.
+ * objfiles.c (free_objfile): Call breakpoint_free_objfile.
+ * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
+ field source_file references by symtab field references.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Replace xfullpath calls by gdb_realpath calls.
+ * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
+ function comment.
+ * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
+ Remove it from the iterate_over_some_symtabs call.
+ (dw2_map_symtabs_matching_filename): Remove parameter full_path.
+ Remove it from the dw2_map_expand_apply calls, remove a block handling
+ it.
+ * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
+ Remove it from the iterate_over_some_symtabs call.
+ (partial_map_symtabs_matching_filename): Remove parameter full_path.
+ Remove it from the partial_map_expand_apply calls, remove a block
+ handling it. Drop gdb_realpath call and cleanups from the real_path
+ handling.
+ * source.c (openp): Drop the comment part about xfullpath. Replace
+ xfullpath calls by gdb_realpath calls.
+ (find_and_open_source): Replace xfullpath call by gdb_realpath call.
+ * symfile.h (struct quick_symbol_functions): Remove parameter full_path
+ from method map_symtabs_matching_filename and its comment.
+ * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
+ gdb_realpath call.
+ * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
+ remove it also from the function comment, remove a block handling it.
+ Drop gdb_realpath call and cleanups from the real_path handling.
+ (iterate_over_symtabs): Drop variable full_path and its use.
+ * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
+ * utils.c (xfullpath): Remove.
+ * utils.h (xfullpath): Remove.
+
+2013-02-01 Andreas Tobler <andreast@fgznet.ch>
+
+ * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
+ (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
+ (ALLDEPFILES): Add ppc64-tdep.c.
+ * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
+ ppc64-tdep.o to gdb_target_obs.
+ * ppc64-tdep.h: New file.
+ * ppc64-tdep.c: New file.
+ (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
+ ppc-linux-tdep.c to here.
+ (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
+ (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
+ (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
+ (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
+ from ppc-linux-tdep.c to here.
+ (ppc64_convert_from_func_ptr_addr): Rename from
+ ppc64_linux_convert_from_func_ptr_addr to
+ ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
+ here.
+ * rs6000-tdep.c:
+ (read_insn): Move from ppc-linux-tdep.c to here.
+ (insns_match_pattern, insn_d_field, insn_ds_field): Move
+ from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
+ * ppc-linux-tdep.c: Include ppc64-tdep.h.
+ Removed above functions.
+ (ppc_linux_init_abi): Adjust.
- * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
- comment.
+2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
-2012-01-31 Doug Evans <dje@google.com>
+ * ada-valprint.c (ada_print_floating): Remove unused 'len'.
- * symtab.h: Remove outdated comment.
- (SYMBOL_MATCHES_NATURAL_NAME): Delete.
+2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
-2012-02-01 Josh Matthews <josh@joshmatthews.net> (tiny change)
+ * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
- Fix build error in Darwin port.
- * i386-darwin-nat.c: Include i386-nat.h.
+2013-02-01 Pedro Alves <palves@redhat.com>
-2012-01-30 Tom Tromey <tromey@redhat.com>
+ * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
+ * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
- PR breakpoints/13568:
- * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
- argument. Check for recursive includes.
- (dwarf_decode_macros): Create an include hash.
+2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-30 Michael Eager <eager@eagercon.com>
+ * elfread.c (elf_symfile_read): Limit separate debug info additions to
+ files with no separate debug info.
+ * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
+ * symfile.c (read_symbols): Call find_separate_debug_file_in_section
+ only for files with no separate debug info.
- * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
- * ppc-linux-tdep.c: Include glibc-tdep.h.
- (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
- (powerpc_linux_in_plt_stub): New function.
- (powerpc_linux_in_dynsym_resolve_code): New function.
- (ppc_skip_trampoline_code): New function.
- (ppc_linux_init_abi): Use PPC specific functions rather than generic.
- Use glibc_skip_solib_resolver.
+2013-01-31 Tom Tromey <tromey@redhat.com>
-2012-01-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * jit.c (jit_program_space_data): Rename from jit_inferior_data;
+ change type.
+ (struct jit_program_space_data): Rename from jit_inferior_data.
+ Update comments.
+ (get_jit_program_space_data): Rename from get_jit_inferior_data.
+ Change return type. Attach data to program space.
+ (jit_program_space_data_cleanup): Rename from
+ jit_inferior_data_cleanup; change argument type.
+ (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
+ change type.
+ (jit_register_code): Update.
+ (jit_update_inferior_cache): Remove.
+ (jit_breakpoint_deleted): Get jit data from the location's program
+ space.
+ (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
+ 'ps_data', change type.
+ (jit_inferior_init, jit_breakpoint_re_set_internal)
+ (jit_event_handler): Update.
+ (free_objfile_data): Get data from objfile's program space.
+ (_initialize_jit): Update.
- Code cleanup: Make 1440 bytes of data segment read-only.
- * arch-utils.c (endian_enum): Make it const char *const [].
- * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
- Likewise.
- * breakpoint.c (always_inserted_enums): Likewise.
- * cli/cli-cmds.c (script_ext_enums): Likewise.
- * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
- enumlist parameter const char *const *.
- * cli/cli-decode.h (struct cmd_list_element): Make the enums field
- const char *const *.
- * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
- parameter const char *const *.
- * cris-tdep.c (cris_modes): Make it const char *const [].
- * filesystem.c (target_file_system_kinds): Likewise.
- * i386-tdep.c (valid_flavors, valid_conventions): Likewise.
- * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
- (can_use_displaced_stepping_enum, scheduler_enums)
- (exec_direction_names): Likewise.
- * language.c (_initialize_language): Make the type_or_range_names and
- case_sensitive_names variables const char *const [].
- * mips-tdep.c (mips_abi_strings): Make it const char *const [].
- * python/python.c (python_excp_enums): Likewise.
- * remote.c (interrupt_sequence_modes): Likewise.
- * rs6000-tdep.c (powerpc_vector_strings): Likewise.
- * serial.c (logbase_enums): Likewise.
- * sh-tdep.c (sh_cc_enum): Likewise.
- * stack.c (print_frame_arguments_choices, print_entry_values_choices):
- Likewise.
- * symtab.c (multiple_symbols_modes): Likewise.
- * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
- Likewise.
- * utils.c (internal_problem_modes): Likewise.
+2013-01-31 Tom Tromey <tromey@redhat.com>
-2012-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR gdb/13987:
+ * jit.c (struct jit_inferior_data) <cached_code_address,
+ jit_breakpoint>: New fields.
+ (jit_breakpoint_re_set_internal): Fix logging. Only create
+ breakpoint if cached address has changed.
+ (jit_update_inferior_cache, jit_breakpoint_deleted): New
+ functions.
+ (_initialize_jit): Register breakpoint deleted observer.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * infrun.c (handle_syscall_event): Remove unused gdbarch.
+ (save_infcall_suspend_state): Ifdef out unused inf.
+ (restore_infcall_suspend_state): Ifdef out unused inf.
+ * jit.c (jit_register_code): Remove unused i, b, inf_data.
+ (jit_frame_sniffer): Remove unused inf_data.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * c-exp.y (classify_inner_name): Remove unused type.
+ * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
+ in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
+ need_escape.
+ (c_get_string): Remove unused kind.
+ * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * charset.c (intermediate_encoding): Remove unused i.
+ * completer.c (signal_completer): Remove unused i.
+ * continuations.c (discard_my_continuations_1): Remove unused
+ continuation_ptr.
+ * corelow.c (core_close): Remove unuseD name.
+ (get_core_siginfo): Remove unused pid.
+ * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
+ i, cps.
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
+ (loclist_describe_location): Remove unused first.
+ * event-top.c (command_line_handler): Remove unused got_eof.
+ * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
+ (resize_section_table): Remove unused old_value.
+ * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
+ * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
+ * i386-tdep.c (i386_process_record): Remove unused rex.
+ * infcmd.c (get_return_value): Remove unused uiout.
+ * jv-lang.c (type_from_class): Remove unused is_array.
+ * jv-valprint.c (java_val_print): Remove unused i.
+ * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
+ * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
+ * m2-typeprint.c (m2_print_type): Remove unused code.
+ * macroexp.c (get_character_constant): Remove unused body_start.
+ (macro_stringify): Remove unused result.
+ * objc-lang.c (find_methods): Remove unused gdbarch.
+ * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
+ * regcache.c (regcache_cooked_read): Remove unused gdbarch.
+ * stack.c (print_frame_args): Remove unused summary.
+ * thread.c (thread_apply_command): Remove unused p.
+ * valarith.c (value_x_unop): Remove unused mangle_ptr.
+ * valops.c (search_struct_method): Remove unused skip.
+ * valprint.c (generic_val_print): Remove unused byte_order.
+ * varobj.c (varobj_update): Remove unused changed.
+ * cli/cli-cmds.c (complete_command): Remove unused next_item.
+ (alias_command): Remove unused c.
+ * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
+ * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
+ format.
+ (mi_cmd_data_write_memory): Remove unused word_format.
+ (mi_cmd_data_write_memory_bytes): Remove unused r.
+ * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
+ p_start, p_end.
+ * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
+ * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
+ line_width.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
+ * symtab.c (iterate_over_symtabs): Remove unused s.
+ (find_pc_sect_symtab): Remove unused pspAce.
+ (find_pc_sect_line): Remove unused alt_symtab.
+ (find_pcs_for_symtab_line): Remove unused ix, previous_function.
+ (completion_list_add_name): Remove unused newsize.
+
+2013-01-31 Tom Tromey <tromey@redhat.com>
+
+ PR c++/14998:
+ * dwarf2read.c (read_tag_ptr_to_member_type): Handle
+ TYPE_CODE_FUNC.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * target.c (target_read_string): Remove unused origlen.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
+ * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
+ * ax-general.c (ax_print): Remove unused is_float.
+ * blockframe.c (block_innermost_frame): Remove unused start, end.
+ * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
+
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
+ (svr4_read_so_list): Remove unused lmo.
+ * solib-target.c (solib_target_relocate_section_addresses): Remove
+ unused flags.
+
+2013-01-30 Tom Tromey <tromey@redhat.com>
+
+ * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
+
+2013-01-30 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
+ * utils.c (gnu_debuglink_crc32): Remove.
+ * utils.h (gnu_debuglink_crc32): Don't declare.
+
+2013-01-30 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
+ (read_structure_type, read_enumeration_type): Remove cast.
+
+2013-01-30 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_namespace_type): Remove cast.
+ (read_typedef): Likewise.
+
+2013-01-29 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (free_dwo_file): Remove assert.
+
+2013-01-29 Tom Tromey <tromey@redhat.com>
+
+ * value.c (deprecated_set_value_modifiable): Remove.
+ * value.h (deprecated_set_value_modifiable): Remove.
- Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
- * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
- result.
+2013-01-28 Doug Evans <dje@google.com>
-2012-01-27 Doug Evans <dje@google.com>
+ * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
+ to addresses from dwo files.
- * configure.ac (with_python): Fix absolute path handling for win32.
- * configure: Regenerate.
+2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
-2012-01-26 Doug Evans <dje@google.com>
-
- * symtab.c: Whitespace cleanup, no code changes.
-
- * symtab.c (lookup_symbol_in_language): Improve comment.
- (lookup_symbol_aux): Fix comment.
-
- * psymtab.c (add_psymbol_to_list): Result is now "void".
- * psympriv.h (add_psymbol_to_list): Update.
-
- * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
-
-2012-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Do not open script filenames twice.
- * cli/cli-cmds.c (source_script_from_stream): Pass to
- source_python_script also STREAM.
- * python/py-auto-load.c (source_section_scripts): Pass to
- source_python_script_for_objfile also STREAM.
- (auto_load_objfile_script): Pass to source_python_script_for_objfile
- also INPUT.
- * python/python-internal.h (source_python_script_for_objfile): New
- parameter file, rename parameter file to filename.
- * python/python.c (python_run_simple_file): Call PyRun_SimpleFile
- instead if !_WIN32. Update the function comment.
- (source_python_script, source_python_script_for_objfile)
- (source_python_script): New parameter file, rename parameter file to
- filename. Pass FILENAME to python_run_simple_file.
- * python/python.h (source_python_script): New parameter file, rename
- parameter file to filename.
-
-2012-01-26 Pedro Alves <palves@redhat.com>
-
- * corelow.c (core_has_fake_pid): Delete.
- (core_close): Delete references to `core_has_fake_pid'.
- (add_to_thread_list): Adjust to mark the inferior's pid as fake.
- (core_open): Delete references to `core_has_fake_pid'.
- (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
- the removed global.
-
-2012-01-26 Joel Brobecker <brobecker@adacore.com>
-
- * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
- Remove language parameter from name_matcher. Adjust the comment.
- * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
- Remove language parameter.
- * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
- * linespec.c (iterate_name_matcher): Likewise.
- * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
- name_matcher. Adjust call accordingly.
- * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
- (maintenance_check_symtabs): Adjust type of parameter "fun".
- * psymtab.h (maintenance_check_symtabs): Likewise.
-
-2012-01-26 Joel Brobecker <brobecker@adacore.com>
-
- * language.h (symbol_name_match_p_ftype): New typedef.
- (struct language_defn): Replace field la_symbol_name_compare
- by la_get_symbol_name_match_p.
- * ada-lang.c (ada_get_symbol_name_match_p): New function.
- (ada_language_defn): Use it.
- * linespec.c (struct symbol_matcher_data): New type.
- (iterate_name_matcher): Rewrite.
- (iterate_over_all_matching_symtabs): Pass a pointer to
- a symbol_matcher_data struct to expand_symtabs_matching
- instead of just the lookup name.
- * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
- opencl-lang.c, p-lang.c, language.c: Delete field
- la_symbol_name_compare, and replace by NULL for new field
- la_get_symbol_name_match_p.
- * symfile.h (struct quick_symbol_functions): Update comment.
-
-2012-01-25 Tom Tromey <tromey@redhat.com>
-
- * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
- dereferencing.
-
-2012-01-24 Tom Tromey <tromey@redhat.com>
-
- PR symtab/12406:
- * solib.c (update_solib_list): Update the program space's
- added_solibs and deleted_solibs fields.
- * progspace.h (struct program_space) <added_solibs,
- deleted_solibs>: New fields.
- (clear_program_space_solib_cache): Declare.
- * progspace.c (release_program_space): Call
- clear_program_space_solib_cache.
- (clear_program_space_solib_cache): New function.
- * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
- bpstat_stop_status. Use handle_solib_event.
- * breakpoint.c: Include gdb_regex.h.
- (print_solib_event): New function.
- (bpstat_print): Use print_solib_event.
- (bpstat_stop_status): Add special case for bp_shlib_event.
- (handle_solib_event): New function.
- (bpstat_what): Use handle_solib_event.
- (struct solib_catchpoint): New.
- (dtor_catch_solib, insert_catch_solib, remove_catch_solib)
- (breakpoint_hit_catch_solib, check_status_catch_solib)
- (print_it_catch_solib, print_one_catch_solib)
- (print_mention_catch_solib, print_recreate_catch_solib): New
- functions.
- (catch_solib_breakpoint_ops): New global.
- (catch_load_or_unload, catch_load_command_1)
- (catch_unload_command_1): New functions.
- (internal_bkpt_check_status): Add special case for
- bp_shlib_event.
- (internal_bkpt_print_it): Use print_solib_event.
- (initialize_breakpoint_ops): Initialize
- catch_solib_breakpoint_ops.
- (_initialize_breakpoint): Register "catch load" and "catch
- unload".
- * breakpoint.h (handle_solib_event): Declare.
- * NEWS: Add entry for "catch load" and "catch unload".
-
-2012-01-24 Tom Tromey <tromey@redhat.com>
-
- * ada-lang.c: Include gdb_vecs.h.
- * charset.c: Include gdb_vecs.h.
- * tracepoint.h: Include gdb_vecs.h.
- * gdb_vecs.h: New file.
-
-2012-01-24 Pedro Alves <pedro@codesourcery.com>
-
- * breakpoint.c (breakpoint_hit_catch_fork)
- (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
- (breakpoint_hit_catch_exec): Make use of the `ws' argument.
- * infrun.c (inferior_has_forked, inferior_has_vforked)
- (inferior_has_execd, inferior_has_called_syscall): Delete.
- (handle_syscall_event): Get syscall_number from the execution
- control state's wait status.
- (wait_for_inferior): Don't clear syscall_number.
-
-2012-01-24 Pedro Alves <palves@redhat.com>
-
- * breakpoint.c (bpstat_check_location, bpstat_stop_status,
- pc_at_non_inline_function): Add `ws' parameter, and pass it down.
- (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
- (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
- `ws' parameter.
- (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return
- false for events other than TARGET_SIGNAL_TRAP.
- (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
- Add `ws' parameter.
- (bkpt_breakpoint_hit): Add `ws' parameter. Return false for
- events other than TARGET_SIGNAL_TRAP.
- (tracepoint_breakpoint_hit): Add `ws' parameter.
- * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
- parameter.
- (bpstat_stop_status): Same.
- (pc_at_non_inline_function): Same.
- * infrun.c (handle_syscall_event, handle_inferior_event): Adjust
- to pass the current event's waitstatus to bpstat_stop_status
- and pc_at_non_inline_function.
+ * valops.c (find_overload_match): Remove unused argument 'lax'.
+ * value.h: Remove unused argument 'lax' from the declaration of
+ find_overload_match.
+ * eval.c (value_subexp_standard): Do not pass a 'lax' argument
+ to find_overload_match.
+ * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
+ argument to find_overload_match.
-2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-25 Tom Tromey <tromey@redhat.com>
- Code cleanup.
- * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
- Update the function comment for it.
- (source_script_with_search): Call make_cleanup_fclose for STREAM.
- * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
- for STREAM.
+ * dwarf2read.c (processing_has_namespace_info): Remove.
+ (struct dwarf2_cu) <processing_has_namespace_info>: New field.
+ (process_die, read_func_scope, dwarf2_start_symtab)
+ (new_symbol_full): Update.
-2012-01-24 Pedro Alves <palves@redhat.com>
+2013-01-25 Tom Tromey <tromey@redhat.com>
- * breakpoint.c (bpstat_stop_status): Moving clearing print_it
- outside `bs->stop' block.
- (bpstat_what): Rework bp_shlib_event handling.
- (internal_bkpt_check_status): If the breakpoint is a
- bp_shlib_event, then set bs->stop and bs->print if
- stop_on_solib_events is set.
+ * cp-namespace.c (cp_set_block_scope): Remove.
+ * cp-support.h (cp_set_block_scope): Remove.
+ * dbxread.c: Include block.h.
+ (cp_set_block_scope): New function.
+ (process_one_symbol): Update.
+ * dwarf2read.c (read_func_scope): Use block_set_scope.
-2012-01-24 Gary Benson <gbenson@redhat.com>
+2013-01-25 Pedro Alves <palves@redhat.com>
- Delete #if 0'd out code.
- * stack.c (print_frame_label_vars): Remove.
- (catch_info): Likewise.
- (_initialize_stack): Remove "info catch" command.
- * NEWS: Mention the above.
+ * remote.c (add_current_inferior_and_thread): Tweak comment.
-2012-01-24 Pedro Alves <palves@redhat.com>
+2013-01-25 Tom Tromey <tromey@redhat.com>
- * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
- it.
- (remote_notice_new_inferior): If the remote end doesn't support
- the multiprocess extensions, then the PID is fake.
- (add_current_inferior_and_thread): New.
- (remote_start_remote): Use it.
- (extended_remote_attach_1): Adjust.
- (extended_remote_create_inferior_1): Use
- add_current_inferior_and_thread.
+ * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
+ (cp_add_using_directive): Add 'copy_names' argument.
+ * cp-support.h (cp_add_using_directive): Update.
+ (struct using_direct) <import_src, import_dest, alias,
+ declaration>: Now const.
+ * dwarf2read.c (read_import_statement): Use obconcat.
+ Don't copy names passed to cp_add_using_directive.
-2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-25 Tom Tromey <tromey@redhat.com>
- Fix watchpoints to be specific for each inferior.
- * breakpoint.c (watchpoint_in_thread_scope): Verify also
- current_program_space.
- * i386-nat.c (i386_inferior_data_cleanup): New.
- (i386_inferior_data_get): Replace variable inf_data_local by an
- inferior_data call.
- (i386_use_watchpoints): Initialize i386_inferior_data.
- * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
- specific iterate_over_lwps.
+ * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
-2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-25 Pedro Alves <palves@redhat.com>
- Fix watchpoints across inferior fork.
- * amd64-linux-nat.c (update_debug_registers_callback): Update the
- comment for linux_nat_iterate_watchpoint_lwps.
- (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
- linux_nat_iterate_watchpoint_lwps.
- (amd64_linux_prepare_to_resume): New comment on Linux kernel.
- * i386-linux-nat.c (update_debug_registers_callback): Update the
- comment for linux_nat_iterate_watchpoint_lwps.
- (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
- linux_nat_iterate_watchpoint_lwps.
- (i386_linux_prepare_to_resume): New comment on Linux kernel.
- * i386-nat.c: Include inferior.h.
- (dr_mirror): Remove.
- (i386_inferior_data, struct i386_inferior_data)
- (i386_inferior_data_get): New.
- (i386_debug_reg_state): Use i386_inferior_data_get.
- (i386_cleanup_dregs, i386_update_inferior_debug_regs)
- (i386_insert_watchpoint, i386_remove_watchpoint)
- (i386_stopped_data_address, i386_insert_hw_breakpoint)
- (i386_remove_hw_breakpoint): New variable state, use
- i386_debug_reg_state instead of DR_MIRROR.
- * linux-nat.c (delete_lwp): New declaration.
- (num_lwps): Move here from downwards.
- (delete_lwp_cleanup): New.
- (linux_child_follow_fork): Create new child_lp, call
- linux_nat_new_thread and linux_nat_prepare_to_resume before calling
- PTRACE_DETACH.
- (num_lwps): Move upwards.
- (linux_nat_iterate_watchpoint_lwps): New.
- * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
- (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
-
-2012-01-24 Joel Brobecker <brobecker@adacore.com>
-
- GDB 7.4 released.
-
-2012-01-23 Pedro Alves <palves@redhat.com>
-
- * top.c (caution): Rename to ...
- (confirm): ... this.
- (show_caution): Rename to ...
- (show_confirm): ... this.
- (quit_cover): Adjust.
- (init_main): Adjust.
- * top.h (caution): Rename to ...
- (confirm): ... this.
- * utils.c (internal_vproblem, defaulted_query): Adjust.
+ * remote.c (stop_reply_extract_thread): New.
+ (add_current_inferior_and_thread): New parameter 'wait_status'.
+ Handle it.
+ (remote_start_remote): Pass wait status to
+ add_current_inferior_and_thread.
+ (extended_remote_run): Update comment.
+ (extended_remote_create_inferior_1): Pass wait status to
+ add_current_inferior_and_thread.
-2012-01-23 Pedro Alves <palves@redhat.com>
+2013-01-25 Andrew Burgess <aburgess@broadcom.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ * valarith.c (value_vector_widen): New function for replicating a
+ scalar into a vector.
+ (value_binop): Use value_vector_widen to widen scalar to vector
+ rather than casting, this better matches gcc C behaviour.
+ * valops.c (value_casst): Update logic for casting between vector
+ types, and for casting from scalar to vector, try to match gcc C
+ behaviour.
+ * value.h (value_vector_widen): Declare.
+ * opencl-lang.c (opencl_value_cast): New opencl specific casting
+ function, handle special case for casting scalar to vector.
+ (opencl_relop): Use opencl_value_cast.
+ (evaluate_subexp_opencl): Use opencl_value_cast instead of
+ value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
+ in order to use opencl_value_cast.
+
+2013-01-25 Yao Qi <yao@codesourcery.com>
+
+ * event-loop.c: Include "queue.h".
+ (gdb_event_p): New typedef.
+ (DECLARE_QUEUE_P): Use.
+ (DEFINE_QUEUE_P): Use.
+ (async_queue_event): Remove.
+ (gdb_event_xfree): New.
+ (initialize_event_loop): New.
+ (process_event): Use QUEUE macros.
+ (event_queue): Remove.
+ (gdb_wait_for_event): Caller update.
+ (check_async_event_handlers): Likewise.
+ (poll_timers): Likewise.
+ * event-loop.h (initialize_event_loop): Declare.
+ * event-loop.c (gdb_event_xfree): New.
+ * top.c (gdb_init): Call initialize_event_loop.
+
+2013-01-25 Yao Qi <yao@codesourcery.com>
+
+ * event-loop.c (async_queue_event): Remove one parameter
+ 'position'. Remove code handling 'position' == TAIL.
+ (gdb_wait_for_event): Caller update.
+ (check_async_event_handlers): Caller update.
+ (poll_timers): Caller update.
+ * event-loop.h (enum queue_position): Remove.
+
+2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
+
+ * MAINTAINERS: Update my email.
+
+2013-01-25 Yao Qi <yao@codesourcery.com>
+
+ * main.c (print_gdb_help): Remove "--epoch" from the help
+ message.
+
+2013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
+
+ * symtab.c (skip_prologue_using_sal): Consider a file
+ change the same as an increased line number
+
+2013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
- * top.c (caution): Update comment.
- (execute_command): Don't consider the current value of `caution'.
+ * MAINTAINERS (Write After Approval): Add myself to the list.
-2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-24 Tom Tromey <tromey@redhat.com>
- * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
+ * ada-lang.h (ada_decode_symbol): Make return type const.
+ * ada-lang.c (ada_decode_symbol): Likewise.
-2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-01-23 Doug Evans <dje@google.com>
- * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
- * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
- * target.c (target_fileio_pwrite): Remove buffer address from
- debug output.
- (target_fileio_pread): Likewise.
+ * linespec.c (find_linespec_symbols): Make static.
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
- * NEWS: Document remote "info proc" and "generate-core-file".
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
+ type on float conversion for complex type.
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
- * gdbarch.sh (find_memory_regions): New callback.
- * gdbarch.c, gdbarch.h: Regenerate.
+ Add a new class gdb.Architecture which exposes GDB's
+ internal representation of architecture via GDB Python API.
+ * Makefile.in: Add entries corresponding to the new file
+ python/py-arch.c.
+ * NEWS (Python Scripting): Add entries for the new class
+ gdb.Architecture and the new method gdb.Frame.architecture.
+ * python/py-arch.c: Implement gdb.Architecture class.
+ * python/py-frame.c (frapy_arch): Implement the method
+ gdb.Frame.architecture().
+ (frame_object_methods): Add 'architecture' to the method table.
+ * python/python-internal.h: Add declarations of new utility
+ functions.
+ * python/python.c (_initialize_python): Initialize
+ gdb.Architecture class.
+
+2013-01-23 Doug Evans <dje@google.com>
+
+ Work around binutils/15021.
+ * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
+ type_unit_group out of union s. All uses updated.
+ (read_index_from_section): Watch for index version 8.
+ (follow_die_sig): If using .gdb_index version <= 7, record the TU as
+ an imported symtab.
+ (write_psymtabs_to_index): Increment version number to 8.
+
+2013-01-22 Pedro Alves <palves@redhat.com>
+
+ * annotate.c (breakpoint_changed): Skip if breakpoint is not
+ user-visible.
+
+2013-01-22 Pedro Alves <palves@redhat.com>
+
+ * annotate.c (annotate_breakpoints_changed): Rename to ...
+ (annotate_breakpoints_invalid): ... this. Make static.
+ (breakpoint_changed): Adjust.
+ (_initialize_annotate): Always install the observers. Install a
+ "breakpoint_created" observer.
+ * annotate.h (annotate_breakpoints_changed): Delete declaration.
+ * breakpoint.c (set_breakpoint_condition)
+ (breakpoint_set_commands, do_map_commands_command)
+ (init_raw_breakpoint, clear_command, set_ignore_count)
+ (enable_breakpoint_disp): No longer call
+ annotate_breakpoints_changed.
+
+2013-01-22 Pedro Alves <palves@redhat.com>
+
+ * annotate.c: Include "inferior.h".
+ (frames_invalid_emitted)
+ (breakpoints_invalid_emitted): New globals.
+ (async_background_execution_p): New function.
+ (annotate_breakpoints_changed, annotate_frames_invalid): Skip
+ emitting the annotation if it has already been emitted.
+ (annotate_display_prompt): New function.
+ * annotate.h (annotate_display_prompt): New declaration.
+ * event-top.c: Include annotate.h.
+ (display_gdb_prompt): Call annotate_display_prompt.
+
+2013-01-22 Pedro Alves <palves@redhat.com>
+
+ * annotate.c (ignore_count_changed): Delete.
+ (annotate_breakpoints_changed): Don't clear ignore_count_changed.
+ (annotate_ignore_count_change): Delete.
+ (annotate_stopped): Don't emit a delayed breakpoints-changed
+ annotation.
+ * annotate.h (annotate_ignore_count_change): Delete.
+ * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
+ annotate_ignore_count_change.
+
+2013-01-22 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
+ require_rvalue for a register location.
+
+2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ * breakpoint.c (print_one_breakpoint_location): Add MI
+ field 'thread-groups' when printing a breakpoint.
+ (output_thread_groups): New function.
+
+2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
+
+ * python/lib/gdb/commands/explore.py
+ (CompoundExplorer.explore_expr): Correct the name of a method
+ being invoked.
+ (ExploreTypeCommand.invoke): Add a missing 'return'.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * gdb_obstack.h (obconcat): Move declaration here, from...
+ * symfile.h (obconcat): ... here.
+ * gdb_obstack.c: New file.
+ (obconcat): Move from...
+ * symfile.c (obconcat): ... here.
+ * Makefile.in (SFILES): Add gdb_obstack.c.
+ (COMMON_OBS): Add gdb_obstack.o.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * symfile.h (obsavestring): Don't declare.
+ * symfile.c (obsavestring): Remove.
+ * ada-exp.y: Use obstack_copy0, not obsavestring.
+ * ada-lang.c: Use obstack_copy0, not obsavestring.
+ * coffread.c: Use obstack_copy0, not obsavestring.
+ * cp-namespace.c: Use obstack_copy0, not obsavestring.
+ * dbxread.c: Use obstack_copy0, not obsavestring.
+ * dwarf2read.c: Use obstack_copy0, not obsavestring.
+ * jit.c: Use obstack_copy0, not obsavestring.
+ * mdebugread.c: Use obstack_copy0, not obsavestring.
+ * psymtab.c: Use obstack_copy0, not obsavestring.
+ * stabsread.c: Use obstack_copy0, not obsavestring.
+ * xcoffread.c: Use obstack_copy0, not obsavestring.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (fixup_go_packaging): Save package name
+ on objfile obstack.
+ * gdbtypes.c (init_type): Don't copy name.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (struct partial_die_info) <name, scope>: Now
+ const.
+ (struct attribute) <u.str>: Now const.
+ (struct fnfieldlist) <name>: Now const.
+ (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
+ (partial_die_parent_scope): Make return type const.
+ (partial_die_full_name, add_partial_symbol): Update.
+ (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
+ 'name' const.
+ (find_file_and_directory): Make 'name' and 'comp_dir' const.
+ (read_file_scope, read_func_scope, dwarf2_add_field)
+ (dwarf2_add_member_fn, read_structure_type)
+ (process_enumeration_scope, read_array_type, read_module_type)
+ (read_base_type, read_subrange_type): Update.
+ (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
+ (new_symbol_full, guess_full_die_structure_name): Update.
+ (dwarf2_canonicalize_name): Return const type. Make 'name' const.
+ (dwarf2_name): Return const type.
+ (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
+ const.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * gdbtypes.c (init_type): Make 'name' const.
+ * gdbtypes.h (init_type): Update.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * buildsym.c (patch_subfile_names): Use set_last_source_file.
+ (start_symtab): Make 'name' and 'dirname' const. Use
+ set_last_source_file.
+ (restart_symtab, reset_symtab_globals): Use set_last_source_file.
+ (last_source_file): Define. Now static.
+ (set_last_source_file, get_last_source_file): New functions.
+ * buildsym.h (last_source_file): Don't declare.
+ (start_symtab): Update.
+ (set_last_source_file, get_last_source_file): Declare.
+ * coffread.c (complete_symtab): Use set_last_source_file.
+ (coff_end_symtab): Likewise.
+ (coff_symtab_read): Use set_last_source_file, get_last_source_file.
+ * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
+ set_last_source_file.
+ (process_one_symbol): Use get_last_source_file.
+ * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
+ (psymtab_to_symtab_1): Use get_last_source_file.
+ * xcoffread.c (process_linenos): Use get_last_source_file.
+ (complete_symtab): Use set_last_source_file.
+ (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
+ (scan_xcoff_symtab): Use set_last_source_file.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (struct demangled_name_entry) <mangled>: Now const.
+ (symbol_set_names): Remove casts. Handle field const-ness.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (new_symbol_full): Remove cast.
+ * symtab.c (symbol_set_demangled_name): Make 'name' const.
+ * symtab.h (symbol_set_demangled_name): Update.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * main.c (captured_main): Call bfd_init.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
+ * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
+ * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
+ * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
+ * NEWS: Update.
- * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
- callback before falling back to target method.
+2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
- * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
- (linux_target_install_ops): No longer install it.
+ * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
- * linux-tdep.c (linux_find_memory_regions): New function.
- (linux_init_abi): Install it.
+2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
+ Fix gdb.fortran/common-block.exp crash in PIE mode.
+ * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
+ LOC_COMMON_BLOCK.
+ * f-valprint.c (info_common_command_for_block): Expect
+ LOC_COMMON_BLOCK in gdb_assert.
+ * symtab.h (struct general_symbol_info): Update comment for the
+ common_block member.
+ (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
+ (enum address_class): New member LOC_COMMON_BLOCK.
- * gdbarch.sh (make_corefile_notes): New architecture callback.
- * gdbarch.c: Regenerate.
- * gdbarch.h: Likewise.
+2013-01-18 David Blaikie <dblaikie@gmail.com>
- * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
- before target_make_corefile_notes. If NULL is returned, the
- target does not support core file generation.
+ * MAINTAINERS (Write After Approval): Add "David Blaikie".
- * linux-nat.c: Include "linux-tdep.h".
- (find_signalled_thread, find_stop_signal): Remove.
- (linux_nat_do_thread_registers): Likewise.
- (struct linux_nat_corefile_thread_data): Likewise.
- (linux_nat_corefile_thread_callback): Likewise.
- (iterate_over_spus): Likewise.
- (struct linux_spu_corefile_data): Likewise.
- (linux_spu_corefile_callback): Likewise.
- (linux_spu_make_corefile_notes): Likewise.
- (linux_nat_collect_thread_registers): New function.
- (linux_nat_make_corefile_notes): Replace contents by call to
- linux_make_corefile_notes passing linux_nat_collect_thread_registers
- as native-only callback.
+2013-01-18 Tom Tromey <tromey@redhat.com>
- * linux-tdep.h: Include "bfd.h".
- (struct regcache): Add forward declaration.
- (linux_collect_thread_registers_ftype): New typedef.
- (linux_make_corefile_notes): Add prototype.
- * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
- "regset.h", and "elf-bfd.h".
- (find_signalled_thread, find_stop_signal): New functions.
- (linux_spu_make_corefile_notes): Likewise.
- (linux_collect_thread_registers): Likewise.
- (struct linux_corefile_thread_data): New data structure.
- (linux_corefile_thread_callback): New funcion.
- (linux_make_corefile_notes): Likewise.
- (linux_make_corefile_notes_1): Likewise.
- (linux_init_abi): Install it.
+ PR c++/14999:
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
+ Call require_rvalue.
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
+2013-01-18 Yao Qi <yao@codesourcery.com>
- * gdbarch.sh (info_proc): New callback.
- * gdbarch.c, gdbarch.h: Regenerate.
+ * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
+ (dbx_read_symtab): New declaration.
+ (dbx_psymtab_to_symtab): Delete.
+ (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
+ Rename parameter PST to SELF. Exchanged two parameters.
+ (start_psymtab): Caller update.
+ * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
+ (dwarf2_read_symtab): New declaration.
+ (dwarf2_psymtab_to_symtab): Delete.
+ (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
+ Rename parameter PST to SELF. Exchanged two parameters.
+ (create_partial_symtab): Caller update.
+ * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
+ (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
+ Rename parameter PST to SELF. Exchanged two parameters.
+ (parse_partial_symbols, new_psymtab): Caller update.
+ * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
+ two parameters.
+ * psymtab.c (psymtab_to_symtab): Caller update.
+ * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
+ (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
+ Rename parameter PST to SELF. Exchanged two parameters.
+ (xcoff_start_psymtab): Caller update.
- * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
- before falling back to the target info_proc callback.
+2013-01-18 Yao Qi <yao@codesourcery.com>
- * linux-nat.c: Do not include "cli/cli-utils.h".
- (linux_nat_info_proc): Remove.
- (linux_target_install_ops): No longer install it.
+ * infrun.c (proceed): Rename local variable 'oneproc' to
+ 'force_step'.
- * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
- (read_mapping): New function.
- (linux_info_proc): Likewise.
- (linux_init_abi): Install it.
-
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
-
- * defs.h (enum info_proc_what): Moved here from linux-nat.c
- * infcmd.c: (info_proc_cmd_1): New function.
- (info_proc_cmd): New function, moved here from equivalent routine
- orignally in linux-nat.c.
- (info_proc_cmd_mappings): Likewise.
- (info_proc_cmd_stat): Likewise.
- (info_proc_cmd_status): Likewise.
- (info_proc_cmd_cwd): Likewise.
- (info_proc_cmd_cmdline): Likewise.
- (info_proc_cmd_exe): Likewise.
- (info_proc_cmd_all): Likewise.
- (_initialize_infcmd): Install "info proc" command and subcommands.
-
- * target.h (struct target_ops): Add to_info_proc.
- (target_info_proc): Add prototype.
- * target.c (target_info_proc): New function.
-
- * procfs.c (procfs_info_proc): Add prototype.
- (info_proc_cmd): Rename into ...
- (procfs_info_proc): ... this. Update argument types as appropriate
- for a to_info_proc implementation. Handle "what" argument.
- (procfs_target): Install procfs_info_proc.
- (_initialize_procfs): No longer install "info proc" command.
-
- * linux-nat.c: (enum info_proc_what): Remove.
- (linux_nat_info_proc_cmd_1): Rename into ...
- (linux_nat_info_proc): ... this. Update argument types as appropriate
- for a to_info_proc implementation.
- (linux_nat_info_proc_cmd): Remove.
- (linux_nat_info_proc_cmd_mappings): Likewise.
- (linux_nat_info_proc_cmd_stat): Likewise.
- (linux_nat_info_proc_cmd_status): Likewise.
- (linux_nat_info_proc_cmd_cwd): Likewise.
- (linux_nat_info_proc_cmd_cmdline): Likewise.
- (linux_nat_info_proc_cmd_exe): Likewise.
- (linux_nat_info_proc_cmd_all): Likewise.
- (linux_target_install_ops): Install linux_nat_info_proc.
- (_initialize_linux_nat): No longer install "info proc" command
- and subcommands.
-
-2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
-
- * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
- * config.in, configure: Regenerate.
+2013-01-17 Doug Evans <dje@google.com>
- * target.h (struct target_ops): Add to_fileio_readlink.
- (target_fileio_readlink): Add prototype.
- * target.c (target_fileio_readlink): New function.
+ * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
+ (dw2_build_type_unit_groups): Delete. All uses updated.
- * inf-child.c: Conditionally include <sys/param.h>.
- (inf_child_fileio_readlink): New function.
- (inf_child_target): Install it.
+ * symtab.h (struct symbol_search): Add comment.
- * remote.c (PACKET_vFile_readlink): New enum value.
- (remote_hostio_readlink): New function.
- (init_remote_ops): Install it.
- (_initialize_remote): Handle vFile:readlink packet type.
+2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-20 Pedro Alves <palves@redhat.com>
- Ulrich Weigand <ulrich.weigand@linaro.org>
+ * symtab.c (compare_filenames_for_search): New comment for
+ HAS_DRIVE_SPEC.
- * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
- * config.in, configure: Regenerate.
+2013-01-17 Tom Tromey <tromey@redhat.com>
- * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
- to_fileio_pread, to_fileio_close, to_fileio_unlink.
- (target_fileio_open): Add prototype.
- (target_fileio_pwrite): Likewise.
- (target_fileio_pread): Likewise.
- (target_fileio_close): Likewise.
- (target_fileio_unlink): Likewise.
- (target_fileio_read_alloc): Likewise.
- (target_fileio_read_stralloc): Likewise.
-
- * target.c: Include "gdb/fileio.h".
- (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
- (default_fileio_target): New function.
- (target_fileio_open): Likewise.
- (target_fileio_pwrite): Likewise.
- (target_fileio_pread): Likewise.
- (target_fileio_close): Likewise.
- (target_fileio_unlink): Likewise.
- (target_fileio_close_cleanup): Likewise.
- (target_fileio_read_alloc_1): Likewise.
- (target_fileio_read_alloc): Likewise.
- (target_fileio_read_stralloc): Likewise.
-
- * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
- <fcntl.h>, and <unistd.h>.
- (inf_child_fileio_open_flags_to_host): New function.
- (inf_child_errno_to_fileio_error): Likewise.
- (inf_child_fileio_open): Likewise.
- (inf_child_fileio_pwrite): Likewise.
- (inf_child_fileio_pread): Likewise.
- (inf_child_fileio_close): Likewise.
- (inf_child_fileio_unlink): Likewise.
- (inf_child_target): Install to_fileio routines.
-
- * remote.c (init_remote_ops): Install to_fileio routines.
-
-2012-01-20 Pedro Alves <palves@redhat.com>
- Ulrich Weigand <ulrich.weigand@linaro.org>
-
- * remote.c (remote_multi_process_p): Only check for multi-process
- protocol feature, do not check for extended protocol.
- (remote_supports_multi_process): Check for extended protocol here.
- (set_general_process): Likewise.
- (extended_remote_kill): Likewise.
- (remote_pid_to_str): Likewise.
- (remote_query_supported): Always query multiprocess mode.
-
-2012-01-20 Pedro Alves <palves@redhat.com>
- Ulrich Weigand <ulrich.weigand@linaro.org>
-
- * inferior.h (struct inferior): Add fake_pid_p.
- * inferior.c (exit_inferior_1): Clear fake_pid_p.
- * remote.c (remote_start_remote): Set fake_pid_p if we have to use
- magic_null_ptid since the remote side doesn't provide a real PID.
-
-2012-01-19 Tom Tromey <tromey@redhat.com>
-
- * NEWS: Combine the two Python sections.
-
-2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * target.h (target_close): Update comment on the target's unpush state.
-
-2012-01-19 Pedro Alves <palves@redhat.com>
-
- * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
- linux_nat_async directly instead of going through the target
- vector.
- * target.c (unpush_target): Close target after unpushing it, not
- before.
+ * cp-abi.c (cp_abi_completer): Fix typo in assignment.
-2012-01-19 Gary Benson <gbenson@redhat.com>
+2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
- * mdebugread.c (sort_blocks): Replace integer constants with ones
- derived from FIRST_LOCAL_BLOCK.
+ * symtab.c (iterate_over_some_symtabs): New variable cleanups,
+ initialize it by existing make_cleanup. Call new do_cleanups.
-2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
- Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-17 Tom Tromey <tromey@redhat.com>
- PR gdb/9538
- * symfile.c (find_separate_debug_file): New function.
- (terminate_after_last_dir_separator): Likewise.
- (find_separate_debug_file_by_debuglink): Also try realpath.
- * configure.ac (AC_CHECK_FUNCS): Add lstat.
- * configure: Regenerate.
- * config.in: Regenerate.
+ * cp-abi.c (cp_abi_completer): New function.
+ (_initialize_cp_abi): Set completer for "set cp-abi".
-2012-01-18 Doug Evans <dje@google.com>
+2013-01-17 Tom Tromey <tromey@redhat.com>
- * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
- (main.o): Remove rule.
- * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
- (--with-sysroot): Rewrite.
- * configure: Regenerate.
- * config.in: Regenerate.
+ * mem-break.c: Remove obsolete comment.
+ * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
-2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * parse.c (initialize_expout): New function.
- (reallocate_expout): Likewise.
- (parse_exp_in_context): Use `initialize_expout' and
- `reallocate_expout' when appropriate.
-
-2012-01-18 Pedro Alves <palves@redhat.com>
-
- * record.c (struct record_breakpoint, record_breakpoint_p)
- (record_breakpoints): New.
- (record_insert_breakpoint, record_remove_breakpoint): Manage
- record breakpoints list. Only remove breakpoints from the
- inferior if they had been inserted there in the first place.
-
-2012-01-17 Doug Evans <dje@google.com>
-
- * linespec.c (decode_line_internal): Don't call symtabs_from_filename
- if we know we don't have a file name to look for.
-
-2012-01-17 Pedro Alves <palves@redhat.com>
-
- * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
- the frame's stop reason is UNWIND_UNAVAILABLE.
-
-2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix compilation error.
- * m2-exp.y (yyerror): Use ANSI C prototype.
-
-2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
- (growbuf_by_size): Likewise.
- (yyerror): Likewise.
- * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
- (modblock): Remove variable (was #if 0'ed).
- (parse_number): Convert prototype from K&R to ANSI C.
- (yyerror): Likewise.
- * objc-exp.y (parse_number): Likewise.
- (yyerror): Likewise.
- (yylex): Remove #if 0'ed code.
- * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
- (yyerror): Likewise.
-
-2012-01-16 Tom Tromey <tromey@redhat.com>
-
- * NEWS: Add item.
- * symtab.h (compare_filenames_for_search): Declare.
- * symtab.c (compare_filenames_for_search): New function.
- (iterate_over_some_symtabs): Use it.
- * symfile.h (struct quick_symbol_functions)
- <map_symtabs_matching_filename>: Change spec.
- * psymtab.c (partial_map_symtabs_matching_filename): Use
- compare_filenames_for_search. Update for new spec.
- * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
- compare_filenames_for_search. Update for new spec.
- * breakpoint.c (clear_command): Use compare_filenames_for_search.
-
-2012-01-16 Tom Tromey <tromey@redhat.com>
-
- PR python/13281:
- * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
- (struct main_type) <flag_flag_enum>: New field.
- * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
- * NEWS: Add entries.
- * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
- enums.
- * python/lib/gdb/printing.py (_EnumInstance): New class.
- (FlagEnumerationPrinter): Likewise.
-
-2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
-
- * breakpoint.c (create_sals_from_address_default): New function.
- (create_breakpoints_sal_default): Likewise.
- (decode_linespec_default): Likewise.
- (is_marker_spec): Removed.
- (strace_marker_p): New function.
- (init_breakpoint_sal): Using `strace_marker_p' instead of
- `is_marker_spec'.
- (create_breakpoint): Call method `create_sals_from_address' from
- breakpoint_ops, replacing code that created SALs conditionally
- on the type of the breakpoint. Call method `create_breakpoints_sal',
- replacing code that created breakpoints conditionally on the type
- wanted.
- (base_breakpoint_create_sals_from_address): New function.
- (base_breakpoint_create_breakpoints_sal): Likewise.
- (base_breakpoint_decode_linespec): Likewise.
- (base_breakpoint_ops): Add methods
- `base_breakpoint_create_sals_from_address',
- `base_breakpoint_create_breakpoints_sal' and
- `base_breakpoint_decode_linespec'.
- (bkpt_create_sals_from_address): New function.
- (bkpt_create_breakpoints_sal): Likewise.
- (bkpt_decode_linespec): Likewise.
- (tracepoint_create_sals_from_address): Likewise.
- (tracepoint_create_breakpoints_sal): Likewise.
- (tracepoint_decode_linespec): Likewise.
- (strace_marker_create_sals_from_address): Likewise.
- (strace_marker_create_breakpoints_sal): Likewise.
- (strace_marker_decode_linespec): Likewise.
- (strace_marker_breakpoint_ops): New variable.
- (addr_string_to_sals): Remove `marker_spec'. Call method
- `decode_linespec' from breakpoint_ops, replacing code that decoded
- an address string into a SAL. Use `strace_marker_p' instead of
- `marker_spec'.
- (strace_command): Decide whether we are dealing with a static
- tracepoint with marker or not. Use the appropriate breakpoint_ops.
- (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
- * breakpoint.h (linespec_result, linespec_sals): New forward
- declarations.
- (breakpoint_ops) <create_sals_from_address>,
- <create_breakpoints_sal>, <decode_linespec>: New methods.
+2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
-2012-01-14 Doug Evans <dje@google.com>
+ * jit.c (jit_reader_load_command): Interpret the jit reader name
+ as an absolute path if it begins with a forward slash.
- * NEWS: Update text for "maint set python print-stack".
- It is deprecated in gdb 7.4 and deleted in 7.5.
+2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
-2012-01-13 Eli Zaretskii <eliz@gnu.org>
+ PR gdb/14550
- * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
- including curses.h.
+ * jit.c (finalize_symtab): Ensure that only the global block has a
+ NULL superblock.
-2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-01-17 Pedro Alves <palves@redhat.com>
- * configure: Regenerate.
- * config.in: Regenerate.
+ * acinclude.m4: Include ../config/plugins.m4,
+ ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
+ * Makefile.in (aclocal_m4_deps): Update.
+ * aclocal.m4: Renegerate.
-2012-01-12 Keith Seitz <keiths@redhat.com>
-
- PR mi/10586
- * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
- (ANONYMOUS_UNION_NAME): Define.
- (is_path_expr_parent): New function.
- (get_path_expr_parent): New function.
- (is_anonymous_child): New function.
- (create_child_with_value): If the child is anonymous and without
- a name, assign an object name to it.
- (c_describe_child): Use get_path_expr_parent to determine
- the parent expression.
- If there field represents an anonymous struct or union and
- has no name, set an appropriate display name and expression.
- (cplus_describe_child): Likewise.
-
-2012-01-12 Pedro Alves <palves@redhat.com>
-
- * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
- available when %ebp is found to be zero (outermost).
-
-2012-01-11 Andreas Tobler <andreast@fgznet.ch>
-
- * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
- an internal gdb_static_assert.
- * mi/mi-common.c: Rename static_assert to gdb_static_assert.
-
-2012-01-11 Tom Tromey <tromey@redhat.com>
-
- PR gdb/9598:
- * breakpoint.c (_initialize_breakpoint): Fix help for "catch
- catch" and "catch throw".
-
-2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
-
- * blockframe.c (block_innermost_frame): Start search from selected
- frame, if present, or otherwise the current frame.
-
- * c-exp.y (variable): Update innermost_block for
- 'block COLONCOLON NAME' clause.
- * m2-exp.y (variable): Ditto.
- * objc-exp.y (variable): Ditto.
-
-2012-01-10 Tom Tromey <tromey@redhat.com>
-
- PR python/13199:
- * python/python.c (finish_python_initialization): Set sys.argv.
-
-2012-01-10 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
- "want_line_info". All callers updated.
- (dwarf_decode_lines_1): New function.
- (handle_DW_AT_stmt_list): Add function comment.
- New arg "want_line_info". All callers updated.
- (read_file_scope,read_type_unit_scope): Move comment from
- handle_DW_AT_stmt_list to here.
-
-2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix regression after libiberty/ update for GCC PR 6057 and others.
- * c-exp.y (operator) <OPERATOR DELETE>
- (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
- * cp-name-parser.y (fill_comp, make_operator, make_dtor)
- (make_builtin_type, make_name): New variable i, add gdb_assert.
- (operator) <OPERATOR NEW>: Update ARGS to 3.
- (operator) <OPERATOR DELETE>: Add trailing space.
- (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
- (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
- * cp-support.c (cp_canonicalize_string): Check NULL from
- cp_comp_to_string, call warning and return.
-
-2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix duplicate .o files after omitting libbfd.a.
- * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
- (SFILES): Add corelow.c.
- (COMMON_OBS): Add corelow.o.
- (ALLDEPFILES): Remove corelow.c.
- * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
- * config/alpha/alpha-osf3.mh: Likewise.
- * config/alpha/fbsd.mh: Likewise.
- * config/arm/nbsdaout.mh: Likewise.
- * config/arm/nbsdelf.mh: Likewise.
- * config/i386/i386gnu.mh: Likewise.
- * config/ia64/hpux.mh: Likewise.
- * config/ia64/linux.mh: Likewise.
- * config/m32r/linux.mh: Likewise.
- * config/m68k/linux.mh: Likewise.
- * config/mips/irix5.mh: Likewise.
- * config/mips/irix6.mh: Likewise.
- * config/pa/hpux.mh: Likewise.
- * config/pa/linux.mh: Likewise.
- * config/powerpc/aix.mh: Likewise.
- * config/sparc/linux.mh: Likewise.
- * config/sparc/linux64.mh: Likewise.
- * config/sparc/sol2.mh: Likewise.
- * config/vax/vax.mh: Likewise.
- * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
- (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
- (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
- (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
- (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
- (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
- (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
- (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
- (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
- (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
- (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
- (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
- (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
- (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
- (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
- (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
- (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
- (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
- (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
- (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
- (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
- (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
- corelow.o from gdb_target_obs.
- * corefile.c (core_target): Update the comment on NULL value.
- (core_file_command): Replace error by gdb_assert on CORE_TARGET.
- * corelow.c (sniff_core_bfd): Call error instead of warning on zero
- MATCHES. Drop YUMMY set on NULL.
- (core_close): Do not call exit_inferior_silent on zero PID. Do not
- reclaim CORE_DATA if it is already NULL.
-
-2012-01-09 Doug Evans <dje@google.com>
-
- * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
- * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
-
-2012-01-09 Keith Seitz <keiths@redhat.com>
-
- * breakpoint.c (wrapper.h): Don't include.
-
-2012-01-09 Keith Seitz <keiths@redhat.com>
-
- * Makefile.in (SFILES): Remove wrapper.c.
- (HFILES_NO_SRCDIR): Remove wrapper.h.
- (COMMON_OBS): Remove wrapper.o.
- * cli/cli-interp.c: Don't inlude wrapper.h.
- * corelow.c: Likewise.
- (core_open): Replace gdb_target_find_new_threads with
- TRY_CATCH around target_find_new_threads.
- * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
- * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
- * varobj.c (varobj_create): Likewise for parse_exp_1 and
- evaluate_expression.
- (varobj_set_value): Likewise for evaluate_expression and
- value_assign.
- (install_new_variable): Likewise for value_fetch_lazy.
- (adjust_value_for_child_access): Likewise for value_ind.
- (c_describe_child): Likewise for value_subscript and
- value_ind.
- (c_value_of_root): Likewise for evaluate_expression.
- * wrapper.c: Remove.
- * wrapper.h: Remove.
-
-2012-01-09 Doug Evans <dje@google.com>
-
- * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
- partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
- "abfd" args with "section". All callers updated.
- Error checking code moved ...
- (error_check_comp_unit_head): ... here. New function.
- (read_and_check_type_unit_head): Renamed from read_type_unit_head.
- Delete arg "abfd". New arg "type_offset". All callers updated.
- (create_debug_types_hash_table): Simplify by using
- read_and_check_type_unit_head.
-
- * parser-defs.h (namecopy): Delete.
- * parse.c (namecopy, namecopy_size): Move into copy_name.
-
-2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Partially fix duplicate .o files after omitting libbfd.a.
- * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
- * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
- * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
- * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
- * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
- * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
- * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
-
-2012-01-09 Pedro Alves <palves@redhat.com>
-
- * MAINTAINERS: Update my email address.
-
-2012-01-08 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
- n_type_units. Rename type_comp_units to all_type_units.
- All uses updated.
- (add_signatured_type_cu_to_table): Renamed from
- add_signatured_type_cu_to_list. All callers updated.
+2013-01-16 Doug Evans <dje@google.com>
- * gdbtypes.h (struct cplus_struct_type): Delete member
- nfn_fields_total. All uses removed.
+ * contrib/cc-with-tweaks.sh: Add references to Fission docs.
-2012-01-06 Doug Evans <dje@google.com>
+2013-01-16 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tromey@redhat.com>
- * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
- to top of file.
- (dwarf2_find_comp_unit): Delete.
- (process_psymtab_comp_unit): Make result "void".
- Delete args buffer, info_ptr, buffer_size, and replace with
- "section". All callers updated.
- (dwarf2_build_psymtabs_hard): Simplify.
+ PR cli/7221:
+ * NEWS: Add "catch signal".
+ * breakpoint.c (base_breakpoint_ops): No longer static.
+ (bpstat_explains_signal): New function.
+ (init_catchpoint): No longer static.
+ (base_breakpoint_explains_signal): New function.
+ (base_breakpoint_ops): Initialize new field.
+ * breakpoint.h (enum bpstat_signal_value): New.
+ (struct breakpoint_ops) <explains_signal>: New field.
+ (bpstat_explains_signal): Remove macro, declare as function.
+ (base_breakpoint_ops, init_catchpoint): Declare.
+ * break-catch-sig.c: New file.
+ * inferior.h (signal_catch_update): Declare.
+ * infrun.c (signal_catch): New global.
+ (handle_syscall_event): Update for change to
+ bpstat_explains_signal.
+ (handle_inferior_event): Likewise. Always handle random signals
+ via bpstats.
+ (signal_cache_update): Check signal_catch.
+ (signal_catch_update): New function.
+ (_initialize_infrun): Initialize signal_catch.
+ * Makefile.in (SFILES): Add break-catch-sig.c.
+ (COMMON_OBS): Add break-catch-sig.o.
+
+2013-01-16 Tom Tromey <tromey@redhat.com>
+
+ * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
+ (print_one_catch_solib, print_one_catch_syscall)
+ (print_one_catch_exec, print_one_exception_catchpoint): Emit
+ "catch-type".
+
+2013-01-16 Yao Qi <yao@codesourcery.com>
+
+ * printcmd.c (current_display_number): Make it static.
+
+2013-01-16 Yao Qi <yao@codesourcery.com>
+
+ * infcmd.c (step_once): Don't check '!single_inst' as it was
+ checked before.
+
+2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
+
+2013-01-14 Tom Tromey <tromey@redhat.com>
+
+ * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
+ set command.
+ * command.h (add_setshow_string_noescape_cmd): Update.
+ * corefile.c (set_gnutarget_command): Remove trailing whitespace.
+ (complete_set_gnutarget): New function.
+ (_initialize_core): Set the "set gnutarget" completer.
+
+2013-01-14 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/14442:
+ * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
+ (c_type_print_modifier): Likewise.
+ * dwarf2read.c (read_tag_restrict_type): New function.
+ (read_type_die_1): Handle DW_TAG_restrict_type.
+ * gdbtypes.c (make_restrict_type): New function.
+ (recursive_dump_type): Handle TYPE_RESTRICT.
+ * gdbtypes.h (enum type_flag_values): Renumber.
+ (enum type_instance_flag_value): Add
+ TYPE_INSTANCE_FLAG_RESTRICT.
+ (TYPE_RESTRICT): New macro.
+ (make_restrict_type): Declare.
+
+2013-01-14 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/14931:
+ * psymtab.c (struct psymtab_state): New.
+ (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
+ functions.
+ * psympriv.h (make_cleanup_discard_psymtabs): Declare.
+ * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
-2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
- Thiago Jung Bauermann <bauerman@br.ibm.com>
+2013-01-14 Richard Sharman <richard_sharman@mitel.com>
+ Pedro Alves <palves@redhat.com>
- * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
- before `struct gdb_exception'.
- * breakpoint.c (update_global_location_list_nothrow)
- (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
- * cp-abi.c (value_rtti_type): Likewise.
- * cp-support.c (cp_validate_operator): Likewise.
- * infrun.c (insert_exception_resume_breakpoint)
- (check_exception_resume, keep_going): Likewise.
- * mi-interp.c (mi_breakpoint_created)
- (mi_breakpoint_modified): Likewise.
- * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
- * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
- (ia64_hpux_handle_dld_breakpoint_1): Likewise.
+ PR remote/14786
-2012-01-05 Doug Evans <dje@google.com>
+ * remote.c (remote_threads_info): Make a copy of the reply from
+ qfThreadInfo and use that instead of rs->buf.
- * dwarf2read.c (statement_prologue): Delete, unused.
+2013-01-14 Yao Qi <yao@codesourcery.com>
- * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
- * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
+ * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
+ (dbx_psymtab_to_symtab): Likewise.
+ * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
+ * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
+ * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
- * dwarf2read.c (comp_unit_header): Delete, unused.
+2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
+ * parse.c (parse_exp_in_context): New variable inner_chain. Call
+ make_cleanup_restore_current_language. Call set_language. Move
+ OLD_CHAIN and INNER_CHAIN cleanups.
+ * utils.c (do_restore_current_language)
+ (make_cleanup_restore_current_language): New functions.
+ * utils.h (make_cleanup_restore_current_language): New declaration.
- * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
- * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
+2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
+ * source.c (symtab_to_fullname): Apply rewrite_source_path also for
+ non-existing files.
- * infrun.c (normal_stop): Don't skip calling the normal_stop
- observers if the thread was doing a multi-step, but stopped for
- some reason other than stepping.
+ * source.c (symtab_to_fullname): Do not prepend DIRNAME for
+ non-existing files if FILENAME is already absolute.
-2012-01-05 Pedro Alves <alves.ped@gmail.com>
+2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
- * cli/cli-decode.h: Add comments.
- (CMD_LIST_AMBIGUOUS): Moved to command.h
- (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
- (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
- (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
- (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
- (add_com, add_com_alias, add_info, add_info_alias)
- (complete_on_cmdlist, complete_on_enum, help_list): Remove
- declarations.
- * command.h: Add and adjust comments.
- (CMD_LIST_AMBIGUOUS): Moved here.
- (help_cmd, help_cmd_list): Delete declarations.
+ * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
+ fputs_filtered. Append trailing newline.
-2012-01-04 Doug Evans <dje@google.com>
+2013-01-11 Yao Qi <yao@codesourcery.com>
+ Stan Shebs <stan@codesourcery.com>
- * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
- All callers updated.
- (load_full_type_unit): Renamed from read_signatured_type_at_offset.
- Replace all arguments with "per_cu". All callers updated.
+ * psymtab.c (init_psymbol_list): Clarify the comment.
- * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
+2013-01-11 Yao Qi <yao@codesourcery.com>
- * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
- New arg "per_cu". All callers updated.
+ * breakpoint.c (print_one_breakpoint_location): Remove dead code.
+ (update_dprintf_command_list): Assert that 'printf_line' is
+ non-null. Remove condition check.
- Delete #if 0'd out code.
- * language.c (binop_result_type): Delete.
- (simple_type, ordered_type, same_type, integral_type): Delete.
- (numeric_type, character_type, string_type, boolean_type): Delete.
- (float_type, structured_type): Delete.
- * language.h: Update.
+2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
-2012-01-04 Tom Tromey <tromey@redhat.com>
+ Code cleanup.
+ * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
+ type const char *.
+ * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
+ const char *.
+ * tui/tui-source.h (tui_source_is_displayed): Likewise.
- * python/py-value.c (valpy_binop): Initialize 'res_val'.
+2013-01-09 Anthony Green <green@moxielogic.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * cp-abi.c (cplus_print_vtable): Don't return value from void
+ function.
+ * ada-lang.c (re_set_catch_assert): Ditto.
- * corefile.c (close_exec_file): Delete.
- (reopen_exec_file): Remove commented out code that seems related
- to close_exec_file, which is being deleted here.
- * inferior.h (close_exec_file): Delete.
- * fork-child.c (fork_inferior): Remove call to fork_inferior.
+2013-01-09 Doug Evans <dje@google.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * symfile.h (quick_symbol_functions): Delete member
+ pre_expand_symtabs_matching. All uses removed.
+ * dwarf2read.c (dw2_lookup_symbol): Implement.
+ (dw2_do_expand_symtabs_matching): Delete.
+ (dw2_pre_expand_symtabs_matching): Delete.
+ (struct dw2_symtab_iterator): New type.
+ (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
+ (dw2_expand_symtabs_for_function): Rewrite.
+ (dwarf2_gdb_index_functions): Update.
+ * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
+ (psym_functions): Update.
- * ada-lang.c: #include "cli/cli-utils.h".
- (get_selections): Use skip_spaces.
- (ada_get_next_arg): Use skip_spaces and skip_to_space.
- (catch_ada_exception_command_split): Use skip_spaces.
- (ada_decode_assert_location): Likewise.
+2013-01-09 Tom Tromey <tromey@redhat.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
+ * configure: Rebuild.
+ * configure.ac: Add somread.o to the build if BFD has SOM
+ support.
+ * somread.c: Include som/aout.h, not syms.h.
+ (som_symtab_read): Use som_external_symbol_dictionary_record.
+ Unpack records manually.
+ (_initialize_somread): Declare.
- * linespec.c (decode_line_internal): Check for C++ or Java
- compound constructs only if the current language is C, C++
- or Java.
+2012-01-08 Mike Frysinger <vapier@gentoo.org>
-2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
+ Cast return_address to 64bits.
- Revert:
- 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
- Joel Brobecker <brobecker@adacore.com>
- Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
- * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
- 3 times.
- * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
- fall through into AT_ENTRY_POINT.
- (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
- DUMMY_ADDR with it.
- * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
- PPC_INSN_SIZE skip to 3 times.
+2013-01-08 Hui Zhu <hui_zhu@mentor.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * printcmd.c: Remove define of function output_command.
+ * tracepoint.c: Remove extern of function output_command.
+ * valprint.h: (output_command): New extern.
- * linespec.c (add_minsym): Preserve function descriptors.
+2013-01-07 Tom Tromey <tromey@redhat.com>
-2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
+ * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
+ Remove.
+ (objc_language_defn): Use c_printchar, c_printstr,
+ c_emit_char.
- * breakpoint.c (all_locations_are_pending): Consider locations
- in program spaces executing during startup pending as well.
+2013-01-07 Tom Tromey <tromey@redhat.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ PR cli/7719:
+ * NEWS: Update.
+ * ada-valprint.c (printstr, print_field_values): Remove
+ "inspect_it" code.
+ * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
+ code.
+ * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
+ code.
+ * m2-lang.c (m2_printstr): Remove "inspect_it" code.
+ * main.c (captured_main): Remove "epoch" argument.
+ * objc-lang.c (objc_printstr): Remove "inspect_it" code.
+ * p-lang.c (pascal_printstr): Remove "inspect_it" code.
+ * p-valprint.c (pascal_object_print_value_fields): Remove
+ "inspect_it" code.
+ * printcmd.c (print_command_1): Remove 'inspect' argument.
+ (print_command, call_command): Update.
+ (inspect_command): Remove.
+ (_initialize_printcmd): Make "inspect" an alias for "print".
+ * top.c (epoch_interface): Remove.
+ * top.h (epoch_interface): Remove.
+ * valprint.c (user_print_options): Update.
+ (print_converted_chars_to_obstack): Remove "inspect_it" code.
+ * valprint.h (struct value_print_options) <inspect_it>: Remove
+ field.
- Copyright year update in most files of the GDB Project.
+2013-01-04 Tom Tromey <tromey@redhat.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * valprint.h (read_string): Add 'extern'.
- * copyright.sh: Delete.
- * copyright.py: Rewrite.
+2013-01-07 Joel Brobecker <brobecker@adacore.com>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
+ used to decide whether to define darwin_read_dyld_info or not.
- * gnulib/extra/update-copyright: New file, imported from gnulib.
+2013-01-03 Pierre Muller <muller@sourceware.org>
-2012-01-04 Joel Brobecker <brobecker@adacore.com>
+ * main.c (relocate_gdb_directory): Avoid calling stat function
+ if DIR is empty.
- * README (Copyright and License Notices): New section.
+2013-01-03 Yao Qi <yao@codesourcery.com>
-2012-01-03 Tom Tromey <tromey@redhat.com>
+ * psymtab.c (fixup_psymbol_section): Update declaration.
+ (fixup_psymbol_section): Remove code returning value.
- PR python/12533:
- * python/py-value.c (valpy_dereference, valpy_get_address
- valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
- (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
- (valpy_absolute, valpy_richcompare): Free intermediate values.
+2013-01-03 Yao Qi <yao@codesourcery.com>
-2011-01-03 Joel Brobecker <brobecker@adacore.com>
+ * symtab.h: Remove some out of date comments.
+ (enum exception_event_kind): Move it ...
+ * breakpoint.c: ... here.
- * ada-lang.c: Reformat the copyright notice.
+2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+ PR gdb/14405
+ * darwin-nat.c (darwin_read_dyld_info): Only build if
+ TASK_DYLD_INFO_COUNT is defined.
+ (darwin_xfer_partial): Call darwin_read_dyld_info only if
+ TASK_DYLD_INFO_COUNT is defined.
- * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
- * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
- (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
- (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
- Revert this part of:
- 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
- Build gdb directly from *.o files not using libgdb.a.
- * Makefile.in (COMMON_OBS): Remove solib-target.o.
+2013-01-02 Tom Tromey <tromey@redhat.com>
-2012-01-02 Joel Brobecker <brobecker@adacore.com>
+ * symfile.h (struct ecoff_debug_hack): Remove.
+ * objfiles.c: Don't include mdebugread.h.
- * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
- gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
- Reformat the copyright header.
+2013-01-02 Tom Tromey <tromey@redhat.com>
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
+ * configure.ac: Check for Mach-O support in BFD. Update
+ CONFIG_OBS.
+ * configure: Rebuild.
- Revert this part of:
- 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
- Remove the gdbtui binary.
- * gdb.c (main): Remove args.interpreter_p initialization.
- * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
- * main.h (struct captured_main_args): Remove interpreter_p.
+2013-01-02 Tom Tromey <tromey@redhat.com>
-2012-01-02 Joel Brobecker <brobecker@adacore.com>
+ * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
+ * configure.ac: Use GDB_AC_CHECK_BFD.
+ * configure: Rebuild.
- * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
+2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
-2012-01-02 Joel Brobecker <brobecker@adacore.com>
+ * MAINTAINERS: Update my email.
- * top.c (print_gdb_version): Update copyright year.
+2013-01-01 Joel Brobecker <brobecker@adacore.com>
-2012-01-02 Yao Qi <yao@codesourcery.com>
+ * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
- * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
+2013-01-01 Joel Brobecker <brobecker@adacore.com>
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
- Joel Brobecker <brobecker@adacore.com>
+ * rs6000-nat.c (bss_data_overlap): New function.
+ (vmap_symtab): Use it to adjust the .bss section's offset.
- Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
- * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
- 3 times.
- * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
- fall through into AT_ENTRY_POINT.
- (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
- DUMMY_ADDR with it.
- * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
- PPC_INSN_SIZE skip to 3 times.
-
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * amd64-linux-nat.c (update_debug_registers_callback): New comment on
- the return value.
- * i386-linux-nat.c (update_debug_registers_callback): Likewise.
-
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Build gdb directly from *.o files not using libgdb.a.
- * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
- (COMMON_OBS): Remove solib-target.o.
- (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
- (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
- (LIBGDB_OBS, libgdb.a): Move it above.
- * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
- (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
- (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
- (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
- (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
- (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
- (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
- (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
- (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
- (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
- (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
- (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
- (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
- (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
- (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
- (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
- (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
- (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
- (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
- (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
- (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
- (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
- (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
- (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
- (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
- (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
- (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
-
-2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Remove the gdbtui binary.
- * .gitignore (/gdbtui): Remove.
- * Makefile.in (TUI): Remove.
- (SUBDIR_TUI_OBS): Remove tui-main.o.
- (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
- (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
- (tui-main.o): Remove.
- (all_object_files): Remove tui-main.o.
- * NEWS: New note for the gdbtui removal.
- * configure: Rebuilt.
- * configure.ac: No longer add all-tui, clean-tui, install-tui and
- uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
- CONFIG_UNINSTALL respectively.
- * gdb.c (main): Remove args.interpreter_p initialization.
- * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
- * main.h (struct captured_main_args): Remove interpreter_p.
- * tui/tui-main.c: Remove.
-
-2012-01-01 Doug Evans <dje@google.com>
-
- * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
- (dwarf2_physname, read_import_statement): Ditto.
- (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
- (process_structure_scope read_subroutine_type): Ditto.
- (read_typedef, load_partial_dies, read_partial_die): Ditto.
- (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
- (dwarf2_fetch_die_location_block): Ditto.
- (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
-
- * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
- All callers updated.
- (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
- (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
- (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
+2013-01-01 Joel Brobecker <brobecker@adacore.com>
- * dwarf2read.c (load_cu): Move assert to more useful location.
+ Update year range in copyright notice of all files.
- * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
- All callers updated.
+2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
- * dwarf2read.c (dwarf2_per_objfile): Add comment.
- (dwarf2_elf_names): Minor reformat.
- (dwarf2_per_cu_data): Tweak comment.
- (dwarf2_read_section): Fix comment.
- (create_all_comp_units): Fix comment.
- (load_full_comp_unit): Fix comment.
- (process_full_comp_unit): Fix comment.
- (read_signatured_type): Fix comment.
+ * top.c (print_gdb_version): Update copyright year.
-For older changes see ChangeLog-2011.
+For older changes see ChangeLog-2012.
Local Variables:
mode: change-log
« no previous file with comments | « gdb/CONTRIBUTE ('k') | gdb/ChangeLog-2009 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698