Read this http://www.linuxjournal.com/article/1298

But in short and directly from the article . . .

*To debug a compiled program with gdb, use the command:*

*$ gdb program [ core-dump ]*
*where program is the filename of the executable file you want to debug,
and core-dump is the name of a core dump file left from an earlier attempt
to run your program. By examining the core dump with gdb, you can discover
where the program failed and the reason for its failure.*


On Mon, Dec 23, 2013 at 4:41 PM, William Hermans <[email protected]> wrote:

> I doubt anyone would have time to teach you to use gdb, but that is what
> you need to learn how to use. -> gdb.
>
> Quite honestly I am still learning gdb myself, and mostly from the context
> of programming / debugging, but as I recall it is something like gdb
> <program name> with maybe a command line switch or something to load the
> offending process / program.
>
>
> On Sun, Dec 22, 2013 at 9:20 AM, Dhanushka Jayaweera <
> [email protected]> wrote:
>
>> Gerald,
>>
>> well ok, I guess you meant that libgtk/gnome based apps will freeze the
>> BBB. I'll try to use non libgtk/gnome apps.
>>
>> Someone needs to debug this, get a trace right before the system goes
>>> down.
>>>
>> If you explain/provide a link on how to do it, I will give it a try &
>> update here
>>
>> thanks for the info.
>>
>> On Sunday, December 22, 2013 8:56:42 PM UTC+5:30, RobertCNelson wrote:
>>
>>> On Sun, Dec 22, 2013 at 9:23 AM, Amalinda J' Gamage
>>> <[email protected]> wrote:
>>> > I have the same problem. some softwares freeze the Ubuntu GUI. Is
>>> there any
>>> > criterian to chose softwares such a way the BBB doest freeze?
>>>
>>> anything libgtk/gnome..
>>>
>>> Like i said in another thread...  Someone needs to debug this, get a
>>> trace right before the system goes down.  Something is locking up the
>>> core..
>>>
>>> Regards,
>>>
>>> --
>>> Robert Nelson
>>> http://www.rcn-ee.com/
>>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to