question about GDB message

The Westlakers westlakers@gmail.com
Tue Sep 25 11:48:00 GMT 2007


On 9/25/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Tue, Sep 25, 2007 at 12:28:40PM +0800, The Westlakers wrote:
> > Hi GDB experts,
> >
> > I am having problem when I made "target remote:192.1.1.255:6000"
> > I can see the packets being sent to the remote target machine, and replied
> >
> > with right reponding packets. But after that, it prints out:
> >
> > procfs: couldn't find pid 42000 in procinfo list.
> >
> > then can not do anything from there.
>
> How did you configure GDB?  It should probably be sparc64-elf if you
> are connecting to a no-OS target.
>

Yes, it is 64 bit ELF. just run gdb on Solaris host and typed the remote target
command.

1) I can run 32-bit GDB to get reg file and thread info from the
target, even if
the image running in the target is 64-bit, I managed to talk in 32-bit.

2) However when run 64-bit GDB, I got the procfs problem.

Why GDB 64-bit needs procfs?

> --
> Daniel Jacobowitz
> CodeSourcery
>



More information about the Gdb mailing list