apport-hackers team mailing list archive
-
apport-hackers team
-
Mailing list archive
-
Message #00133
[Merge] lp:~vorlon/apport/apport-cross-powerpc into lp:apport
Steve Langasek has proposed merging lp:~vorlon/apport/apport-cross-powerpc into lp:apport.
Requested reviews:
Apport upstream developers (apport-hackers)
For more details, see:
https://code.launchpad.net/~vorlon/apport/apport-cross-powerpc/+merge/156678
Since I just had reason to hand-retrace a powerpc core dump with gdb-multiarch,
I thought it would be a good idea to teach apport the right options to
enable it to do the same.
Note that this is of limited utility currently in launchpad / errors.u.c,
because ddebs.u.c doesn't have any powerpc debug symbols; but I don't see
any reason not to include the support in apport anyway.
--
https://code.launchpad.net/~vorlon/apport/apport-cross-powerpc/+merge/156678
Your team Apport upstream developers is requested to review the proposed merge of lp:~vorlon/apport/apport-cross-powerpc into lp:apport.
=== modified file 'apport/report.py'
--- apport/report.py 2013-03-12 11:31:40 +0000
+++ apport/report.py 2013-04-02 20:35:35 +0000
@@ -1445,6 +1445,8 @@
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
if sandbox: