public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: ft32: move arch-specific settings to internal header
@ 2022-12-23 13:39 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-12-23 13:39 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=84bc490d588a8b7bcdae002e3b5876c5b7c289a8

commit 84bc490d588a8b7bcdae002e3b5876c5b7c289a8
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Dec 22 22:42:02 2022 -0500

    sim: ft32: move arch-specific settings to internal header
    
    There's no need for these settings to be in sim-main.h which is shared
    with common/ sim code, so drop the ft32-sim.h include and move it to
    the few files that actually need it.

Diff:
---
 sim/ft32/interp.c   | 2 ++
 sim/ft32/sim-main.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c
index 9324475709e..dfea4720c22 100644
--- a/sim/ft32/interp.c
+++ b/sim/ft32/interp.c
@@ -37,6 +37,8 @@
 
 #include "opcode/ft32.h"
 
+#include "ft32-sim.h"
+
 /*
  * FT32 is a Harvard architecture: RAM and code occupy
  * different address spaces.
diff --git a/sim/ft32/sim-main.h b/sim/ft32/sim-main.h
index 5c84f9e2f21..4529d018756 100644
--- a/sim/ft32/sim-main.h
+++ b/sim/ft32/sim-main.h
@@ -24,6 +24,4 @@
 #include "sim-basics.h"
 #include "sim-base.h"
 
-#include "ft32-sim.h"
-
 #endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-23 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 13:39 [binutils-gdb] sim: ft32: move arch-specific settings to internal header Michael Frysinger

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).