List Info

Thread: Re: question about GDB message




Re: question about GDB message
user name
2007-09-25 06:41:54
On 9/25/07, Daniel Jacobowitz <drowfalse.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
>

Re: question about GDB message
country flaguser name
United States
2007-09-25 06:48:38
On Tue, Sep 25, 2007 at 04:41:54AM -0700, The Westlakers
wrote:
> > 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.

No, that is not what I said.  You should build GDB and
specify a
sparc64-elf --target.

Using target remote from a native GDB is supposed to work,
but does
not always.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )