X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=fe7e1a7db8e18993f0832ebce8460e013cd9a2e2;hp=c3137a08c5dd5083dbb6ed5b60a081063d0ac263;hb=24654759d5fd92c0dbafac40c8604842dd6d6709;hpb=ab858febb6ca6e5dada1492e96c00d8b12c575c0 diff --git a/src/target/target.h b/src/target/target.h index c3137a08c5..fe7e1a7db8 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -481,6 +481,13 @@ int target_get_gdb_reg_list(struct target *target, struct reg **reg_list[], int *reg_list_size, enum target_register_class reg_class); +/** + * Check if @a target allows GDB connections. + * + * Some target do not implement the necessary code required by GDB. + */ +bool target_supports_gdb_connection(struct target *target); + /** * Step the target. *