This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/22286] New: [MIPS] internal-error when read dspctl register
- From: "paul.hua.gm at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 12 Oct 2017 11:06:16 +0000
- Subject: [Bug gdb/22286] New: [MIPS] internal-error when read dspctl register
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22286
Bug ID: 22286
Summary: [MIPS] internal-error when read dspctl register
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: paul.hua.gm at gmail dot com
Target Milestone: ---
I use 'info r' to read registers on mips64 target with dsp.
something wrong.
internal-error: void inf_ptrace_fetch_register(regcache*, int): Assertion
`(size % sizeof (PTRACE_TYPE_RET)) == 0' failed.
----------------cut-------------------------------
(gdb) b main
Breakpoint 1 at 0x1200038b4
(gdb) r
Starting program: /usr/bin/ls
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Breakpoint 1, 0x00000001200038b4 in main ()
(gdb) info r
zero at v0 v1
R0 0000000000000000 0000000000000001 0000000000000000 000000fff7ffcf80
a0 a1 a2 a3
R4 0000000000000001 000000ffffffad98 000000ffffffada8 0000000000000000
a4 a5 a6 a7
R8 000000fff7f36820 000000fff7fdba18 000000ffffffad90 0000000000000001
t0 t1 t2 t3
R12 000000fff7d75140 000000000000000b 00000000f63d4e2e 000000fff7ffde28
s0 s1 s2 s3
R16 000000fff7f34cc8 000000012001d5e0 0000000000000000 0000000000000000
s4 s5 s6 s7
R20 000000012016d750 000000012015af48 0000000000000000 0000000000000000
t8 t9 k0 k1
R24 0000000000000000 00000001200038a0 0000000000000000 0000000000000000
gp sp s8 ra
R28 00000001200438a0 000000ffffffa900 0000000000000000 000000fff7d931a0
status lo hi badvaddr
ffffffff8500c8f3 0000000000000000 000000000000000a 000000fff7daefe8
cause pc
0000000010000024 00000001200038b4
fcsr fir hi1 lo1
00000000 00770501 0000000000000000 0000000000000000
hi2 lo2 hi3 lo3
0000000000000000 0000000000000000 0000000000000000 0000000000000000
dspctl restart
../../binutils-gdb_git_trunk/gdb/inf-ptrace.c:735: internal-error: void
inf_ptrace_fetch_register(regcache*, int): Assertion `(size % sizeof
(PTRACE_TYPE_RET)) == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
--------------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.