]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cpp-example: Add std::vector example
authorAdrian Freihofer <adrian.freihofer@siemens.com>
Tue, 3 Feb 2026 22:16:27 +0000 (23:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Feb 2026 10:50:23 +0000 (10:50 +0000)
commite4e8ff14ab51892bdcb176b9eef2741286597db8
treefa4149470d5baabc00af530d2d2ddd9963f3ce47
parent4019d572ec69fb9631006518166725452c01f675
cpp-example: Add std::vector example

Add a standard container (std::vector) to the C++ example program to
demonstrate the debugger's capability to inspect and traverse STL
containers during a debugging session. This requires enabling GDB's
pretty-printing feature, which depends on Python scripts shipped with
the compiler.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/cpp/files/cpp-example.cpp