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

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Jan 15 17:11:13 PST 2008


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   / \





More information about the Commits mailing list