aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-05-06 19:18:48 +0100
committerPedro Alves <pedro@palves.net>2022-05-20 20:40:59 +0100
commit06615628294ceb515c045050a39cff4d66a20c1e (patch)
tree652d9ee6da28c1ad4cc9421c7e9dbcb65633ec07 /gdb/breakpoint.h
parentf9a8785566fcd9b36f8e504346f70bc3d5b6cf82 (diff)
downloadgdb-06615628294ceb515c045050a39cff4d66a20c1e.zip
gdb-06615628294ceb515c045050a39cff4d66a20c1e.tar.gz
gdb-06615628294ceb515c045050a39cff4d66a20c1e.tar.bz2
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
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index ac738fd..fb8651c 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -739,6 +739,9 @@ struct breakpoint
/* Nothing to do. */
}
+ /* Add a location for SAL to this breakpoint. */
+ bp_location *add_location (const symtab_and_line &sal);
+
/* Return a range of this breakpoint's locations. */
bp_location_range locations () const;