This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Add OS/ABI infrastructure to SuperH target


On Tue, May 07, 2002 at 11:18:01AM -0400, Elena Zannoni wrote:

 > The ABI is unknown for all the architectures except for sh5 where it
 > is set to either 32 or 64 depending on the bfd. I am not saying this
 > is completely correct, note.

Hm.  Well, I'm happy to change the OS/ABI stuff to "sh_osabi".  Might be
more appropriate, anyway (eventually, I want to make the osabi stuff generic
and plop it into a common file).

 > Is there any chance you could take a look at the sh5 patch I posted a
 > while back, and see if/how your patch integrates (in principle, at least)?
 > The patch is here:
 > http://sources.redhat.com/ml/gdb-patches/2002-02/msg00218.html

Yah, I'll peek at it in a couple of hours.

 > About your patch, I would prefer if the switch on the os_number used
 > names instead of 0,1,2, is this possible? Same for this line:
 > +  if (elfosabi == 0)

Hm, are there manifest constants defined in our header files for the
GNU OS numbers?  Heh, if not, I guess it wouldn't be hard to add them :-)

Anyway, I'll tweak this in a bit and re-post.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]