>> > No one was talking about linking with GDB.  That's just insane. ;)
>> > libbfd is part of binutils.  But again it should be_optional.
>>
>> OK. Explain the benefit of complicating OpenOCD vs. adding a script
>> to launch OpenOCD via GDB then...
>
> Seriously... you've never had a Heisenbug either?  Am I the only one
> that gets segfaults and doesn't _want_ to have to debug them?  Really?

You're not answering the question:

How is your solution better than writing a script "openocd" that launches
openocd from GDB by default?

This script could run a bt automatically and create a "bug" file. To boot
we could add a circular debug_level 3 memory buffer that is dumped
at the same time...

In releases we could default to running without gdb/debug_level 3 all the time.


-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to