From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23951 invoked by alias); 25 Jul 2013 07:15:21 -0000 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 Received: (qmail 23937 invoked by uid 89); 25 Jul 2013 07:15:20 -0000 X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO mail-ve0-f176.google.com) (209.85.128.176) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Jul 2013 07:15:19 +0000 Received: by mail-ve0-f176.google.com with SMTP id c13so258278vea.35 for ; Thu, 25 Jul 2013 00:15:12 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.52.229.35 with SMTP id sn3mr6786055vdc.70.1374736511996; Thu, 25 Jul 2013 00:15:11 -0700 (PDT) Received: by 10.52.107.134 with HTTP; Thu, 25 Jul 2013 00:15:11 -0700 (PDT) In-Reply-To: <83ehanx5ki.fsf@gnu.org> References: <83ehanx5ki.fsf@gnu.org> Date: Thu, 25 Jul 2013 07:15:00 -0000 Message-ID: Subject: Re: Setting parity for remote serial From: Yurij Grechishhev To: Eli Zaretskii Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2013-07/txt/msg00596.txt.bz2 Spaces in ChangeLog are due to the mail client. I could send the attachement. --- ../../../gdb_old/gdb-7.6/gdb/doc/ChangeLog 2013-07-10 21:55:24.921750052 +0400 +++ gdb/doc/ChangeLog 2013-07-25 14:50:14.960811746 +0400 @@ -1,3 +1,8 @@ +2013-07-16 Yurij Grechishhev + + * gdb.texinfo (Remote configuration): Document "set/show + remoteparity". + 2013-04-12 Jan Kratochvil Eli Zaretskii --- ../../../gdb_old/gdb-7.6/gdb/ChangeLog 2013-07-10 21:55:22.485750321 +0400 +++ gdb/ChangeLog 2013-07-25 14:24:03.806935947 +0400 @@ -1,3 +1,30 @@ +2013-07-16 Yurij Grechishhev + + * NEWS: Mention set/show remoteparity command. + * monitor.c (monitor_open): Add serial_setparity. + * remote.c (remote_open_1): Likewise. + * ser-base.c (ser_base_serparity): New function. + * ser-base.h: Add ser_base_setparity declaration. + * serail.c: Add serial_parity declaration and definitions of + parity_enums and parity. + (set_parity): New function. + (serial_setparity): New function. + (_initialize_serial): Add set/show remoteparity command description + * serial.h: Add GDBPARITY_NONE, GDBPARITY_ODD, GDBPARITY_EVEN + definitions. Add serial_setparity declaration. + (serial_ops): Add setparity entry. + * ser-mingw.c (ser_windows_raw): Remove state.fParity and + state.Parity definitions. + (ser_windows_setparity): New function. + (_initialize_ser_windows): ops->setparity setting. + * ser-pipe.c (_initialize_ser_pipe): Likewise. + * ser-tcp.c (_initialize_ser_tcp): Likewise. + * ser-unix.c: Add hardwire_setparity declaration. + (hardwire_setparity): New function. + (_initialize_ser_hardwire): ops->setparity setting. + * target.h: serial_parity declaration. + * top.c: serial_parity definition. + 2013-04-26 Joel Brobecker * NEWS: Change "since GDB 7.5" into "in GDB 7.6". --- ../../../gdb_old/gdb-7.6/gdb/doc/gdb.texinfo 2013-07-10 21:55:25.257751657 +0400 +++ gdb/doc/gdb.texinfo 2013-07-25 14:18:36.581811831 +0400 @@ -18168,6 +18168,13 @@ default is not to record at all. Show the current setting of the file name on which to record the serial communications. +@item set remoteparity @var{parity} +Set the parity for the remote serial I/O. Supported values of @var{parity} are: +@code{even}, @code{none}, and @code{odd}. The default is @code{none}. + +@item show remoteparity +Show the current parity of the serial port. + @item set remotetimeout @var{num} @cindex timeout for serial communications @cindex remote timeout --- ../../../gdb_old/gdb-7.6/gdb/NEWS 2013-07-10 21:55:32.402748483 +0400 +++ gdb/NEWS 2013-07-25 14:26:00.463811247 +0400 @@ -3,6 +3,10 @@ *** Changes in GDB 7.6 +* GDB has two new commands: "set remoteparity odd|even|none" and + "show remoteparity". These allows to set or show parity for the + remote serial I/O. + * Target record has been renamed to record-full. Record/replay is now enabled with the "record full" command. This also affects settings that are associated with full record/replay -- With best regards! ____________________________ Yurij Grechishhev Bauman State Technical University, Department of Computer Systems and Networks 2013/7/24 Eli Zaretskii : >> Date: Wed, 24 Jul 2013 18:29:11 +0400 >> From: Yurij Grechishhev >> >> Updated patch for serial parity support: > > Thanks. > >> +++ gdb/doc/ChangeLog 2013-07-16 18:46:31.425614819 +0400 >> @@ -1,3 +1,6 @@ >> +2013-07-16 Yurij Grechishhev >> + * gdb.texinfo (Remote configuration): Document "set/show >> + remoteparity". >> 2013-04-12 Jan Kratochvil >> Eli Zaretskii > > You need to leave an empty line between your ChangeLog entry and the > previous one. Also, each line in ChangeLog should begin with TAB > character, not with spaces. > >> +@item set remoteparity @var{parity} >> +Set the parity for the remote serial I/O. Supported values of @var{parity} are: >> +@code{even}, @code{none}, and @code{odd}. The default is @code{none}. > > Two spaces between sentences, please. > > The documentation part is okay with these changes. > > What about NEWS? -- With best regards! ____________________________ Yurij Grechishhev Bauman State Technical University, Department of Computer Systems and Networks