* cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
[binutils-gdb.git] / gdb / ChangeLog
index d9a2e456f5bc5b994218f4acf7171afbac24677d..a96fc8fc63c92e3b5e4b2dfad5a1f7374fc5b990 100644 (file)
@@ -1,3 +1,52 @@
+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.
+
+2013-01-14  Richard Sharman  <richard_sharman@mitel.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR remote/14786
+
+       * remote.c (remote_threads_info): Make a copy of the reply from
+       qfThreadInfo and use that instead of rs->buf.
+
+2013-01-14  Yao Qi  <yao@codesourcery.com>
+
+       * 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.
+
 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * parse.c (parse_exp_in_context): New variable inner_chain.  Call