Skip to content

Commit

Permalink
subsys/debug: relocate symtab Kconfig
Browse files Browse the repository at this point in the history
Move the symtab Kcofig into the symtab folder.

Signed-off-by: Yong Cong Sin <[email protected]>
  • Loading branch information
ycsin committed May 30, 2024
1 parent 979b7fa commit 7959720
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
11 changes: 1 addition & 10 deletions subsys/debug/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -369,16 +369,6 @@ config DEBUG_INFO
used by debuggers in debugging the system, or enable additional
debugging information to be reported at runtime.

config SYMTAB
bool "Generate symbol table"
help
Generate the symbol table with the offset and name of every
function.
The symbol table can be accessed by including the
<zephyr/debug/symtab.h> header.

Choose N if you have no idea what is this.

config EXCEPTION_STACK_TRACE
bool "Attempt to print stack traces upon exceptions"
default y
Expand Down Expand Up @@ -421,6 +411,7 @@ config DEBUG_THREAD_INFO

rsource "coredump/Kconfig"
rsource "gdbstub/Kconfig"
rsource "symtab/Kconfig"
endmenu

config SEGGER_DEBUGMON
Expand Down
12 changes: 12 additions & 0 deletions subsys/debug/symtab/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 Meta Platforms
# SPDX-License-Identifier: Apache-2.0

config SYMTAB
bool "Generate symbol table"
help
Generate the symbol table with the offset and name of every
function.
The symbol table can be accessed by including the
<zephyr/debug/symtab.h> header.

Choose N if you have no idea what is this.

0 comments on commit 7959720

Please sign in to comment.