]> git.eshelyaron.com Git - emacs.git/commit
gdb-mi: Don't use bindat for field access
authorMattias Engdegård <mattiase@acm.org>
Sun, 25 Oct 2020 12:27:52 +0000 (13:27 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 27 Oct 2020 15:36:16 +0000 (16:36 +0100)
commit7b257dff01d9f8dde497745352e62203d7e665d0
treedb6fa1d1eb085727f1481a41123192d946f86c03
parenta8426f46726d94cdf21c0e6b3c85c0afe0064784
gdb-mi: Don't use bindat for field access

Replace uses of bindat-get-field with a simpler accessor,
since nothing here uses the bindat machinery in any way.

* lisp/progmodes/gdb-mi.el (gdb-mi--field): New.
(gdb-get-many-fields): Remove.
(gdb-var-create-handler, gdb-var-list-children-handler)
(gdb-var-update-handler, gdb-current-buffer-frame)
(gdb-update-gud-running, gdb-thread-exited, gdb-thread-selected)
(gdb-running, gdb-stopped, gdb-breakpoints-list-handler-custom)
(gdb-place-breakpoints, gdb-thread-list-handler-custom)
(def-gdb-thread-buffer-simple-command, gdb-select-thread)
(def-gdb-thread-buffer-gud-command, gdb-read-memory-custom)
(gdb-invalidate-disassembly, gdb-disassembly-handler-custom)
(gdb-disassembly-place-breakpoints, gdb-toggle-breakpoint)
(gdb-delete-breakpoint, gdb-goto-breakpoint, gdb-frame-location)
(gdb-stack-list-frames-custom, gdb-select-frame)
(gdb-edit-locals-value, gdb-locals-handler-custom)
(gdb-registers-handler-custom, gdb-changed-registers-handler)
(gdb-register-names-handler, gdb-frame-handler):
Use gdb-mi--field.
lisp/progmodes/gdb-mi.el