From fc07cc2d45d7e610064fa280ab289d6ec2077bda Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 7 Nov 2003 15:57:22 +0000 Subject: [PATCH] * fbsd-proc.c: Fix formatting. --- gdb/ChangeLog | 4 ++++ gdb/fbsd-proc.c | 13 +++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 41dc14c02b..259ac8a914 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-11-07 Mark Kettenis + + * fbsd-proc.c: Fix formatting. + 2003-11-06 Kevin Buettner * frv-tdep.c (first_pseudo_regnum, iacc0_regnum, frv_num_pseudo_regs): diff --git a/gdb/fbsd-proc.c b/gdb/fbsd-proc.c index 8321cf556e..07272b1986 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);