From patchwork Thu May 24 06:42:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Neuling X-Patchwork-Id: 919617 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40s0FB2dmyz9s2L for ; Thu, 24 May 2018 16:42:54 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40s0FB0yB1zF1Hj for ; Thu, 24 May 2018 16:42:54 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40s0F62GjnzF1H5 for ; Thu, 24 May 2018 16:42:50 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org Received: from localhost.localdomain (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 40s0F60HHHz9s1w; Thu, 24 May 2018 16:42:50 +1000 (AEST) Received: by localhost.localdomain (Postfix, from userid 1000) id E9E1FEE7919; Thu, 24 May 2018 16:42:49 +1000 (AEST) From: Michael Neuling To: alistair@popple.id.au Date: Thu, 24 May 2018 16:42:42 +1000 Message-Id: <20180524064243.14199-1-mikey@neuling.org> X-Mailer: git-send-email 2.17.0 Subject: [Pdbg] [PATCH 1/2] main: Fix -D option X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pdbg@lists.ozlabs.org MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Michael Neuling --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 20f5319b65..acd38cafdf 100644 --- a/src/main.c +++ b/src/main.c @@ -182,7 +182,7 @@ static bool parse_options(int argc, char *argv[]) {"processor", required_argument, NULL, 'p'}, {"slave-address", required_argument, NULL, 's'}, {"thread", required_argument, NULL, 't'}, - {"debug", required_argument, NULL, 'V'}, + {"debug", required_argument, NULL, 'D'}, {"version", no_argument, NULL, 'V'}, {"expert", no_argument, NULL, 'E'}, {NULL, 0, NULL, 0} From patchwork Thu May 24 06:42:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Neuling X-Patchwork-Id: 919618 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40s0FD0ZZPz9s2S for ; Thu, 24 May 2018 16:42:56 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40s0FC5pC0zF1H5 for ; Thu, 24 May 2018 16:42:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40s0F62MRMzF1HF for ; Thu, 24 May 2018 16:42:50 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=neuling.org Received: from localhost.localdomain (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 40s0F60J1qz9s29; Thu, 24 May 2018 16:42:50 +1000 (AEST) Received: by localhost.localdomain (Postfix, from userid 1000) id ED684EE791A; Thu, 24 May 2018 16:42:49 +1000 (AEST) From: Michael Neuling To: alistair@popple.id.au Date: Thu, 24 May 2018 16:42:43 +1000 Message-Id: <20180524064243.14199-2-mikey@neuling.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524064243.14199-1-mikey@neuling.org> References: <20180524064243.14199-1-mikey@neuling.org> Subject: [Pdbg] [PATCH 2/2] main: Exit 0 when printing version X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pdbg@lists.ozlabs.org MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Michael Neuling --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index acd38cafdf..fbe7be9e7a 100644 --- a/src/main.c +++ b/src/main.c @@ -279,7 +279,7 @@ static bool parse_options(int argc, char *argv[]) case 'V': printf("%s (commit %s)\n", PACKAGE_STRING, GIT_SHA1); - exit(1); + exit(0); break; case 'E':