Changeset 95e6c4f in mainline for uspace/srv/taskmon/taskmon.c


Ignore:
Timestamp:
2010-01-27T20:21:49Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9bbe48d, b79d450
Parents:
bca408b (diff), f0bdfb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge small taskdump improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskmon/taskmon.c

    rbca408b r95e6c4f  
    7272        printf(NAME ": Task %lld fault in thread 0x%lx.\n", taskid, thread);
    7373
    74         argv[0] = fname = "/app/redir";
     74#ifdef CONFIG_VERBOSE_DUMPS
     75        argv[0] = "/app/redir";
    7576        argv[1] = "-i";
    7677        argv[2] = "/readme";
     
    7879        argv[4] = dump_fname;
    7980        argv[5] = "--";
    80 
    81 #ifdef CONFIG_VERBOSE_DUMPS
    8281        argv[6] = "/app/taskdump";
    8382        argv[7] = "-m";
     
    8685        argv[10] = NULL;
    8786#else
    88         argv[6] = "/app/taskdump";
    89         argv[7] = "-t";
    90         argv[8] = s_taskid;
    91         argv[9] = NULL;
     87        argv[0] = "/app/taskdump";
     88        argv[1] = "-t";
     89        argv[2] = s_taskid;
     90        argv[3] = NULL;
    9291#endif
     92        fname = argv[0];
     93
    9394        printf(NAME ": Executing");
    9495        s = argv;
Note: See TracChangeset for help on using the changeset viewer.