Centralize thread ID printing
[deliverable/binutils-gdb.git] / gdb / common / print-utils.h
index 706877bd0bb8b0b12b9644f2a9c0d32b2a69b79f..8790d0b6a3dcd7d1ff4c32b25acb454b2fa02c1a 100644 (file)
 #ifndef COMMON_CELLS_H
 #define COMMON_CELLS_H
 
+/* How many characters (including the terminating null byte) fit in a
+   cell.  */
+#define PRINT_CELL_SIZE 50
+
 /* %d for LONGEST.  The result is stored in a circular static buffer,
    NUMCELLS deep.  */
 
@@ -71,4 +75,8 @@ extern const char *host_address_to_string_1 (const void *addr);
 #define host_address_to_string(ADDR) \
   host_address_to_string_1 ((const void *) (ADDR))
 
+/* Return the next entry in the circular print buffer.  */
+
+extern char *get_print_cell (void);
+
 #endif /* COMMON_CELLS_H */
This page took 0.028642 seconds and 4 git commands to generate.