Author: mjg Date: Tue Sep 1 22:14:30 2020 New Revision: 365227 URL: https://svnweb.freebsd.org/changeset/base/365227
Log: ddb: clean up empty lines in .c and .h files Modified: head/sys/ddb/db_break.c head/sys/ddb/db_output.c head/sys/ddb/db_ps.c head/sys/ddb/db_sym.c head/sys/ddb/db_watch.c head/sys/ddb/db_write_cmd.c Modified: head/sys/ddb/db_break.c ============================================================================== --- head/sys/ddb/db_break.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_break.c Tue Sep 1 22:14:30 2020 (r365227) @@ -178,7 +178,6 @@ db_set_breakpoints(void) register db_breakpoint_t bkpt; if (!db_breakpoints_inserted) { - for (bkpt = db_breakpoint_list; bkpt != 0; bkpt = bkpt->link) @@ -195,7 +194,6 @@ db_clear_breakpoints(void) register db_breakpoint_t bkpt; if (db_breakpoints_inserted) { - for (bkpt = db_breakpoint_list; bkpt != 0; bkpt = bkpt->link) Modified: head/sys/ddb/db_output.c ============================================================================== --- head/sys/ddb/db_output.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_output.c Tue Sep 1 22:14:30 2020 (r365227) @@ -124,11 +124,9 @@ db_putchar(int c, void *arg) struct dbputchar_arg *dap = arg; if (dap->da_pbufr == NULL) { - /* No bufferized output is provided. */ db_putc(c); } else { - *dap->da_pnext++ = c; dap->da_remain--; Modified: head/sys/ddb/db_ps.c ============================================================================== --- head/sys/ddb/db_ps.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_ps.c Tue Sep 1 22:14:30 2020 (r365227) @@ -266,7 +266,7 @@ dumpthread(volatile struct proc *p, volatile struct th char state[9], wprefix; const char *wmesg; const void *wchan; - + if (all) { db_printf("%6d ", td->td_tid); switch (td->td_state) { Modified: head/sys/ddb/db_sym.c ============================================================================== --- head/sys/ddb/db_sym.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_sym.c Tue Sep 1 22:14:30 2020 (r365227) @@ -205,7 +205,6 @@ db_qualify(c_db_sym_t sym, char *symtabname) return tmp; } - bool db_eqname(const char *src, const char *dst, int c) { @@ -407,7 +406,6 @@ db_symbol_values(c_db_sym_t sym, const char **namep, d if (valuep) *valuep = value; } - /* * Print a the closest symbol to value Modified: head/sys/ddb/db_watch.c ============================================================================== --- head/sys/ddb/db_watch.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_watch.c Tue Sep 1 22:14:30 2020 (r365227) @@ -277,8 +277,6 @@ db_find_watchpoint(vm_map_t map, db_addr_t addr, db_re } #endif - - /* Delete hardware watchpoint */ /*ARGSUSED*/ void Modified: head/sys/ddb/db_write_cmd.c ============================================================================== --- head/sys/ddb/db_write_cmd.c Tue Sep 1 22:14:09 2020 (r365226) +++ head/sys/ddb/db_write_cmd.c Tue Sep 1 22:14:30 2020 (r365227) @@ -90,4 +90,3 @@ db_write_cmd(db_expr_t address, bool have_addr, db_exp db_skip_to_eol(); } - _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"