- gdb_assert (gdbarch != NULL);
- gdb_assert (sect_name != NULL);
-
- if (strcmp(sect_name, ".reg") == 0
- && sect_size == SCORE7_LINUX_SIZEOF_GREGSET)
- return &score7_linux_gregset;
-
- return NULL;
+ cb (".reg", SCORE7_LINUX_SIZEOF_GREGSET, &score7_linux_gregset,
+ NULL, cb_data);