From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27013 invoked by alias); 18 Jul 2003 17:16:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27006 invoked from network); 18 Jul 2003 17:16:02 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 18 Jul 2003 17:16:02 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3p2/8.9.3) with ESMTP id MAA01047; Fri, 18 Jul 2003 12:27:33 -0400 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id NAA14450; Fri, 18 Jul 2003 13:16:01 -0400 Message-ID: <0ace01c34d50$4d40ca40$0202040a@catdog> From: "Kris Warkentin" To: "Andrew Cagney" , "Jim Blandy" , "Mark Kettenis" Cc: References: <3F18234B.2030601@redhat.com> Subject: Re: ARI Date: Fri, 18 Jul 2003 17:16:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-07/txt/msg00342.txt.bz2 Committed. 2003-07-18 Kris Warkentin * 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 #include #include -#include +#include "gdb_dirent.h" #include #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" To: "Jim Blandy" ; "Mark Kettenis" ; "Kris Warkentin" Cc: 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 > >