discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Volk machine: ssse3_32 segmentation faults (was R


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Volk machine: ssse3_32 segmentation faults (was RE: How to diagnose make test failures)
Date: Wed, 24 Apr 2013 09:00:56 -0700

On Wed, Apr 24, 2013 at 2:48 AM, Johannes Demel <address@hidden> wrote:
 
I just want to point out that you could use gdb python for debugging.

just run gdb python and then "run path/file.py". At least it works for
me and doesn't need this import os stuff and looking up PIDs.

This works in most cases (and is how I usually debug GNU Radio apps written in Python.)

However, in the case of the QA code, the 'make test' command executes the Python script with a very specific set of environment variables to allow the QA code to find GNU Radio as part of the build tree, not the system installation, so the technique Tom outlined is needed to attach gdb after all that takes place.

--
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
http://corganlabs.com
reply via email to

[Prev in Thread] Current Thread [Next in Thread]