Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sparc



Module Name:    src
Committed By:   andvar
Date:           Thu Oct 26 10:41:03 UTC 2023

Modified Files:
        src/sys/arch/sparc/conf: files.sparc
        src/sys/arch/sparc/include: db_machdep.h
        src/sys/arch/sparc/sparc: db_interface.c

Log Message:
Build db_machdep.c when KGDB option is enabled.
Do not cast (regs)->db_tf.tf_pc to db_addr_t (thus ifdef block is redundant).
Adjust ifdef conditions in db_interface.c to make it build with KGDB option.
While here, add #endif comments for longer blocks.

These changes should make sparc build with KGDB option, once ddb/db_access.c
code will be fixed to build with it.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/sys/arch/sparc/conf/files.sparc
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc/include/db_machdep.h
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/sparc/sparc/db_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index