diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-15 20:01:41 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:31 -0600 |
commit | 7b572efb48e6193149b803eac6256f3e423b7060 (patch) | |
tree | a727cc562bf4eb3dd431304fb94e8b63b553b61e /gdb/remote.c | |
parent | ec45bb676c9c69c30783bcf35ffdac8280f3b8bc (diff) | |
download | gdb-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.c | 3 |
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. */ |