public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: gdb-patches@sources.redhat.com, rda@sources.redhat.com,
	binutils@sources.redhat.com, Andrew Cagney <cagney@gnu.org>
Subject: [PATCH] rda -- rename variable
Date: Fri, 09 Jul 2004 19:52:00 -0000	[thread overview]
Message-ID: <40EEF792.8040003@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

Rename the parameter of gdbserv_fromtarget_terminate from exitval
to sigval (probably came from a cut and paste).


[-- Attachment #2: diff3 --]
[-- Type: text/plain, Size: 1020 bytes --]

2004-07-09  Michael Snyder  <msnyder@redhat.com>

	* lib/gdbserv-target.c (gdbserv_fromtarget_terminate): Rename
	parameter from exitval to sigval (it's a signal number).

Index: gdbserv-target.c
===================================================================
RCS file: /cvs/cvsfiles/devo/rda/lib/gdbserv-target.c,v
retrieving revision 1.9
diff -p -r1.9 gdbserv-target.c
*** gdbserv-target.c	9 Jul 2004 19:44:12 -0000	1.9
--- gdbserv-target.c	9 Jul 2004 19:47:02 -0000
*************** gdbserv_fromtarget_exit (struct gdbserv 
*** 69,78 ****
  
  /* compatibility */
  void
! gdbserv_fromtarget_terminate (struct gdbserv *gdbserv, int exitval)
  {
    gdbserv_fromtarget (gdbserv, NULL, GDBSERV_FROMTARGET_TERMINATED,
! 		      NULL, exitval);
  }
  
  /* compatibility */
--- 69,78 ----
  
  /* compatibility */
  void
! gdbserv_fromtarget_terminate (struct gdbserv *gdbserv, int sigval)
  {
    gdbserv_fromtarget (gdbserv, NULL, GDBSERV_FROMTARGET_TERMINATED,
! 		      NULL, sigval);
  }
  
  /* compatibility */

                 reply	other threads:[~2004-07-09 19:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40EEF792.8040003@redhat.com \
    --to=msnyder@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=rda@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).