Initialize do_register_dump properly