Split size in regset section iterators
[deliverable/binutils-gdb.git] / gdb / nios2-linux-tdep.c
index e7f4ecf16e2ce100bcb294ceea9a9fef7fd62de7..d7e97abf09a82b04d2744dbf5573f6a7dfb20e7f 100644 (file)
@@ -106,7 +106,8 @@ nios2_iterate_over_regset_sections (struct gdbarch *gdbarch,
                                    void *cb_data,
                                    const struct regcache *regcache)
 {
-  cb (".reg", NIOS2_GREGS_SIZE, &nios2_core_regset, NULL, cb_data);
+  cb (".reg", NIOS2_GREGS_SIZE, NIOS2_GREGS_SIZE, &nios2_core_regset, NULL,
+      cb_data);
 }
 
 /* Initialize a trad-frame cache corresponding to the tramp-frame.
This page took 0.024212 seconds and 4 git commands to generate.