Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [commit/sim] Add `sim_complete_command' definition to erc32 sim
Date: Wed, 01 Jun 2011 17:36:00 -0000	[thread overview]
Message-ID: <1306949738-1783-1-git-send-email-brobecker@adacore.com> (raw)

This patch fixes a build failure at link time due to
sim_complete_command being undefined.  There was a recent change
that added this function to all the ports that do not use the
common/ subdir.  But somehow, the erc32 port got missed.

sim/erc32/ChangeLog:

        * interf.c (sim_complete_command): New stub function.

Checked in.

---
 sim/erc32/ChangeLog |    4 ++++
 sim/erc32/interf.c  |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index cf128ba..5317b99 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-01  Joel Brobecker  <brobecker@adacore.com>
+
+	* interf.c (sim_complete_command): New stub function.
+
 2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
 
 	* interf.c (sim_store_register): Update return value to
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index d81511a..7ee4dee 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -481,6 +481,12 @@ sim_do_command(sd, cmd)
     exec_cmd(&sregs, cmd);
 }
 
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
+
 #if 0 /* FIXME: These shouldn't exist.  */
 
 int
-- 
1.7.1


             reply	other threads:[~2011-06-01 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 17:36 Joel Brobecker [this message]
2011-06-01 18:12 ` Mike Frysinger
2011-06-01 18:57   ` Joel Brobecker
2011-06-02  4:48     ` Ralf Corsepius
2011-06-02 17:10     ` Mike Frysinger

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=1306949738-1783-1-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --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