diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-18 19:26:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-18 19:26:58 -0500 |
commit | 7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9 (patch) | |
tree | 352fd8644faace35b21fe77c3f3a4839c356ff8c /sim/common | |
parent | c743e42e2213abe73a63c847409fbf0ca3c8cd46 (diff) | |
download | gdb-7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9.zip gdb-7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9.tar.gz gdb-7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9.tar.bz2 |
sim: unify sim-signal.o building
Now that sim-main.h has been reduced significantly, we can remove it
from sim-signal.c and unify it across all boards since it compiles to
the same code.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/local.mk | 2 | ||||
-rw-r--r-- | sim/common/sim-signal.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk index 89843ea..5d0992f 100644 --- a/sim/common/local.mk +++ b/sim/common/local.mk @@ -31,6 +31,7 @@ noinst_LIBRARIES += %D%/libcommon.a %D%/callback.c \ %D%/portability.c \ %D%/sim-load.c \ + %D%/sim-signal.c \ %D%/syscall.c \ %D%/target-newlib-errno.c \ %D%/target-newlib-open.c \ @@ -95,7 +96,6 @@ SIM_NEW_COMMON_OBJS = \ sim-profile.o \ sim-reason.o \ sim-reg.o \ - sim-signal.o \ sim-stop.o \ sim-syscall.o \ sim-trace.o \ diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c index 9c4e261..36ebbdf 100644 --- a/sim/common/sim-signal.c +++ b/sim/common/sim-signal.c @@ -22,7 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <signal.h> -#include "sim-main.h" +#include "sim/sim.h" +#include "sim-io.h" #include "sim-signal.h" /* Convert SIM_SIGFOO to SIGFOO. |