Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Include <stdlib.h> to sim-main.c for abort() declaration
@ 2020-12-27 10:48 Pavel Kryukov
  2020-12-28 15:58 ` Andrew Burgess
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Kryukov @ 2020-12-27 10:48 UTC (permalink / raw)
  To: gdb-patches; +Cc: Pavel I. Kryukov

From: "Pavel I. Kryukov" <kryukov@frtk.ru>

sim/mips/ChangeLog:

	* sim-main.c: Include <stdlib.h>
---
 sim/mips/ChangeLog  | 4 ++++
 sim/mips/sim-main.c | 1 +
 2 files changed, 5 insertions(+)

diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index f9a1eb96c6..ba0043ca48 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-27  Pavel I. Kryukov  <kryukov@frtk.ru>
+
+	* sim-main.c: Include <stdlib.h>.
+
 2020-12-12  Pavel I. Kryukov  <kryukov@frtk.ru>
 
 	* cp1.c: Include <stdlib.h>.
diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
index d61ce61fc8..620f4b2990 100644
--- a/sim/mips/sim-main.c
+++ b/sim/mips/sim-main.c
@@ -22,6 +22,7 @@
 #include "sim-main.h"
 #include "sim-assert.h"
 
+#include <stdlib.h>
 
 /*---------------------------------------------------------------------------*/
 /*-- simulator engine -------------------------------------------------------*/
-- 
2.17.1


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

end of thread, other threads:[~2020-12-31  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 10:48 [PATCH] Include <stdlib.h> to sim-main.c for abort() declaration Pavel Kryukov
2020-12-28 15:58 ` Andrew Burgess
2020-12-28 17:26   ` Pavel I. Kryukov
2020-12-31  4:17     ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox