projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2005-02-07 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git]
/
gdb
/
p-exp.y
diff --git
a/gdb/p-exp.y
b/gdb/p-exp.y
index a80f8e9275b0263dde58d8c1684414355284db6f..5a61276fb3baa95bf0b6c795a75849c63bb85692 100644
(file)
--- a/
gdb/p-exp.y
+++ b/
gdb/p-exp.y
@@
-521,7
+521,7
@@
exp : THIS
/* we need type of this */
this_val = value_of_this (0);
if (this_val)
/* we need type of this */
this_val = value_of_this (0);
if (this_val)
- this_type =
this_val->type
;
+ this_type =
value_type (this_val)
;
else
this_type = NULL;
if (this_type)
else
this_type = NULL;
if (this_type)
@@
-672,7
+672,7
@@
variable: name_not_typename
/* we need type of this */
this_val = value_of_this (0);
if (this_val)
/* we need type of this */
this_val = value_of_this (0);
if (this_val)
- this_type =
this_val->type
;
+ this_type =
value_type (this_val)
;
else
this_type = NULL;
if (this_type)
else
this_type = NULL;
if (this_type)
This page took
0.023505 seconds
and
4
git commands to generate.