This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Undesired jump between functions (bind handler)

Hi everyone,

I wrote the following code to bind a function and a "number".

I test the bindHandlerInit() in the main and it works.

However, when I add a new t_functionHandler array (uncomment line 32), the code do strange things

Indeed, after executing the "bindHandler(0, process);" command (line 68), the program jump to line 80 (s_storeDataHere = p_Frame->data[0];) instead of reaching line 53 to finish the main.

When we at line 72 in the C code, we are at adress 0x20000218 in the assembly code.

When we at line 75 in the C code, we are at adress 0x2000021E in the assembly code.

I really don't understand this behaviour.

What is the probleme ?

Thank you for your help.

Best regards.

Rémi G.

0