Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Kris Warkentin" <kewarken@qnx.com>
To: "Andrew Cagney" <ac131313@redhat.com>,
	"Jim Blandy" <jimb@redhat.com>,
	"Mark Kettenis" <kettenis@chello.nl>
Cc: <gdb-patches@sources.redhat.com>
Subject: Re: ARI
Date: Fri, 18 Jul 2003 17:16:00 -0000	[thread overview]
Message-ID: <0ace01c34d50$4d40ca40$0202040a@catdog> (raw)
In-Reply-To: <3F18234B.2030601@redhat.com>

Committed.

2003-07-18  Kris Warkentin  <kewarken@qnx.com>

 * nto-procfs.c: Clean ARI hits.  Change #include <..> to
 #include "...".
 (procfs_meminfo): Change strerror to safe_strerror.
 (procfs_can_run): Remove K&R badness.

Index: nto-procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/nto-procfs.c,v
retrieving revision 1.2
diff -u -r1.2 nto-procfs.c
--- nto-procfs.c        8 Jul 2003 15:36:15 -0000       1.2
+++ nto-procfs.c        18 Jul 2003 17:09:23 -0000
@@ -30,7 +30,7 @@
 #include <sys/procfs.h>
 #include <sys/neutrino.h>
 #include <sys/syspage.h>
-#include <gdb_dirent.h>
+#include "gdb_dirent.h"
 #include <sys/netmgr.h>

 #include "gdb_string.h"
@@ -375,7 +375,7 @@
   err = devctl (ctl_fd, DCMD_PROC_MAPINFO, NULL, 0, &num);
   if (err != EOK)
     {
-      printf ("failed devctl num mapinfos - %d (%s)\n", err, strerror
(err));
+      printf ("failed devctl num mapinfos - %d (%s)\n", err, safe_strerror
(err));
       return;
     }

@@ -389,7 +389,7 @@
                * sizeof (procfs_mapinfo), &num);
   if (err != EOK)
     {
-      printf ("failed devctl mapinfos - %d (%s)\n", err, strerror (err));
+      printf ("failed devctl mapinfos - %d (%s)\n", err, safe_strerror
(err));
       xfree (mapinfos);
       return;
     }
@@ -494,7 +494,7 @@

 /* Mark our target-struct as eligible for stray "run" and "attach"
commands.  */
 static int
-procfs_can_run ()
+procfs_can_run (void)
 {
   return 1;
 }

----- Original Message ----- 
From: "Andrew Cagney" <ac131313@redhat.com>
To: "Jim Blandy" <jimb@redhat.com>; "Mark Kettenis" <kettenis@chello.nl>;
"Kris Warkentin" <kewarken@qnx.com>
Cc: <gdb-patches@sources.redhat.com>
Sent: Friday, July 18, 2003 12:41 PM
Subject: ARI


> Note that both the mainline and branch are picking things up.
> http://sources.redhat.com/gdb/current/ari/
> http://sources.redhat.com/gdb/ari/
> I'll fix the opaque ones (they are tricky).
>
> Andrew
>
>



      reply	other threads:[~2003-07-18 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 16:41 ARI Andrew Cagney
2003-07-18 17:16 ` Kris Warkentin [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='0ace01c34d50$4d40ca40$0202040a@catdog' \
    --to=kewarken@qnx.com \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@redhat.com \
    --cc=kettenis@chello.nl \
    /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