ppc-aix osabi sniffer: Turn test of bfd flavour into assertion
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6c89e0ae9d72632c8050e125d0e97d186f749a83..52583885eee980ee73ed4aac7606bb8c59280254 100644 (file)
@@ -1,5 +1,327 @@
-2012-09-26  Karthik Bhat  <kv.bhat@samsung.com>
+2012-10-10  Joel Brobecker  <brobecker@adacore.com>
+            Tom Tromey  <tromey@redhat.com>
+
+       * rs6000-aix-tdep.c (rs6000_aix_osabi_sniffer): Replace
+       inneffective if condition by gdb assertion.  Add function
+       description comment.
+
+2012-10-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * parser-defs.h (struct exp_descriptor): Document constraint
+       on return value for "op_name" callbacks.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (print_one_static_tracepoint_marker): Constify.
+       * symtab.c (iterate_over_some_symtabs): Constify.
+       * source.h (symtab_to_fullname): Return 'const char *'.
+       * source.c (symtab_to_fullname): Return 'const char *'.
+       * python/py-symtab.c (stpy_fullname): Constify.
+       * cli/cli-cmds.c (edit_command): Constify.
+       * breakpoint.c (print_breakpoint_location)
+       (update_static_tracepoint): Constify.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (compare_breakpoints): Fix comparison.
+
+2012-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * valprint.c (generic_emit_char, generic_printstr): Pass size of
+       gdb_wchar_t to convert_between_encodings.
+
+2012-10-17  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (invalidate_bp_value_on_memory_change): Add one
+       more parameter 'inferior'.
+       * corefile.c (write_memory_with_notification): Caller update.
+
+       * mi/mi-cmd-var.c: Include "mi-main.h".
+       (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory
+       to 1 and restore it later.
+       * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory"
+       and "data-write-memory-bytes.
+       * mi/mi-interp.c: Include objfiles.h.
+       (mi_interpreter_init): Call observer_attach_memory_changed.
+       (mi_memory_changed): New.
+       * mi/mi-main.h (struct mi_suppress_notification) <memory>:
+       New field.
+
+       * NEWS: Mention new MI notification "memory-changed".
+
+2012-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment.
+
+2012-10-15  Doug Evans  <dje@google.com>
+
+       New option -nh: inhibit loading of ~/.gdbinit.
+       * NEWS: Mention -nh.
+       * main.c (captured_main): Recognize and process -nh.
+       (print_gdb_help): Mention -nh.
+       * gdb.1: Mention -nh.  Remove erroneous docs on -nx behavior.
+
+2012-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR backtrace/14646
+       PR gdb/14647
+       * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and
+       pc_regnum_from_eax.
+       * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax
+       nor pc_regnum_from_eax.
+       * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax
+       nor pc_regnum_from_eax.
+
+2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry values resolving in inlined frames.
+       * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr,
+       gdbarch and caller_frame initialization later.  Skip INLINE_FRAME
+       entries of FRAME.
+
+2012-10-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Build with -DMS_WIN64 if building with Python
+       enabled using GCC on amd64-windows.
+       * configure: Regenerate.
+
+2012-10-15  Tom Tromey  <tromey@redhat.com>
+
+       PR python/14635:
+       * python/py-symtab.c (del_objfile_sal): Set 'symtab' field
+       to Py_None.
+
+2012-10-15  Tom Tromey  <tromey@redhat.com>
+
+       PR python/14634:
+       * python/py-symbol.c (sympy_dealloc): Check for NULL symbol.
+
+2012-10-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to
+       reset thread numbering back to 1.
+
+2012-10-11  Doug Evans  <dje@google.com>
+
+       PR breakpoints/14643.
+       * linespec.c (struct ls_parser): New member keyword_ok.
+       (linespec_lexer_lex_string): Add comment.
+       (linespec_lexer_lex_one): Ignore keywords if it's the wrong place
+       for one.
+       (parse_linespec): Set keyword_ok.
+
+2012-10-10  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate
+       "0x" prefix on address in log message.
+
+       * dwarf2read.c (read_1_byte): Add const to buf parameter.
+       (read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto.
+       (read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto.
+       (lookup_dwo_file): Add const to dwo_name parameter.
+       (lookup_dwo_comp_unit, lookup_dwo_type_unit): Ditto.
+
+2012-10-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash during stepping on ppc32.
+       * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL
+       SYM.
+
+2012-10-03  Doug Evans  <dje@google.com>
+
+       PR symtab/14601
+       * buildsym.c (buildsym_init): Reset using_directives to NULL.
+
+2012-10-02  Andrew Burgess  <aburgess@broadcom.com>
+
+       * remote-sim.c (dump_mem): Always dump buffer contents, zero fill
+       output and use uint32_t not long to ensure 4 byte size.
+
+2012-10-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-nat.c (add_vmap): Set "last" to "next" after having
+       unref'ed it.
+
+2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
+
+       * target.c (simple_search_memory): Include access length in
+       warning message.
+
+2012-09-28  Nathan Miller  <nathanm2@us.ibm.com>
+           Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       PR gdb/13989
+       * solib.c (solib_find): Prevent GDB from loading native libraries when
+       debugging a cross-target corefile.
+
+2012-09-28  selven  <pcthegreat@gmail.com>
+
+       Make definition match declaration.
 
+       * regcache.c (regcache_register_status): Change return type to
+       enum register_status.
+
+2012-09-28  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-main.c (mi_cmd_data_write_memory): Call
+       write_memory_with_notification instead of write_memory.
+       (mi_cmd_data_write_memory_bytes): Call write_memory_with_notification
+       instead of target_write_memory.
+
+2012-09-28  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error
+       when the length of content is not an even number.
+
+2012-09-27  Tom Tromey  <tromey@redhat.com>
+
+       Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357
+       * cp-valprint.c (cp_print_value_fields): Use get_vptr_fieldno.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (sol_thread_fetch_registers)
+       (sol_thread_store_registers): Delete commented out code.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+       Move these functions to sparc-sol-thread.c.
+       * sparc-sol-thread.c: New file.
+       * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and
+       sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native
+       configurations.
+       * configure: Regenerate.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+       Remove commented-out code.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+       Enable this code for sparc hosts only.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.h (procfs_find_LDT_entry): Add declaration.
+       * sol-thread.c (ps_lgetLDT): Delete local declaration of
+       function procfs_find_LDT_entry.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (proc_get_LDT_entry): Make static.
+
+2012-09-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (proc_find_memory_regions): Fix declaration.
+
+2012-09-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * amd64-tdep.c (amd64_return_value): Revert previous change
+       that used TYPE_LENGTH directly.
+       * bfin-tdep.c (bfin_extract_return_value): Likewise.
+       (bfin_store_return_value): Likewise.
+       * cris-tdep.c (cris_store_return_value): Likewise.
+       (cris_extract_return_value): Likewise.
+       * h8300-tdep.c (h8300_extract_return_value): Likewise.
+       * hppa-tdep.c (hppa64_return_value): Likewise.
+       * lm32-tdep.c (lm32_store_return_value): Likewise.
+       * microblaze-tdep.c (microblaze_store_return_value): Likewise.
+       * spu-tdep.c (spu_value_from_register): Likewise.
+       * vax-tdep.c (vax_return_value): Likewise.
+
+2012-09-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * gdbtypes.c (lookup_array_range_type): Expand parameters
+       LOW_BOUND and HIGH_BOUND to LONGEST.
+       (lookup_string_range_type): Likewise.
+       * gdbtypes.h (lookup_array_range_type): Likewise.
+       (lookup_string_range_type): Likewise.
+       * valops.c (value_cstring): Expand parameter LEN to ssize_t.
+       Expand HIGHBOUND to ssize_t.
+       (value_string): Likewise.
+       * value.h (value_cstring): Expand parameter LEN to ssize_t.
+       (value_string): Likewise.
+
+2012-09-27  Yao Qi  <yao@codesourcery.com>
+
+       PR breakpoints/13898
+       * breakpoint.h (tracepoint_breakpoint_ops): Forward declaration.
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops
+       per breakpoint type.
+
+2012-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * procfs.c: Add gdb_bfd header.
+       * rs6000-nat.c: Likewise.
+       * solib-pa64.c: Likewise.
+       * spu-linux-nat.c: Likewise.
+       * windows-nat.c: Likewise.
+
+2012-09-26  Tom Tromey  <tromey@redhat.com>
+
+       * f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove.
+
+2012-09-26  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (mark_common_block_symbol_computed): New function.
+       (read_common_block): Handle child DIEs with
+       DW_AT_data_member_location.
+       (new_symbol_full): Add special case for common blocks.
+
+2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (read_common_block): Rewrite.
+       (new_symbol_full): Handle DW_TAG_common_block.
+       * f-lang.c (head_common_list, find_common_for_function):
+       Remove.
+       * f-lang.h (struct common_entry, struct saved_f77_common,
+       SAVED_F77_COMMON, SAVED_F77_COMMON_PTR, COMMON_ENTRY,
+       COMMON_ENTRY_PTR, head_common_list, find_common_for_function,
+       BLANK_COMMON_NAME_LOCAL): Remove.
+       (struct common_block): New.
+       * f-valprint.c (list_all_visible_commons): Remove.
+       (info_common_command_for_block): New function.
+       (info_common_command): Use it.
+       * stack.c (iterate_over_block_locals): Special case for
+       COMMON_BLOCK_DOMAIN.
+       * symtab.h (enum domain_enum_tag) <COMMON_BLOCK_DOMAIN>: New
+       constant.
+       (struct general_symbol_info) <value.common_block>: New field.
+       (SYMBOL_VALUE_COMMON_BLOCK): New define.
+
+2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * f-lang.c (allocate_saved_bf_node,
+       allocate_saved_function_node, allocate_saved_f77_common_node,
+       allocate_common_entry_node, tail_common_list, current_common,
+       saved_bf_list, saved_bf_list_end, current_head_bf_list,
+       tmp_bf_ptr, add_common_block, add_common_entry,
+       find_first_common_named, patch_common_entries,
+       patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list,
+       global_remote_debug, get_bf_for_fcn, saved_function_list,
+       saved_function_list_end, clear_function_list, struct saved_fcn,
+       struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR,
+       SAVED_BF, SAVED_BF_PTR): Remove.
+       * f-lang.h (tail_common_list, current_common,
+       UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING,
+       BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77,
+       DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name,
+       real_main_c_value): Remove.
+       * f-valprint.c (there_is_a_visible_common_named): Remove.
+
+2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
+
+       * breakpoint.c (update_global_location_list): Ignore previous
+       duplicate status of a breakpoint when starting a new scan for
+       duplicate breakpoints.
+
+2012-09-26  Karthik Bhat  <kv.bhat@samsung.com>
+       PR breakpoints/14419
        * arm-tdep.c (arm_skip_prologue): Extending producer check to
        support LLVM compiler.
 
This page took 0.027895 seconds and 4 git commands to generate.