From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4970 invoked by alias); 5 Jan 2002 03:41:38 -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 4731 invoked from network); 5 Jan 2002 03:41:35 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 5 Jan 2002 03:41:35 -0000 Received: from localhost.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id TAA13030; Fri, 4 Jan 2002 19:41:17 -0800 (PST) Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 70BDB3C9E; Fri, 4 Jan 2002 22:40:49 -0500 (EST) Message-ID: <3C3675C1.8090805@cygnus.com> Date: Fri, 04 Jan 2002 19:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Michael Snyder Cc: thorpej@wasabisystems.com, Mark Kettenis , gdb-patches@sourceware.cygnus.com Subject: Re: [patch] Overhaul i386nbsd-nat.c, add support for XMM + ELF core files References: <20020104160746.H9599@dr-evil.shagadelic.org> <20020104190350.K9599@dr-evil.shagadelic.org> <3C3671C2.253B6799@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00062.txt.bz2 > (fill_gregset): Use regcache_collect. > > > Are you concerned about threads? regcache_collect is not thread-aware. I don't think that is a problem here. The code it is replacing was using registers[] directly. regcache_collect() is definitly less evil than registers[] :-) Oh, and released versioins of NetBSD don't have kernel level threads. enjoy, Andrew