All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rahul Chauhan" <rahulchauhankitps@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: How to enable libstdc++ Pretty Printers in GDB #poky
Date: Tue, 30 Jan 2024 23:51:52 -0800	[thread overview]
Message-ID: <10032.1706687512615914058@lists.openembedded.org> (raw)
In-Reply-To: <10032.1706678833265291851@lists.openembedded.org>

[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]

Hi Khem Raj,

I noti ced that whe n I chec k th e in fo p rett y-pr inte r co mman d ou tput aft er l oadi ng t he t est appl icat ion with gdb ,
it is show ing the expe cted beh avio r. T his mean s th at e very thin g se ems to b e fu ncti onin g co rrec tly in t hat aspe ct.

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

[-- Attachment #2: Type: text/html, Size: 17394 bytes --]

      parent reply	other threads:[~2024-01-31  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-29 13:13 How to enable libstdc++ Pretty Printers in GDB #poky Rahul Chauhan
2024-01-29 19:08 ` [OE-core] " Khem Raj
2024-01-31  5:27   ` Rahul Chauhan
2024-01-31  7:01     ` [OE-core] " Khem Raj
2024-01-31  7:51     ` Rahul Chauhan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10032.1706687512615914058@lists.openembedded.org \
    --to=rahulchauhankitps@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.