Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf254ab

Browse files
core_dump_activate.py: improve help comments
1 parent348e758 commitaf254ab

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

‎scripts/core_dump_activate.sh‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
# you want this not stripped:
2-
# file~/projects/MicroPythonOS/lvgl_micropython/build/lvgl_micropy_unix
3-
# ~/projects/MicroPythonOS/lvgl_micropython/build/lvgl_micropy_unix: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=f5c2fd31fd06ac76f9ba4eb031b383dfbc3a1b3c, for GNU/Linux 3.2.0, with debug_info, not stripped
2+
# file lvgl_micropython/build/lvgl_micropy_unix
3+
# ~/lvgl_micropython/build/lvgl_micropy_unix: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=f5c2fd31fd06ac76f9ba4eb031b383dfbc3a1b3c, for GNU/Linux 3.2.0, with debug_info, not stripped
44
#
5-
# To get that,run it with STRIP= and maybe also that LV_CFLAGS:
5+
# To get that,compile it with STRIP= and maybe also that LV_CFLAGS - build_mpos.sh will do this by default already:
66
# python3 make.py "$target" LV_CFLAGS="-g -O0 -ggdb" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$manifest"
77

88
ulimit -c unlimited
99
sudo sysctl -w kernel.core_pattern=/tmp/core.%p
10+
11+
# Now run it as usual (with run_desktop.sh)
12+
# And when it crashes, the core will be dumped in /tmp/core.XXXXX
13+
14+
# Then analyse it with:
15+
# gdb lvgl_micropython/build/lvgl_micropy_unix /tmp/core.185491
16+
17+
# For example, to see the stack trace of the error:
18+
# (gdb) info stack

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp