* hpread.c (hpread_type_lookup): Fix compilation failure.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 4 Jan 2007 07:20:24 +0000 (07:20 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 4 Jan 2007 07:20:24 +0000 (07:20 +0000)
gdb/ChangeLog
gdb/hpread.c

index 9851106ae9c2e117dfd0e14f4fa1f1abed734468..822d8abdf545b8db0e9f9c43e4eeaa2a8d4c2841 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * hpread.c (hpread_type_lookup): Fix compilation failure.
+
 2007-01-04  Qinwei  <qinwei@sunnorth.com.cn>
 
        * NEWS: New port to S+core.
index 16a445bfead492870d7828bd4b57dcf180f8ed35..03f0345b341fd67c36a923e85b1d6f6cb1bf6358 100644 (file)
@@ -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;