This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Minor reformatting in fbsd-proc.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 7 Nov 2003 16:56:39 +0100 (CET)
- Subject: [PATCH] Minor reformatting in fbsd-proc.c
In preperation of a real patch.
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* fbsd-proc.c: Fix formatting.
Index: fbsd-proc.c
===================================================================
RCS file: /cvs/src/src/gdb/fbsd-proc.c,v
retrieving revision 1.5
diff -u -p -r1.5 fbsd-proc.c
--- fbsd-proc.c 30 Oct 2003 19:29:40 -0000 1.5
+++ fbsd-proc.c 7 Nov 2003 15:56:03 -0000
@@ -1,5 +1,6 @@
/* FreeBSD-specific methods for using the /proc file system.
- Copyright 2002 Free Software Foundation, Inc.
+
+ Copyright 2002, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -48,9 +49,7 @@ child_pid_to_exec_file (int pid)
}
static int
-read_mapping (FILE *mapfile,
- unsigned long *start,
- unsigned long *end,
+read_mapping (FILE *mapfile, unsigned long *start, unsigned long *end,
char *protection)
{
int resident, privateresident;
@@ -72,10 +71,8 @@ read_mapping (FILE *mapfile,
}
static int
-fbsd_find_memory_regions (int (*func) (CORE_ADDR,
- unsigned long,
- int, int, int,
- void *),
+fbsd_find_memory_regions (int (*func) (CORE_ADDR, unsigned long,
+ int, int, int, void *),
void *obfd)
{
pid_t pid = ptid_get_pid (inferior_ptid);