From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Kevin Buettner Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: [RFC] Changes to *_*regset functions Date: Fri, 13 Jul 2001 12:55:00 -0000 Message-id: <3B4F5245.6090609@cygnus.com> References: <20010713102605.A32410@nevyn.them.org> <3B4F4223.8030405@cygnus.com> <1010713193513.ZM20388@ocotillo.lan> X-SW-Source: 2001-07/msg00139.html > For Daniel's purposes, supply_gregset() does need to be multi-arch. > Imagine wanting to debug UnixWare, Solaris/x86, Linux, and FreeBSD > core files from a NetBSD/PPC platform. In other words, think of the > core file format as an extension of the ABI. Point taken. I think we need to be careful here though. To me, supply_gregset() is more like the DWARF2_REG_TO_REGNUM() functions then part of an ABI. They provide a mapping between an external and an internal representation. They happen to get lumped into gdbarch because that is all we have at present. It is sounding like there are three components here: ISA, ABI and this interface code. Andrew