/* Cell-based print utility routines for GDB, the GNU debugger.
- Copyright (C) 1986-2015 Free Software Foundation, Inc.
+ Copyright (C) 1986-2019 Free Software Foundation, Inc.
This file is part of GDB.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef COMMON_CELLS_H
-#define COMMON_CELLS_H
+#ifndef COMMON_PRINT_UTILS_H
+#define COMMON_PRINT_UTILS_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. */
#define host_address_to_string(ADDR) \
host_address_to_string_1 ((const void *) (ADDR))
-#endif /* COMMON_CELLS_H */
+/* Return the next entry in the circular print buffer. */
+
+extern char *get_print_cell (void);
+
+#endif /* COMMON_PRINT_UTILS_H */