gdb_server: support gdb target description
[fw/openocd] / src / target / target_type.h
index 3a3de7a266878a8b72a4bb2e7390f88198defa73..4d9a33f99764f20ea58ee1cea10b907f2df9a5c0 100644 (file)
@@ -101,7 +101,8 @@ struct target_type {
         * list, however it is after GDB is connected that monitor commands can
         * be run to properly initialize the target
         */
-       int (*get_gdb_reg_list)(struct target *target, struct reg **reg_list[], int *reg_list_size);
+       int (*get_gdb_reg_list)(struct target *target, struct reg **reg_list[],
+                       int *reg_list_size, enum target_register_class reg_class);
 
        /* target memory access
        * size: 1 = byte (8bit), 2 = half-word (16bit), 4 = word (32bit)