cvs commit: src/sys/ddb db_elf.c

Bruce Evans bde at FreeBSD.org
Sat Sep 27 23:02:34 PDT 2003


bde         2003/09/27 23:02:33 PDT

  FreeBSD src repository

  Modified files:
    sys/ddb              db_elf.c 
  Log:
  Reworked rev.1.14.  Use the ELF symbol type again to summarily reject
  some symbols in X_db_search_symbol().  Reject the same symbols that
  rev.1.13 did (all except STT_OBJECT and STT_FUNC), except don't reject
  typeless symbols.  This keeps the typeless symbols in non-verbosely
  written assembler code visible, but makes file symbols invisible.  ELF
  file symbols have type STT_FILE and value 0, so this stops small values
  and offsets sometimes being displayed in terms of the first file symbol
  in the kernel (usually device_if.c).  I think it rejects some other
  unwanted symbols (small absolute symbols for things like struct offsets).
  It may reject some wanted symbols (large absolute symbols for addresses
  like PTmap).
  
  Revision  Changes    Path
  1.17      +5 -0      src/sys/ddb/db_elf.c


More information about the cvs-src mailing list