* 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.
This commit is contained in:
parent
3e752b0491
commit
297d160777
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2002-08-24 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
|
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
|
||||||
|
|
|
@ -261,6 +261,9 @@ tui_enable (void)
|
||||||
|
|
||||||
tui_version = 1;
|
tui_version = 1;
|
||||||
tui_active = 1;
|
tui_active = 1;
|
||||||
|
if (selected_frame)
|
||||||
|
tuiShowFrameInfo (selected_frame);
|
||||||
|
|
||||||
refresh ();
|
refresh ();
|
||||||
tui_update_gdb_sizes ();
|
tui_update_gdb_sizes ();
|
||||||
}
|
}
|
||||||
|
@ -327,7 +330,7 @@ tuiGetLowDisassemblyAddress (CORE_ADDR low, CORE_ADDR pc)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
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)
|
if (itemToAdd != (char *) NULL && buf != (char *) NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,8 +48,7 @@ Opaque (*OpaqueFuncPtr) (va_list);
|
||||||
*/
|
*/
|
||||||
typedef OpaqueFuncPtr TuiOpaqueFuncPtr;
|
typedef OpaqueFuncPtr TuiOpaqueFuncPtr;
|
||||||
|
|
||||||
extern void strcat_to_buf (char *, int, char *);
|
extern void strcat_to_buf (char *, int, const char *);
|
||||||
extern void strcat_to_buf_with_fmt (char *, int, char *, ...);
|
|
||||||
|
|
||||||
/* Types of error returns */
|
/* Types of error returns */
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|
Loading…
Reference in a new issue