Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    arm remote-debug qemu registers
    1
    2
    229
    Loading More Posts
    • 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.
    • RyanEdward
      RyanEdward last edited by

      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 Reply Quote 0
      • RyanEdward
        RyanEdward last edited by

        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 Reply Quote 0
        • First post
          Last post