gdb/python: Introduce gdb.lookup_static_symbols
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6f377f33473d12b3f53525f866993bd182e47282..dd280ec5cc48007340b07d71a929b5a14fad6c62 100644 (file)
@@ -1,3 +1,58 @@
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-symbol.c (gdbpy_lookup_static_symbols): New
+       function.
+       * python/python-internal.h (gdbpy_lookup_static_symbols):
+       Declare new function.
+       * python/python.c (python_GdbMethods): Add
+       gdb.lookup_static_symbols method.
+       * NEWS: Mention gdb.lookup_static_symbols.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-symbol.c (gdbpy_lookup_static_symbol): Lookup in
+       static block of current object file first.  Also fix typo in
+       header comment.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (set_last_displayed_sal): Delete.
+       (last_displayed_sal_valid): Delete.
+       (last_displayed_pspace): Delete.
+       (last_displayed_addr): Delete.
+       (last_displayed_symtab): Delete.
+       (last_displayed_line): Delete.
+       (class last_displayed_symtab_info_type): New.
+       (last_displayed_symtab_info): New static global variable.
+       (print_frame_info): Call methods on last_displayed_symtab_info.
+       (clear_last_displayed_sal): Update header comment, and make use of
+       last_displayed_symtab_info.
+       (last_displayed_sal_is_valid): Likewise.
+       (get_last_displayed_pspace): Likewise.
+       (get_last_displayed_addr): Likewise.
+       (get_last_displayed_symtab): Likewise.
+       (get_last_displayed_line): Likewise.
+       (get_last_displayed_sal): Likewise.
+       * stack.h (clear_last_displayed_sal): Update header comment.
+       (last_displayed_sal_is_valid): Likewise.
+       (get_last_displayed_pspace): Likewise.
+       (get_last_displayed_addr): Likewise.
+       (get_last_displayed_symtab): Likewise.
+       (get_last_displayed_line): Likewise.
+       (get_last_displayed_sal): Likewise.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (frame_show_address): Convert return type to bool.
+       * stack.h (frame_show_address): Likewise, and update header
+       comment.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new file to the list.
+       * unittests/vec-utils-selftests.c: New file.
+       * gdbsupport/gdb_vecs.h (unordered_remove): Avoid self move assign.
+
 2019-11-10  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-wingeneral.c (tui_unhighlight_win): Use can_box.
This page took 0.026951 seconds and 4 git commands to generate.