Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Wu Zhou <woodzltc@cn.ibm.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Is this kind of patch welcomed?
Date: Wed, 25 May 2005 06:48:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.63.0505250455510.1089@plinuxt18.cn.ibm.com> (raw)
In-Reply-To: <20050524130425.GA1543@nevyn.them.org>


OK.  Followed is the revised patch: another typo is fixed and changlog
entry added. 

2005-05-25  Wu Zhou  <woodzltc@cn.ibm.com>

	* remote.c: Fix two comment typos

Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.190
diff -c -p -r1.190 remote.c
*** remote.c	16 May 2005 16:36:24 -0000	1.190
--- remote.c	25 May 2005 02:11:20 -0000
*************** struct gdb_ext_thread_info
*** 1114,1120 ****
      int active;			/* Has state interesting to GDB? 
  				   regs, stack.  */
      char display[256];		/* Brief state display, name, 
! 				   blocked/syspended.  */
      char shortname[32];		/* To be used to name threads.  */
      char more_display[256];	/* Long info, statistics, queue depth, 
  				   whatever.  */
--- 1114,1120 ----
      int active;			/* Has state interesting to GDB? 
  				   regs, stack.  */
      char display[256];		/* Brief state display, name, 
! 				   blocked/suspended.  */
      char shortname[32];		/* To be used to name threads.  */
      char more_display[256];	/* Long info, statistics, queue depth, 
  				   whatever.  */
*************** remote_unpack_thread_info_response (char
*** 1489,1495 ****
    int mask, length;
    unsigned int tag;
    threadref ref;
!   char *limit = pkt + (rs->remote_packet_size);	/* plausable parsing limit */
    int retval = 1;
  
    /* info->threadid = 0; FIXME: implement zero_threadref.  */
--- 1489,1495 ----
    int mask, length;
    unsigned int tag;
    threadref ref;
!   char *limit = pkt + (rs->remote_packet_size);	/* plausible parsing limit */
    int retval = 1;
  
    /* info->threadid = 0; FIXME: implement zero_threadref.  */


On Tue, 24 May 2005, Daniel Jacobowitz wrote:

> On Tue, May 24, 2005 at 05:13:32AM -0700, Wu Zhou wrote:
> > This is to fix a typo in remote.c, found while I am reading the 
> > source code.  Is this kind of patch welcomed?  If it is, should 
> > I add a changelog entry as well?  If not, please ignore it. 
> > 
> > Thanks.
> 
> The patch is fine - but yes, it does need a changelog entry.
> 
> -- 
> Daniel Jacobowitz
> CodeSourcery, LLC
> 
> 


  reply	other threads:[~2005-05-25  5:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24 13:04 Wu Zhou
2005-05-24 14:11 ` Daniel Jacobowitz
2005-05-25  6:48   ` Wu Zhou [this message]
2005-05-28 22:18     ` Daniel Jacobowitz
2005-05-29  6:11       ` Wu Zhou
2005-05-29 14:21         ` Daniel Jacobowitz
2005-05-29 17:48           ` Wu Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0505250455510.1089@plinuxt18.cn.ibm.com \
    --to=woodzltc@cn.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox