aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-proc.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-07 15:57:22 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-07 15:57:22 +0000
commitfc07cc2d45d7e610064fa280ab289d6ec2077bda (patch)
tree203c2e8e5e8ab3c6408ba767df0d4878e29f6b92 /gdb/fbsd-proc.c
parent6a90a18e85dcf3883f32071df4712f68c86aef73 (diff)
downloadgdb-fc07cc2d45d7e610064fa280ab289d6ec2077bda.zip
gdb-fc07cc2d45d7e610064fa280ab289d6ec2077bda.tar.gz
gdb-fc07cc2d45d7e610064fa280ab289d6ec2077bda.tar.bz2
* fbsd-proc.c: Fix formatting.
Diffstat (limited to 'gdb/fbsd-proc.c')
-rw-r--r--gdb/fbsd-proc.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/fbsd-proc.c b/gdb/fbsd-proc.c
index 8321cf5..07272b1 100644
--- a/gdb/fbsd-proc.c
+++ b/gdb/fbsd-proc.c
@@ -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);