* gdbtypes.h, gdbtypes.c: Add comments regarding whether static
member functions have an element in args for a (nonexistent) this pointer.
This commit is contained in:
parent
2b7ac6fdb0
commit
e552788b73
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* gdbtypes.h, gdbtypes.c: Add comments regarding whether static
|
||||||
|
member functions have an element in args for a (nonexistent) this
|
||||||
|
pointer.
|
||||||
|
|
||||||
Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
* config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
|
* config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
|
||||||
|
|
|
@ -979,6 +979,7 @@ check_stub_method (type, i, j)
|
||||||
argtypes = (struct type **)
|
argtypes = (struct type **)
|
||||||
TYPE_ALLOC (type, (argcount + 2) * sizeof (struct type *));
|
TYPE_ALLOC (type, (argcount + 2) * sizeof (struct type *));
|
||||||
p = argtypetext;
|
p = argtypetext;
|
||||||
|
/* FIXME: This is wrong for static member functions. */
|
||||||
argtypes[0] = lookup_pointer_type (type);
|
argtypes[0] = lookup_pointer_type (type);
|
||||||
argcount = 1;
|
argcount = 1;
|
||||||
|
|
||||||
|
|
|
@ -411,7 +411,8 @@ struct cplus_struct_type
|
||||||
|
|
||||||
/* The argument list. Only valid if is_stub is clear. Contains
|
/* The argument list. Only valid if is_stub is clear. Contains
|
||||||
the type of each argument, including `this', and ending with
|
the type of each argument, including `this', and ending with
|
||||||
a NULL pointer after the last argument. */
|
a NULL pointer after the last argument. Should not contain
|
||||||
|
a `this' pointer for static member functions. */
|
||||||
|
|
||||||
struct type **args;
|
struct type **args;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue