From e30e847a3d677f0c6718f8ea3b3b18d006fc83b5 Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Thu, 4 Mar 2021 17:09:45 -0500 Subject: [PATCH] Updated Debugging segfaults and hard to decipher pybind11 bugs (markdown) --- Debugging-segfaults-and-hard-to-decipher-pybind11-bugs.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Debugging-segfaults-and-hard-to-decipher-pybind11-bugs.md b/Debugging-segfaults-and-hard-to-decipher-pybind11-bugs.md index dcf2eba..ce7d9a2 100644 --- a/Debugging-segfaults-and-hard-to-decipher-pybind11-bugs.md +++ b/Debugging-segfaults-and-hard-to-decipher-pybind11-bugs.md @@ -113,4 +113,10 @@ Program received signal SIGSEGV, Segmentation fault. 0x in pybind11::detail::get_type_info (type=0xdeed90) at ../include/pybind11/detail/type_caster_base.h:160 160 *value = 0xbadf00d; (gdb) -``` \ No newline at end of file +``` + +## GDB on C++ Programs with an Embedded Interpreter + +Sometimes, it may be easier to test a program with an embedded interpreter. + +TODO(eric): Add an exampel. \ No newline at end of file