or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Joel Sherrill
On 9/16/2014 1:34 PM, Hesham Moustafa wrote: On Tue, Sep 16, 2014 at 8:15 PM, Joel Sherrill wrote: On 9/16/2014 12:54 PM, Hesham Moustafa wrote: Hi On Tue, Sep 16, 2014 at 7:47 PM, Joel Sherrill wrote: I don't understand this but I got it applied. I manually edited the saved email to del

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Hesham Moustafa
On Tue, Sep 16, 2014 at 8:42 PM, Joel Sherrill wrote: > > > On 9/16/2014 1:34 PM, Hesham Moustafa wrote: >> >> On Tue, Sep 16, 2014 at 8:15 PM, Joel Sherrill >> wrote: >>> >>> On 9/16/2014 12:54 PM, Hesham Moustafa wrote: Hi On Tue, Sep 16, 2014 at 7:47 PM, Joel Sherrill

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Joel Sherrill
On 9/16/2014 2:17 PM, Hesham Moustafa wrote: On Tue, Sep 16, 2014 at 8:42 PM, Joel Sherrill wrote: On 9/16/2014 1:34 PM, Hesham Moustafa wrote: On Tue, Sep 16, 2014 at 8:15 PM, Joel Sherrill wrote: On 9/16/2014 12:54 PM, Hesham Moustafa wrote: Hi On Tue, Sep 16, 2014 at 7:47 PM, Joel Sher

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Hesham Moustafa
Breakpoint 2, 0x0600 in _unalign () (gdb) bt #0 0x0600 in _unalign () #1 0x0002ec4c in _RBTree_Next ( node=0x40890, dir=RBT_RIGHT) at ../../../../../../rtems/c/src/../../cpukit/score/src/rbtreenext.c:35 #2 0x0002e2f4 in _RBTree_Successor ( node=0x40890) at ../../cpukit/..

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Hesham Moustafa
Breakpoint 1, _RBTree_Next (node=0x40890, dir=RBT_RIGHT) at ../../../../../../rtems/c/src/../../cpukit/score/src/rbtreenext.c:35 35 RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir ); (gdb) n 36 RBTree_Node *current = node->child[ dir ]; (gdb) n 37 RBTree_Node *next = NULL;

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Joel Sherrill
Gedare.. cc'ed you for help in spotting an empty rbtree in gdb. See below. On 9/16/2014 2:45 PM, Hesham Moustafa wrote: > Breakpoint 2, 0x0600 in _unalign () > (gdb) bt > #0 0x0600 in _unalign () > #1 0x0002ec4c in _RBTree_Next ( > node=0x40890, dir=RBT_RIGHT) > at ../../../../../

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-16 Thread Gedare Bloom
On Tue, Sep 16, 2014 at 5:08 PM, Joel Sherrill wrote: > Gedare.. cc'ed you for help in spotting an empty rbtree > in gdb. See below. > On 9/16/2014 2:45 PM, Hesham Moustafa wrote: >> Breakpoint 2, 0x0600 in _unalign () >> (gdb) bt >> #0 0x0600 in _unalign () >> #1 0x0002ec4c in _RBTree_N

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-17 Thread Hesham Moustafa
On Tue, Sep 16, 2014 at 11:08 PM, Joel Sherrill wrote: > Gedare.. cc'ed you for help in spotting an empty rbtree > in gdb. See below. > On 9/16/2014 2:45 PM, Hesham Moustafa wrote: > > Breakpoint 2, 0x0600 in _unalign () > > (gdb) bt > > #0 0x0600 in _unalign () > > #1 0x0002ec4c in _RB

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-17 Thread Joel Sherrill
On 9/17/2014 12:44 PM, Hesham Moustafa wrote: > > On Tue, Sep 16, 2014 at 11:08 PM, Joel Sherrill > wrote: > > Gedare.. cc'ed you for help in spotting an empty rbtree > in gdb. See below. > On 9/16/2014 2:45 PM, Hesham Moustafa wrote: > > Breakpo

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-17 Thread Hesham Moustafa
On Wed, Sep 17, 2014 at 9:44 PM, Joel Sherrill wrote: > > On 9/17/2014 12:44 PM, Hesham Moustafa wrote: > > > > On Tue, Sep 16, 2014 at 11:08 PM, Joel Sherrill < > joel.sherr...@oarcorp.com > > > wrote: > > > > Gedare.. cc'ed you for help in spotting an empty

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-17 Thread Joel Sherrill
On 9/17/2014 2:48 PM, Hesham Moustafa wrote: > > On Wed, Sep 17, 2014 at 9:44 PM, Joel Sherrill > wrote: > > > On 9/17/2014 12:44 PM, Hesham Moustafa wrote: > > > > On Tue, Sep 16, 2014 at 11:08 PM, Joel Sherrill > mailto:joel.sherr...@oarcorp.com> >

Re: or1k test was .. Re: [PATCH] or1k: New cache manager.

2014-09-18 Thread Hesham Moustafa
Hi, The semaphore functions were producing _unalign exception before (printf issue). I added #define STACK_CHECKER_ON to ticker and here is what I got: *** BEGIN OF TEST CLOCK TICK *** BLOWN STACK!!! task control block: 0x00041488 task ID: 0x0A010001 task name: 0x task name string: task