diff options
author | obrien <obrien@FreeBSD.org> | 2004-01-26 06:05:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-01-26 06:05:04 +0000 |
commit | 88bf7650cffbdc73856f4503c7db3a0dc993a172 (patch) | |
tree | 342c1f0536fbeb0ab89e98a6ec8ed592deb327d3 /gnu/usr.bin/binutils | |
parent | 30265b4adbf6e5ce8ce37bc2377ce42342ccf594 (diff) | |
download | FreeBSD-src-88bf7650cffbdc73856f4503c7db3a0dc993a172.zip FreeBSD-src-88bf7650cffbdc73856f4503c7db3a0dc993a172.tar.gz |
Remove trailing white space.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/kvm-fbsd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c index a9d85e8..01d2528 100644 --- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c +++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c @@ -291,7 +291,7 @@ kcore_open (char *filename /* the core file */, int from_tty) /* Print out the panic string if there is one. */ if (kvread (ksym_lookup ("panicstr"), &addr) == 0 && - addr != 0 && + addr != 0 && target_read_memory (addr, buf, sizeof(buf)) == 0) { @@ -326,7 +326,7 @@ kcore_open (char *filename /* the core file */, int from_tty) RETURN_MASK_ALL); #endif } - else + else { warning ("you won't be able to access this core file until you terminate\n" "your %s; do ``info files''", target_longname); @@ -697,12 +697,12 @@ set_proc_cmd (char *arg, int from_tty) error ("no kernel core file"); addr = (CORE_ADDR) parse_and_eval_address (arg); - + if (!INKERNEL (addr)) { kp = kvm_getprocs (core_kd, KERN_PROC_PID, addr, &cnt); if (!cnt) - error ("invalid pid"); + error ("invalid pid"); addr = (CORE_ADDR)kp->ki_paddr; cur_proc = kp; } @@ -714,7 +714,7 @@ set_proc_cmd (char *arg, int from_tty) error ("cannot read pid ptr"); cur_proc = kvm_getprocs (core_kd, KERN_PROC_PID, pid, &cnt); if (!cnt) - error("invalid pid"); + error("invalid pid"); } /* Find the first thread in the process. XXXKSE */ |