[Ohrrpgce] SVN: teeemcee/8614 Add "set lang c++" to gdb{game, custom}, to avoid "<error reading variabl

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Thu Apr 6 03:22:48 PDT 2017


teeemcee
2017-04-06 03:22:47 -0700 (Thu, 06 Apr 2017)
586
Add "set lang c++" to gdb{game,custom}, to avoid "<error reading variable>" in backtraces

coderJeff wrote:
"gdb tries to display values in a format appropriate for the source language (c,
c++, pascal, etc). The default language setting is 'auto' but gdb doesn't know
what a '.bas' file is (nor '.asm') ...  Some gdb commands choose a source
language [as] best they can (like 'info args'), and others don't choose anything
(like 'backtrace'). The message in gdb "<error reading variable>" is
misleading. In fact, gdb could display something, but hasn't decided what source
language is."
---
U   wip/misc/gdbcmds1.txt


More information about the Ohrrpgce mailing list