ddb: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 22:14:30 +00:00
parent d40bc60752
commit b10bc5a1d5
6 changed files with 1 additions and 10 deletions

View File

@ -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)

View File

@ -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--;

View File

@ -266,7 +266,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td, int all)
char state[9], wprefix;
const char *wmesg;
const void *wchan;
if (all) {
db_printf("%6d ", td->td_tid);
switch (td->td_state) {

View File

@ -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)
{
@ -408,7 +407,6 @@ db_symbol_values(c_db_sym_t sym, const char **namep, db_expr_t *valuep)
*valuep = value;
}
/*
* Print a the closest symbol to value
*

View File

@ -277,8 +277,6 @@ db_find_watchpoint(vm_map_t map, db_addr_t addr, db_regs_t regs)
}
#endif
/* Delete hardware watchpoint */
/*ARGSUSED*/
void

View File

@ -90,4 +90,3 @@ db_write_cmd(db_expr_t address, bool have_addr, db_expr_t count,
db_skip_to_eol();
}