Make Nim gdb pretty print friendly (#6240)
This commit is contained in:
parent
3ce8bec359
commit
82453825e9
2 changed files with 3 additions and 2 deletions
|
|
@ -454,6 +454,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
of "native", "gdb":
|
||||
incl(gGlobalOptions, optCDebug)
|
||||
gOptions = gOptions + {optLineDir} - {optEndb}
|
||||
defineSymbol("nimTypeNames", nil) # type names are used in gdb pretty printing
|
||||
undefSymbol("endb")
|
||||
else:
|
||||
localError(info, "expected endb|gdb but found " & arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue