aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-23 15:52:11 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-23 15:52:11 +0000
commite552788b73b2629b9c3beb48e3b8441e1bd26ccd (patch)
treead605e4ba7539def9a6b3a9f3c9d5b2bbde4be90 /gdb/gdbtypes.c
parent2b7ac6fdb0eaf6884e7a220c3b4f1c54446d5688 (diff)
downloadgdb-e552788b73b2629b9c3beb48e3b8441e1bd26ccd.zip
gdb-e552788b73b2629b9c3beb48e3b8441e1bd26ccd.tar.gz
gdb-e552788b73b2629b9c3beb48e3b8441e1bd26ccd.tar.bz2
* gdbtypes.h, gdbtypes.c: Add comments regarding whether static
member functions have an element in args for a (nonexistent) this pointer.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 12caa7a..06bada5 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -979,6 +979,7 @@ check_stub_method (type, i, j)
argtypes = (struct type **)
TYPE_ALLOC (type, (argcount + 2) * sizeof (struct type *));
p = argtypetext;
+ /* FIXME: This is wrong for static member functions. */
argtypes[0] = lookup_pointer_type (type);
argcount = 1;