Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb>monitor arc jtag aux-reg 0x4 :shows only lower 8 bits #604

Open
111yyyu opened this issue Apr 25, 2024 · 0 comments
Open

gdb>monitor arc jtag aux-reg 0x4 :shows only lower 8 bits #604

111yyyu opened this issue Apr 25, 2024 · 0 comments

Comments

@111yyyu
Copy link

111yyyu commented Apr 25, 2024

GNU 2023.09, if we use it with a multi core system (like HSDK) and we could see:
monitor arc jtag aux-reg 0x4 : shows only lower 8 bits;
identity register could show arcnum.

(gdb) info register
r0 0x20e61c7 34496967
r1 0x89027fce 2298642382
r2 0x3c000b7a 1006635898
r3 0xb8198333 3088679731
r4 0x2ac4899e 717523358
r5 0x94ed09ec 2498562540
r6 0x1201a0bc 302096572
r7 0x721f914 119666964
r8 0x8ecab0d 149728013
r9 0xbd26263f 3173393983
r10 0x276eb8e 41347982
r11 0x4b396312 1262052114
r12 0xaa0850a 178291978
r13 0x1193a96 18430614
r14 0x6800a192 1744871826
r15 0xdb29410f 3676913935
r16 0x6902c5da 1761789402
r17 0x72336c1f 1915972639
r18 0x4122dcf7 1092803831
r19 0x62176b8 102856376
r20 0xfa2429eb 4196674027
r21 0xd00e2bd0 3490589648
r22 0x1a1b13d8 437982168
r23 0xda4251b3 3661779379
r24 0xda4251b3 3661779379
r25 0x1a9950f8 446255352
gp 0x4920714c 0x4920714c
fp 0x8cccbf1a 0x8cccbf1a
sp 0xc62a599c 0xc62a599c
-Type for more, q to quit, c to continue without paging-
ilink 0x110ab3d3 0x110ab3d3
r30 0xd1cee174 3519996276
blink 0x160da9e7 0x160da9e7
lp_count 0x0 0
pcl 0xfffffffc 0xfffffffc
pc 0x70000024 0x70000024 <__start>
status32 0x1 [ H ]
lp_start 0x0 0x0
lp_end 0x0 0x0
identity

{arcver = 0x52, arcnum = 0x3, chipid = 0x0}
{arcver = 82, arcnum = 3, chipid = 0}
gdb>monitor arc jtag aux-reg 0x4
82

This command cannot show which target is being debugged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant