commit c761155388cb36aed84786d0ef515a0c99914213
parent 2a357af29b069b89db6713ee928831a74e211312
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Wed, 16 Jul 2025 12:59:45 -0300
gdb
Diffstat:
2 files changed, 208 insertions(+), 0 deletions(-)
diff --git a/.gdbinit b/.gdbinit
@@ -0,0 +1,3 @@
+set debuginfod enabled on
+set breakpoint pending on
+set disassembly flavour intel
diff --git a/seergdb/seergdb.conf b/seergdb/seergdb.conf
@@ -0,0 +1,205 @@
+[assembly]
+assemblydisassemblybytes=256
+assemblydisassemblyflavor=intel
+assemblydisassemblymode=function
+assemblyregisterformat=Natural
+assemblyshowaddresscolumn=true
+assemblyshowoffsetcolumn=false
+assemblyshowopcodecolumn=false
+assemblyshowsourcelines=true
+assemblysymboldemagling=on
+keepassemblytabontop=true
+showassemblytabonstartup=true
+
+[consolewindow]
+mode=attached
+scrolllines=1000
+
+[debugdialog]
+size=@Size(800 788)
+
+[editor]
+externaleditorcommand=
+font="monospace,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
+highlighter\Assembly%20Text\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Assembly%20Text\fontitalic=false
+highlighter\Assembly%20Text\fontweight=400
+highlighter\Assembly%20Text\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\x32\x32\xae\xaeHH\0\0)
+highlighter\Class\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Class\fontitalic=false
+highlighter\Class\fontweight=700
+highlighter\Class\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\x32\x32\xae\xaeHH\0\0)
+highlighter\Comment\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Comment\fontitalic=false
+highlighter\Comment\fontweight=400
+highlighter\Comment\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xffRR\xf8\xf8\xf8\xf8\0\0)
+highlighter\Current%20Line\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\x8e\x8e\xa8\xa8//\0\0)
+highlighter\Current%20Line\fontitalic=false
+highlighter\Current%20Line\fontweight=400
+highlighter\Current%20Line\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\xc7\xc7\xfa\xfaTT\0\0)
+highlighter\Function\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Function\fontitalic=true
+highlighter\Function\fontweight=400
+highlighter\Function\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xffssjjYY\0\0)
+highlighter\Keyword\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Keyword\fontitalic=false
+highlighter\Keyword\fontweight=700
+highlighter\Keyword\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\xd9\xd9\xf7\xf7\x43\x43\0\0)
+highlighter\Margin\backgroundcolor="@Variant(\0\0\0\x43\x1\xff\xff\x31\x31\x36\x36;;\0\0)"
+highlighter\Margin\fontitalic=false
+highlighter\Margin\fontweight=400
+highlighter\Margin\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff||\x7f\x7f\x81\x81\0\0)
+highlighter\Match\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xffssssss\0\0)
+highlighter\Match\fontitalic=false
+highlighter\Match\fontweight=400
+highlighter\Match\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\0\0\0\0)
+highlighter\Multiline%20Comment\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Multiline%20Comment\fontitalic=false
+highlighter\Multiline%20Comment\fontweight=400
+highlighter\Multiline%20Comment\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xffRR\xf8\xf8\xf8\xf8\0\0)
+highlighter\Quotation\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Quotation\fontitalic=false
+highlighter\Quotation\fontweight=400
+highlighter\Quotation\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\xf4\xf4SS\xde\xde\0\0)
+highlighter\Text\backgroundcolor=@Variant(\0\0\0\x43\x1\xff\xff##&&))\0\0)
+highlighter\Text\fontitalic=false
+highlighter\Text\fontweight=400
+highlighter\Text\foregroundcolor=@Variant(\0\0\0\x43\x1\xff\xff\xb2\xb2\xb2\xb2\xb2\xb2\0\0)
+highlighter\enabled=true
+highlighter\suffixes=.c|.C|.cpp|.CPP|.cxx|.CXX|.h|.H|.hpp|.hxx|.Hxx|.HXX
+tabsize=4
+
+[gdb]
+arguments="--interpreter=mi"
+asyncmode=true
+enableprettyprinting=true
+handleterminatingexception=true
+nonstopmode=false
+program=/usr/bin/gdb
+randomizestartaddress=false
+
+[gdboutputlog]
+enabled=true
+
+[logsmanagerwindow]
+tabcurrent=Messages
+taborder="Messages,Breakpoints,Watchpoints,Catchpoints,Printpoints,GDB output,Seer output,Console output"
+
+[mainwindow]
+qtstyle=
+size=@Size(1920 1020)
+
+[mainwindowsplitters]
+codeManagerLogTabsSplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x2\x34\0\0\x1[\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
+leftCenterRightSplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x3\0\0\x1_\0\0\x4\xf\0\0\x1\xf8\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
+sourceLibraryVariableManagerSplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0]\x8e\0\0[\x9a\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
+stackThreadManagerSplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x2\xa3\0\0\0\xec\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
+
+[manualgdbcommands]
+remembercount=10
+
+[manualgdbcommandshistory]
+size=0
+
+[memoryvisualizerwindow]
+size=@Size(1920 1020)
+
+[rr]
+arguments="replay --interpreter=mi"
+gdbarguments=
+program=/usr/bin/rr
+
+[seeroutputlog]
+enabled=false
+
+[shortcuts]
+1\action=AlternateDir
+1\help=Look for source file in an alternate directory.
+1\key=Ctrl+O
+10\action=Run
+10\help=Run the program again. Do not break in \"main\".
+10\key=F1
+11\action=SearchText
+11\help=Seach for text in the code editor.
+11\key=Ctrl+F
+12\action=SearchTextNext
+12\help=Seach for next text in the code editor.
+12\key=Ctrl+G
+13\action=SearchTextPrev
+13\help=Seach for previous text in the code editor.
+13\key=Ctrl+Shift+G
+14\action=Start
+14\help=Run the program again. Break in \"main\".
+14\key=F2
+15\action=Step
+15\help=Execute the next line. Step into functions.
+15\key=F6
+16\action=Stepi
+16\help=Execute the next instruction. Step into functions.
+16\key=Ctrl+F6
+2\action=Arguments
+2\help=Open the argument dialog.
+2\key=Alt+A
+3\action=Continue
+3\help=Continue execution of the program.
+3\key=F8
+4\action=Debug
+4\help=Open the debug dialog.
+4\key=Alt+D
+5\action=Finish
+5\help=Finish the current function.
+5\key=F7
+6\action=Interrupt
+6\help=Interrupt the executing program.
+6\key=Ctrl+I
+7\action=Next
+7\help=Execute the next line. Step over functions.
+7\key=F5
+8\action=Nexti
+8\help=Execute the next instruction. Step over functions.
+8\key=Ctrl+F5
+9\action=Quit
+9\help=Quit Seer.
+9\key=Alt+Q
+size=16
+
+[sourcealternatedirectories]
+size=0
+
+[sourceheaderfilepatterns]
+1\pattern=*.hpp
+2\pattern=*.h
+3\pattern=*.ads
+size=3
+
+[sourceignorefilepatters]
+size=0
+
+[sourcemanagerwindow]
+tabcurrent=Source
+taborder="Source,Functions,Types,Statics,Libraries,AdaExceptions"
+
+[sourcemiscfilepatterns]
+1\pattern=/usr/include/
+size=1
+
+[sourcesourcefilepatterns]
+1\pattern=*.cpp
+10\pattern=*.adb
+2\pattern=*.c
+3\pattern=*.C
+4\pattern=*.f
+5\pattern=*.f90
+6\pattern=.F90
+7\pattern=*.rs
+8\pattern=*.go
+9\pattern=*.ada
+size=10
+
+[threadmanagerwindow]
+tabcurrent=Frames
+taborder="Frames,Ids,Groups,AdaTasks"
+
+[variablemanagerwindow]
+tabcurrent=Logger
+taborder="Logger,Tracker,Registers"