User Tools

Site Tools


gdb

This is an old revision of the document!


Overview

GDB stuff, of course (separate Fedora package).

Links:

TO DO

  • .gdbinit Example, as well as rules for .gdbinit file
    $ man gdbinit
  • frontends (gdbgui)

Info

Packages:

$ rpm -q gdb gdb-headless
gdb-8.3-6.fc30.x86_64
gdb-headless-8.3-6.fc30.x86_64
$
$ gdb -version
GNU gdb (GDB) Fedora 8.3-6.fc30
...
$

Commands

info

(gdb) info sources
(gdb) info source
(gdb) info files
(gdb) info functions

Listing

(gdb) l[ist]
(gdb) l 10
(gdb) l 10,12
(gdb) l -
(gdb) <ENTER>

Misc

(gdb) where
(gdb) f[rame]
gdb.1563974952.txt.gz · Last modified: 2019/07/24 13:29 by rpjday