public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix a comment typo in sim-load.c
@ 2022-03-23 11:05 Reuben Thomas
  2022-03-24 17:28 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Reuben Thomas @ 2022-03-23 11:05 UTC (permalink / raw)
  To: Reuben Thomas via Gdb-patches

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

Patch attached to fix a typo where the documentation refers to a function
parameter by the wrong name.

-- 
https://rrt.sc3d.org

[-- Attachment #2: 0001-sim-fix-a-comment-typo.patch --]
[-- Type: text/x-patch, Size: 1069 bytes --]

From 0f64d4e6402ae2312fb38b6baf45466ebe46930b Mon Sep 17 00:00:00 2001
From: Reuben Thomas <rrt@sc3d.org>
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix a comment typo in sim-load.c
  2022-03-23 11:05 [PATCH] Fix a comment typo in sim-load.c Reuben Thomas
@ 2022-03-24 17:28 ` Simon Marchi
  2022-03-24 18:15   ` Reuben Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2022-03-24 17:28 UTC (permalink / raw)
  To: Reuben Thomas, Reuben Thomas via Gdb-patches

On 2022-03-23 07:05, Reuben Thomas via Gdb-patches wrote:
> Patch attached to fix a typo where the documentation refers to a function
> parameter by the wrong name.
> 
> -- 
> https://rrt.sc3d.org

Pushed, thanks.

Note that for gdb/, gdbsupport/, gdbserver/ and sim/, we do not use
ChangeLogs anymore, so you don't have to write ChangeLog entries.

Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix a comment typo in sim-load.c
  2022-03-24 17:28 ` Simon Marchi
@ 2022-03-24 18:15   ` Reuben Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Reuben Thomas @ 2022-03-24 18:15 UTC (permalink / raw)
  To: Simon Marchi; +Cc: Reuben Thomas via Gdb-patches

On Thu, 24 Mar 2022 at 17:28, Simon Marchi <simark@simark.ca> wrote:

>
> Pushed, thanks.
>
> Note that for gdb/, gdbsupport/, gdbserver/ and sim/, we do not use
> ChangeLogs anymore, so you don't have to write ChangeLog entries.
>

Thanks, I only just noticed the ChangeLogs have stopped.

-- 
https://rrt.sc3d.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-24 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 11:05 [PATCH] Fix a comment typo in sim-load.c Reuben Thomas
2022-03-24 17:28 ` Simon Marchi
2022-03-24 18:15   ` Reuben Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).