Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pavel Kryukov <kryukov@frtk.ru>
To: gdb-patches@sourceware.org
Cc: "Pavel I. Kryukov" <kryukov@frtk.ru>
Subject: [PATCH] Include <stdlib.h> to sim-main.c for abort() declaration
Date: Sun, 27 Dec 2020 13:48:23 +0300	[thread overview]
Message-ID: <20201227104823.85-1-kryukov@frtk.ru> (raw)

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


             reply	other threads:[~2020-12-27 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 10:48 Pavel Kryukov [this message]
2020-12-28 15:58 ` Andrew Burgess
2020-12-28 17:26   ` Pavel I. Kryukov
2020-12-31  4:17     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201227104823.85-1-kryukov@frtk.ru \
    --to=kryukov@frtk.ru \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox