Ho lokolloa ha GDB 11.1 debugger ho hlahisitsoe (tokoloho ea pele ea letoto la 11.x, lekala la 11.0 le ile la sebelisoa bakeng sa nts'etsopele). GDB e ts'ehetsa debugging ea boemo ba mohloli bakeng sa lipuo tse fapaneng tsa lenaneo (Ada, C, C++, Objective-C, Pascal, Go, Rust, joalo-joalo) ho lisebelisoa tse fapaneng (i386, amd64, ARM, Power, Sparc, RISC. - V, joalo-joalo) le li-platform tsa software (GNU/Linux, *BSD, Unix, Windows, macOS).
Lintlafatso tsa mantlha:
- TUI (Text User Interface) e kentse tšehetso bakeng sa liketso tsa mouse le bokhoni ba ho tsamaisa litaba ka lebili la mouse. E nolofalitse ho fetisetsoa ho kopantseng linotlolo ho GDB tse sa sebetsoang ho TUI.
- Ts'ehetso e ekelitsoeng bakeng sa mochini oa ARMv8.5 MTE (MemTag, Memory Tagging Extension), o o lumellang ho tlama li-tag ts'ebetsong e 'ngoe le e' ngoe ea kabo ea memori le ho hlophisa cheke ea pointer ha o fihlella memori, e tlamehang ho amahanngoa le tag e nepahetseng. Protocol ea Remote Debug Control e fana ka ts'ehetso bakeng sa liphutheloana tsa "qMemTags" le "QMemTags" bakeng sa ho tlama li-tag mohopolong.
- Mokhoa oa ho bala lifaele tsa tlhophiso o fetotsoe. Faele ya .gdbinit jwale e hlahlojwa ka tatellano e latelang: $XDG_CONFIG_HOME/gdb/gdbinit, $HOME/.config/gdb/gdbinit le $HOME/.gdbinit. Tseo. pele ho config subdirectory, 'me feela ka mor'a moo bukeng ea lapeng.
- Taelong ea "break [...] if CONDITION", tlhahiso ea phoso e emisoa ha boemo bo sa sebetse libakeng tse itseng, haeba boemo bo sebetsa bonyane ketsahalong e le 'ngoe.
- Ts'ehetso e ekelitsoeng bakeng sa lits'oants'o tsa mantlha tsa debugging tse hlahisitsoeng bakeng sa mananeo a Cygwin a hlophisitsoeng bakeng sa meralo ea x86_64.
- Tšehetso e ekelitsoeng bakeng sa mefuta ea lintlha tse tsitsitseng, hammoho le DW_AT_GNU_numerator le DW_AT_GNU_denominator constants.
- E kenyellelitse "startup-thotly on|off"; ha "ho", joalo ka khetho ea "-silent".
- Taelo ea "ptype" e sebelisa likhetho tsa /x" le "/d" ho khetha hexadecimal kapa decimal ha o bonts'a boholo le li-offsets. E kentse "print type hex on|off" ho sebelisa litekanyetso tsa hexadecimal tlhahiso ea taelo ea 'ptype'.
- Taelong ea "tlase", ha e bitsoa ntle le likhang, tlhahiso ea ntho ea hona joale ea ho lokisa (tlase) e fanoa.
- Sephetho sa taelo ea "mohloli oa lintlha" se entsoe bocha.
- Taelo e ekelitsoeng "setaele sa mofuta o ka pele | bokamorao | intensity" ho laola mofuta oa mokhoa oa ho fana ka linomoro.
- E kentse likhetho tse ncha tsa mola oa taelo: “-early-init-command” (“-eix”), “-early-init-eval-command” (“-eiex”), “-qualified” (bakeng sa litaelo tsa '-break-insert ) ' le '-dprintf-insert'), "--force-condition" (bakeng sa litaelo tsa '-break-insert' le '-dprintf-insert'), "--force" (bakeng sa '-break-condition 'taelo).
- Taelo ea "-file-list-exec-source-files" e u lumella ho hlakisa mantsoe a tloaelehileng ho sefa lifaele tsa mohloli tse lokelang ho sebetsoa. Sebaka sa 'debug-fully-reading' se kentsoe sephethong ho bontša hore na tlhaiso-leseling ea bothata e kentsoe hakae.
- Lintlafatso li entsoe ho Python API. E kentse mekhoa e mecha ea gdb.Frame.level() le db.PendingFrame.level() ho khutlisa boemo ba stack bakeng sa ntho ea Frame. Ha catchpoint e qala, Python API e netefatsa hore gdb.BreakpointEvent e romelloa ho e-na le gdb.StopEvent. Litlhophiso tse kenyellelitsoeng "python hlokomoloha-tikoloho on|off" ho hlokomoloha mefuta e fapaneng ea tikoloho le "python dont-write-bytecode auto|on|off" ho tima ho ngola bytecode.
- Lintlafatso li entsoe ho API ea Gule. Mekhoa e mecha ea ts'ebetso ea boleng-boleng-boleng, boleng-bo-rvalue-referense-boleng le bohlokoa-boleng-boleng bo kentsoe.
- Litšepeho tse hlokahalang tsa kopano li kenyelletsa laeborari ea GMP (GNU Multiple Precision Arithmetic).
- Tšehetso bakeng sa sethala sa ARM Symbian (letsoho* -*-symbianelf*) ha se sa sebelisoa.
Source: opennet.ru