diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-13 16:29:16 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-13 16:29:16 +0000 |
commit | 46cb6474c3a9fae3dbe25f7f42a7d24217d0fb5c (patch) | |
tree | ca786a631be8d9d3807b3c4c10bf204b9151db61 /gdb/stabsread.c | |
parent | 76219d77db475ff305c095b6aea0fe39af223921 (diff) | |
download | gdb-46cb6474c3a9fae3dbe25f7f42a7d24217d0fb5c.zip gdb-46cb6474c3a9fae3dbe25f7f42a7d24217d0fb5c.tar.gz gdb-46cb6474c3a9fae3dbe25f7f42a7d24217d0fb5c.tar.bz2 |
[stabs] The address of Fortran common blocks may be > INT_MAX.
gdb/
2012-03-08 Chris January <chris.january@allinea.com>
* stabsread.c (fix_common_block): Change type of valu argument
to CORE_ADDR.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index afcfe06..ac82652 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -98,7 +98,7 @@ static void patch_block_stabs (struct pending *, struct pending_stabs *, struct objfile *); -static void fix_common_block (struct symbol *, int); +static void fix_common_block (struct symbol *, CORE_ADDR); static int read_type_number (char **, int *); @@ -4397,7 +4397,7 @@ common_block_end (struct objfile *objfile) the common block name). */ static void -fix_common_block (struct symbol *sym, int valu) +fix_common_block (struct symbol *sym, CORE_ADDR valu) { struct pending *next = (struct pending *) SYMBOL_TYPE (sym); |