From: Nick Roberts <nickrob@snap.net.nz>
To: Gordon Prieur <Gordon.Prieur@Sun.COM>
Cc: Eli Zaretskii <eliz@gnu.org>, Daniel Jacobowitz <drow@false.org>,
vicshen@gmail.com, gdb@sourceware.org
Subject: Re: gdb cannot understand some type with STL
Date: Thu, 03 Jan 2008 22:23:00 -0000 [thread overview]
Message-ID: <18301.24414.446805.541914@kahikatea.snap.net.nz> (raw)
> In which case "whatis 'std::list TAB" (note the single quote) should
> complete the correct text to type, right?
> Is this solution likely to work in mi mode? I've run into similar issues with
> gdb/mi in the NetBeans gdb module.
I know nothing about NetBeans but Emacs uses the "complete" command for
completion. Maybe NetBeans could use it too:
(gdb)
complete whatis 'std::list<int,
&"complete whatis 'std::list<int,\n"
~"whatis 'std::list<int, std::allocator<int> >::_M_create_node(int const&)\n"
~"whatis 'std::list<int, std::allocator<int> >::_M_insert(std::_List_iterator<int>, int const&)\n"
~"whatis 'std::list<int, std::allocator<int> >::end()\n"
~"whatis 'std::list<int, std::allocator<int> >::list(std::allocator<int> const&)\n"
~"whatis 'std::list<int, std::allocator<int> >::push_back(int const&)\n"
~"whatis 'std::list<int, std::allocator<int> >::~list()\n"
~"whatis 'std::list<int,std::allocator<int> >\n"
^done
(gdb)
or better still use:
-interpreter-exec console "complete whatis 'std::list<int,"
--
Nick http://www.inet.net.nz/~nickrob
next reply other threads:[~2008-01-03 22:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-03 22:23 Nick Roberts [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-22 5:24 jian shen
2007-12-22 10:18 ` Eli Zaretskii
2007-12-22 10:35 ` jian shen
2007-12-22 17:35 ` Daniel Jacobowitz
2007-12-22 17:40 ` Eli Zaretskii
2007-12-22 17:45 ` Daniel Jacobowitz
2007-12-23 2:27 ` jian shen
2008-01-02 17:29 ` Gordon Prieur
2008-01-02 18:04 ` Daniel Jacobowitz
2007-12-23 2:26 ` jian shen
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=18301.24414.446805.541914@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=Gordon.Prieur@Sun.COM \
--cc=drow@false.org \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=vicshen@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).