Here's an example debug session.
$ gdb ./a.out
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later...
Type: Posts; User: Salem
Here's an example debug session.
$ gdb ./a.out
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later...
> typedef struct PCB* PCB_Ptr;
> typedef struct PCB_Node* PCB_NodePtr;
The first thing I would suggest you do is get out of the habit of typedef'ing pointers to things.
It doesn't save anything,...