msaf1980 / gdbprint_libstdcpp Goto Github PK
View Code? Open in Web Editor NEWPackage with printers for browse GNU libstdc++-v3 STL data structuras for gdbprint
License: GNU General Public License v3.0
Package with printers for browse GNU libstdc++-v3 STL data structuras for gdbprint
License: GNU General Public License v3.0
# gdbprint_libstdcpp Package with printers for browse GNU libstdc++-v3 STL data structuras for gdbprint (https://github.com/msaf1980/gdbprint) Based on pretty-printers for libstdc++. Supported C++11 structuras Tested on libstdc++-v3 (4.8 and 6.3) Install (in local packages as non-root) $ ./install.sh --user Install as root (in system packages) $ ./install.sh Debug printers: "std::tr1::unordered_set" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdUnorderedSetPrinter'>" (set) "std::unordered_set" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdUnorderedSetPrinter'>" (set) "std::unique_ptr" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdUniquePointerPrinter'>" (pointer) "std::bitset" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdBitsetPrinter'>" (bitset) "std::forward_list" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdForwardListPrinter'>" (list) "std::stack" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdStackPrinter'>" (subtype) "std::multimap" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdMapPrinter'>" (map) "std::map" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdMapPrinter'>" (map) "std::auto_ptr" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdAutoPointerPrinter'>" (pointer) "std::weak_ptr" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdSharedPointerPrinter'>" (pointer) "std::__cxx11::basic_string" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdStringPrinter'>" (string) "std::deque" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdDequePrinter'>" (list_sized) "std::tuple" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdTuplePrinter'>" (struct) "std::basic_string" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdStringPrinter'>" (string) "std::unordered_map" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdUnorderedMapPrinter'>" (map) "std::array" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdArrayPrinter'>" (array) "std::set" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdSetPrinter'>" (set) "std::list" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdListPrinter'>" (list) "std::vector" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdVectorPrinter'>" (array) "std::shared_ptr" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdSharedPointerPrinter'>" (pointer) "std::tr1::unordered_map" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdUnorderedMapPrinter'>" (map) "std::multiset" = "<class 'gdbprint_libstdcpp.libstdcpp_v3.StdSetPrinter'>" (set)
(std::pair<TestMoscow()::MoscowAirport, long unsigned int>) <0x424f30>
"std::__pair_base<TestMoscow()::MoscowAirport, long unsigned int>" = "first" = (MoscowAirport) MoscowAirport::SVO (1),
"second" = (unsigned long) 0,
}
Change to simular
(std::pair<TestMoscow()::MoscowAirport, long unsigned int>) <0x424f30> {
"std::__pair_base<TestMoscow()::MoscowAirport, long unsigned int>" = {
"first" = (MoscowAirport) MoscowAirport::SVO (1),
"second" = (unsigned long) 0,
}
}
"set_unorder" = {
[0] = { [0:3] = "blue" },
See https://travis-ci.org/msaf1980/gdbprint_libstdcpp/jobs/565643890
"list_fw_it" = error:"Unsupported implementation for std::_Fwd_list_node"
See https://travis-ci.org/msaf1980/gdbprint_libstdcpp/jobs/565643884
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.