nuttx/Documentation
hujun5 aff64bb3dc arm64: add demo for gdbstub
Gdbstub demo::
   The Qemu version must be above 9.2 to support two serial ports.

   One window:
   ./tools/configure.sh qemu-armv8a:gdbstub; make -j25
   qemu-system-aarch64 -cpu cortex-a53 -nographic -machine virt,virtualization=on,gic-version=3 -net none -kernel ./nuttx -serial mon:stdio -serial pty
   char device redirected to /dev/pts/27 (label serial1)
   - Ready to Boot Primary CPU
   - Boot from EL2
   - Boot from EL1
   - Boot to C runtime for OS Initialize

   Another window:
   gdb-multiarch nuttx -ex "target remot /dev/pts/27"
   GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
   Copyright (C) 2024 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.
   Type "show copying" and "show warranty" for details.
   This GDB was configured as "x86_64-linux-gnu".
   Type "show configuration" for configuration details.
   For bug reporting instructions, please see:
   <https://www.gnu.org/software/gdb/bugs/>.
   Find the GDB manual and other documentation resources online at:
   <http://www.gnu.org/software/gdb/documentation/>.

   For help, type "help".
   Type "apropos word" to search for commands related to "word"...
   Reading symbols from nuttx...
   Remote debugging using /dev/pts/26
   gdb_get_registers (state=0x403e1590) at gdbstub/lib_gdbstub.c:1020
   1020              reg = state->running_regs;
   (gdb) c

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2025-11-09 22:45:26 +08:00
..
_extensions
_static
_templates
applications netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
components Documentation: Add description for early_syslog() 2025-10-31 08:29:17 -03:00
contributing docs/codeowners: Provide some relevant information about CODEOWNERS. 2025-09-06 10:12:16 +08:00
debugging sched: Improve nxsched stack overflow checking implementation 2025-10-11 18:00:44 +08:00
faq DOC: Add how to get application on NSH 2024-06-06 02:39:56 +08:00
guides doc: Add semihost syslog guide instructions 2025-10-24 09:56:24 +08:00
implementation documentation: spelling and grammar fixes 2025-07-24 14:44:02 +08:00
introduction WIP: Documentation: replace first person perspectives 2025-05-19 20:21:33 +08:00
logos style: fix typos 2025-04-30 13:45:46 +08:00
platforms arm64: add demo for gdbstub 2025-11-09 22:45:26 +08:00
quickstart Doc: Remove MOTD string from nsh shell on simulator 2025-07-30 12:01:56 +08:00
reference netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
ReleaseNotes Documentation: add NuttX-12.11.0 release notes 2025-09-28 20:52:20 +08:00
standards Documentation/posix.rst: fix typos 2025-08-22 20:50:13 +08:00
.gitignore docs/tags: Introduce tagging feature to the documentation. 2025-04-29 09:18:25 +02:00
conf.py docs: Update the ELF guides 2025-06-11 23:11:08 +08:00
glossary.rst
index.rst Documentation: review supported POSIX interfaces in NuttX 2025-06-12 10:13:52 -03:00
known-warnings.txt
legacy_README.md Documentation: fix spelling 2025-05-15 11:33:41 +08:00
make.bat
Makefile docs/tags: Introduce tagging feature to the documentation. 2025-04-29 09:18:25 +02:00
Pipfile docs: Fix pipenv lockfile for older Python versions 2025-06-11 23:11:08 +08:00
Pipfile.lock build(deps): bump tornado from 6.4.2 to 6.5.1 in /Documentation 2025-06-12 19:09:47 +08:00
substitutions.rst