PR c++/12266
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0fb109b986bd375662ad3dd48d0385b1c907c15c..f6d8a1729dcc307ea13026d8fe328d7190435206 100644 (file)
@@ -1,3 +1,229 @@
+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...
+       * tic6x-tdep.c: to here ...
+
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+       * NEWS: New port to Texas Instruments TMS320C6x.
+
+2011-08-14  Andrew Jenner  <andrew@codesourcery.com>
+           Bernd Schmidt  <bernds@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * configure.tgt: Handle tic6x-*-*linux and tic6x-*-*.
+       * solib-dsbt.c: New file.  Support DSBT shared object.
+       * tic6x-linux-tdep.c: New file.
+       * tic6x-tdep.c: New file.
+       * tic6x-tdep.h: New file.
+
+2011-08-14  Andrew Stubbs <ams@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (PACKET_qXfer_fdpic): New enum value.
+       (remote_protocol_features): Add qXfer:fdpic:read packet.
+       (remote_xfer_partial): Support TARGET_OBJECT_FDPIC.
+       (_initialize_remote): Add set/show remote read-fdpic-loadmap command.
+       * target.h (enum target_object): Add TARGET_OBJECT_FDPIC.
+
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+       Target description for tic6x.
+       * features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x
+       tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux.
+       * features/tic6x-c6xp.xml, features/tic6x-core.xml: New.
+       * features/tic6x-gp.xml, features/tic6x-c62x.xml: New.
+       * features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New.
+       * features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New.
+       * features/tic6x-c64xp-linux.xml: New.
+       * features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated.
+       * 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.
+       * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and
+       features/tic6x-*.c files.
+       Add regformats/tic6x-*.dat files.
+
+2011-08-12  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention new "type" attribute of python gdb.Symbol objects.
+       * python/py-symbol.c (sympy_get_type): New function.
+       (symbol_object_getset): Add "type".
+
+2011-08-12  Pedro Alves  <pedro@codesourcery.com>
+
+       PR tui/13073
+
+       * tui/tui-regs.c (tui_show_register_group): Skip registers with an
+       empty name.
+       (tui_show_register_group): Don't store a byte buffer in the data
+       element's value.
+       (tui_register_format): Skip registers with an empty name.
+       (tui_get_register): Store a struct value in the data element's
+       value field instead of a byte buffer holding the raw register
+       contents.  Account for optimized-out and unavailable registers
+       when comparing register contents.
+
+2011-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * printcmd.c (current_display_number): Update comment.
+       (disable_current_display_cleanup): Delete.
+       (do_one_display): Use make_cleanup_restore_integer.  Gracefully
+       catch errors thrown while evaluating and printing the display.
+
+2011-08-09  Tom Tromey  <tromey@redhat.com>
+
+       * mi/mi-cmd-break.c (mi_cmd_break_passcount): Fix typo.
+
+2011-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * elfread.c (elf_symtab_read): Rework comments.
+       * maint.c (maintenance_command): Ditto.
+       * somread.c (som_symtab_read): Ditto.
+       * solib.c (solib_find, solib_map_sections, update_solib_list)
+       (solib_add, info_sharedlibrary_command, solib_name_from_address)
+       (solib_create_inferior_hook, in_solib_dynsym_resolve_code)
+       (sharedlibrary_command, no_shared_libraries): Ditto.
+       * solib-irix.c (locate_base, disable_break, enable_break)
+       (irix_solib_create_inferior_hook, irix_solib_create_inferior_hook)
+       (irix_current_sos, irix_open_symbol_file_object)
+       (irix_special_symbol_handling): Ditto.
+       * solib-sunos.c (locate_base, first_link_map_member)
+       (sunos_current_sos, disable_break, enable_break)
+       (sunos_special_symbol_handling, sunos_solib_create_inferior_hook):
+       Ditto.
+       * solib-svr4.c (bfd_lookup_symbol, elf_locate_base, locate_base)
+       (open_symbol_file_object, svr4_current_sos, enable_break)
+       (svr4_special_symbol_handling, svr4_solib_create_inferior_hook):
+       Ditto.
+       * solib-frv.c (bfd_lookup_symbol, open_symbol_file_object)
+       (frv_current_sos, enable_break, frv_special_symbol_handling)
+       (frv_solib_create_inferior_hook): Ditto.
+       * solist.h (struct target_so_ops): Extend the comments of the
+       special_symbol_handling, current_sos and open_symbol_file_object
+       methods.
+
+2011-08-09  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/lib/gdb/__init__.py: Auto-load files in command and
+       function directories.
+       * python/python.c (finish_python_initialization): Use
+       os.path.join.
+       * python/lib/gdb/command/pretty_printers.py: Self register
+       command.
+       * NEWS: Document auto-loading.
+
+2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_STACK>
+       (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_LITERAL>: New variable
+       objfile_gdbarch.  Fix BFD_ENDIAN_BIG case.
+
+2011-08-08  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (clean_up_filters): Remove.
+       (catch_syscall_split_args): Use VEC_cleanup.
+
+2011-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cp-name-parser.y (xfree): Wrap the name free by CONCAT2.
+       (main): Uncomment "Demangling error\n".
+
+2011-08-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * solib-target.c (segment_attributes): Make them static.
+       (section_attributes, library_children, library_attributes): Likewise.
+       (library_list_children, library_list_attributes): Likesise.
+       (library_list_elements): Likewise.
+
+2011-08-05  Pedro Alves  <pedro@codesourcery.com>
+
+       * exceptions.c (throw_exception): Don't disable the current
+       display.
+       * printcmd.c (disable_current_display_cleanup): New function.
+       (do_one_display): Install a cleanup to disable the current display
+       if doing the display throws.
+
+2011-08-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the
+       initialization of the tp_new member to the corresponding
+       gdbpy_initialize_* function.
+       * python/py-cmd.c (gdbpy_initialize_commands): Likewise.
+       * python/py-frame.c (gdbpy_initialize_frames): Likewise.
+       * python/py-function.c (gdbpy_initialize_functions): Likewise.
+       * python/py-inferior.c (gdbpy_initialize_inferior): Likewise.
+       * python/py-param.c (gdbpy_initialize_parameters): Likewise.
+
+2011-08-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * spu-tdep.c (info_spu_event_command, info_spu_signal_command)
+       (info_spu_mailbox_list, info_spu_mailbox_command, info_spu_dma_cmdlist)
+       (info_spu_dma_command, info_spu_proxydma_command): Rename uiout
+       references to current_uiout.
+
 2011-08-04  Pedro Alves  <pedro@codesourcery.com>
 
        * event-loop.c (gdb_do_one_event): Remove `data' parameter.
This page took 0.02809 seconds and 4 git commands to generate.