aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-15 20:01:41 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:31 -0600
commit7b572efb48e6193149b803eac6256f3e423b7060 (patch)
treea727cc562bf4eb3dd431304fb94e8b63b553b61e /gdb/remote.c
parentec45bb676c9c69c30783bcf35ffdac8280f3b8bc (diff)
downloadgdb-7b572efb48e6193149b803eac6256f3e423b7060.zip
gdb-7b572efb48e6193149b803eac6256f3e423b7060.tar.gz
gdb-7b572efb48e6193149b803eac6256f3e423b7060.tar.bz2
Add bp_static_marker_tracepoint
Because the actual construction of a breakpoint is buried deep in create_breakpoint, at present it's necessary to have a new bp_ enumerator constant any time a new subclass is needed. Static marker tracepoints are one such case, so this patch introduces bp_static_marker_tracepoint and updates various spots to recognize it.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index ff98024..6914947 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -13224,7 +13224,8 @@ remote_target::download_tracepoint (struct bp_location *loc)
warning (_("Target does not support fast tracepoints, "
"downloading %d as regular tracepoint"), b->number);
}
- else if (b->type == bp_static_tracepoint)
+ else if (b->type == bp_static_tracepoint
+ || b->type == bp_static_marker_tracepoint)
{
/* Only test for support at download time; we may not know
target capabilities at definition time. */