-
Notifications
You must be signed in to change notification settings - Fork 898
v4.0.x: Fix case where debuggers cannot read the MPIR proctable. #8570
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
Conversation
c3fe27a
to
8ecaf9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see #8571 (review)
@jsquyres updated. if that looks good I'll move it to the other release branches (v3.1.x/v4.1.x) |
Make sure the definition of the MPIR_Proctable is in a header file that is included in the file orted_mpir_breakpoint.c, which is compiled with -g and compiled without optimizations. Otherwise, the debugger (such as gdb) won't know the complete definition of the proctable, preventing it from being able to read it. Since the MPIR_proctable should be accessed from orted_submit.c and orted_mpir_breakpoint.c, move it to the mpir_orted.h header file. See issue: open-mpi#8563 Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@louisespellacy-arm Can you confirm that this PR fixes the issue for you?
bot:ompi:retest |
Fixes issue for me when I build pull request. |
Make sure the definition of the MPIR_Proctable
is in a header file that is included in the file
orted_mpir_breakpoint.c, which is compiled with -g
and compiled without optimizations.
Otherwise, the debugger (such as gdb) won't know
the complete definition of the proctable, preventing
it from being able to read it.
Since the MPIR_proctable should be accessed from
orted_submit.c and orted_mpir_breakpoint.c, move it
to the mpir_orted.h header file.
See issue: #8563
Signed-off-by: Austen Lauria awlauria@us.ibm.com
Fixes #8563
bot:notacherrypick