mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-05 12:53:16 +08:00
* xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
inferred from the traceback tags, give its type the name "<non-float parameter>".
This commit is contained in:
parent
86d0248d41
commit
d1f14b46bd
@ -1,5 +1,9 @@
|
|||||||
Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
|
||||||
|
inferred from the traceback tags, give its type the name
|
||||||
|
"<non-float parameter>".
|
||||||
|
|
||||||
* stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
|
* stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
|
||||||
|
|
||||||
Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
|
Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Read AIX xcoff symbol tables and convert to internal format, for GDB.
|
/* Read AIX xcoff symbol tables and convert to internal format, for GDB.
|
||||||
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
|
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Derived from coffread.c, dbxread.c, and a lot of hacking.
|
Derived from coffread.c, dbxread.c, and a lot of hacking.
|
||||||
Contributed by IBM Corporation.
|
Contributed by IBM Corporation.
|
||||||
@ -1446,10 +1446,29 @@ read_xcoff_symtab (objfile, nsyms)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* fixed parm, use (int*) for hex rep. */
|
static struct type *intparm_type;
|
||||||
|
if (intparm_type == NULL)
|
||||||
|
{
|
||||||
|
|
||||||
|
/* Create a type, which is a pointer
|
||||||
|
type (a kludge to make it print
|
||||||
|
in hex), but which has a name
|
||||||
|
indicating we don't know the real
|
||||||
|
type. */
|
||||||
|
|
||||||
|
intparm_type =
|
||||||
|
init_type
|
||||||
|
(TYPE_CODE_PTR,
|
||||||
|
TARGET_PTR_BIT / HOST_CHAR_BIT,
|
||||||
|
0,
|
||||||
|
"<non-float parameter>",
|
||||||
|
NULL);
|
||||||
|
TYPE_TARGET_TYPE (intparm_type) =
|
||||||
|
builtin_type_void;
|
||||||
|
}
|
||||||
ADD_PARM_TO_PENDING
|
ADD_PARM_TO_PENDING
|
||||||
(parm, parmvalue,
|
(parm, parmvalue,
|
||||||
lookup_pointer_type (builtin_type_int),
|
intparm_type,
|
||||||
local_symbols);
|
local_symbols);
|
||||||
parmvalue += sizeof (int);
|
parmvalue += sizeof (int);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user