add_location_to_breakpoint -> breakpoint::add_location
authorPedro Alves <pedro@palves.net>
Fri, 6 May 2022 18:18:48 +0000 (19:18 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 20 May 2022 19:40:59 +0000 (20:40 +0100)
commit06615628294ceb515c045050a39cff4d66a20c1e
tree652d9ee6da28c1ad4cc9421c7e9dbcb65633ec07
parentf9a8785566fcd9b36f8e504346f70bc3d5b6cf82
add_location_to_breakpoint -> breakpoint::add_location

Make add_location_to_breakpoint be a method of struct breakpoint.

A patch later in the series will move this to base_breakpoint, but for
now, it needs to be here.

Change-Id: I5bdc2ec1a7c2d66f26f51bf6f6adc8384a90b129
gdb/breakpoint.c
gdb/breakpoint.h