]> git.eshelyaron.com Git - emacs.git/commit
Fix debugging with GDB when a breakpoint has multiple locations
authorEli Zaretskii <eliz@gnu.org>
Tue, 7 Jun 2022 13:01:04 +0000 (16:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 7 Jun 2022 13:01:04 +0000 (16:01 +0300)
commit7f778c6943f66bd1112bd41be19e223b64300509
tree0a9c2992c0498fbb148f04a95afd16ed19c6d706
parent25e53e93910f19ff66aa8f13271f119218acdc6f
Fix debugging with GDB when a breakpoint has multiple locations

* lisp/progmodes/gdb-mi.el (gdb-breakpoints--add-breakpoint-row):
New function, extracted from 'gdb-breakpoints-list-handler-custom'.
Don't print "in <unknown>" for header-rows of breakpoints with
multiple locations that don't have a function name attached.
(gdb-breakpoints-list-handler-custom): Add to the breakpoint table
also any locations in multiple-location breakpoints, which are
supported since GDB 6.8.
lisp/progmodes/gdb-mi.el