PR gdb/11842
[binutils-gdb.git] / gdb / ChangeLog
index 63814faa07f54fd37e4d9e7f19a776196b75be56..dc0b5a20f02ab2d514f86fb3670ddf64c84710f9 100644 (file)
@@ -1,3 +1,225 @@
+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
+       `CORE_ADDRESS' as it might contain target addresses.
+
+2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
+       before cast to pointer to avoid warning.
+
+2010-09-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * 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
+       anonymous class partial DIEs.
+
+2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (dwarf2_compute_name): Check that the first
+       argument is a pointer.
+
 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * dwarf2read.c (read_func_scope, read_structure_type)