From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13167 invoked by alias); 18 Jul 2002 15:33:39 -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 13157 invoked from network); 18 Jul 2002 15:33:38 -0000 Received: from unknown (HELO kerberos.suse.cz) (195.47.106.10) by sources.redhat.com with SMTP; 18 Jul 2002 15:33:38 -0000 Received: from chimera.suse.cz (chimera.suse.cz [10.20.0.2]) by kerberos.suse.cz (SuSE SMTP server) with ESMTP id 6011359D34E; Thu, 18 Jul 2002 17:33:37 +0200 (CEST) Received: from suse.cz (naga.suse.cz [10.20.1.16]) by chimera.suse.cz (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g6IFXbg11327; Thu, 18 Jul 2002 17:33:37 +0200 X-Authentication-Warning: chimera.suse.cz: Host naga.suse.cz [10.20.1.16] claimed to be suse.cz Message-ID: <3D36DFC4.6060406@suse.cz> Date: Thu, 18 Jul 2002 08:35:00 -0000 From: Michal Ludvig Organization: SuSE CR User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: cs, cz, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: GDB Patches Subject: Re: [RFA] gdbserver bits References: <3D36D7E7.5080607@suse.cz> <20020718150834.GA29860@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00389.txt.bz2 Daniel Jacobowitz wrote: > Go ahead. Doesn't GDB have the same problem with CS and SS? Well, yes actually. But in GDB it doesn't make problems, because there the regbuf is zeroed after allocation so it cannot happen, that you'd write something wrong to CS or SS (at least on x86-64 the kernel doesn't permit setting CS since it uses it for it's own purposes). Consider cleaning the newly allocated regbuf in gdbserver as well... Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * +420 2 9654 5373 * http://www.suse.cz