Date: Sat, 11 Oct 2014 20:25:20 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272958 - head/sys/ddb Message-ID: <201410112025.s9BKPKHn069277@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Sat Oct 11 20:25:19 2014 New Revision: 272958 URL: https://svnweb.freebsd.org/changeset/base/272958 Log: ddb: space/tab fixes. No functional change. MFC after: 3 days Modified: head/sys/ddb/db_break.c head/sys/ddb/db_command.c head/sys/ddb/db_output.h head/sys/ddb/db_print.c head/sys/ddb/db_ps.c head/sys/ddb/db_run.c head/sys/ddb/db_sym.h head/sys/ddb/db_textdump.c head/sys/ddb/db_variables.h head/sys/ddb/db_watch.c head/sys/ddb/db_watch.h Modified: head/sys/ddb/db_break.c ============================================================================== --- head/sys/ddb/db_break.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_break.c Sat Oct 11 20:25:19 2014 (r272958) @@ -161,13 +161,13 @@ db_breakpoint_t db_find_breakpoint_here(addr) db_addr_t addr; { - return db_find_breakpoint(db_map_addr(addr), addr); + return db_find_breakpoint(db_map_addr(addr), addr); } static boolean_t db_breakpoints_inserted = TRUE; #ifndef BKPT_WRITE -#define BKPT_WRITE(addr, storage) \ +#define BKPT_WRITE(addr, storage) \ do { \ *storage = db_get_value(addr, BKPT_SIZE, FALSE); \ db_put_value(addr, BKPT_SIZE, BKPT_SET(*storage)); \ @@ -175,7 +175,7 @@ do { \ #endif #ifndef BKPT_CLEAR -#define BKPT_CLEAR(addr, storage) \ +#define BKPT_CLEAR(addr, storage) \ db_put_value(addr, BKPT_SIZE, *storage) #endif Modified: head/sys/ddb/db_command.c ============================================================================== --- head/sys/ddb/db_command.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_command.c Sat Oct 11 20:25:19 2014 (r272958) @@ -648,7 +648,7 @@ db_kill(dummy1, dummy2, dummy3, dummy4) db_expr_t old_radix, pid, sig; struct proc *p; -#define DB_ERROR(f) do { db_printf f; db_flush_lex(); goto out; } while (0) +#define DB_ERROR(f) do { db_printf f; db_flush_lex(); goto out; } while (0) /* * PIDs and signal numbers are typically represented in base Modified: head/sys/ddb/db_output.h ============================================================================== --- head/sys/ddb/db_output.h Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_output.h Sat Oct 11 20:25:19 2014 (r272958) @@ -30,7 +30,7 @@ #define _DDB_DB_OUTPUT_H_ /* - * Author: David B. Golub, Carnegie Mellon University + * Author: David B. Golub, Carnegie Mellon University * Date: 8/90 */ Modified: head/sys/ddb/db_print.c ============================================================================== --- head/sys/ddb/db_print.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_print.c Sat Oct 11 20:25:19 2014 (r272958) @@ -25,7 +25,7 @@ * */ /* - * Author: David B. Golub, Carnegie Mellon University + * Author: David B. Golub, Carnegie Mellon University * Date: 7/90 */ Modified: head/sys/ddb/db_ps.c ============================================================================== --- head/sys/ddb/db_ps.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_ps.c Sat Oct 11 20:25:19 2014 (r272958) @@ -155,7 +155,7 @@ db_ps(db_expr_t addr, boolean_t hasaddr, else if (wflag) state[0] = 'W'; else - state[0] = '?'; + state[0] = '?'; } break; case PRS_NEW: @@ -211,7 +211,7 @@ db_ps(db_expr_t addr, boolean_t hasaddr, p = LIST_NEXT(p, p_list); if (p == NULL && np > 0) p = LIST_FIRST(&zombproc); - } + } } static void Modified: head/sys/ddb/db_run.c ============================================================================== --- head/sys/ddb/db_run.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_run.c Sat Oct 11 20:25:19 2014 (r272958) @@ -54,7 +54,7 @@ static int db_run_mode; #define STEP_RETURN 2 #define STEP_CALLT 3 #define STEP_CONTINUE 4 -#define STEP_INVISIBLE 5 +#define STEP_INVISIBLE 5 #define STEP_COUNT 6 static boolean_t db_sstep_print; Modified: head/sys/ddb/db_sym.h ============================================================================== --- head/sys/ddb/db_sym.h Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_sym.h Sat Oct 11 20:25:19 2014 (r272958) @@ -30,7 +30,7 @@ #define _DDB_DB_SYM_H_ /* - * Author: Alessandro Forin, Carnegie Mellon University + * Author: Alessandro Forin, Carnegie Mellon University * Date: 8/90 */ Modified: head/sys/ddb/db_textdump.c ============================================================================== --- head/sys/ddb/db_textdump.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_textdump.c Sat Oct 11 20:25:19 2014 (r272958) @@ -348,8 +348,8 @@ textdump_dump_msgbuf(struct dumperinfo * */ total_len = 0; offset = 0; - msgbuf_peekbytes(msgbufp, NULL, 0, &seq); - while ((len = msgbuf_peekbytes(msgbufp, buf, sizeof(buf), &seq)) > 0) { + msgbuf_peekbytes(msgbufp, NULL, 0, &seq); + while ((len = msgbuf_peekbytes(msgbufp, buf, sizeof(buf), &seq)) > 0) { for (i = 0; i < len; i++) { if (buf[i] == '\0') continue; @@ -362,7 +362,7 @@ textdump_dump_msgbuf(struct dumperinfo * total_len += offset; offset = 0; } - } + } total_len += offset; /* Without the zero-padding. */ if (offset != 0) { bzero(textdump_block_buffer + offset, Modified: head/sys/ddb/db_variables.h ============================================================================== --- head/sys/ddb/db_variables.h Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_variables.h Sat Oct 11 20:25:19 2014 (r272958) @@ -27,7 +27,7 @@ */ /* - * Author: David B. Golub, Carnegie Mellon University + * Author: David B. Golub, Carnegie Mellon University * Date: 7/90 */ Modified: head/sys/ddb/db_watch.c ============================================================================== --- head/sys/ddb/db_watch.c Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_watch.c Sat Oct 11 20:25:19 2014 (r272958) @@ -303,8 +303,8 @@ db_deletehwatch_cmd(addr, have_addr, cou { int rc; - if (count < 0) - count = 4; + if (count < 0) + count = 4; rc = db_md_clr_watchpoint(addr, count); if (rc < 0) @@ -322,8 +322,8 @@ db_hwatchpoint_cmd(addr, have_addr, coun { int rc; - if (count < 0) - count = 4; + if (count < 0) + count = 4; rc = db_md_set_watchpoint(addr, count); if (rc < 0) Modified: head/sys/ddb/db_watch.h ============================================================================== --- head/sys/ddb/db_watch.h Sat Oct 11 19:38:29 2014 (r272957) +++ head/sys/ddb/db_watch.h Sat Oct 11 20:25:19 2014 (r272958) @@ -27,7 +27,7 @@ */ /* - * Author: David B. Golub, Carnegie Mellon University + * Author: David B. Golub, Carnegie Mellon University * Date: 10/90 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410112025.s9BKPKHn069277>