OpenWrt Forum Archive

Topic: gdb console?

The content of this topic has been archived on 27 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Where can I get gdb executable that runs from OpenWrt?  I need to debug a program that I'm porting!  And worse too, my MN-700 doesn't have any serial ports..

It crashes and all it gives me is:

ERROR: 1 not a valid target)


And I can't find any part of this string in any of the sources!

strace to a logfile might get you started...?

frogzoo wrote:

strace to a logfile might get you started...?

Not really, I need a callstack to see why it aborted!

The discussion might have continued from here.