Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@gnu.org>
To: drow@false.org
Cc: david@allinea.com, gdb-patches@sources.redhat.com
Subject: Re: [COMMIT] Obvious - compilation failure in proc-api.c
Date: Thu, 10 Mar 2005 09:17:00 -0000	[thread overview]
Message-ID: <200503100916.j2A9GGN7015732@jop31.nfra.nl> (raw)
In-Reply-To: <20050310010118.GA8356@nevyn.them.org> (message from Daniel Jacobowitz on Wed, 9 Mar 2005 20:01:18 -0500)

   Date: Wed, 9 Mar 2005 20:01:18 -0500
   From: Daniel Jacobowitz <drow@false.org>

   On Thu, Mar 10, 2005 at 12:09:36AM +0000, David Lecomber wrote:
   > On Wed, 2005-03-09 at 18:41 -0500, Daniel Jacobowitz wrote:
   > > On Wed, Mar 09, 2005 at 11:45:05PM +0000, David Lecomber wrote:
   > > > Dear all,
   > > > 
   > > > It's been a while since I committed something, but here's one for the
   > > > obvious fix rule.   Someone prod me if I forgot to do something ;-)  
   > > > 
   > > > The old version failed to compile with Sun's Forte tools on Solaris 10
   > > > for Opteron (and you should've seen the code formatting!) 
   > > 
   > > What was the error?  The style appears to be the same as the one Andrew
   > > used all across GDB when he mass-converted.
   > > 
   > > (Yes, I think it's ugly.)

The style has its benefits (but we should discuss that some other time
if we feel like it, althouh I think we should use a consistent style).

   Hmm, maybe I just couldn't see the mistake.  Oh well.  Or there may
   have been a space after one of the backslashes; GCC handles this as a
   QoI extension.

That was the exact problem.  So I reverted David's patch (no offence
meant) and remoced the trailing space.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* proc-api.c: Update copyright year.
	(_initialize_proc_api): Revert previous patch, removing spurious
	space instead.

Index: proc-api.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-api.c,v
retrieving revision 1.23
diff -u -p -r1.23 proc-api.c
--- proc-api.c 9 Mar 2005 23:33:52 -0000 1.23
+++ proc-api.c 10 Mar 2005 09:08:27 -0000
@@ -1,6 +1,6 @@
 /* Machine independent support for SVR4 /proc (process file system) for GDB.
 
-   Copyright 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
 
    Written by Michael Snyder at Cygnus Solutions.
    Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
@@ -780,16 +780,16 @@ _initialize_proc_api (void)
 {
   struct cmd_list_element *c;
 
-  add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace,
-			   _("Set tracing for /proc api calls."),
-			   _("Show tracing for /proc api calls."), NULL,
+  add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace, _("\
+Set tracing for /proc api calls."), _("\
+Show tracing for /proc api calls."), NULL,
 			   set_procfs_trace_cmd,
 			   NULL, /* FIXME: i18n: */
 			   &setlist, &showlist);
 
-  add_setshow_filename_cmd ("procfs-file", no_class, &procfs_filename,
-			    _("Set filename for /proc tracefile."),
-			    _("Show filename for /proc tracefile."), NULL,
+  add_setshow_filename_cmd ("procfs-file", no_class, &procfs_filename, _("\
+Set filename for /proc tracefile."), _("\
+Show filename for /proc tracefile."), NULL,
 			    set_procfs_file_cmd,
 			    NULL, /* FIXME: i18n: */
 			    &setlist, &showlist);


      reply	other threads:[~2005-03-10  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09 23:37 David Lecomber
2005-03-09 23:41 ` Daniel Jacobowitz
2005-03-10  0:02   ` David Lecomber
2005-03-10  1:01     ` Daniel Jacobowitz
2005-03-10  9:17       ` Mark Kettenis [this message]

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=200503100916.j2A9GGN7015732@jop31.nfra.nl \
    --to=kettenis@gnu.org \
    --cc=david@allinea.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