Compare commits
9 Commits
03d5c2da96
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| fbdb61ccc4 | |||
| b988470185 | |||
| b0d3d25a8c | |||
| b51ac00e81 | |||
| cecbcddd2b | |||
| f60c762bc2 | |||
| 9ee8392390 | |||
| 7937e2415a | |||
| 758714a357 |
@@ -6,4 +6,4 @@
|
|||||||
- symlink:
|
- symlink:
|
||||||
- {src: inputrc, dst: ~/.inputrc}
|
- {src: inputrc, dst: ~/.inputrc}
|
||||||
- {src: editrc, dst: ~/.editrc}
|
- {src: editrc, dst: ~/.editrc}
|
||||||
- {src: cgdbrc, dst: ~/.cgdb/cgdbrc}
|
- {src: gdbinit, dst: ~/.gdbinit}
|
||||||
|
|||||||
17
gdbinit
Normal file
17
gdbinit
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
set print pretty on
|
||||||
|
set auto-load safe-path /
|
||||||
|
# Enable C++ std pretty printing in LinuxMint 18.X, 19.X
|
||||||
|
# https://sourceware.org/gdb/wiki/STLSupport
|
||||||
|
python
|
||||||
|
from platform import linux_distribution
|
||||||
|
from sys import path
|
||||||
|
distro = linux_distribution()
|
||||||
|
if 'LinuxMint' == distro[0] and '18' in distro[1]:
|
||||||
|
path.insert(0, '/usr/share/gcc-5/python')
|
||||||
|
from libstdcxx.v6.printers import register_libstdcxx_printers
|
||||||
|
register_libstdcxx_printers(None)
|
||||||
|
if 'LinuxMint' == distro[0] and '19' in distro[1]:
|
||||||
|
path.insert(0, '/usr/share/gcc-8/python')
|
||||||
|
from libstdcxx.v6.printers import register_libstdcxx_printers
|
||||||
|
register_libstdcxx_printers(None)
|
||||||
|
end
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
screen-256color|xterm 256 colors italic bold,
|
screen-256color|xterm 256 colors +italic,
|
||||||
sitm=\E[3m, ritm=\E[23m,
|
sitm=\E[3m, ritm=\E[23m,
|
||||||
smso=\E[7m, rmso=\E[27m,
|
khome=\E[1~, kend=\E[4~,
|
||||||
use=xterm-256color,
|
use=xterm-256color,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
tmux-256color|xterm 256 italic bold,
|
tmux-256color|xterm 256 color +italic,
|
||||||
sitm=\E[3m, ritm=\E[23m,
|
sitm=\E[3m, ritm=\E[23m,
|
||||||
smso=\E[7m, rmso=\E[27m,
|
khome=\E[1~, kend=\E[4~,
|
||||||
use=xterm-256color,
|
use=xterm-256color,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
xterm-256color|xterm 256 colors italic bold,
|
xterm-256color|xterm 256 colors +italic,
|
||||||
sitm=\E[3m, ritm=\E[23m,
|
sitm=\E[3m, ritm=\E[23m,
|
||||||
smso=\E[7m, rmso=\E[27m,
|
khome=\E[1~, kend=\E[4~,
|
||||||
use=xterm-256color,
|
use=xterm-256color,
|
||||||
|
|||||||
Reference in New Issue
Block a user