diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-25 09:12:36 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-25 09:12:36 +0000 |
commit | bc77de56b690a880fc04d9ca99830fa69ae177e5 (patch) | |
tree | 3fe883bb358ee732f73156fc66ce146c0f629678 /gdb/tui/tuiData.h | |
parent | 335fc5a319c21abaf244015817548b923ff505fb (diff) | |
download | gdb-bc77de56b690a880fc04d9ca99830fa69ae177e5.zip gdb-bc77de56b690a880fc04d9ca99830fa69ae177e5.tar.gz gdb-bc77de56b690a880fc04d9ca99830fa69ae177e5.tar.bz2 |
* tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.
(_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise.
(_tuiSetGeneralAndSpecialRegsContent): Likewise.
(_tuiSetFloatRegsContent): Likewise.
(_tuiRegisterName): Return a const char*.
* tuiData.h (_TuiDataElement): Use const char* for name.
Diffstat (limited to 'gdb/tui/tuiData.h')
-rw-r--r-- | gdb/tui/tuiData.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tuiData.h b/gdb/tui/tuiData.h index 9edf000..89779b4 100644 --- a/gdb/tui/tuiData.h +++ b/gdb/tui/tuiData.h @@ -170,7 +170,7 @@ TuiSourceElement, *TuiSourceElementPtr; /* Elements in the data display window content */ typedef struct _TuiDataElement { - char *name; + const char *name; int itemNo; /* the register number, or data display number */ TuiDataType type; Opaque value; |