List Info

Thread: Re: question about GDB message




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

So I did this:

./configure --target=sparc64-elf, is this right? the
resulting GDB
becomes 32-bit app
and it can talk to the target in 32-mode, but not 64-bit.

Maybe you could help to make sure I configured it right.

thanks
>
> --
> Daniel Jacobowitz
> CodeSourcery
>

Re: question about GDB message
country flaguser name
United States
2007-09-25 07:35:16
On Tue, Sep 25, 2007 at 05:27:13AM -0700, The Westlakers
wrote:
> So I did this:
> 
> ./configure --target=sparc64-elf, is this right? the
resulting GDB
> becomes 32-bit app
> and it can talk to the target in 32-mode, but not
64-bit.
> 
> Maybe you could help to make sure I configured it
right.

That's right.  It shouldn't matter that the GDB is 32-bit. 
What goes
wrong talking to a 64-bit target?

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

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