nuttx/Documentation
hujun5 857fdad220 boards/arm/qemu/qemu-armv7a: add demo for gdbstub
Gdbstub support
===========
  The Qemu version must be above 9.2 to support two serial ports.

  One window:
  ./tools/configure.sh qemu-armv7a:gdbstub; make -j25
  qemu-system-arm -cpu cortex-a7 -nographic -machine virt,virtualization=off,gic-version=2 -net none -kernel ./nuttx  -serial mon:stdio -serial pty
  char device redirected to /dev/pts/26 (label serial1)
  nx_start: Entry
  uart_register: Registering /dev/console
  uart_register: Registering /dev/ttyS0

  Another window:
  gdb-multiarch nuttx -ex "target remot /dev/pts/26"
  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=0x402052f8) at gdbstub/lib_gdbstub.c:1020
  1020              reg = state->running_regs;
  (gdb) c

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2025-11-11 19:53:56 +08:00
..
_extensions
_static
_templates
applications docs/applications/examples/fb: Add documentation to fb example 2025-11-10 13:48:23 +08: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
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 boards/arm/qemu/qemu-armv7a: add demo for gdbstub 2025-11-11 19:53:56 +08:00
quickstart Doc: Remove MOTD string from nsh shell on simulator 2025-07-30 12:01:56 +08:00
reference Documentation: Add wd_start_next() API description 2025-11-10 23:16:57 +08: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