From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id dL2NEtTaGGAmIAAAWB0awg (envelope-from ) for ; Mon, 01 Feb 2021 23:53:40 -0500 Received: by simark.ca (Postfix, from userid 112) id 3E7DE1EF80; Mon, 1 Feb 2021 23:53:40 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7A0171E945 for ; Mon, 1 Feb 2021 23:53:39 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 016FC3840C1F; Tue, 2 Feb 2021 04:53:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 016FC3840C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1612241619; bh=Za/tDzD0R+y4Bjf8LtKgXfvZ5D/EYcPDK4zvijhxWGU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ZGh2uUJzmUCKQnpP1184b9RIh/igXNTuY9hfWPUshwikPtwXNgJ8t+ccgW20u8cLx q2/1ozewShMOIxUXPtjayAixrgWX2NOWAWMQhS8XSEYYW09eGKqI3dz4Fn//FWIq9T kvus+Ule5kZWKWWWyS+n6qcWST5mlDQs5Ks0g1yY= Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 9AEE13854802 for ; Tue, 2 Feb 2021 04:53:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9AEE13854802 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A3686341389; Tue, 2 Feb 2021 04:53:35 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH] sim: erc32/m32c/rl78: add sim_memory_map stub for gdb Date: Mon, 1 Feb 2021 23:53:33 -0500 Message-Id: <20210202045333.26065-1-vapier@gentoo.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" These ports don't use the common sim core, so they weren't providing a sim_memory_map for gdb, so they failed to link with the new memory map logic added for the sim. Add stubs to fix. erc32/ * interf.c (sim_memory_map): Define. m32c/ * gdb-if.c (sim_memory_map): Define. rl78/ * gdb-if.c (sim_memory_map): Define. --- sim/erc32/interf.c | 6 ++++++ sim/m32c/gdb-if.c | 6 ++++++ sim/rl78/gdb-if.c | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 5dd464b0ce76..ca2e9faea217 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -465,6 +465,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) return NULL; } +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +} + #if 0 /* FIXME: These shouldn't exist. */ int diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 5ada0b0bc17e..92e447f17faa 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -707,6 +707,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) return NULL; } +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +} + void sim_info (SIM_DESC sd, int verbose) { diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index 320db34f436a..56717917e552 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -603,3 +603,9 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) { return NULL; } + +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +} -- 2.30.0