summaryrefslogtreecommitdiff
path: root/ddb
AgeCommit message (Collapse)Author
2013-12-05ddb/db_input.c: add comment after endifMarin Ramesa
* ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif.
2013-12-05ddb/db_command.c: remove forward declarationsMarin Ramesa
* ddb/db_command.c: Include machine/db_interface.h. (db_help_cmd, db_stack_trace_cmd): Remove forward declarations. * ddb/db_command.h (db_help_cmd): Add prototype. * i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype.
2013-11-24Modify struct db_variableMarin Ramesa
* ddb/db_macro.c (db_arg_variable): Make function void. * ddb/db_macro.h (db_arg_variable): Declare void return. * ddb/db_task_thread.c (db_set_default_thread): Make function void. (db_get_task_thread): Make function void. * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable): Declare void return. (db_read_write_variable): Use void in initialization. * ddb/db_variables.h (db_variable): Make third member return void. [FCN_NULL]: Define void. * i386/i386/db_trace.c (db_i386_reg_value): Make function void.
2013-11-24ddb/db_examine.c: trivial stylistic fix for consistencyMarin Ramesa
* ddb/db_examine.c: Trivial stylistic fix for consistency.
2013-11-24ddb: move forward declarations into a header fileMarin Ramesa
* ddb/db_examine.c (db_disasm, db_search): Remove forward declarations. * ddb/db_examine.h (db_disasm, db_search): Add prototypes.
2013-11-24ddb: move forward declaration into a header fileMarin Ramesa
* ddb/db_sym.c (db_lookup): Remove forward declaration. * ddb/db_sym.h (db_lookup): Add prototype.
2013-11-24ddb: create new header file db_mp.hMarin Ramesa
* Makefrag.am: Include ddb/db_mp.h. * ddb/db_mp.c (remote_db, lock_db, unlock_db): Remove forward declarations. * ddb/db_mp.h: New file. Add copyright. [_DDB_DB_MP_H_]: Add ifndef. (remote_db, lock_db, unlock_db): Add prototypes.
2013-11-24ddb: move forward declarations into a header fileMarin Ramesa
* ddb/db_run.c (db_set_task_single_step, db_clear_task_single_step): Remove forward declarations. * ddb/db_run.h (db_set_task_single_step, db_clear_task_single_step): Add prototypes.
2013-11-24Simplify testSamuel Thibault
* ddb/db_sym.c (db_name_is_ambiguous): Simplify test for value returned by X_db_lookup.
2013-11-24Remove leftover register qualifiersMarin Ramesa
* ddb/db_break.c: Remove register qualifiers. * i386/i386/pcb.c: Likewise. * i386/i386at/com.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/intel/pmap.c: Likewise. * kern/machine.c: Likewise. * kern/queue.h: Likewise. * kern/sched_prim.c: Likewise. * kern/sched_prim.h: Likewise. * kern/timer.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_resident.h: Likewise.
2013-11-22ddb/db_break.c: remove duplicate includeMarin Ramesa
* ddb/db_break.c: Don't include ddb/db_access.h.
2013-11-21ddb/db_sym.c: move assignment outside ifMarin Ramesa
* ddb/db_sym.c: Move assignment outside of if. (db_lookup): New variable.
2013-11-21ddb/db_break.c: fix implicit declaration of functionsMarin Ramesa
* ddb/db_break.c: Include machine/db_interface.h.
2013-11-20Fix implicit declaration of functionMarin Ramesa
* ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. * ddb/db_sym.h (aout_db_sym_init): Add prototype. * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. [MACH_KDB]: Include ddb/db_sym.h. [MACH_KDB]: Add comment after else and endif.
2013-11-20ddb/db_variables.c: fix initializations from incompatible pointer typeMarin Ramesa
* ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable, fcn): Declare long return type.
2013-11-20ddb/db_run.c: move declaration of brpc into SOFTWARE_SSTEPMarin Ramesa
* ddb/db_run.c (brpc): Move declaration into SOFTWARE_SSTEP code.
2013-11-20ddb/db_run.c: trivial stylistic fix for consistencyMarin Ramesa
* ddb/db_run.c: Trivial stylistic fix for consistency.
2013-11-20ddb/db_run.c: remove set but unused variableMarin Ramesa
* ddb/db_run.c (ins): Remove variable.
2013-11-20ddb: fix implicit declaration of functionMarin Ramesa
* ddb/db_variables.c (db_read_write_variable): Remove forward declaration. * ddb/db_variables.h (db_read_write_variable): Add prototype.
2013-11-20ddb/db_examine.c: add missing castMarin Ramesa
ddb/db_examine.c (addr, count): Cast to (db_expr_t *).
2013-11-20Add commentMarin Ramesa
* ddb/db_command.c [DB_MACHINE_COMMANDS]: Add comment after endif.
2013-11-20ddb/db_break.c: quiet GCC warning about uninitialized variableMarin Ramesa
* ddb/db_break.c (bkpt): Initialize.
2013-11-19Add copyrightMarin Ramesa
* ddb/db_write_cmd.h: Add copyright. * ipc/ipc_print.h: Likewise. * vm/vm_print.h: Likewise.
2013-11-17ddb/stab.h: add ifndefMarin Ramesa
* ddb/stab.h: Add ifndef.
2013-11-17ddb/db_write_cmd.c: remove register qualifiersMarin Ramesa
* ddb/db_write_cmd.c: Remove register qualifiers.
2013-11-17ddb/db_watch.c: remove register qualifiersMarin Ramesa
* ddb/db_watch.c: Remove register qualifiers.
2013-11-17ddb/db_variables.c: remove register qualifiersMarin Ramesa
* ddb/db_variables.c: Remove register qualifiers.
2013-11-17ddb/db_task_thread.c: remove register qualifiersMarin Ramesa
* ddb/db_task_thread.c: Remove register qualifiers.
2013-11-17ddb/db_sym.h: add comment after endifMarin Ramesa
* ddb/db_sym.h: Add comment after endif.
2013-11-17ddb/db_sym.c: remove register qualifiersMarin Ramesa
* ddb/db_sym.c: Remove register qualifiers.
2013-11-17ddb/db_run.h: add ifndefMarin Ramesa
* ddb/db_run.h: Add ifndef.
2013-11-17ddb/db_run.c: remove register qualifiersMarin Ramesa
* ddb/db_run.c: Remove register qualifiers.
2013-11-17ddb/db_print.c: remove register qualifiersMarin Ramesa
* ddb/db_print.c: Remove register qualifiers.
2013-11-17ddb/db_output.h: add ifndefMarin Ramesa
* ddb/db_output.h: Add ifndef.
2013-11-17ddb/db_output.c: remove register qualifiersMarin Ramesa
* ddb/db_output.c: Remove register qualifiers.
2013-11-17ddb/db_mp.c: remove register qualifierMarin Ramesa
* ddb/db_mp.c: Remove register qualifier.
2013-11-17ddb/db_macro.c: remove register qualifiersMarin Ramesa
* ddb/db_macro.c: Remove register qualifiers.
2013-11-17ddb/db_lex.h: add ifndefMarin Ramesa
* ddb/db_lex.h: Add ifndef.
2013-11-17ddb/db_lex.c: remove register qualifiersMarin Ramesa
* ddb/db_lex.c: Remove register qualifiers.
2013-11-17ddb/db_input.c: remove register qualifiersMarin Ramesa
* ddb/db_input.c: Remove register qualifiers.
2013-11-17ddb/db_expr.c: remove register qualifierMarin Ramesa
* ddb/db_expr.c: Remove register qualifier.
2013-11-17ddb/db_examine.c: remove register qualifiersMarin Ramesa
* ddb/db_examine.c: Remove register qualifiers.
2013-11-17ddb/db_cond.c: remove register qualifiersMarin Ramesa
* ddb/db_cond.c: Remove register qualifiers.
2013-11-17ddb/db_command.h: add ifndefMarin Ramesa
* ddb/db_command.h: Add ifndef.
2013-11-17ddb/db_command.c: remove register qualifiersMarin Ramesa
* ddb/db_command.c: Remove register qualifiers.
2013-11-17ddb/db_break.c: remove register qualifiersMarin Ramesa
* ddb/db_break.c: Remove register qualifiers.
2013-11-17ddb/db_aout.c: remove register qualifiersMarin Ramesa
* ddb/db_aout.c: Remove register qualifiers.
2013-11-17ddb/db_access.h: add ifndefMarin Ramesa
* ddb/db_access.h: Add ifndef.
2013-11-17ddb/db_access.c: remove register qualifiersMarin Ramesa
* ddb/db_access.c: Remove register qualifiers.
2013-07-18ddb: cleanup db_command.cMarin Ramesa
* ddb/db_command.c (_longjmp): Remove prototype. (vm_map_print): Likewise. (vm_object_print): Likewise. (vm_page_print): Likewise. (vm_map_copy_print): Likewise. (ipc_port_print): Likewise. (ipc_pset_print): Likewise. (db_show_all_slocks): Likewise. (ipc_kmsg_print): Likewise. (ipc_msg_print): Likewise. Include <vm/vm_print.h>. Include <ipc/ipc_print.h>. Include <kern/lock.h>. * i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype.