]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Notify about breakpoint modification when enabling/disabling single location
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 31 May 2018 08:56:33 +0000 (09:56 +0100)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 25 Jul 2018 17:47:16 +0000 (13:47 -0400)
commitd7154a8d08b142d1258dc2e4189ff0d00cd26493
tree3f73271165988b209d5045d12583d9dd8711f81d
parenta45389f60d4372bdb3484e432935f3169037d88c
Notify about breakpoint modification when enabling/disabling single location

When a single breakpoint location enableness was modified by a CLI
command, observers were not notified about it. This issue is now fixed.

gdb/ChangeLog:

* breakpoint.c (enable_disable_bp_num_loc): Notify observers.

gdb/testsuite/ChangeLog:

* gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
* gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-breakpoint-location-ena-dis.cc [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-breakpoint-location-ena-dis.exp [new file with mode: 0644]