Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1874275 - please make GDB advise to use dnf debuginfo-install filename instead dnf --enablerepo='*debug*' install filename
Summary: please make GDB advise to use dnf debuginfo-install filename instead dnf --e...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Buettner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-31 21:16 UTC by Sergio Basto
Modified: 2020-11-03 01:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sergio Basto 2020-08-31 21:16:50 UTC
Description of problem:
Hi, 
 
instead of use

    dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/69/b41b2860e58dc8dfd849fb73ca4a5d8a7676d0.debug

we can use 

    dnf debuginfo-install /usr/lib/debug/.build-id/69/b41b2860e58dc8dfd849fb73ca4a5d8a7676d0.debug

which works perfectly.


Version-Release number of selected component (if applicable):

gdb-8.3.50.20190824-30.fc31.x86_64



Actual results:

gdb ask wrongly to enable all *debug* repos which may enable debug repos from repos that aren't enabled 

Expected results:
gdb ask to use  dnf debuginfo-install

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1571898

Comment 1 Kevin Buettner 2020-09-02 17:23:04 UTC
I've seen these messages too.  Using "dnf debuginfo-install" does indeed work.  I'll see what I can do...

Comment 2 Sergio Basto 2020-11-03 00:48:22 UTC
see also https://bugzilla.redhat.com/show_bug.cgi?id=1874275


Note You need to log in before you can comment on or make changes to this bug.