Fixed
Created: Apr 30, 2015
Updated: Dec 3, 2018
Resolved Date: Jun 12, 2015
Found In Version: 6.0.0.16,6.0.0.18
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Toolchain
GDB does not support thumb32 when reverse-debugging mode.
$ configure --enable-board=lsi-axm55xx \
--enable-rootfs=glibc_std --enable-kernel=preempt_rt \
--enable-jobs=2 --enable-parallel-pkgbuilds=4 \
--enable-rm-work=yes --enable-rm-oldimgs=yes \
--enable-reconfig --with-sstate-dir=/path/to/sstate \
--with-rcpl-version=0018
$ make -C build gdb.addpkg
$ make fs
Deploy to target as usual, then boot and log in.
root@localhost:~# gdb /bin/bash
GNU gdb (Wind River Linux Sourcery CodeBench 4.8-42) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-wrs-linux-gnueabi".
For bug reporting instructions, please see:
<support@windriver.com>...
Reading symbols from /bin/bash...(no debugging symbols found)...done.
(gdb) record
Process record: the program is not being run.
(gdb) b main
Breakpoint 1 at 0x1e99c
(gdb) start
Temporary breakpoint 2 at 0x1e99c
Starting program: /bin/bash
Breakpoint 1, 0x0001e99c in main ()
(gdb) record
(gdb) c
Continuing.
Process record doesnt support thumb32 instruction 0x100f04f at address 0x4b69ec70.
Process record: failed to record execution log.
[process 969] #1 stopped.
0x4b69ec70 in _setjmp () from /lib/libc.so.6
(gdb) q
A debugging session is active.
Inferior 1 [process 969] will be killed.
Quit anyway? (y or n) y
root@localhost:~#
The key part here is:
Process record doesnt support thumb32 instruction 0x100f04f at address 0x4b69ec70.
Process record: failed to record execution log.