From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5966 invoked by alias); 22 Mar 2002 20:14:20 -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 5949 invoked from network); 22 Mar 2002 20:14:18 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 22 Mar 2002 20:14:18 -0000 Received: from redhat.com (notinuse.cygnus.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA29752; Fri, 22 Mar 2002 12:13:38 -0800 (PST) Message-ID: <3C9B8DFF.20DADDB2@redhat.com> Date: Fri, 22 Mar 2002 12:14:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Greg Alexander CC: Daniel Jacobowitz , gdb-patches@sources.redhat.com, David Rivers , barrow_dj@yahoo.com Subject: Re: *gregset_t misuse (was Re: S390 GDB patch for Dignus Linux/390 compiler support) References: <200203181558.g2IFwG087850@greg.dignus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00433.txt.bz2 Greg Alexander wrote: > > I'm having a hard time figuring out how exactly the ps_l{get,set}regs() > and thread_db_{fetch,store}_registers() functions get used, but my > proposal would be for them to use gdb_gregset_t instead of prgregset_t We want them to have the same prototype on Linux as on Solaris. Can you persuade Sun to change their existing interface? ;-) The idea was originally that the same interface could be used to debug threads on Linux and on Solaris. We haven't quite been able to achieve that, but it's still a worthwhile goal.