~gothicx/apport/default_tags_distro

« back to all changes in this revision

Viewing changes to apport/report.py

  • Committer: Kees Cook
  • Date: 2009-09-10 02:28:59 UTC
  • Revision ID: kees@outflux.net-20090910022859-l271eodsy1h70bre
apport/report.py:
 - do not throw away leading text, this is redundant with the pop(0).
 - keep stderr, gdb reports in-line text for command output (for example,
   "Cannot read memory address 0x.....") and without this, the -99
   separator does not make it to its own line, messing up output ordering.

Show diffs side-by-side

added added

removed removed

Lines of Context:
503
503
 
504
504
            # call gdb
505
505
            try:
506
 
                out = _command_output(command, stderr=open('/dev/null')).replace(
507
 
                    '(no debugging symbols found)\n','').replace(
508
 
                    'No symbol table info available.\n','')
 
506
                out = _command_output(command)
509
507
            except OSError:
510
508
                return
511
509