Kiyoshi KANAZAWA <yoi_no_myou...@yahoo.co.jp> writes: > Gdb 7.4 can not run 64-bit code program, on Solaris10 x86_64. > % gcc -g -m64 hello.c > % gdb a.out > GNU gdb (GDB) 7.4 [...] > 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...
To debug a 64-bit program, you need a 64-bit gdb, but yours most likely is a 32-bit binary. You can check this with running file on the gdb binary. Rebuild gdb with CC='gcc -m64' instead. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University _______________________________________________ bug-gdb mailing list bug-gdb@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gdb