diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-18 20:59:00 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-18 20:59:00 +0000 |
commit | c774cec6a71cec1932152c9838d0a7142409d8ce (patch) | |
tree | 41815fe32cc666c19a0c2fdbe32713c99d02994b /gdb/tui/tuiStack.c | |
parent | 227288a05cfbdfb8a562a19c1a59a68e1d91af48 (diff) | |
download | gdb-c774cec6a71cec1932152c9838d0a7142409d8ce.zip gdb-c774cec6a71cec1932152c9838d0a7142409d8ce.tar.gz gdb-c774cec6a71cec1932152c9838d0a7142409d8ce.tar.bz2 |
* tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
(TuiLineOrAddress): Likewise.
* tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
an address.
(tuiSetDisassemContent): Likewise.
(tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
* tuiLayout.c (_extractDisplayStartAddr): Likewise.
(tuiSetLayout): Likewise.
* tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiSetHasBreakAt): Likewise.
* tuiStack.c (tuiSetLocatorInfo): Likewise.
(tuiSwitchFilename): Likewise.
(tuiUpdateLocatorInfoFromFrame): Likewise.
(tuiSetLocatorContent): Likewise.
(tuiShowFrameInfo): Likewise.
* tuiDisassem.h: Update prototypes to use CORE_ADDR.
* tuiSourceWin.h: Likewise.
* tuiStack.h: Likewise.
Diffstat (limited to 'gdb/tui/tuiStack.c')
-rw-r--r-- | gdb/tui/tuiStack.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tui/tuiStack.c b/gdb/tui/tuiStack.c index edff5cb..80fb33d 100644 --- a/gdb/tui/tuiStack.c +++ b/gdb/tui/tuiStack.c @@ -113,7 +113,7 @@ tuiShowLocatorContent (void) */ void tuiSetLocatorInfo (char *fname, char *procname, int lineNo, - Opaque addr, TuiLocatorElementPtr element) + CORE_ADDR addr, TuiLocatorElementPtr element) { #ifdef COMMENT /* first free the old info */ @@ -137,7 +137,7 @@ tuiSetLocatorInfo (char *fname, char *procname, int lineNo, strcat_to_buf (element->procName, MAX_LOCATOR_ELEMENT_LEN, procname); #endif element->lineNo = lineNo; - element->addr = (Opaque) addr; + element->addr = addr; return; } /* tuiSetLocatorInfo */ @@ -198,7 +198,7 @@ tuiSwitchFilename (char *fileName) tuiSetLocatorInfo (fileName, (char *) NULL, 0, - (Opaque) NULL, + (CORE_ADDR) 0, &((TuiWinElementPtr) locator->content[0])->whichElement.locator); tuiShowLocatorContent (); @@ -251,13 +251,13 @@ tuiUpdateLocatorInfoFromFrame (struct frame_info *frameInfo, tuiSetLocatorInfo (symtabAndLine.symtab->filename, _getFuncNameFromFrame (frameInfo), symtabAndLine.line, - (Opaque) frameInfo->pc, + frameInfo->pc, element); else tuiSetLocatorInfo ((char *) NULL, _getFuncNameFromFrame (frameInfo), 0, - (Opaque) frameInfo->pc, + frameInfo->pc, element); return; @@ -292,7 +292,7 @@ tuiSetLocatorContent (struct frame_info *frameInfo) tuiSetLocatorInfo ((char *) NULL, (char *) NULL, 0, - (Opaque) NULL, + (CORE_ADDR) 0, &((TuiWinElementPtr) locator->content[0])->whichElement.locator); return; } /* tuiSetLocatorContent */ @@ -354,7 +354,7 @@ tuiShowFrameInfo (struct frame_info *fi) if (find_pc_partial_function (fi->pc, (char **) NULL, &low, (CORE_ADDR) NULL) == 0) error ("No function contains program counter for selected frame.\n"); else - low = (CORE_ADDR) tuiGetLowDisassemblyAddress ((Opaque) low, (Opaque) fi->pc); + low = tuiGetLowDisassemblyAddress (low, fi->pc); } if (winInfo == srcWin) |