Subversion Repositories HelenOS

Rev

Rev 2940 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2940 Rev 2942
Line 37... Line 37...
37
 
37
 
38
#include <udebug.h>
38
#include <udebug.h>
39
#include <fibril.h>
39
#include <fibril.h>
40
#include <libadt/list.h>
40
#include <libadt/list.h>
41
 
41
 
-
 
42
#include "include/arch/types.h"
-
 
43
 
42
typedef struct {
44
typedef struct {
43
    int id;     /* human-friendly id */
45
    int id;     /* human-friendly id */
44
    thash_t hash;   /* system hash */
46
    thash_t hash;   /* system hash */
45
    fid_t fid;  /* id of servicing fibril */
47
    fid_t fid;  /* id of servicing fibril */
46
    int stopped;
48
    int stopped;
47
 
49
 
48
    /** Link to list of debugged threads */
50
    /** Link to list of debugged threads */
49
    link_t link;
51
    link_t link;
-
 
52
 
-
 
53
    dthread_arch_t arch;
50
} dthread_t;
54
} dthread_t;
51
 
55
 
52
extern link_t dthreads;     /* List of application's threads */
56
extern link_t dthreads;     /* List of application's threads */
53
extern dthread_t *cwt;
57
extern dthread_t *cwt;
54
 
58