This is because of the following lines in report.py:
# check for foreign architecture
arch = self.get('Uname', 'none').split()[-1]
if 'arm' in arch: command += ['--ex', 'set architecture arm', '--ex', 'set gnutarget elf32-littlearm']
elif 'ppc' in arch: command += ['--ex', 'set architecture powerpc:common', '--ex', 'set gnutarget elf32-powerpc']
# note, i386 vs. x86_64 is auto-detected just fine
I wonder if these are really needed as I retraced some arm64 crashes, uname with aarch64, and they retraced the same as when I added the following to report.py:
if 'aarch64' in arch: command += ['--ex', 'set architecture aarch64', '--ex', 'set gnutarget elf64-littleaarch64']
This is because of the following lines in report.py:
# check for foreign architecture
command += ['--ex', 'set architecture arm', '--ex', 'set gnutarget elf32-littlearm']
command += ['--ex', 'set architecture powerpc:common', '--ex', 'set gnutarget elf32-powerpc']
arch = self.get('Uname', 'none').split()[-1]
if 'arm' in arch:
elif 'ppc' in arch:
# note, i386 vs. x86_64 is auto-detected just fine
I wonder if these are really needed as I retraced some arm64 crashes, uname with aarch64, and they retraced the same as when I added the following to report.py:
if 'aarch64' in arch:
command += ['--ex', 'set architecture aarch64', '--ex', 'set gnutarget elf64-littleaar ch64']