From: Joel Brobecker Date: Thu, 4 Jan 2007 07:20:24 +0000 (+0000) Subject: * hpread.c (hpread_type_lookup): Fix compilation failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5310399798648a7e61717d23e321d2ef29ad4730;p=binutils-gdb.git * hpread.c (hpread_type_lookup): Fix compilation failure. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9851106ae9c..822d8abdf54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-01-04 Joel Brobecker + + * hpread.c (hpread_type_lookup): Fix compilation failure. + 2007-01-04 Qinwei * NEWS: New port to S+core. diff --git a/gdb/hpread.c b/gdb/hpread.c index 16a445bfead..03f0345b341 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;