From 0f64d4e6402ae2312fb38b6baf45466ebe46930b Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 23 Mar 2022 11:03:16 +0000 Subject: [PATCH] sim: fix a comment typo * sim/common/sim-load.c: the documentation for sim_load_file refers to DO_LOAD where it should refer to DO_WRITE. Fix this. --- sim/common/sim-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index 58a39134ae6..020165a0dce 100644 --- a/sim/common/sim-load.c +++ b/sim/common/sim-load.c @@ -38,7 +38,7 @@ static void xprintf (host_callback *, const char *, ...); static void report_transfer_performance (host_callback *, unsigned long, time_t, time_t); -/* Load program PROG into the simulator using the function DO_LOAD. +/* Load program PROG into the simulator using the function DO_WRITE. If PROG_BFD is non-NULL, the file has already been opened. If VERBOSE_P is non-zero statistics are printed of each loaded section and the transfer rate (for consistency with gdb). -- 2.25.1