cvs commit: src/sys/ia64/ia64 db_trace.c unwind.c

Marcel Moolenaar marcel at
Fri Apr 15 22:38:59 PDT 2005

marcel      2005-04-16 05:38:59 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        db_trace.c unwind.c 
  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

More information about the cvs-src mailing list