DragonFly commits List (threaded) for 2008-01
DragonFly BSD
DragonFly commits List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/contrib/gdb-6/gdb defs.h i386-tdep.h i386bsd-nat.c i386fbsd-tdep.c osabi.c src/contrib/gdb-6/include/elf common.h


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 16 Jan 2008 02:08:59 +0100

Simon Schubert wrote:
  Log:
  Adjust for the DragonFly ELF ABI

Okay, this is nasty: case ELFOSABI_FREEBSD: - osabi = GDB_OSABI_FREEBSD_ELF; + /* XXX HACK we hijacked the FreeBSD osabi :/ */ + osabi = GDB_OSABI_DRAGONFLY_ELF; break;

Our core dumps still write file with osabi set to ELFOSABI_FREEBSD. This confuses the new gdb. I think we should write an .note.ABI-tag, or simply write ELFOSABI_NONE. What do people think?

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]