Giter Club home page Giter Club logo

Comments (2)

TommyMurphyTM1234 avatar TommyMurphyTM1234 commented on August 29, 2024

I just checked what GDB does when connecting to an ARM Cortex-M3 target and the GDB/MI register list there also contains many blank entries so maybe the behaviour above is not anomalous/erroneous and has a reasonable explanation?
Anybody know what the blank entries mean?
This is what I get with Cortex-M3:

742,878 42-data-list-register-names --thread-group i1
742,889 42^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12",\
"sp","lr","pc","","","","","","","","","","xPSR","","","","","","","","","","","","","","","","","",\
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\
","","","","","","","","","","","","","","","msp","psp","primask","basepri","faultmask","control"]

compared to what I get interactively with GDB:

i r
r0             0x0	0
r1             0x0	0
r2             0x0	0
r3             0x0	0
r4             0x0	0
r5             0x0	0
r6             0x4	4
r7             0x2000fff0	536936432
r8             0x0	0
r9             0x0	0
r10            0x0	0
r11            0x0	0
r12            0x5c93cf66	1553190758
sp             0x2000fff0	0x2000fff0
lr             0x200007cf	536872911
pc             0x2000072e	0x2000072e <main+6>
xPSR           0x61000000	1627389952

i all-reg
r0             0x0	0
r1             0x0	0
r2             0x0	0
r3             0x0	0
r4             0x0	0
r5             0x0	0
r6             0x4	4
r7             0x2000fff0	536936432
r8             0x0	0
r9             0x0	0
r10            0x0	0
r11            0x0	0
r12            0x5c93cf66	1553190758
sp             0x2000fff0	0x2000fff0
lr             0x200007cf	536872911
pc             0x2000072e	0x2000072e <main+6>
xPSR           0x61000000	1627389952
msp            0x2000fff0	0x2000fff0
psp            0x696b6f74	0x696b6f74
primask        0x0	0
basepri        0x0	0
faultmask      0x0	0
control        0x0	0

from riscv-binutils-gdb.

TommyMurphyTM1234 avatar TommyMurphyTM1234 commented on August 29, 2024

I think that I was mistaken in logging this issue in the first place so am closing it now.

from riscv-binutils-gdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.