This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: pthreads debug with gdbserver
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 20 Nov 2004 20:11:42 -0500
- Subject: Re: pthreads debug with gdbserver
- References: <200411191233.22357.vladimir.vorobyov@iss.org.ua> <200411191641.15822.vladimir.vorobyov@iss.org.ua> <20041120013220.GB27485@nevyn.them.org> <200411201427.13557.vladimir.vorobyov@iss.org.ua> <20041120164209.GA15174@nevyn.them.org> <m3y8gw588f.fsf@igel.m5r.de>
On Sun, Nov 21, 2004 at 01:57:52AM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > Take a look at the source code to gdbserver. Andreas, now I remember
> > why I enabled thread_db support on a per-target basis - there are other
> > support routines that have to be written.
>
> Here is the gdbserver support for thread_db and regsets on m68k-linux.
> OK?
>
> Andreas.
>
> 2004-11-21 Andreas Schwab <schwab@suse.de>
>
> * linux-m68k-low.c (m68k_num_gregs): Define.
> (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
> (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
> (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
> (m68k_breakpoint_at): New. Add to the_low_target.
>
> * configure.srv (m68*-*-linux*): Set srv_linux_regsets and
> srv_linux_thread_db to yes.
Yes, this is OK. Thanks a lot!
--
Daniel Jacobowitz