PR 17564: Fix objfile search order for static symbols.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9901d164ba7fda52cacddb60bf373223823939b8..56e43410fcb20c0ba7c304e1f653c5297ed0e2a4 100644 (file)
@@ -1,3 +1,254 @@
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17564
+       * symtab.c (lookup_symbol_in_all_objfiles): Delete.
+       (lookup_static_symbol): Move definition to new location and rewrite.
+       (lookup_symbol_in_objfile): New function.
+       (lookup_symbol_global_iterator_cb): Call it.
+
+2014-11-10  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
+
+2014-11-07  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (process_event_stop_test) <subroutine check>: Don't
+       check if we did a "nexti" inside a prologue.
+       * symtab.c (in_prologue): Delete function.
+       * symtab.h (in_prologue): Delete declaration.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (lookup_global_symbol): Improve function comment.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
+       All callers updated.
+       * symtab.h (lookup_global_symbol): Update decl.
+       (lookup_static_symbol): Move decl to better location.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
+       All callers updated.
+       (lookup_symbol_in_all_objfiles): Renamed from
+       lookup_symbol_aux_symtabs.  All callers updated.
+       (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
+       All callers updated.
+       (lookup_symbol_in_objfile_symtabs): Renamed from
+       lookup_symbol_aux_objfile.  All callers updated.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_symbol_in_block): Renamed from
+       lookup_symbol_aux_block.  All callers updated.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_static_symbol): Renamed from
+       lookup_static_symbol_aux.  All callers updated.
+       (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
+       All callers updated.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
+       * block.c (block_lookup_symbol): Use it.
+       * cp-support.c (make_symbol_overload_list_block): Use it.
+       * symtab.c (iterate_over_symbols): Use it.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_block_symbol): Moved to ...
+       * block.c (block_lookup_symbol):  ... here and renamed.
+       All callers updated.
+       * block.h (block_lookup_symbol): Declare.
+       * symtab.h (lookup_block_symbol): Delete.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * ada-lang.c (ada_make_symbol_completion_list): Use
+       ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
+       * symtab.c (lookup_objfile_from_block): Ditto.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * gdbtypes.h (TYPE_CODE_CLASS): Delete.  All uses changed to use
+       TYPE_CODE_STRUCT.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * objfiles.c (get_objfile_arch): Constify.
+       * objfiles.h (get_objfile_arch): Update prototype.
+       * solib.c (solib_global_lookup): Fetch arch from objfile,
+       not target_gdbarch.
+
+2014-11-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (wild_insn): Delete.
+       (profiler_insn, irqentry_insn): Delete.
+       (nios2_match_sequence): Delete.
+       (nios2_analyze_prologue): Update comments.  Remove matching
+       of obsolete profiler_insn and irqentry_insn sequences.
+
+2014-11-05  Alan Modra  <amodra@gmail.com>
+
+       * charset.c (convert_between_encodings): Shrink obstack using
+       obstack_blank_fast.
+       * minsyms.c (install_minimal_symbols): Likewise.
+       * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
+       to char* before doing pointer arithmetic.
+
+2014-11-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
+
+2014-11-04  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (breakpoint_thread_match): Delete function.
+       * breakpoint.h (breakpoint_thread_match): Delete declaration.
+
+2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR c++/17494
+       * eval.c (evaluate_subexp_standard): Evaluate the "object" and
+       the method args also under EVAL_SKIP when evaluating method
+       calls under EVAL_SKIP.
+
+2014-11-02  Victor Kamensky  <victor.kamensky@linaro.org>
+
+       * dwarf2loc.c (read_pieced_value): Do big endian
+       processing only if gdb_regnum is not -1.
+       (write_pieced_value): Ditto.
+
+2014-11-02  Victor Kamensky  <victor.kamensky@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Use
+       info.byte_order_for_code to choose endianity of breakpoint
+       instructions snippets.
+
+2014-11-02  Victor Kamensky  <victor.kamensky@linaro.org>
+
+       * arm-tdep.c (extract_arm_insn): Use
+       gdbarch_byte_order_for_code to read arm instruction.
+
+2014-11-02  Doug Evans  <xdje42@gmail.com>
+
+       * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
+
+2014-11-02  Doug Evans  <xdje42@gmail.com>
+
+       * xcoffread.c (process_linenos): Delete unnecessary zeroing of
+       main_subfile before returning.
+
+2014-10-31  Doug Evans  <xdje42@gmail.com>
+
+       * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
+       (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
+
+2014-10-31  Doug Evans  <xdje42@gmail.com>
+
+       * valops.c (value_cast_pointers): Fix whitespace.
+       (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
+       Ditto.
+
+2014-10-30  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention ability add attributes to gdb.Objfile and
+       gdb.Progspace objects.
+       * python/py-objfile.c (objfile_object): New member dict.
+       (objfpy_dealloc): Py_XDECREF dict.
+       (objfpy_initialize): Initialize dict.
+       (objfile_getset): Add __dict__.
+       (objfile_object_type): Set tp_dictoffset member.
+       * python/py-progspace.c (progspace_object): New member dict.
+       (pspy_dealloc): Py_XDECREF dict.
+       (pspy_initialize): Initialize dict.
+       (pspace_getset): Add __dict__.
+       (pspace_object_type): Set tp_dictoffset member.
+
+2014-10-30  Yao Qi  <yao@codesourcery.com>
+
+       * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
+       replace '\\' with '\\\\'.
+
+2014-10-29  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.8.1 released.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17408
+       * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
+       instead of assuming a thread with a stepping range is always
+       stepping.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       PR python/17372
+       * event-top.c (change_line_handler): Call
+       gdb_rl_callback_handler_remove instead of
+       rl_callback_handler_remove.
+       (callback_handler_installed): New global.
+       (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
+       (gdb_rl_callback_handler_reinstall): New functions.
+       (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
+       gdb_rl_callback_handler_install instead of
+       rl_callback_handler_remove and rl_callback_handler_install.
+       (gdb_disable_readline): Call gdb_rl_callback_handler_remove
+       instead of rl_callback_handler_remove.
+       * event-top.h (gdb_rl_callback_handler_remove)
+       (gdb_rl_callback_handler_install)
+       (gdb_rl_callback_handler_reinstall): New declarations.
+       * infrun.c (reinstall_readline_callback_handler_cleanup): New
+       cleanup function.
+       (fetch_inferior_event): Install it.
+       * top.c (gdb_readline_wrapper_line) Call
+       gdb_rl_callback_handler_remove instead of
+       rl_callback_handler_remove.
+       (gdb_readline_wrapper_cleanup): Don't call
+       rl_callback_handler_install.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (command_line_handler): Clear the first byte of
+       linebuffer, when it is first allocated.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
+       TRY_CATCH.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       PR tui/16138
+       PR tui/17519
+       * tui/tui-interp.c (tui_is_toplevel): Delete global.
+       (tui_allowed_p): Delete function.
+       * tui/tui.c: Include "interps.h".
+       (tui_enable): Don't use tui_allowed_p.  Error out here with
+       detailed error messages if the TUI is the top level interpreter,
+       or if output is not a terminal.  Use newterm instead of initscr,
+       and error out if initializing the terminal fails.  Also error out if
+       the terminal doesn't support cursor addressing.
+       * tui/tui.h (tui_allowed_p): Delete declaration.
+
+2014-10-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * arm-tdep.c (arm_skip_stack_protector): Return early if
+       address loaded by first "ldr" instruction does not have
+       a corresponding minimal symbol.  Update comment.
+
+2014-10-29  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
+       loaded address correctly of ldr instruction.
+
 2014-10-28  Pedro Alves  <palves@redhat.com>
 
        PR gdb/12623
This page took 0.03414 seconds and 4 git commands to generate.