List Info

Thread: suggested post (simple stl containers inspectors for gdb)




suggested post (simple stl containers inspectors for gdb)
country flaguser name
United States
2008-02-11 23:21:56
Hi there,

Nick Roberts suggested me to publish this in your
wiki. Since I have no clue what so even how to deal
with web-sites (I am a compiler engineer), if you find
these gdb command macros useful, please feel free to
post them. 

Nick Roberts asked me "Are you claiming sole
authorship?"

I do not claim anything, just tried to put together a
set of useful ways to inspect stl containers.
Currently, the following containers are supported:

#       std::vector<T> -- via pvector command
#       std::list<T> -- via plist command
#       std::map<T,T> -- via pmap command
#       std::multimap<T,T> -- via pmap command
#       std::set<T> -- via pset command
#       std::multiset<T> -- via pset command
#       std::deque<T> -- via pdequeue command
#       std::stack<T> -- via pstack command
#       std::queue<T> -- via pqueue command
#       std::priority_queue<T> -- via ppqueue command
#       std::bitset<n> -- via pbitset command
#       std::string -- via pstring command
#       std::widestring -- via pwstring command

See attached. Best Regards,
Daniel


     
____________________________________________________________
________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
  
Re: suggested post (simple stl containers inspectors for gdb)
country flaguser name
United States
2008-02-12 07:48:01
On Mon, Feb 11, 2008 at 09:21:56PM -0800, Dan C Marinescu
wrote:
> Hi there,
> 
> Nick Roberts suggested me to publish this in your
> wiki. Since I have no clue what so even how to deal
> with web-sites (I am a compiler engineer), if you find
> these gdb command macros useful, please feel free to
> post them. 

It's really easy to edit.  Anyway, I've put them here:
  http://sour
ceware.org/gdb/wiki/STLSupport

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )