Convert say_where to method on code_breakpoint
authorTom Tromey <tromey@adacore.com>
Tue, 10 Jan 2023 15:17:28 +0000 (08:17 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 10 Jan 2023 21:09:32 +0000 (14:09 -0700)
commit7987c4636abedbf4cd5658ac594e3b936eb43d91
tree435c64e4ca4734bc2a3cdf9aa75c7003a9afc133
parent8ec0b0b5df0ebe28c32900afc7ae8ff22b21f381
Convert say_where to method on code_breakpoint

'say_where' is only useful (and only called for) code breakpoints, so
convert it to be a protected method on code_breakpoint.
gdb/breakpoint.c
gdb/breakpoint.h