diff options
author | Kung Hsu <kung@cygnus> | 1993-11-29 23:40:31 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1993-11-29 23:40:31 +0000 |
commit | e9935d43b7cf6a75e38c5cb8747a28d52720e4bd (patch) | |
tree | d36c1fd62b6c81b9ab8fb706f249ded9e6d7ac64 /gdb/stabsread.c | |
parent | 1d208eb3aae4209249051f5d1994851f76107354 (diff) | |
download | gdb-e9935d43b7cf6a75e38c5cb8747a28d52720e4bd.zip gdb-e9935d43b7cf6a75e38c5cb8747a28d52720e4bd.tar.gz gdb-e9935d43b7cf6a75e38c5cb8747a28d52720e4bd.tar.bz2 |
Modified Files:
ChangeLog stabsread.c
* stabsread.c(read_struct_field): Fix the check when getting to
member functions. (fix pr4000).
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index f79f351..4824b71 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2343,7 +2343,7 @@ read_struct_fields (fip, pp, type, objfile) } read_one_struct_field (fip, pp, p, type, objfile); } - if (p[1] == ':') + if (p[0] == ':' && p[1] == ':') { /* chill the list of fields: the last entry (at the head) is a partially constructed entry which we now scrub. */ |