-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multicore Gdb: Thread 2 hang on breakpoint infinitely (no cache) #1178
Comments
You'll probably need to provide more information such as...
|
Hi @TommyMurphyTM1234 ,
openocd.cfg (1).txt Thanks, |
it's not quite clear what is wrong from your description. What do you mean by ' (no cache) ' ? In addition to the information requested by @TommyMurphyTM1234 , would you kindly attach:
|
Hi @aap-sc, The meaning of 'no-cache' is that we have disabled the cache memory at all. Thanks, |
Hi @JanMatCodasip, We are using the SMP mode, single GDB instance. Thanks, |
Hi, Attached test.txt file. Thanks, |
Hi Following on the same issue, I work with hananyasegal1, 1st thread is on focus on the gdb, and we execute continue, when the scheduler-lock is off, so both can run. We tried sending a later reply of t05thread:2; after the continue as to add another handling for the 2nd thread, but it didn't help. We see that after changing the focus to the 2nd thread, the next continue command will cause the removal of the 2nd thread breakpoint so it can step and continue afterwards. My question is - in smp mode, when both threads are simultaniously in a break, can we make both threads continue and not only the one in focus? |
When working on multicore, both threads have different BPs in different locations.
Both threads are at a breakpoint simultaneously. However, the GDB sees only the '$T05thread:1;#d7' packet, although thread 2 is also at the breakpoint.
Thread 1 continues as expected from his BP, whereas thread 2 hangs on his BP on the 'resuming' or 'single-step' commands.
There is no cache in the system at all.
It seems the GDB client is not aware that thread 2 is at BP.
The text was updated successfully, but these errors were encountered: