]> Kevux Git Server - control/commitdiff
Update: Prepare for supporting the status debug define.
authorKevin Day <Kevin@kevux.org>
Sun, 9 Nov 2025 04:36:45 +0000 (22:36 -0600)
committerKevin Day <Kevin@kevux.org>
Sun, 9 Nov 2025 04:36:45 +0000 (22:36 -0600)
The `F_status_debug_source_d` should now be supported with this change.
This is not yet used.

Update the build settings modes.

data/build/settings
data/build/settings.control
data/build/stand_alone/config.h
data/build/stand_alone/settings.control

index 9425f7eb1bcb2f4756079aaf45eff43b8f20c2f1..7bac1e09745fe8e8a47c5ea9ed1da8f4d5e834e5 100644 (file)
@@ -4,6 +4,7 @@
 #   - android:           Compile on an android system (using Termux; may need modification depending on the android system).
 #   - clang:             Use CLang rather than the default, which is generally GCC.
 #   - coverage:          Compile for building coverage.
+#   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
 #   - gcc:               Use GCC specific settings.
 #   - gcc_13:            Use GCC version 13 or greater specific settings.
@@ -24,8 +25,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage fanalyzer gcc gcc_13 individual individual_thread level monolithic test thread threadless
-modes_default monolithic thread gcc
+modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes_default debug gcc monolithic thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -88,6 +89,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index 28942c8b9c9d5b4ffa0356fd195ea733188762ce..2545bacd45b1fe161511da28466615184808b79e 100644 (file)
@@ -4,6 +4,7 @@
 #   - android:           Compile on an android system (using Termux; may need modification depending on the android system).
 #   - clang:             Use CLang rather than the default, which is generally GCC.
 #   - coverage:          Compile for building coverage.
+#   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
 #   - gcc:               Use GCC specific settings.
 #   - gcc_13:            Use GCC version 13 or greater specific settings.
@@ -24,8 +25,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage fanalyzer gcc gcc_13 individual individual_thread level monolithic test thread threadless
-modes_default monolithic thread gcc
+modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes_default debug gcc monolithic thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -88,6 +89,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
 
index 3ff613172965bae45e3b4384264980e5f2873ecb..1d5823c4c2c678de288e595568f99c868644f43d 100644 (file)
 #define _di_f_statess_destroy_callback_
 #define _di_f_statess_t_
 //#define _di_f_status_e_
+//#define _di_f_status_debug_d_
 //#define _di_f_status_mask_d_
 //#define _di_f_status_string_s_
 //#define _di_f_status_string_to_
index 688554f89643e5d13fdab03b5c0c468de1f703e3..9b249014363ac761789014b974c796c40c7fdc4a 100644 (file)
@@ -7,8 +7,9 @@
 #
 # Modes:
 #   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use Clang rather than the default, which is generally GCC.
+#   - clang:      Use CLang rather than the default, which is generally GCC.
 #   - coverage:   Compile for building coverage.
+#   - debug:      Enable debugging, such as compile time debug options.
 #   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
 #   - gcc:        Use GCC specific settings.
 #   - gcc_13:     Use GCC version 13 or greater specific settings.
@@ -26,8 +27,8 @@ version_micro 3
 version_file micro
 version_target minor
 
-modes android clang coverage fanalyzer gcc gcc_13 test thread threadless
-modes_default thread gcc
+modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes_default debug gcc thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -121,6 +122,7 @@ defines -include sources/c/config.h -I sources/c/
 #defines -D_di_libcap_
 defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_