From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32039 invoked by alias); 21 Nov 2004 01:11:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32012 invoked from network); 21 Nov 2004 01:11:46 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Nov 2004 01:11:46 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CVgGU-0007Dh-2w; Sat, 20 Nov 2004 20:11:42 -0500 Date: Sun, 21 Nov 2004 01:11:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: pthreads debug with gdbserver Message-ID: <20041121011142.GA27723@nevyn.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sources.redhat.com 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00420.txt.bz2 On Sun, Nov 21, 2004 at 01:57:52AM +0100, Andreas Schwab wrote: > Daniel Jacobowitz 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 > > * 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