I'm trying to use GDB with openssh on rhel 8. I have installed all openssh and openssl debuginfo packages and that works fine to find breakpoints. However, as soon as gdb hits the first breakpoint it throws an error with about 30 missing debuginfo with a yum command. I quit, copy-paste the command, all debuginfo packages install properly and I try again. gdb tells me all the packages I just installed are missing. I'm not sure how to fix it and I'm stuck. Would anyone have a solution?