==== run-regress-disasm ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/disasm.c cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/stubs.c cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:35: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 390 | if (tv->tv_sec > UINT64_MAX / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 432 | if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:6: warning: variable 'regmodrm' set but not used [-Wunused-but-set-variable] 1013 | int regmodrm, sib, displacement, opcode; | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:16: warning: variable 'sib' set but not used [-Wunused-but-set-variable] 1013 | int regmodrm, sib, displacement, opcode; | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:21: warning: variable 'displacement' set but not used [-Wunused-but-set-variable] 1013 | int regmodrm, sib, displacement, opcode; | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:35: warning: variable 'opcode' set but not used [-Wunused-but-set-variable] 1013 | int regmodrm, sib, displacement, opcode; | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1123:1: warning: no previous prototype for function 'db_disasm' [-Wmissing-prototypes] 1123 | db_disasm(vaddr_t loc, int altfmt) | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1122:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1122 | vaddr_t | ^ | static 7 warnings generated. cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_output.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_output.c:33: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 390 | if (tv->tv_sec > UINT64_MAX / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 432 | if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:30: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 390 | if (tv->tv_sec > UINT64_MAX / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] 432 | if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:48:1: warning: no previous prototype for function 'ddb_init' [-Wmissing-prototypes] 48 | ddb_init(void) | ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:47:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 47 | void | ^ | static /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:149:10: warning: comparison of integers of different signs: 'db_expr_t' (aka 'long') and 'unsigned long' [-Wsign-compare] 149 | if (off <= db_lastsym) { | ~~~ ^ ~~~~~~~~~~ 4 warnings generated. cc -o disasm disasm.o stubs.o db_disasm.o db_output.o db_sym.o ./disasm