1 May 2005 20:40
arm-linux-gdb show "Don't know how to run"
Τ¶«É½ <dswei <at> ustc.edu>
2005-05-01 18:40:02 GMT
2005-05-01 18:40:02 GMT
1. I have install gdb5.3 as follow: ./configure --target=arm-linux make make install 2. I wrote a simply program "hello.c": arm-linux-gcc -g -o hello hello.c 3. When i used the arm-linux-gdb to debug, it showed: #arm-linux-gdb hello GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"... (gdb) run Starting program: /friendly-arm/root/examples/hello/hello Don't know how to run. Try "help target". Who can help me? Thank you!(Continue reading)
There are
> no more cuts coming, so as long as we're not bleeding to death yet,
> we're not going to die. Plenty of GNU software has similar patches to
> support running on MinGW. GDB itself already has 2500 lines of code in
> win32-nat.c, some of which I would imagine is rather more opaque to
> POSIX programmers than anything we've added.
>
> We made these changes with no algorithmic modifications to GDB, no
> perversions of its core design, etc.
FWIW, I agree with Mark M. here: the changes added to support MinGW
were minimal, almost unnoticed in the sources.
> I certainly don't think the entire codebase will be littered with
> HANDLEs and ReadFileEx, or transformed into a multi-threaded application
> with a Windows event loop in the middle of it, or anything like that.
Perhaps we should have a mingw.c file to hide any such code, should
RSS Feed