gdb
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dfa62b6ba42597333599514d8ff01cb1f1d70405..dfbae8b08b1e11904f51e74d9975f0e31206c10e 100644 (file)
@@ -1,3 +1,319 @@
+2010-09-30  Tom Tromey  <tromey@redhat.com>
+
+       * completer.c (count_struct_fields): Handle anonymous structs and
+       unions.
+       (add_struct_fields): Likewise.
+
+2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix printing parameters of inlined functions.
+       * ada-lang.c (is_known_support_routine)
+       (ada_unhandled_exception_name_addr_from_raise): Provide NULL parameter
+       for find_frame_funname.
+       * python/py-frame.c (frapy_name): Likewise.
+       * stack.c (find_frame_funname): New parameter funcp.  Update the
+       function comment.  Fill it in.
+       (print_frame): New variable func.  Initialize it by
+       find_frame_funname.  Print arguments only if FUNC is not NULL.  Use
+       FUNC as the parameter of print_args_stub.
+       * stack.h (find_frame_funname): New parameter funcp.  Remove the
+       function declaration comment.
+
+2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR corefiles/12071.
+       * inferior.c (have_live_inferiors): New variables old_chain, inf and
+       tp.  Iterate INFERIOR_LIST and call target_has_execution.
+
+2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix GDB crash on inferior calls with self-referencing classes.
+       * gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static
+       member fields.
+
+2010-09-29  Doug Evans  <dje@google.com>
+
+       Workaround for gcc/45682.
+       * dwarf2read.c (partial_die_info): New fields fixup_called,
+       linkage_name.
+       (guess_partial_die_structure_name): Renamed from guess_structure_name.
+       Move definition next to use.  Use linkage_name to determine if class
+       is in a namespace.  All callers updated.
+       (fixup_partial_die): Return early if already called.
+       Set fixup_called when done.
+       (guess_full_die_structure_name): New function.
+       (determine_prefix): Call it for class/struct/union dies if c++ and
+       .debug_types section is present and parent is DW_TAG_compile_unit.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
+        (sparc-*-rtems*): Delete. Now redundant with sparc-*-*.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Announce Ravenscar Profile support.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+           Jerome Guitton  <guitton@adacore.com>
+
+       * ravenscar-thread.c, ravenscar-thread.h, ravenscar-sparc-thread.c:
+       New files.
+       * configure.tgt (sparc-*-*): Add ravenscar-thread.o and
+       ravenscar-sparc-thread.o to gdb_target_obs.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (iterate_over_live_ada_tasks): New function.
+       * ada-lang.h (iterate_over_live_ada_tasks): Declare.
+
+2010-09-27  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * amd64-windows-tdep.c (amd64_skip_main_prologue): New function.
+       (amd64_windows_init_abi): Register amd64_skip_main_prologue as gdbarch
+       skip_main_prologue method.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_read_index): Only allow version 3.
+       (write_psymbols): Add 'psyms_seen' and 'is_static' arguments.
+       Only emit a given psymbol once.
+       (struct signatured_type_index_data) <psyms_seen>: New field.
+       (write_one_signatured_type): Update.
+       (cleanup_htab): New function.
+       (write_psymtabs_to_index): Update.  Create psyms_seen hash.  Bump
+       version to 3.
+       (save_gdb_index_command): Update index documentation.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+       * bcache.c (expand_hash_table): Use hash_function, not hash.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+       * gdb_wchar.h: Change minimum libiconv to 0x108.
+
+2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix lost siginfo_t for inferior calls.
+       * infrun.c
+       (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New.
+       (save_inferior_thread_state): New variables regcache, gdbarch and
+       siginfo_data.  Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p.
+       Move INF_STATE allocation later, pre-clear it.  Initialize REGISTERS
+       using REGCACHE.
+       (restore_inferior_thread_state): New variables regcache and gdbarch.
+       Restore SIGINFO_DATA for matching GDBARCH.  Restore REGISTERS using
+       REGCACHE.  Free also SIGINFO_DATA.
+
+2010-09-24  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_expand_symtabs_matching): Add missing
+       MAYBE_SWAPs.
+       (dw2_map_symbol_names): Likewise.
+
+2010-09-24  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * valops.c (find_oload_champ_namespace_loop): replace incorrect
+       discard_cleanups do_cleanups.
+
+2010-09-24  Pedro Alves  <pedro@codesourcery.com>
+
+       PR gdb/11842
+
+       * amd64-linux-nat.c (compat_siginfo_from_siginfo)
+       (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
+       si_code is < 0.  Check for si_code == SI_TIMER before checking for
+       si_code < 0.
+
+2010-09-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop.
+
+2010-09-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (read_atcb): Do not compute the task ptid when
+       debugging a core file.
+
+2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * objfiles.c (allocate_objfile) <objfile->name != NULL>: Remove.
+       (free_objfile) <objfile->name != NULL>: Remove the conditional around
+       xfree.
+       * objfiles.h (struct objfile) <name>: New comment it is never NULL.
+       * python/py-auto-load.c (auto_load_new_objfile) <!objfile->name>:
+       Remove.
+       * python/py-objfile.c (objfpy_get_filename) <obj->objfile->name>
+       Remove the conditional.
+       * python/py-progspace.c (pspy_get_filename) <objfile->name>: Likewise.
+
+2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * main.c: Include objfiles.h.
+       (captured_main): New variable objfile.  Call
+       load_auto_scripts_for_objfile for ALL_OBJFILES.
+
+2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: Add also
+       DW_TAG_constant.
+
+2010-09-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (scan_partial_symbols): Add handling of
+       DW_TAG_constant DIEs.
+       (add_partial_symbol, load_partial_dies, new_symbol): Likewise.
+
+2010-09-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Add support for --enable-gdbserver.
+       * configure: Regenerate.
+
+2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR C++/12028
+       * valops.c (find_oload_champ_namespace_loop): removed incorrect
+       'old_cleanups' reassignment.
+
+2010-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * charset.c (wchar_iterate) <EILSEQ>: Return any possibly converted
+       characters.
+
+2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+       PR mi/11407
+       * mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from
+       read_var_value and common_val_print and print a warning.
+
+2010-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to
+       keep the list in alphabetical order.  Use longer e-mail address.
+
+2010-09-15  Tom Tromey  <tromey@redhat.com>
+
+       * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.
+
+2010-09-15  Tom Tromey  <tromey@redhat.com>
+
+       * charset.c (iconv_open): New define.
+       (iconv): Likewise.
+       (iconv_close): Likewise.
+       (phony_iconv_open): Add "phony_" prefix.
+       (phony_iconv_close): Likewise.
+       (phony_iconv): Likewise.
+       * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__.
+       Change how INTERMEDIATE_ENCODING is defined.
+
+2010-09-15  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (struct die_info): Fix comment.
+
+2010-09-15  Alan Modra  <amodra@gmail.com>
+
+       PR 4606
+       * gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather
+       than setting SEC_NEVER_LOAD on sections that need not be copied.
+
+2010-09-14  Tom Tromey  <tromey@redhat.com>
+
+       * psympriv.h (add_psymbol_to_list, init_psymbol_list)
+       (start_psymtab_common, allocate_psymtab, discard_psymtab):
+       Declare.
+       * symfile.h (extend_psymbol_list): Remove.
+       (add_psymbol_to_list, init_psymbol_list, start_psymtab_common)
+       (allocate_psymtab, discard_psymtab): Move to psympriv.h.
+       * psymtab.c (extend_psymbol_list): Move earlier.  Now static.
+
+2010-09-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
+       Update the comment.
+
+2010-09-14  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/8399:
+       * dwarf2loc.c (locexpr_describe_location_piece): Don't call error
+       for unrecognized frame base expression.
+
+2010-09-14  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/11803:
+       * value.c (value_static_field): Use value_of_variable.
+
+2010-09-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * m32r-rom.c: Replace winsock.h with winsock2.h header.
+       * remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
+
+2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR symtab/11992:
+       * c-exp.y (classify_name): Check is_a_member_of_this before returning
+       UNKNOWN_CPP_NAME.
+
+2010-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Add x86-lynxos to the list of platforms supported by
+       gdbserver.
+
+2010-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
+
+2010-09-13  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.
+
+2010-09-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-tdep.c (i386_ymm_type): Set type name to
+       builtin_type_vec256i.
+
+2010-09-12  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
+
+2010-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
+
+2010-09-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_register_name): Removed.
+       (amd64_init_abi): Don't call set_gdbarch_register_name.
+
+       * i386-tdep.c (i386_ymmh_regnum_p): Make it static.
+
+       * i386-tdep.h (i386_ymmh_regnum_p): Removed.
+
+2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Paul Bolle  <pebolle@tiscali.nl>
+
+       Redirect also uiout and stdtarg{,err} in execute_command_to_string.
+       * cli-logging.c (struct saved_output_files) <targerr>: New.
+       (set_logging_redirect, pop_output_files, handle_redirections):
+       Redirect also gdb_stdtargerr.
+       * defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New
+       declarations.
+       * event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect
+       also gdb_stdtargerr.
+       * top.c (execute_command_to_string): Move make_cleanup_ui_file_delete
+       to the top.  Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr.
+       Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop.
+       * tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr.
+       * utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop):
+       New functions.
+
+2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * hppa-tdep.c (unwind_command): Use host_address_to_string function
+       to display a host address.
+       * monitor.c (monitor_read_memory): Likewise.
+       * xtensa-tdep.c (xtensa_push_dummy_call): Likewise.
+
 2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * coffread.c (struct coff_symbol): Change c_value type from `long' to
 
        * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
        type to be signed.
-       
+
 2010-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dwarf2read.c (fixup_partial_die): Do not set dummy name for
This page took 0.034769 seconds and 4 git commands to generate.