From patchwork Wed Jun 8 13:29:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 9164701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B649B60467 for ; Wed, 8 Jun 2016 13:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A88CA2824F for ; Wed, 8 Jun 2016 13:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D51E282DC; Wed, 8 Jun 2016 13:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FSL_HELO_HOME, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 63D0A25D91 for ; Wed, 8 Jun 2016 13:49:00 +0000 (UTC) Received: from localhost ([::1]:57098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAdqt-0004EM-Er for patchwork-qemu-devel@patchwork.kernel.org; Wed, 08 Jun 2016 09:48:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAdZN-0004Fg-Ni for qemu-devel@nongnu.org; Wed, 08 Jun 2016 09:30:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAdZE-0005jf-UZ for qemu-devel@nongnu.org; Wed, 08 Jun 2016 09:30:49 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:35569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAdZE-0005jX-MO for qemu-devel@nongnu.org; Wed, 08 Jun 2016 09:30:44 -0400 Received: by mail-lf0-x22e.google.com with SMTP id u74so5848303lff.2 for ; Wed, 08 Jun 2016 06:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=48z81HoaJRbwLn0riORL3/y+cE1C5vCtmqi+cnf4sx8=; b=WAcB1HXwXGbGVtciz/9zhHnyEdRlrY35LcoWWn2l6dxcpzVmrIoPhH3X6eR0LpRzBV jVzqNSsRk9sCQSrmZiLkjpnAntyMkoxeqdHWR1FIkLAl+//IoMdA343MbcgnRyrQG46X 9O6RZMrkScyA9IuDgRo6jrLWCZ+MbmkgDJ+PY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=48z81HoaJRbwLn0riORL3/y+cE1C5vCtmqi+cnf4sx8=; b=Pn9lP+XLZw8k0Ongan+DNu44yUxWU49MsEShqIhmmPjkmDyN3LAPHddmJZ7xPmccA4 gqNqZuSd2TKXTkOKSv/b6GGcQQPuvlQxlpSkBVnJjWeiyQap2eMDYX/Le+Z5Ue1UIHT6 KnY3nzPHtDtcH2HNrrYq+1dnLa6Ho9ERQL8+VJ2l5Z17P9xGM6ofH+tmys+JCyvSdINR AZRI8WOwCP8sT6AkwFg+LVXGY5APBTHRybFcRrR22nDFuguqN3FA6TocHONMcnw/1UW4 /sQAgb+Zrs8441ThzybsVjs/WvPS42YE62qvFytn7mrIM5gMwe40uvWb134VX0dg6d8m 7gxQ== X-Gm-Message-State: ALyK8tJY+79mn7UYlGehIYSw9g7/1G9b9PFhUzBY7ufmlrdYv2SLuW2DC0P9wgDuES295g4Q X-Received: by 10.25.86.79 with SMTP id k76mr4732409lfb.189.1465392643987; Wed, 08 Jun 2016 06:30:43 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id 2sm139854lja.37.2016.06.08.06.30.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 06:30:43 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Wed, 8 Jun 2016 16:29:55 +0300 Message-Id: <8fdb9fef3d63b5e245a496e4999ebb599b9b9496.1465392530.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22e Subject: [Qemu-devel] [PULL 14/44] linux-user: Remove redundant gdb_queuesig() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Timothy E Baldwin Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Timothy E Baldwin Signed-off-by: Timothy Edward Baldwin Message-id: 1441497448-32489-22-git-send-email-T.E.Baldwin99@members.leeds.ac.uk Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- gdbstub.c | 13 ------------- include/exec/gdbstub.h | 1 - 2 files changed, 14 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 8155eed..b3101bf 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1494,19 +1494,6 @@ void gdb_exit(CPUArchState *env, int code) #ifdef CONFIG_USER_ONLY int -gdb_queuesig (void) -{ - GDBState *s; - - s = gdbserver_state; - - if (gdbserver_fd < 0 || s->fd < 0) - return 0; - else - return 1; -} - -int gdb_handlesig(CPUState *cpu, int sig) { GDBState *s; diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h index 8e3f8d8..f9708bb 100644 --- a/include/exec/gdbstub.h +++ b/include/exec/gdbstub.h @@ -48,7 +48,6 @@ int use_gdb_syscalls(void); void gdb_set_stop_cpu(CPUState *cpu); void gdb_exit(CPUArchState *, int); #ifdef CONFIG_USER_ONLY -int gdb_queuesig (void); int gdb_handlesig(CPUState *, int); void gdb_signalled(CPUArchState *, int); void gdbserver_fork(CPUState *);