X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Frecord-btrace.h;h=e6849b635dbd5b842d66dab185716b49f409d45f;hb=b61121178ec07f9da1242e439fe1a23a314ad30e;hp=ba66719cf50ccfd0608d326c33d28be00a0cca5d;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/record-btrace.h b/gdb/record-btrace.h index ba66719cf5..e6849b635d 100644 --- a/gdb/record-btrace.h +++ b/gdb/record-btrace.h @@ -1,6 +1,6 @@ /* Branch trace support for GDB, the GNU debugger. - Copyright (C) 2016-2018 Free Software Foundation, Inc. + Copyright (C) 2016-2019 Free Software Foundation, Inc. Contributed by Intel Corp. @@ -25,4 +25,8 @@ /* Push the record_btrace target. */ extern void record_btrace_push_target (void); +/* Return the cpu configured by the user via "set btrace cpu". Returns + NULL if the cpu was configured as auto. */ +extern const struct btrace_cpu *record_btrace_get_cpu (void); + #endif /* RECORD_BTRACE_H */