(tui_enable): Update the windows if there is a selected frame.
* tui.h (strcat_to_buf): Update prototype.
(strcat_to_buf_with_fmt): Remove.
+2002-08-24 Stephane Carrez <stcarrez@nerim.fr>
+
+ * tui.c (strcat_to_buf): Use const char* for source item.
+ (tui_enable): Update the windows if there is a selected frame.
+ * tui.h (strcat_to_buf): Update prototype.
+ (strcat_to_buf_with_fmt): Remove.
+
2002-08-24 Stephane Carrez <stcarrez@nerim.fr>
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
tui_version = 1;
tui_active = 1;
+ if (selected_frame)
+ tuiShowFrameInfo (selected_frame);
+
refresh ();
tui_update_gdb_sizes ();
}
}
void
-strcat_to_buf (char *buf, int buflen, char *itemToAdd)
+strcat_to_buf (char *buf, int buflen, const char *itemToAdd)
{
if (itemToAdd != (char *) NULL && buf != (char *) NULL)
{
*/
typedef OpaqueFuncPtr TuiOpaqueFuncPtr;
-extern void strcat_to_buf (char *, int, char *);
-extern void strcat_to_buf_with_fmt (char *, int, char *, ...);
+extern void strcat_to_buf (char *, int, const char *);
/* Types of error returns */
typedef enum