Skip to content
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

Update gdb debugging #465

Closed
wants to merge 1 commit into from
Closed

Update gdb debugging #465

wants to merge 1 commit into from

Conversation

ShelbyZ
Copy link
Contributor

@ShelbyZ ShelbyZ commented Nov 10, 2022

Signed-off-by: Shelby Hagman [email protected]

Issue #, if available:

Description of changes:

  • Add yum-utils to Dockerfile.debug for debuginfo-install tool
  • Add section about gdb listing missing debuginfos and example

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Add yum-utils to Dockerfile.debug for debuginfo-install tool
- Add section about gdb listing missing debuginfos and example
@ShelbyZ ShelbyZ requested a review from a team as a code owner November 10, 2022 18:15
@@ -118,6 +118,7 @@ RUN yum upgrade -y \
valgrind \
libyaml \
gdb \
yum-utils \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is necessary to get debuginfo-install?

Do we also need to remove the next line where it removes yum cache or not?

This has been tested right or do I need to pull it and check it myself?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one way to get debuginfo-install - https://linux.die.net/man/1/yum-utils, we could optionally try to install python3-debuginfo but it is more mess.

We leave the line after to handle cache cleanup. Building the image via make debug was done without issue and I ran a local image to check that debuginfo-install was available.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Shelby!

@sparrc sparrc closed this Oct 11, 2024
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.

3 participants