Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: "Pavel I. Kryukov" <kryukov@frtk.ru>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Include <stdlib.h> to sim-main.c for abort() declaration
Date: Thu, 31 Dec 2020 08:17:05 +0400	[thread overview]
Message-ID: <20201231041705.GA62116@adacore.com> (raw)
In-Reply-To: <CADip9gYarX46NO5fN58Xk5h9RAnzcwz=Br_phnCGsFgFJ99YWQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Hello Pavel,

> Could you please push it? I don't have such permissions.

I pushed the patch, after having made some minor editorial modifications
to the commit message and ChangeLog entry (added a period at the end of
the sentence describing the change).

Attached is what just got pushed.

-- 
Joel

[-- Attachment #2: 0001-sim-mips-sim-main.c-Include-stdlib.h-for-abort-decla.patch --]
[-- Type: text/x-diff, Size: 1158 bytes --]

From 382bc56bc702608c2f493f743c2e990435a7a74c Mon Sep 17 00:00:00 2001
From: "Pavel I. Kryukov" <kryukov@frtk.ru>
Date: Thu, 31 Dec 2020 08:14:36 +0400
Subject: [PATCH] sim/mips/sim-main.c: Include <stdlib.h> (for abort()
 declaration)

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 8164bb28b41..a3813d43511 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-31  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
+
+	*  sim-main.c: Include <stdlib.h>.
+
 2020-12-14  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
 
 	* cp1.c: Include <stdlib.h>.
diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
index d61ce61fc88..620f4b2990b 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.25.1


      reply	other threads:[~2020-12-31  4:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 10:48 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 message]

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=20201231041705.GA62116@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=kryukov@frtk.ru \
    /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