Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. arm-none-eabi-gdb-py General Purpose Register Window Empty

arm-none-eabi-gdb-py General Purpose Register Window Empty

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
armremote-debugqemuregisters
2 Posts 1 Posters 498 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RyanEdward
    wrote on 9 Jan 2022, 05:00 last edited by
    #1

    I'm remote debugging a qemu-system-arm application.
    The specific invocation is: ```
    qemu-system-arm -S -gdb tcp::1234 -machine raspi2 -no-reboot -nographic -serial mon:stdio -kernel file.elf

    I can attach to it and step through it fine.
    
    However, when I go to View -> Views -> Registers it does not show any general purpose registers, like R0, R1, SP, PC, LR etc.
    The window only contains two tabs labelled 'long' and 'cp_regs'. Expanding these tabs shows a number of registers like MAIR0_S, CNTP_CTL etc.
    
    I must be doing something wrong, as this is the most basic feature of a register window.
    1 Reply Last reply
    0
    • R Offline
      R Offline
      RyanEdward
      wrote on 10 Jan 2022, 00:50 last edited by
      #2

      As a hack, I just use GDB register syntax in the Expressions Window, e.g. $r1, $r2, etc. I then set the format as hexadecimal

      1 Reply Last reply
      0

      1/2

      9 Jan 2022, 05:00

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved