- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to debug openmp program? For example, xx = bb; I use print("xx = %d bb = %d\n",xx,bb); and the two value is the same. But when I insert a breakpoint after the "xx=bb" using gdb, the two value is not the same.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please consult a gdb documentation of multithreaded programs debugging.
https://sourceware.org/gdb/current/onlinedocs/gdb/Threads.html
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page