Re: pthreads debug with gdbserver

Daniel Jacobowitz
2004-11-21T01:11:50Z

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