nuttx/Documentation/platforms
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
..
arm boards/arm/qemu/qemu-armv7a: add demo for gdbstub 2025-11-11 19:53:56 +08:00
arm64 docs/raspberrypi-4b: Include information about new graphics support 2025-11-09 16:48:14 -03:00
avr docs/avr/atmega/atmega1284p/boards/moteino-mega: Migrate README.txt 2025-10-05 20:50:58 -03:00
ceva Documentation: add missing platforms to platforms/ and remove introduction/platforms 2023-10-22 19:06:44 +08:00
hc style: fix typos 2025-04-30 13:45:46 +08:00
mips style: fix typos 2025-04-30 13:45:46 +08:00
misco misco/lm32/boards/misoc: Migrate README.txt to RST 2025-05-08 03:04:04 +02:00
or1k Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
renesas docs/rx65n-rsk2mb: Migrate README.txt to rst format 2025-09-12 07:20:04 +02:00
risc-v arch/risc-v/mpfs: Add MSS CAN driver. 2025-11-03 17:14:53 -03:00
sim docs/platforms/sim/sim/boards/sim: Clean up legacy SIM documentation. 2025-10-24 10:15:24 +02:00
sparc Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
tricore board/tricore: rename tc397 chip board name 2025-08-26 16:09:34 +08:00
x86 Documentation: fix spelling 2025-05-15 11:33:41 +08:00
x86_64 boards/x86_64/qemu-intel64: add xHCI support to jumbo configs 2025-05-15 21:58:57 +08:00
xtensa Documentation/xtensa/esp32s3: Add ULP RISCV coprocessor wakeup docs 2025-10-24 11:16:11 +08:00
z16 Documentation: update broken links 2024-04-10 15:17:53 -03:00
z80 Documentation: update broken links 2024-04-10 15:17:53 -03:00
index.rst Documentation: migrate /arch 2023-10-26 00:08:54 +08:00