ddb: clean up empty lines in .c and .h files
This commit is contained in:
parent
246370ba36
commit
b0cd142452
@ -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)
|
||||
|
@ -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--;
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -90,4 +90,3 @@ db_write_cmd(db_expr_t address, bool have_addr, db_expr_t count,
|
||||
|
||||
db_skip_to_eol();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user