cvs commit: src/sys/alpha/alpha db_trace.c src/sys/amd64/amd64 db_trace.c src/sys/arm/arm db_trace.c src/sys/ddb db_command.c ddb.h src/sys/i386/i386 db_trace.c src/sys/ia64/ia64 db_trace.c src/sys/powerpc/powerpc db_trace.c src/sys/sparc64/sparc64 ...

Marcel Moolenaar marcel at FreeBSD.org
Tue Jul 20 22:07:10 PDT 2004


marcel      2004-07-21 05:07:09 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      db_trace.c 
    sys/amd64/amd64      db_trace.c 
    sys/arm/arm          db_trace.c 
    sys/ddb              db_command.c ddb.h 
    sys/i386/i386        db_trace.c 
    sys/ia64/ia64        db_trace.c 
    sys/powerpc/powerpc  db_trace.c 
    sys/sparc64/sparc64  db_trace.c 
  Log:
  Unify db_stack_trace_cmd(). All it did was look up the thread given
  the thread ID and call db_trace_thread().
  Since arm has all the logic in db_stack_trace_cmd(), rename the
  new DB_COMMAND function to db_stack_trace to avoid conflicts on
  arm.
  While here, have db_stack_trace parse its own arguments so that
  we can use a more natural radix for IDs. If the ID is not a thread
  ID, or more precisely when no thread exists with the ID, try if
  there's a process with that ID and return the first thread in it.
  This makes it easier to print stack traces from the ps output.
  
  requested by: rwatson@
  tested on: amd64, i386, ia64
  
  Revision  Changes    Path
  1.20      +0 -14     src/sys/alpha/alpha/db_trace.c
  1.62      +0 -14     src/sys/amd64/amd64/db_trace.c
  1.4       +2 -1      src/sys/arm/arm/db_trace.c
  1.56      +43 -2     src/sys/ddb/db_command.c
  1.36      +0 -1      src/sys/ddb/ddb.h
  1.61      +0 -14     src/sys/i386/i386/db_trace.c
  1.20      +0 -14     src/sys/ia64/ia64/db_trace.c
  1.5       +0 -14     src/sys/powerpc/powerpc/db_trace.c
  1.20      +0 -14     src/sys/sparc64/sparc64/db_trace.c


More information about the cvs-src mailing list