From owner-svn-src-all@freebsd.org Tue Sep 1 22:14:33 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 43B5937F6E8; Tue, 1 Sep 2020 22:14:33 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh1Zd19ZPz3V7M; Tue, 1 Sep 2020 22:14:33 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 899332090D; Tue, 1 Sep 2020 22:14:32 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081MEWsC063198; Tue, 1 Sep 2020 22:14:32 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081MEVc3063190; Tue, 1 Sep 2020 22:14:31 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012214.081MEVc3063190@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 22:14:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365227 - head/sys/ddb X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/ddb X-SVN-Commit-Revision: 365227 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 22:14:33 -0000 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(); } -