summaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-07-07 22:00:09 +0000
committerNicholas Duffek <nsd@redhat.com>2000-07-07 22:00:09 +0000
commitd41055382cefd0ad4ab30a76fa743664c9a4cda1 (patch)
tree68c6076fe109e2b1ed9222e692caa31375da9e4a /gdb/xcoffread.c
parentf6befc42895ecec61c6de91666891bf81eba4307 (diff)
downloadgdb-d41055382cefd0ad4ab30a76fa743664c9a4cda1.tar.gz
* xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
* rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 8fe39f12866..00b99d51bb3 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -226,7 +226,7 @@ static void read_symbol (struct internal_syment *, int);
static int read_symbol_lineno (int);
-static int read_symbol_nvalue (int);
+static CORE_ADDR read_symbol_nvalue (int);
static struct symbol *process_xcoff_symbol (struct coff_symbol *,
struct objfile *);
@@ -1673,7 +1673,7 @@ read_symbol (symbol, symno)
/* Get value corresponding to symbol number symno in symtbl. */
-static int
+static CORE_ADDR
read_symbol_nvalue (symno)
int symno;
{