This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to view content in stl vector


Am Montag, 18. Juni 2007 17:28:03 schrieb Andreas Schwab:
> (gdb) p ({bool(int)}'bool foo<int>(int)')(i)
> Hello from foo
> $3 = true


thx for this!

Btw.
<gdb>p ({bool(int)}'bool foo<int>')(i)</gdb> 
works too.

Maik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]