diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-01-04 07:20:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-01-04 07:20:24 +0000 |
commit | 5310399798648a7e61717d23e321d2ef29ad4730 (patch) | |
tree | 6b2681c0ce7c7003455fc85b520836859a0092e4 /gdb/hpread.c | |
parent | 27fd2f5070b82e3e58fa709ff3d4479d4c5713db (diff) | |
download | gdb-5310399798648a7e61717d23e321d2ef29ad4730.zip gdb-5310399798648a7e61717d23e321d2ef29ad4730.tar.gz gdb-5310399798648a7e61717d23e321d2ef29ad4730.tar.bz2 |
* hpread.c (hpread_type_lookup): Fix compilation failure.
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r-- | gdb/hpread.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index 16a445b..03f0345 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -4871,10 +4871,9 @@ hpread_type_lookup (dnttpointer hp_type, struct objfile *objfile) struct type *ptrmemtype; struct type *class_type; struct type *memtype; - memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype, - objfile), - class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto, - objfile), + + memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype, objfile); + class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto, objfile); return lookup_memberptr_type (memtype, class_type); } break; |