#include "command.h"
#include "break-common.h"
#include "probe.h"
+#include "location.h"
#include <vector>
struct value;
struct bp_location;
struct linespec_result;
struct linespec_sals;
-struct event_location;
/* Why are we removing the breakpoint from the target? */
non-thread-specific ordinary breakpoints this is NULL. */
struct program_space *pspace;
- /* Location we used to set the breakpoint (malloc'd). */
- struct event_location *location;
+ /* Location we used to set the breakpoint. */
+ event_location_up location;
/* The filter that should be passed to decode_line_full when
re-setting this breakpoint. This may be NULL, but otherwise is
char *filter;
/* For a ranged breakpoint, the location we used to find
- the end of the range (malloc'd). */
- struct event_location *location_range_end;
+ the end of the range. */
+ event_location_up location_range_end;
/* Architecture we used to set the breakpoint. */
struct gdbarch *gdbarch;