Convert location_spec_empty_p to a method
authorPedro Alves <pedro@palves.net>
Fri, 27 May 2022 15:28:29 +0000 (16:28 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 17 Jun 2022 08:58:49 +0000 (09:58 +0100)
commit238dc9af03392ecd8129ee54a340efd736782cf9
treee5ba1fcefc30c036392eeb554a299c39c8344a72
parent5c1ddcb69a01c3d4985ecffbbab126a4e8cd4e33
Convert location_spec_empty_p to a method

This converts location_spec_empty_p to a method of location_spec,
simplifying users, as they no longer have to use
std::unique_ptr::get().

Change-Id: I83381a729896f12e1c5a1b4d6d4c2eb1eb6582ff
gdb/breakpoint.c
gdb/location.c
gdb/location.h