bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [64-bit code] procfs:4200 -- process not stopped. from gdb 7.4 on So


From: Rainer Orth
Subject: Re: [64-bit code] procfs:4200 -- process not stopped. from gdb 7.4 on Solaris10 x86_64
Date: Tue, 10 Apr 2012 12:16:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v)

Kiyoshi KANAZAWA <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]