Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 15:59:26 +0000 (UTC)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 db_trace.c
Message-ID:  <200608151559.k7FFxQUK011703@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2006-08-15 15:59:26 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/i386/i386        db_trace.c 
  Log:
  MFC rev. 1.71, 1.72:
  
  Guess the number of arguments to a function somewhat better.
  Now GCC likes to stick a "mov %eax, %FOO" instruction before
  "addl $BAR, %esp" if the function just called returns an int,
  which is a very common case in the kernel.
  
  Return -1 from db_numargs() if number of args couldn't be guessed.
  Use this later to indicate in backtrace output that args shown are
  uncertain.
  
  Revision  Changes    Path
  1.66.2.2  +16 -8     src/sys/i386/i386/db_trace.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608151559.k7FFxQUK011703>