zephyr/arch/x86
Daniel Leung 5ec60249ed x86: skip printing args when unwinding stack
On 32-bit x86, it was supposed to print the first argument to
the function during stack trace. However, it only works when
code optimizations are totally disabled (i.e. -O0). As such,
printing the args is not meaningful to aid with debugging.
So change it to simply print the function address, the same
as x86 64-bit.

Also, since unwind_stack() has exactly one caller, make it
ALWAYS_INLINE to skip a function call.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-09-09 18:41:04 -04:00
..
core x86: skip printing args when unwinding stack 2024-09-09 18:41:04 -04:00
include kernel: mm: rename Z_MEM_PHYS/VIRT_ADDR to K_MEM_* 2024-06-12 21:13:26 -04:00
zefi zefi: add bootargs support 2024-09-05 12:30:39 -05:00
CMakeLists.txt x86: gen_mmu: allow script to take extra arguments 2021-03-28 08:30:06 -04:00
gen_gdt.py x86: synchronize usage of CONFIG_X86_STACK_PROTECTION 2024-04-10 07:44:27 -04:00
gen_idt.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_mmu.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
ia32.cmake everywhere: replace double words 2024-06-22 05:40:22 -04:00
intel64.cmake x86: add kconfigs and compiler flags for MMX and SSE* 2021-02-15 08:21:15 -05:00
Kconfig kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
timing.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00