+/* Provide only a fill function for the general register set. ps_lgetregs
+ will use this for NPTL support. */
+
+static void s390_fill_gregset (void *buf)
+{
+ int i;
+
+ for (i = 0; i < 34; i++)
+ collect_register (i, (char *) buf + s390_regmap[i]);
+}
+
+struct regset_info target_regsets[] = {
+ { 0, 0, 0, GENERAL_REGS, s390_fill_gregset, NULL },
+ { 0, 0, -1, -1, NULL, NULL }
+};
+