From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 18 Dec 2003 15:35:01 -0500 From: Daniel Jacobowitz To: "Christopher R. Johnson" Cc: linuxppc-dev@lists.linuxppc.org Subject: Re: powerpc gdb and gdbserver Message-ID: <20031218203501.GA22392@nevyn.them.org> References: <3FE0977B.7020504@gcctech.com> <20031218171010.GA16791@nevyn.them.org> <3FE20DAE.6010708@gcctech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3FE20DAE.6010708@gcctech.com> Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: On Thu, Dec 18, 2003 at 03:27:26PM -0500, Christopher R. Johnson wrote: > Ok that worked pretty well, except that gdbserver wants a library called > libthread_db.so on the target. From what little I can find this looks > like something I should build from the glibc mess. Does anyone know > what options I need to add to the glibc build in order to create this > library? Just make a symlink to libthread_db.so.1. > > Thanks! > > Daniel Jacobowitz wrote: > > >On Wed, Dec 17, 2003 at 12:50:51PM -0500, Christopher R. Johnson wrote: > > > >>I'm about to go and grab gdb to build a host-based debugger and > >>target-based (PPC 405GP) gdbserver. Anybody out there with advice on > >>how to do this? Should it just work out of the box or is there stuff I > >>need to do to gdbserver for this platform? The sources I just found are > >>gdb-6.0, and I'm using quite recent tools (gcc 3.3.2 glibc 2.3.2 > >>binutils 2.14.90.0.5 - kudos to Dan Kegle for the crosstools stuff!!!). > >> > >>Thanks! > >> > > > >It should simply build and work. You build GDB by setting a --target > >and gdbserver by setting a --host. If you don't want to build a native > >GDB at the same time, run the --host build by gdbserver/configure > >instead of the top-level src/configure. > > > >-- > >Daniel Jacobowitz > >MontaVista Software Debian GNU/Linux Developer > > > > > > -- > Christopher R. Johnson > Principal Software Engineer > GCC Printers > (781)276-8763 > > > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/