Monthly Archives: October 2023

GDB dashboard

github.com/cyrus-and/gdb-dashboard/
github.com/cyrus-and/gdb-dashboard/wiki
Obtain the Python version used by GDB
Support older GDB versions

gdb split view with code

Issues

printers.py: ValueError

GNU gdb (GDB) Red Hat Enterprise Linux 11.2-1.el7
Red Hat Enterprise Linux Server release 7.9 (Maipo)
>>> p *iniFile
$2 = {
  static defaultBaseName = {
    data_ = "default"
  },
  fIsValid = true,
  filePath_ = 0x708970 "/app/config.ini",
  fileStream = 0x708d80,
  buffer = 0x709380 "",
  direct = false,
  static iniFilePathEnv = 0x7ffff2f2cbd6 "INIFILE_PATH",
  static iniFileNameEnv = 0x7ffff2f2cbe3 "INIFILE_NAME",
  _sectionList = {
    impl_ = std::map with 12 elements = {
        [...]
    }
  },
  writeValues = {
    impl_ = empty std::listTraceback (most recent call last):
  File "/lib64/../../opt/rh/devtoolset-12/root/usr/share/gdb/python/libstdcxx/v6/printers.py", line 243, in children
    nodetype = find_type(self.val.type, '_Node')
  File "/lib64/../../opt/rh/devtoolset-12/root/usr/share/gdb/python/libstdcxx/v6/printers.py", line 99, in find_type
    raise ValueError("Cannot find type %s::%s" % (str(orig), name))
ValueError: Cannot find type RWTValDlist<TIniFile::TwriteValue, std::allocator<TIniFile::TwriteValue> >::container_type::_Node

  }
}

vscode GDB Disassembly

New

Visual Studio Code C++ July 2021 Update: Disassembly View, Macro Expansion and Windows ARM64 Debugging
Preview feature: Disassembly View

Stackoverflow

Does VS Code have a memory viewer and/or a disassembler for C++ extension?
Debugging NASM in VS code
Can I avoid debugger to stop in assembly code?

Pull

Disassembly view #125737

Issues

Roadmap: Disassembly View Feature #124163
Disassembly View: Milestone 2 #129762
Show source code in disassembly view not work #8516

Div

Debug Rust on PineCone BL602 with VSCode and GDB

Old

GDB Debug
github.com/newtonsart/vscode-assembly