From patchwork Sat Mar 22 12:26:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 237 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (caibbdcaaahb.dreamhost.com [208.113.200.71]) by wilcox.dreamhost.com (Postfix) with ESMTP id 2A733360160 for ; Sat, 22 Mar 2014 22:43:41 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14314964) id CB5E2CB8828; Sat, 22 Mar 2014 22:43:40 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx21.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 9D52CCB8840 for ; Sat, 22 Mar 2014 22:43:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=EtJ7tpPiMwNd7knDVvzRa34YP6MW+ ew978TfJpTNynm0TXaH6E2zd+2/U+09SzZXbjbOlPesGu9EZ4AIiuwOkxNttdgDs jjw+Z/X0c6iWz3S/c3DXaeTVWDPtVTND70qAOPeRIg1V+GgTOCT5ecSX55DH0AOB xa3iRGRCS6HeME= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=/i5+SqlCwjiETXK1pgIYd2JmzAM=; b=x1h w21T7qoPyDP5oJQn5rawB41fmcnFf+5calJo5/u7kas7NX5fblMHHGNBYaFoJUtS vDG99UHGsILLvkreX6dEHUZG7tYHwZ9/a4Ln56VG3R6YNdVvZJNogfYsh/aE16rN pooldWbfN4LD6WN49uqiGrL/2pQyDu+rD6hLR4Fg= Received: (qmail 15161 invoked by alias); 23 Mar 2014 05:43:36 -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 15144 invoked by uid 89); 23 Mar 2014 05:43:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_00, DATE_IN_PAST_12_24, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pb0-f42.google.com Received: from mail-pb0-f42.google.com (HELO mail-pb0-f42.google.com) (209.85.160.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 23 Mar 2014 05:43:31 +0000 Received: by mail-pb0-f42.google.com with SMTP id rr13so4120109pbb.1 for ; Sat, 22 Mar 2014 22:43:29 -0700 (PDT) X-Received: by 10.66.11.202 with SMTP id s10mr63654378pab.86.1395553409565; Sat, 22 Mar 2014 22:43:29 -0700 (PDT) Received: from ruffy-vm.sspiff.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id op3sm18937582pbc.40.2014.03.22.22.43.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Mar 2014 22:43:28 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [commit] infcmd.c: Whitespace, comment fixes. Date: Sat, 22 Mar 2014 08:26:29 -0400 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes X-DH-Original-To: gdb@patchwork.siddhesh.in Hi. Just some simple cleanups to infcmd.c. Committed. 2014-03-22 Doug Evans * infcmd.c: Whitespace fixes. (interrupt_command): Merge two function comments into one. diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 16a1d54..920169d 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -232,6 +232,7 @@ set_inferior_args_vector (int argc, char **argv) } /* Notice when `set args' is run. */ + static void set_args_command (char *args, int from_tty, struct cmd_list_element *c) { @@ -241,6 +242,7 @@ set_args_command (char *args, int from_tty, struct cmd_list_element *c) } /* Notice when `show args' is run. */ + static void show_args_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) @@ -253,6 +255,7 @@ show_args_command (struct ui_file *file, int from_tty, /* Compute command-line string given argument vector. This does the same shell processing as fork_inferior. */ + char * construct_inferior_arguments (int argc, char **argv) { @@ -373,6 +376,7 @@ construct_inferior_arguments (int argc, char **argv) background execution) has been added as *the last* of the arguments ARGS of a command. If it has, it removes it and returns 1. Otherwise it does nothing and returns 0. */ + static int strip_bg_char (char **args) { @@ -748,6 +752,7 @@ continue_1 (int all_threads) } /* continue [-a] [proceed-count] [&] */ + static void continue_command (char *args, int from_tty) { @@ -960,6 +965,7 @@ struct step_1_continuation_args to the user. If count is > 1, we will need to do one more call to proceed(), via step_once(). Basically it is like step_once and step_1_continuation are co-recursive. */ + static void step_1_continuation (void *args, int err) { @@ -1187,6 +1193,7 @@ jump_command (char *arg, int from_tty) /* Go to line or address in current procedure. */ + static void go_command (char *line_no, int from_tty) { @@ -2693,12 +2700,12 @@ interrupt_target_1 (int all_threads) set_stop_requested (ptid, 1); } -/* Stop the execution of the target while running in async mode, in +/* interrupt [-a] + Stop the execution of the target while running in async mode, in the backgound. In all-stop, stop the whole process. In non-stop mode, stop the current thread only by default, or stop all threads if the `-a' switch is used. */ -/* interrupt [-a] */ static void interrupt_command (char *args, int from_tty) {