About 60,400 results
Open links in new tab
  1. Basic Python (Debugging with GDB) - sourceware.org

    Otherwise, if value is not a gdb.Value (see Values From Inferior), it is is converted using the gdb.Value constructor. Function: gdb.parse_and_eval(expression [, global_context])

  2. gdb python scripting: where has `parse_and_eval` gone?

    Feb 19, 2010 · I had some scripts in Python to help me debugging with GDB that used the function gdb.parse_and_eval (still documented) to get the inferior values from the arguments …

  3. Debugging with GDB: Basic Python - eCosCentric

    Function: gdb.parse_and_eval (expression) Parse expression, which must be a string, as an expression in the current language, evaluate it, and return the result as a gdb.Value.

  4. The GDB Python API, ARM, RISC-V, Low Level Debugging

    Oct 1, 2024 · Assembly Programming gdb.parse_and_eval() also works with registers. It will return the value of the register which you can use as an address to read_memory().

  5. Basic Python - Debugging with GDB - DESY

    Parse expression as an expression in the current language, evaluate it, and return the result as a gdb.Value. expression must be a string. This function can be useful when implementing a new …

  6. Help using the GDB C++ STL pretty-printers / xmethods

    May 8, 2022 · The gdb-test.exp procs expect to be able to source a single Python script, which breaks if that script tries to import modules in the same package (because there's no package …

  7. Python Interpreter in GNU Debugger — pysheeet

    Dump JSON # Parsing JSON is helpful when a developer is inspecting a JSON string in a running program. GDB can parse a std::string via gdb.parse_and_eval and return it as a gdb.Value. By …

  8. doing a comparison in python - gdb.sourceware.narkive.com

    GDB values in Python scripts can be directly compared with Python's native types, so you can just say: foo = gdb.parse_and_eval ("foo") if foo == True: print 'hooray' -- []'s Thiago Jung …