From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26906 invoked by alias); 8 Sep 2009 00:51:39 -0000 Received: (qmail 26804 invoked by uid 22791); 8 Sep 2009 00:51:38 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Sep 2009 00:51:32 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 8643813086 for ; Mon, 7 Sep 2009 17:51:28 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost2.vmware.com (Postfix) with ESMTP id DC2488E74B for ; Mon, 7 Sep 2009 17:51:28 -0700 (PDT) Message-ID: <4AA5AA3E.9080408@vmware.com> Date: Tue, 08 Sep 2009 00:51:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [OB] comment and whitespace Content-Type: multipart/mixed; boundary="------------060304050601050400070407" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00180.txt.bz2 This is a multi-part message in MIME format. --------------060304050601050400070407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 24 Checked in as obvious. --------------060304050601050400070407 Content-Type: text/plain; name="1comment.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1comment.txt" Content-length: 2655 2009-09-07 Michael Snyder * record.c: Minor comment and white space fix-ups. Index: record.c =================================================================== RCS file: /cvs/src/src/gdb/record.c,v retrieving revision 1.16 diff -u -p -r1.16 record.c --- record.c 2 Sep 2009 01:31:09 -0000 1.16 +++ record.c 8 Sep 2009 00:49:41 -0000 @@ -32,14 +32,16 @@ #define RECORD_IS_REPLAY \ (record_list->next || execution_direction == EXEC_REVERSE) -/* These are the core struct of record function. +/* These are the core structs of the process record functionality. - An record_entry is a record of the value change of a register + A record_entry is a record of the value change of a register ("record_reg") or a part of memory ("record_mem"). And each - instruction must has a struct record_entry ("record_end") that points out this - is the last struct record_entry of this instruction. + instruction must have a struct record_entry ("record_end") that + indicates that this is the last struct record_entry of this + instruction. - Each struct record_entry is linked to "record_list" by "prev" and "next". */ + Each struct record_entry is linked to "record_list" by "prev" and + "next" pointers. */ struct record_reg_entry { @@ -1288,15 +1290,15 @@ _initialize_record (void) /* Record instructions number limit command. */ add_setshow_boolean_cmd ("stop-at-limit", no_class, - &record_stop_at_limit, _("\ + &record_stop_at_limit, _("\ Set whether record/replay stops when record/replay buffer becomes full."), _("\ Show whether record/replay stops when record/replay buffer becomes full."), _("\ Default is ON.\n\ When ON, if the record/replay buffer becomes full, ask user what to do.\n\ When OFF, if the record/replay buffer becomes full,\n\ delete the oldest recorded instruction to make room for each new one."), - NULL, NULL, - &set_record_cmdlist, &show_record_cmdlist); + NULL, NULL, + &set_record_cmdlist, &show_record_cmdlist); add_setshow_zinteger_cmd ("insn-number-max", no_class, &record_insn_max_num, _("Set record/replay buffer limit."), @@ -1306,6 +1308,6 @@ record/replay buffer. Zero means unlimi set_record_insn_max_num, NULL, &set_record_cmdlist, &show_record_cmdlist); add_cmd ("insn-number", class_obscure, show_record_insn_number, - _("Show the current number of instructions in the " - "record/replay buffer."), &info_record_cmdlist); + _("Show the current number of instructions in the " + "record/replay buffer."), &info_record_cmdlist); } --------------060304050601050400070407--