Hi Khem Raj,
I noticed that when I check the info pretty-printer command output after loading the test application with gdb,
it is showing the expected behavior. This means that everything seems to be functioning correctly in that aspect.
Thanks for your support.
bash-5.1# gdb -q test
Reading symbols from test...
(gdb) b 12
Breakpoint 1 at 0x234e: file test.cpp, line 12.
(gdb) r
Starting program: /test
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Breakpoint 1, main () at test.cpp:12
12 return 0;
(gdb) p s
$1 = "test"
(gdb) p vi
$2 = std::vector of length 3, capacity 4 = {1, 2, 3}
(gdb) info pretty-printer
global pretty-printers:
builtin
mpx_bound128
objfile /lib/libstdc++.so.6 pretty-printers:
libstdc++-v6
__gnu_cxx::_Slist_iterator
__gnu_cxx::__8::_Slist_iterator
__gnu_cxx::__8::__normal_iterator
__gnu_cxx::__8::slist
__gnu_cxx::__normal_iterator
__gnu_cxx::slist
__gnu_debug::_Safe_iterator
std::_Bit_const_iterator
std::_Bit_iterator
std::_Bit_reference
std::_Deque_const_iterator
std::_Deque_iterator
std::_Fwd_list_const_iterator
std::_Fwd_list_iterator
std::_List_const_iterator
std::_List_iterator
std::_Node_handle
std::_Rb_tree_const_iterator
std::_Rb_tree_iterator
std::__8::_Bit_const_iterator
std::__8::_Bit_iterator
std::__8::_Bit_reference
std::__8::_Deque_const_iterator
std::__8::_Deque_iterator
std::__8::_Fwd_list_const_iterator
std::__8::_Fwd_list_iterator
std::__8::_List_const_iterator
std::__8::_List_iterator
std::__8::_Node_handle
std::__8::_Rb_tree_const_iterator
std::__8::_Rb_tree_iterator
std::__8::__cxx11::__cxx1998::list
std::__8::__cxx11::basic_string
std::__8::__cxx11::list
std::__8::__cxx1998::_Bit_const_iterator
std::__8::__cxx1998::_Bit_iterator
std::__8::__cxx1998::_Bit_reference
std::__8::__cxx1998::_Deque_const_iterator
std::__8::__cxx1998::_Deque_iterator
std::__8::__cxx1998::_Fwd_list_const_iterator
std::__8::__cxx1998::_Fwd_list_iterator
std::__8::__cxx1998::_List_const_iterator
std::__8::__cxx1998::_List_iterator
std::__8::__cxx1998::bitset
std::__8::__cxx1998::deque
std::__8::__cxx1998::forward_list