All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Building GDB - how exactly ?
@ 2001-04-09 20:34 Christoph Plattner
  2001-04-10  0:12 ` Alan Modra
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Plattner @ 2001-04-09 20:34 UTC (permalink / raw)
  To: parisc-linux

What are the correct steps to build a working GDB for 

1. HOST = i385-linux, TARGET = hppa-linux + gdbserver !
	(without server already success, but I am not shure, to have
	 done it correctly)

2. Native HPPA-LINUX gdb

I need to debug my `inti' problem

With friendly regards
	Christoph P.


-- 
-------------------------------------------------------------------------
private:	christoph.plattner@dot.at
company:	christoph.plattner@alcatel.at

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Building GDB - how exactly ?
  2001-04-09 20:34 [parisc-linux] Building GDB - how exactly ? Christoph Plattner
@ 2001-04-10  0:12 ` Alan Modra
  2001-04-10  6:58   ` Christoph Plattner
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Modra @ 2001-04-10  0:12 UTC (permalink / raw)
  To: Christoph Plattner; +Cc: parisc-linux

On Mon, 9 Apr 2001, Christoph Plattner wrote:

> What are the correct steps to build a working GDB for 
> 
> 1. HOST = i385-linux, TARGET = hppa-linux + gdbserver !
> 	(without server already success, but I am not shure, to have
> 	 done it correctly)

I haven't been building gdb for remote debugging, so I'm not sure how it
will go.  Should work, I think.

> 2. Native HPPA-LINUX gdb

I use the following to build a native gdb using a cross compiler from
x86-linux

/src/parisc/gdb/configure --build=i686-linux --host=hppa-linux
--target=hppa-linux --prefix=/usr --disable-shared --disable-nls

and the following to build natively

/src/parisc/gdb/configure --prefix=/usr --build=hppa-linux
--host=hppa-linux --target=hppa-linux --disable-nls

It's critical that you have up to date kernel header files available from
/usr/include/linux and /usr/include/asm, **for a 32 bit kernel**
regardless of whether you're running a 32 bit or 64 bit kernel.  This will
probably change soon as the ptrace interface is likely to change.

-- 
Alan Modra

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Building GDB - how exactly ?
  2001-04-10  0:12 ` Alan Modra
@ 2001-04-10  6:58   ` Christoph Plattner
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Plattner @ 2001-04-10  6:58 UTC (permalink / raw)
  To: Alan Modra; +Cc: Christoph Plattner, parisc-linux

Thank you very much !

I have especially problems with the gdbserver !
I need it.

With friendly regards
	Christoph Plattner


Alan Modra wrote:
> 
> On Mon, 9 Apr 2001, Christoph Plattner wrote:
> 
> > What are the correct steps to build a working GDB for
> >
> > 1. HOST = i385-linux, TARGET = hppa-linux + gdbserver !
> >       (without server already success, but I am not shure, to have
> >        done it correctly)
> 
> I haven't been building gdb for remote debugging, so I'm not sure how it
> will go.  Should work, I think.
> 
> > 2. Native HPPA-LINUX gdb
> 
> I use the following to build a native gdb using a cross compiler from
> x86-linux
> 
> /src/parisc/gdb/configure --build=i686-linux --host=hppa-linux
> --target=hppa-linux --prefix=/usr --disable-shared --disable-nls
> 
> and the following to build natively
> 
> /src/parisc/gdb/configure --prefix=/usr --build=hppa-linux
> --host=hppa-linux --target=hppa-linux --disable-nls
> 
> It's critical that you have up to date kernel header files available from
> /usr/include/linux and /usr/include/asm, **for a 32 bit kernel**
> regardless of whether you're running a 32 bit or 64 bit kernel.  This will
> probably change soon as the ptrace interface is likely to change.
> 
> --
> Alan Modra
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux


-----------------------------------------------------------------
private:        christoph.plattner@dot.at
company:        christoph.plattner@alcatel.at

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-10  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-09 20:34 [parisc-linux] Building GDB - how exactly ? Christoph Plattner
2001-04-10  0:12 ` Alan Modra
2001-04-10  6:58   ` Christoph Plattner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.