aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-04 18:09:31 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-04 18:10:40 -0500
commit2b667e32973db97fb12b78f4f4d950c8c538d67c (patch)
tree11a7b7cba0d6f6f18b8c7563e77db9e7a1e9451e /sim/common
parent19b1c38562f49ed79e57385e8a2cb7ab72b60a2e (diff)
downloadgdb-2b667e32973db97fb12b78f4f4d950c8c538d67c.zip
gdb-2b667e32973db97fb12b78f4f4d950c8c538d67c.tar.gz
gdb-2b667e32973db97fb12b78f4f4d950c8c538d67c.tar.bz2
sim: common: use sim_config_print name
Meant to push this variant where naming preference is given to the module the code resides in rather than the operation it performs.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog2
-rw-r--r--sim/common/sim-config.c2
-rw-r--r--sim/common/sim-config.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 0b1c666..1781544 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -7,7 +7,7 @@
2021-01-04 Mike Frysinger <vapier@gentoo.org>
* sim-config.c (print_sim_config): Rename to ...
- (sim_print_config): ... this.
+ (sim_config_print): ... this.
* sim-config.h: Likewise.
2021-01-02 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c
index 59ee2d8..2acd1e4 100644
--- a/sim/common/sim-config.c
+++ b/sim/common/sim-config.c
@@ -294,7 +294,7 @@ sim_config (SIM_DESC sd)
void
-sim_print_config (SIM_DESC sd)
+sim_config_print (SIM_DESC sd)
{
sim_io_printf (sd, "WITH_TARGET_BYTE_ORDER = %s\n",
config_byte_order_to_a (WITH_TARGET_BYTE_ORDER));
diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
index 43c0327..6ab8d1a 100644
--- a/sim/common/sim-config.h
+++ b/sim/common/sim-config.h
@@ -313,7 +313,7 @@ extern SIM_RC sim_config (SIM_DESC sd);
/* Print the simulator configuration. */
-extern void sim_print_config (SIM_DESC sd);
+extern void sim_config_print (SIM_DESC sd);
#endif