Wind River Support Network

HomeDefectsLIN7-4067
Fixed

LIN7-4067 : GDB does not support thumb32 when reverse-debugging.

Created: Jun 18, 2015    Updated: Sep 8, 2018
Resolved Date: May 26, 2017
Found In Version: 7.0
Fix Version: 7.0.0.25
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain

Description

GDB does not support thumb32 when reverse-debugging mode.

Steps to Reproduce

$ 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.

Other Downloads


Live chat
Online