Red Hat Bugzilla – Bug 857255
Info command can't find file for Gnu Debugger.
Last modified: 2012-10-01 12:58:31 EDT
Description of problem:
"info gdb" does not bring up the info file for the Gnu Debugger (gdb). Rather, it brings up the file for the Gnu Database Manager (gdbm). The man page for gdb is still there, but it doesn't cover everything the info file does. For a gdb tyro like me, this is a definite handicap.
Note that "info gdbm" also brings up the file for the Gnu Database Manager, which I assume is correct.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Type info gdb in command line
Info brings up the Gnu Database Manager file
Info brings up the Gnu Debugger file.
This is on an x86_64 system, if that makes any difference.
yum install gdb-doc
Dale, for completeness, the reason "info gdb" was bringing up the Gnu Database Manager, is because "info" tries to be smart enought to understand what you meant with just a prefix of the menu entry you wanted, amongst the docs installed.
Before installing gdb-doc, I got the gdb man page with this:
$ info gdb
The man page says:
`gdb' entry in info; Using GDB: A Guide to the GNU Source-Level Debug‐
ger, Richard M. Stallman and Roland H. Pesch, July 1991.
That could be more explicit by saying that full documentation for gdb is available as info, pdf, and html files. Here is what the "ls" man page says:
$ man ls
The full documentation for ls is maintained as a Texinfo manual. If the info and ls programs are
properly installed at your site, the command
info coreutils 'ls invocation'
should give you access to the complete manual.
$ rpm -qa 'gdb*' | sort
$ rpm -qd gdb
$ rpm -qd gdbm
$ sudo yum install gdb-doc
$ rpm -ql gdb-doc
I agree, and that's why I did exactly that upstream shortly after your report:
I failed to tell you about it then; sorry about that.
(In reply to comment #4)
> Thanks Dave,
> I agree, and that's why I did exactly that upstream shortly after your
> I failed to tell you about it then; sorry about that.
Thanks, Pedro. That's excellent.