gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2639cc5ccad2d94a98b084ec898f134028e05df3..cd282322235cf740b5a1cdd904cab023e6c0da4a 100644 (file)
@@ -1,3 +1,148 @@
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (discard_pending_stop_replies): Update declaration.
+       (remote_detach_1, extended_remote_mourn_1): Likewise.
+       (discard_pending_stop_replies): Change parameter from PID to
+       INF.
+       (remote_close): Update caller.
+       (_initialize_remote): Attach discard_pending_stop_replies to
+       inferior_exit observer.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (getpkt_or_notif_sane): Add one more argument in
+       its declaration.
+       (getpkt_or_notif_sane_1): Add one more argument.
+       (getpkt_sane): Update caller.
+       (getpkt_or_notif_sane): Likewise.  Update call
+       togetpkt_or_notif_sane_1.
+       (remote_wait_ns): Update caller.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+           Doug Evans  <dje@google.com>
+
+       * common/queue.h: New.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (print_one_breakpoint_location): Display the
+       state of 'installed' of each non-pending location of a tracepoint
+       in both CLI and MI.
+       (download_tracepoint_locations): Notify 'breakpoint-modified'
+       observer if any tracepoint location is downloaded.
+       * tracepoint.c (start_tracing): Likewise.
+       (merge_uploaded_tracepoints): Record all modified
+       tracepoints and notify 'breakpoint-modified' observer for them.
+
+       * NEWS: Mention the change for CLI and MI.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (download_tracepoint_locations): Iterate over
+       ALL_TRACEPOINTS first and then iterate over locations of
+       each tracepoint.
+
+2012-12-14  Pierre Muller  <muller@sourceware.org>
+           Pedro Alves  <palves@redhat.com>
+
+       * solib-target.c (solib_target_current_sos): Remove 'const'
+       qualifier from type of library_document local variable to be
+       able to free it and avoid a memory leak.
+       Use cleanup chain to avoid leak even if exceptino is generated.
+
+2012-12-14  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/8888:
+       * symtab.c (lookup_symbol_aux): If constructor is found, consider
+       returning the type instead.
+       * c-exp.y (classify_name): Check STRUCT_DOMAIN if a constructor is
+       found.
+
+2012-12-14  Tom Tromey  <tromey@redhat.com>
+
+       Partial fix for PR c++/14160:
+       * c-typeprint.c (c_type_print_base): Use TYPE_FN_FIELD_CONSTRUCTOR.
+       * dwarf2read.c (dwarf2_is_constructor): New function.
+       (dwarf2_add_member_fn): Use it.
+       * gnu-v3-abi.c (gnuv3_pass_by_reference): Use
+       TYPE_FN_FIELD_CONSTRUCTOR.
+       * jv-typeprint.c (java_type_print_base): Use
+       TYPE_FN_FIELD_CONSTRUCTOR.
+       * gdbtypes.h (struct fn_field) <is_constructor>: New field.
+       <dummy>: Shrink.
+       (TYPE_FN_FIELD_CONSTRUCTOR): New macro.
+
+2012-12-14  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (block, variable, name_not_typename, lex_one_token,
+       classify_name): Update.
+       * c-valprint.c (c_val_print): Update.
+       * f-exp.y (yylex): Update.
+       * go-exp.y (package_name_p, classify_packaged_name)
+       (classify_name): Update.
+       * jv-exp.y (push_variable): Update.
+       * m2-exp.y (variable): Update.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Update.
+       * p-exp.y (block, variable, yylex): Update.
+       * p-valprint.c (pascal_val_print): Update.
+       * parse.c (write_dollar_variable): Update.
+       * printcmd.c (address_info): Update.
+       * python/py-symbol.c (gdbpy_lookup_symbol): Update.
+       * symtab.c (lookup_symbol_aux, lookup_symbol_in_language)
+       (lookup_symbol): Change type of 'is_a_field_of_this'.
+       (check_field): Add 'is_a_field_of_this' argument.
+       * symtab.h (struct field_of_this_result): New.
+       (lookup_symbol, lookup_symbol_in_language): Update.
+
+2012-12-14  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (check_field): Now static.  Move from...
+       * valops.c (check_field): ... here.  Remove.
+       * value.h (check_field): Don't declare.
+
+2012-12-14  Tom Tromey  <tromey@redhat.com>
+
+        * NEWS: Mention "info proc" and core files.
+        * corelow.c (core_info_proc): New function.
+        (init_core_ops): Set to_info_proc.
+        * gdbarch.c, gdbarch.h: Rebuild.
+        * gdbarch.sh (core_info_proc): New method.
+        * infcmd.c (info_proc_cmd_1): Invoke target_info_proc first.
+        * linux-tdep.c (linux_core_info_proc_mappings)
+        (linux_core_info_proc): New functions.
+        (linux_find_memory_region_ftype): New typedef.
+        (linux_find_memory_regions_full): New function, from
+        linux_find_memory_regions.
+        (struct linux_find_memory_regions_data): New.
+        (linux_find_memory_regions_thunk): New function.
+        (linux_find_memory_regions): Rewrite.
+        (struct linux_make_mappings_data): New.
+        (linux_make_mappings_callback)
+        (linux_make_mappings_corefile_notes): New functions.
+        (linux_make_corefile_notes): Call linux_make_mappings_corefile_notes.
+        (linux_init_abi): Call set_gdbarch_core_info_proc.
+        * target.c (target_info_proc): Return 'int'.
+        * target.h (target_info_proc): Update.
+
+2012-12-14  Pierre Muller  <muller@sourceware.org>
+
+       * windows-nat.c (windows_xfer_shared_libraries): Avoid
+       memory leak when OFFSET >= LEN_AVAIL.
+
+2012-12-13  Tom Tromey  <tromey@redhat.com>
+
+       * solib-svr4.c (enable_break): Use SECT_OFF_TEXT.
+
+2012-12-13  Tom Tromey  <tromey@redhat.com>
+
+       * acinclude.m4 (CY_AC_C_WORKS): Remove.
+
+2012-12-13  Pierre Muller  <muller@sourceware.org>
+
+       * coff-pe-read.c (pe_text_section_offset): Increase size of sname
+       local variable and zero terminate it to avoid possible problems
+       in strcmp.
+
 2012-12-13  Pedro Alves  <palves@redhat.com>
 
        * coff-pe-read.c: Include coff/internal.h.
This page took 0.02611 seconds and 4 git commands to generate.