delegators.append(name)
-with open("target-delegates.c", "w") as f:
+with open("target-delegates-gen.c", "w") as f:
print(
gdbcopyright.copyright(
"make-target-delegates.py", "Boilerplate target methods for GDB"
behavior is needed.
References to these printers are automatically generated by
- make-target-delegates. See the generated file target-delegates.c.
+ make-target-delegates. See the generated file target-delegates-gen.c.
In a couple cases, a special printing function is defined and then
used via the TARGET_DEBUG_PRINTER macro. See target.h.
#include "target/waitstatus.h"
/* The functions defined in this header file are not marked "inline", such
- that any function not used by target-delegates.c (the only user of this file)
- will be flagged as unused. */
+ that any function not used by target-delegates-gen.c (the only user of this
+ file) will be flagged as unused. */
static std::string
target_debug_print_target_object (target_object object)
return NULL;
}
-#include "target-delegates.c"
+#include "target-delegates-gen.c"
/* The initial current target, so that there is always a semi-valid
current target. */