Originally posted by: SystemAdmin
Hi, folks.
I have a problem to debug my program on aix 5.3.
compiled with gcc 4.2.0
(
here is compile option when I install gcc:
./configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0 --disable-libjava-multilib
)
but, I've alway met the following error msgs. alway it.
(
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
Architecture of file not recognized. (gdb)
)
When I use a ddd, i met same an error.
$> file my_program
64-bit XCOFF executable or object module not stripped
by googling, I can know there are another debugger developers are using.
1) totalview(www.totalviewtech.com)
but, I have to enable license to use it. ( In spite of they provide free trial product, there is no response related it to give me demo license key.)
2) idebug (??)
this is to debug java applications.
3) what else???? I can do?