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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/stabsread.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f79f841..30d7f4f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 29 15:34:58 1993 Kung Hsu (kung@cirdan.cygnus.com) + + * stabsread.c(read_struct_field): Fix the check when getting to + member functions. + Mon Nov 29 16:48:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) gcc -Wall -O lint: 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. */ |