Hello, Gdb 7.4 can not run 64-bit code program, on Solaris10 x86_64.
[How-To-Repeat] % cat hello.c #include <stdio.h> int main (void) { printf ("Hello.\n"); return 0; } % gcc -g -m32 hello.c % gdb a.out GNU gdb (GDB) 7.4 Copyright (C) 2012 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 "i386-pc-solaris2.10". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/a.out...done. (gdb) run Starting program: /tmp/a.out [Thread debugging using libthread_db enabled] Hello. [Inferior 1 (process 18771 ) exited normally] (gdb) quit % gcc -g -m64 hello.c % gdb a.out GNU gdb (GDB) 7.4 Copyright (C) 2012 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 "i386-pc-solaris2.10". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/a.out...done. (gdb) run Starting program: /tmp/a.out procfs:4200 -- process not stopped. procfs: ...giving up... [Environmen] % uname -a SunOS katie 5.10 Generic_147441-01 i86pc i386 i86pc Gdb 7.4 was compiled with gcc-3.4.3 % gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix Regards, --- Kiyoshi <yoi_no_myou...@yahoo.co.jp> _______________________________________________ bug-gdb mailing list bug-gdb@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gdb