From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18636 invoked by alias); 1 Jun 2011 17:36:02 -0000 Received: (qmail 18620 invoked by uid 22791); 1 Jun 2011 17:36:01 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jun 2011 17:35:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 139852BB443; Wed, 1 Jun 2011 13:35:42 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xz2wvlcedJTy; Wed, 1 Jun 2011 13:35:42 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DDBE22BB444; Wed, 1 Jun 2011 13:35:41 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6141F145615; Wed, 1 Jun 2011 10:35:39 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [commit/sim] Add `sim_complete_command' definition to erc32 sim Date: Wed, 01 Jun 2011 17:36:00 -0000 Message-Id: <1306949738-1783-1-git-send-email-brobecker@adacore.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00010.txt.bz2 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 + + * interf.c (sim_complete_command): New stub function. + 2011-01-11 Andrew Burgess * 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