From patchwork Mon Nov 25 05:26:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 36180 Received: (qmail 61262 invoked by alias); 25 Nov 2019 05:33:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 61177 invoked by uid 89); 25 Nov 2019 05:33:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=disp X-HELO: mail.efficios.com Received: from mail.efficios.com (HELO mail.efficios.com) (167.114.142.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Nov 2019 05:33:32 +0000 Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id E68E9347563 for ; Mon, 25 Nov 2019 00:27:20 -0500 (EST) Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id t0M1ky1XjrSs; Mon, 25 Nov 2019 00:27:20 -0500 (EST) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id AB22734750C; Mon, 25 Nov 2019 00:27:17 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com AB22734750C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1574659637; bh=/9We1g8wbVdEo8ST+pz9EghA0iNmo2Z0YlA4KJ7CMgo=; h=From:To:Date:Message-Id:MIME-Version; b=KxXMFRNQ7F9oa1kF1JAcLu+3+cMfa0GY+alDMFUpBeMY2hM/WeOW/3bfxmmVLA/5K ctA9HcTFer11EaWb70KmYCbQW7seL75p6hZoFW3sywHS8XPuU1n9Z2RzXnZdQ8TQmE 0Gc/AWnoUcppAucmsbeuefrt7axsvcGldHSbEP2Q/WGAEJ0gsk7RVCciBDv9qbkXw9 y53xhWQHMW6ngb9Ugg8fcE0hGrhESUTphXEQmOQqPjOewGWsvecTEqIRLxmHqzyzYc I3aS80hwJWZNtxLzzQtg5ZDuZZYxXIPXO++XpLqF9ntyPS4S4y4Mq0lW0kZjujOxOg bN214pWLYP9+Q== Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id RWUjggRU11mc; Mon, 25 Nov 2019 00:27:17 -0500 (EST) Received: from smarchi-efficios.lan (unknown [192.222.164.54]) by mail.efficios.com (Postfix) with ESMTPSA id 364C83474B4; Mon, 25 Nov 2019 00:27:11 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 10/15] Remove unused rbreak_command_wrapper and other declarations Date: Mon, 25 Nov 2019 00:26:50 -0500 Message-Id: <20191125052655.22696-11-simon.marchi@efficios.com> In-Reply-To: <20191125052655.22696-1-simon.marchi@efficios.com> References: <20191125052655.22696-1-simon.marchi@efficios.com> MIME-Version: 1.0 rbreak_command_wrapper is unused, so remove it. And while at it, remove other declarations around it. gdb/ChangeLog: * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper, rbreak_command_wrapper): Remove. * symtab.c (rbreak_command_wrapper): Remove. Change-Id: If9782f205e4913f8dfc5beeaa526544f25e099c6 --- gdb/breakpoint.h | 3 --- gdb/symtab.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5c8f17ce397e..a9d689d02a22 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1299,9 +1299,6 @@ const char *bpdisp_text (enum bpdisp disp); extern void break_command (const char *, int); -extern void hbreak_command_wrapper (const char *, int); -extern void thbreak_command_wrapper (const char *, int); -extern void rbreak_command_wrapper (const char *, int); extern void watch_command_wrapper (const char *, int, int); extern void awatch_command_wrapper (const char *, int, int); extern void rwatch_command_wrapper (const char *, int, int); diff --git a/gdb/symtab.c b/gdb/symtab.c index 59b1cb491a09..0f4cfa75eef2 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -5074,14 +5074,6 @@ info_modules_command (const char *args, int from_tty) from_tty); } -/* Breakpoint all functions matching regular expression. */ - -void -rbreak_command_wrapper (char *regexp, int from_tty) -{ - rbreak_command (regexp, from_tty); -} - static void rbreak_command (const char *regexp, int from_tty) {