+2011-09-02 Matt Rice <ratmice@gmail.com>
+
+ PR gdb/10720
+ * event-top.c (cli_command_loop): Replace readline setup with
+ direct call to display_gdb_prompt.
+ (display_gdb_prompt): Do not call observer mechanism during
+ synchronous execution.
+
+2011-09-02 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (in_pid_list_p): New.
+ (linux_record_stopped_pid): Delete.
+ (lin_lwp_attach_lwp): Check if PTRACE_ATTACH failed because we're
+ already attached to the LWP. Return an indication if so.
+ (linux_nat_filter_event): Adjust.
+ * linux-thread-db.c (attach_thread): Handle lin_lwp_attach_lwp
+ returning an indication to ignore this thread.
+
+2011-09-02 Pedro Alves <pedro@codesourcery.com>
+
+ * top.c: Include interps.h.
+ (execute_command): If the target can async, but the interpreter is
+ in sync mode, synchronously wait for the command to finish before
+ returning.
+ (execute_command_to_string): Force the interpreter to sync mode.
+ * infrun.c: Include interps.h.
+ (fetch_inferior_event): Don't restore the prompt yet if the
+ interpreter is in sync mode.
+ * interps.c (interpreter_async): New global.
+ * interps.h (interpreter_async): Declare.
+ * inf-loop.c: Include interps.h.
+ (inferior_event_handler): Don't print the language change or run
+ breakpoint commands yet if the interpreter in is sync mode.
+ * main.c (captured_command_loop): Flip the interpreter to async
+ mode.
+ * cli/cli-script.c: Include interps.h.
+ (execute_user_command, while_command, if_command): Force the
+ interpreter to sync mode.
+ * python/python.c: Include interps.h.
+ (python_command, execute_gdb_command): Force the interpreter to
+ sync mode.
+
+2011-09-02 Pedro Alves <pedro@codesourcery.com>
+
+ * value.c (show_convenience): Catch errors thrown while printing
+ each internal variable.
+ * infrun.c (validate_siginfo_access): New function.
+ (siginfo_value_read, siginfo_value_write): Call it.
+
+2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Revert:
+ 2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
+ * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter
+ attribute.
+
+2011-08-29 Yao Qi <yao@codesourcery.com>
+
+ * solib-dsbt.c (bfd_lookup_symbol): Removed.
+ (cmp_name): New.
+ (enable_break2): Update caller.
+ * solib-frv.c (bfd_lookup_symbol): Removed.
+ (cmp_name): New.
+ (enable_break2): Update caller.
+ * solib-pa64.c (bfd_lookup_symbol): Removed.
+ (cmp_name): New.
+ * solib-svr4.c (bfd_lookup_symbol): Removed.
+ (cmp_name_and_sec_flags): New.
+ (enable_break): Update caller.
+ * solib.c (gdb_bfd_lookup_symbol_from_symtab): New.
+ (gdb_bfd_lookup_symbol_from_dyn_symtab): New.
+ (gdb_bfd_lookup_symbol): New.
+ * solib.h: Functions declarations.
+
+2011-08-29 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add tic6x-tdep.o tic6x-linux-tdep.o
+ and solib-dsbt.o.
+
+2011-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix TUI stepi on code without symbols.
+ * tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for
+ current PC instead.
+
+2011-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization
+ and the static keyword.
+ * mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put):
+ Make prefix an array.
+ * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
+ * mi/mi-main.c (get_register): Remove stb initialization and the static
+ keyword.
+
+2011-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup - make mi_opt const.
+ * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make
+ opts const.
+ * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
+ * mi/mi-cmd-env.c (mi_cmd_env_path): Likewise.
+ (mi_cmd_env_dir): Likewise.
+ * mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise.
+ (mi_cmd_target_file_put): Likewise.
+ * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
+ * mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise.
+ * mi/mi-getopt.c (mi_getopt): Make opts and opt const.
+ (mi_valid_noargs): Make opts const.
+ * mi/mi-getopt.h (mi_getopt): Make opts and opt const.
+ * mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const.
+ (mi_cmd_data_read_memory): Likewise.
+ (mi_cmd_data_read_memory_bytes): Likewise.
+ (mi_cmd_data_write_memory): Likewise.
+
+2011-08-26 Matt Rice <ratmice@gmail.com>
+
+ * solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to
+ bcache_xmalloc, replace bcache_xmalloc with call to
+ psymbol_bcache_init for psymbol_cache.
+ * symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc.
+
+2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * inf-loop.c (inferior_event_handler): Add exception_print in
+ INF_EXEC_COMPLETE.
+
+2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call
+ make_bpstat_clear_actions_cleanup and discard_cleanups for it.
+ * defs.h (make_bpstat_clear_actions_cleanup): New declaration.
+ * exceptions.c (throw_exception): Remove the bpstat_clear_actions call.
+ * inf-loop.c (inferior_event_handler): New variable cleanup_if_error,
+ call make_bpstat_clear_actions_cleanup and discard_cleanups for it.
+ Call bpstat_clear_actions for failed fetch_inferior_event_wrapper.
+ * infrun.c (fetch_inferior_event): Call
+ make_bpstat_clear_actions_cleanup.
+ * top.c (execute_command): New variable cleanup_if_error, call
+ make_bpstat_clear_actions_cleanup and discard_cleanups for it.
+ * utils.c (do_bpstat_clear_actions_cleanup)
+ (make_bpstat_clear_actions_cleanup): New functions.
+
+2011-08-26 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on
+ either the parent or the child forks. Rename a couple locals.
+
+2011-08-26 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a
+ library call. Avoid reading the `status' local if all waitpid
+ calls failed.
+
+2011-08-26 Pedro Alves <pedro@codesourcery.com>
+
+ * common/linux-osdata.c (get_cores_used_by_process): Don't assume
+ opening /proc/PID/task always succeeds.
+
+2011-08-26 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * linespec.c (symtab_from_filename): Check for the end of string.
+
+2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ PR mi/11912
+ * varobj.c (cplus_describe_child): Add the keyword
+ 'class' to the output of the method when dealing
+ with a cast to a base class.
+
+2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ No functionality change.
+ * breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make
+ function comment a reference, new variables tp and bs, move here code
+ from throw_exception.
+ * breakpoint.h (bpstat_clear_actions): Remove the BS parameter,
+ describe it in the comment.
+ * exceptions.c (throw_exception): Remove variable tp, move the code for
+ bpstat_clear_actions to bpstat_clear_actions.
+
+2011-08-24 Luis Machado <lgustavo@codesourcery.com>
+
+ * linux-nat.h (linux_proc_get_tgid): Remove declaration.
+ * linux-nat.c: Include linux-procfs.h.
+ (linux_proc_get_tgid): Move to ...
+ * common/linux-procfs.c: ... here. New file.
+ * common/linux-procfs.h: New file.
+ * linux-thread-db.c: Include linux-procfs.h.
+ * Makefile.in: Update dependencies.
+ * config/alpha/alpha-linux.mh: Add linux-procfs.o dependency.
+ * 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/pa/linux.mh: Likewise.
+ * config/powerpc/linux.mh: Likewise.
+ * config/powerpc/ppc64-linux.mh: Likewise.
+ * config/powerpc/spu-linux.mh: Likewise.
+ * config/sparc/linux.mh: Likewise.
+ * config/sparc/linux64.mh: Likewise.
+ * config/xtensa/linux.mh: Likewise.
+
+2011-08-24 Hui Zhu <teawater@gmail.com>
+
+ * tracepoint.c (cond_string_is_same): New function.
+ (find_matching_tracepoint): Add condition check
+ by cond_string_is_same.
+
+2011-08-23 Josh Matthews <josh@joshmatthews.net>
+
+ Fix build error in Darwin port.
+ * darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.
+
+2011-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left.
+ (command_line_is_silent): New function.
+ (bpstat_do_actions_1): No longer use commands_left, use
+ command_line_is_silent for commands.
+ (bpstat_alloc): Remove clearing of commands_left.
+ (bpstat_stop_status): Remove initialization of commands_left, use
+ command_line_is_silent.
+ * breakpoint.h (struct bpstats): Remove commands_left.
+
+2011-08-18 Keith Seitz <keiths@redhat.com>
+
+ PR c++/12266
+ * cp-name-parser.y (struct demangle_info): Remove unused
+ member PREV.
+ (d_grab): Likewise.
+ (allocate_info): Change return type to struct demangle_info *.
+ Always allocate a new demangle_info.
+ Remove unused PREV pointer.
+ (cp_new_demangle_parse_info): New function.
+ (cp_demangled_name_parse_free): New function.
+ (do_demangled_name_parse_free_cleanup): New function.
+ (make_cleanup_cp_demangled_name_parse_free): New function.
+ (cp_demangled_name_to_comp): Change return type to
+ struct demangle_parse_info *.
+ Allocate a new storage for each call.
+ (main): Update usage for cp_demangled_name_to_comp
+ API change.
+ * cp-support.h (struct demangle_parse_info): New structure.
+ (cp_demangled_name_to_comp): Update API change for
+ return type.
+ (cp_new_demangle_parse_info): Declare.
+ (make_cleanup_cp_demangled_name_parse_free): New declaration.
+ (cp_demangled_name_parse_free): Declare.
+ * cp-support.c (cp_canonicalize_string): Update API
+ change for cp_demangled_name_to_comp.
+ (mangled_name_to_comp): Likewise.
+ Return struct demangle_parse_info, too.
+ (cp_class_name_from_physname): Update mangled_name_to_comp
+ API change.
+ (method_name_from_physname): Likewise.
+ (cp_func_name): Update API change for cp_demangled_name_to_comp.
+ (cp_remove_params): Likewise.
+ * python/py-type.c (typy_legacy_template_argument): Likewise.
+
+ * cp-support.h (cp_canonicalize_string_no_typedefs): Declare.
+ (cp_merge_demangle_parse_infos): Declare.
+ * cp-support.c (ignore_typedefs): New file global.
+ (copy_string_to_obstack): New function.
+ (inspect_type): New function.
+ (replace_typedefs): New function.
+ (replace_typedefs_qualified_name): New function.
+ (cp_canonicalize_string_no_typedefs): New function.
+ * cp-name-parser.y (cp_merge_demangle_parse_infos): New function.
+ (cp_new_demangle__parse_info): Allocate and initialize the obstack.
+ * linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs
+ instead of cp_canonicalize_string.
+ (find_method): Likewise.
+ (decode_compound): Before looking up the name, call
+ cp_canonicalize_string_no_typedefs.
+ (decode_variable): Likewise.
+
+2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+ Matt Rice <ratmice@gmail.com>
+
+ * python/lib/gdb/prompt.py: New file.
+ * python/lib/gdb/command/prompt.py: New file.
+ * NEWS: Document set extended-prompt and gdb.prompt library
+
2011-08-16 Yao Qi <yao@codesourcery.com>
* tic6x-linux-tdep.c: Move const arrays definition from here...
* features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated.
* features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated.
* regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated.
- * regformats/tic6x-c64xp.dat, regformats/tic6x-c62x-linux.dat: Generated.
- * regformats/tic6x-c64x-linux.dat, regformats/tic6x-c64xp-linux.dat: Generated.
+ * regformats/tic6x-c64xp.dat,
+ regformats/tic6x-c62x-linux.dat: Generated.
+ * regformats/tic6x-c64x-linux.dat,
+ regformats/tic6x-c64xp-linux.dat: Generated.
* config/djgpp/fnchange.lst: Add features/tic6x-*.xml and
features/tic6x-*.c files.
Add regformats/tic6x-*.dat files.