Skip to content

Gdb command fix#4472

Open
roystgnr wants to merge 3 commits into
libMesh:develfrom
roystgnr:gdb_command_fix
Open

Gdb command fix#4472
roystgnr wants to merge 3 commits into
libMesh:develfrom
roystgnr:gdb_command_fix

Conversation

@roystgnr
Copy link
Copy Markdown
Member

I'll rebase this after #4471 gets the first few commits in; the remaining diff will be much cleaner. I just want to get this posted before I forget about it, and in CI to make sure I haven't screwed it up.

@moosebuild
Copy link
Copy Markdown

moosebuild commented May 29, 2026

Job Coverage, step Generate coverage on 0082cdb wanted to post the following:

Coverage

04b628 #4472 0082cd
Total Total +/- New
Rate 65.61% 65.61% -0.00% 100.00%
Hits 78625 78623 -2 4
Misses 41205 41208 +3 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

roystgnr added 3 commits May 29, 2026 11:39
This way we can use the preprocessor to check when it's undefined, not
just the compiler.
Don't futz with comparing GDB_COMMAND to "no" at run-time (this fixes
an "unreachable code" warning for me with GDB_COMMAND=no with my clang++
and newer C++ standards)

Do allow for run-time `--gdb=` even if it was disabled at compile-time.
@roystgnr roystgnr marked this pull request as ready for review May 29, 2026 16:40
@roystgnr
Copy link
Copy Markdown
Member Author

This isn't urgent, and I don't want to merge it until I've done more manual testing than "notice that it got rid of my compiler's unreachable code warning", but it's rebased and ready to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants