On 15/05/12 08:46, 马进 wrote:
> Hi all,
> 
> I am trying to debug openwrt. 
> I followed the instruction from http://wiki.openwrt.org/doc/devel/gdb
> 
> Everything works well but when 
> 
> scorpio@scorpio-desktop:~/mjproject/openwrt/buffalo/backfire$
> ./scripts/remote-gdb 192.168.1.1:9000 <http://192.168.1.1:9000>
> ./staging_dir/target-mips_r2_uClibc-0.9.30.1/root-ar71xx/bin/ping
> Choose target:
>   1) mips (r2)
>   2) i386 (uClibc-0.9.30.1)
> Target? > 1
> No gdb found! Make sure that CONFIG_GDB is set!
> 
> I don't why. CONFIG_GDB=y is set when I compiled openwrt. 
> If I chose 2, then it works. But I think in order to debug the
> router(mips arch), I should choose 1.
> 
> What should I do?
> 
> Thank you.
> 
> Jin
> 

Hi Jin,

how exactly do you set CONFIG_GDB ?

Thanks,
John
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to