Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 05:38:59 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 db_trace.c unwind.c
Message-ID:  <200504160538.j3G5cxJQ037225@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2005-04-16 05:38:59 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        db_trace.c unwind.c 
  Log:
  Return better "error" values for UWX_BOTTOM and UWX_ABI_FRAME in
  unw_step(). Both errors denote the end of a stack trace (i.e. no
  prior frame), but are otherwise not error conditions.
  Have db_trace() return 0 when the trace ends due to one of these
  return codes as they are really normal termination conditions.
  
  This change especially improves the output of the "show thread"
  command in DDB when there are threads in fork_trampoline() and
  previously db_trace() would return an error, causing the show
  command to emit '***'.
  
  Revision  Changes    Path
  1.23      +6 -2      src/sys/ia64/ia64/db_trace.c
  1.14      +15 -4     src/sys/ia64/ia64/unwind.c



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