Add Objfile.lookup_{global,static}_symbol functions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7a01b8f3cc680a71ff94817151f129be2ddf5aca..59fb8002e81f7c8c1094f145239324cf3cbf6968 100644 (file)
@@ -1,3 +1,85 @@
+2019-07-29  Christian Biesinger  <cbiesinger@google.com>
+
+       * NEWS: Mention new functions Objfile.lookup_{global,static}_symbol.
+       * python/py-objfile.c (objfpy_lookup_global_symbol): New function.
+       (objfpy_lookup_static_symbol): New function.
+       (objfile_object_methods): Add new functions.
+
+2019-07-29  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention 'set|show print frame-info'.  Mention new
+       'presence' value for 'frame-arguments'.  Mention new '-frame-info'
+       backtrace argument.  Mention that python frame filtering code
+       is now consistent with what 'backtrace' command prints.
+
+2019-07-29  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * frame.h (enum print_what): New value 'SHORT_LOCATION', update
+       comments.
+       (print_frame_info_auto, print_frame_info_source_line,
+       print_frame_info_location, print_frame_info_source_and_location,
+       print_frame_info_location_and_address, print_frame_info_short_location):
+       New declarations.
+       (struct frame_print_options): New member print_frame_info.
+       * extension.h (enum ext_lang_frame_args): New value CLI_PRESENCE.
+       * stack.h (get_user_print_what_frame_info): New declaration.
+       (frame_show_address): New declaration.
+       * stack.c (print_frame_arguments_choices): New value 'presence'.
+       (print_frame_info_auto, print_frame_info_source_line,
+       print_frame_info_location, print_frame_info_source_and_location,
+       print_frame_info_location_and_address, print_frame_info_short_location,
+       print_frame_info_choices, print_frame_info_print_what): New definitions.
+       (print_frame_args): Only print dots for args if print frame-arguments
+       is 'presence'.
+       (frame_print_option_defs): New element for "frame-info".
+       (get_user_print_what_frame_info): New function.
+       (frame_show_address): Make non static.  Move comment to stack.h.
+       (print_frame_info_to_print_what): New function.
+       (print_frame_info): Update comment.  Use fp_opts.print_frame_info
+       to decide what to print.
+       (backtrace_command_1): Handle the new print_frame_arguments_presence
+       value.
+       (_initialize_stack): Call add_setshow_enum_cmd for frame-info.
+       * python/py-framefilter.c (py_print_args): Handle CLI_PRESENCE.
+       (py_print_frame): In non-mi mode, use LOCATION as default for
+       print_what, similarly to frame information printed directly by
+       backtrace command. Handle frame-info user option in non MI mode.
+
+2019-07-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * linux-thread-db.c (thread_db_target::thread_handle_to_thread_info):
+       Add case for debugging 32-bit target on 64-bit host.  Revise
+       comment.
+
+2019-07-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * infrun.c (fill_in_stop_func): Use find_pc_partial_function
+       instead of find_function_entry_range_from_pc.
+
+2019-07-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * stack.c (find_frame_funname): Remove code which preferred
+       minsym over symtab sym in "certain pathological cases".
+
+       * valprint.h (build_address_symbolic): Add "prefer_sym_over_minsym"
+       parameter.  Change type of "do_demangle" to bool.
+       * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn):
+       Pass suitable "prefer_sym_over_minsym" flag to
+       build_address_symbolic().  Don't output "+" for negative offsets.
+       * printcmd.c (print_address_symbolic): Update invocation of
+       build_address_symbolic to include a "prefer_sym_over_minsym"
+       flag.
+       (build_address_symbolic): Add "prefer_sym_over_minsym" parameter.
+       Restrict cases in which use of minimal symbol is preferred to that
+       of a found symbol.  Update comments.
+
+       * dwarf2-frame.c (dwarf2_frame_cache): Don't decode FDE instructions
+       for entry pc when entry pc is out of range for that FDE.
+
+       * printcmd.c (print_address_symbolic): Print negative offsets.
+       (build_address_symbolic): Force signed arithmetic when computing
+       offset.
+
 2019-07-26  Brian Callahan  <bcallah@openbsd.org>
 
        PR gdb/24839:
This page took 0.024039 seconds and 4 git commands to generate.