Re: gdb string formatting

2001-07-17 Thread Michael O'Donnell
>Does anyone know how to force gdb to display an entire string >instead of truncating while debugging? This won't necessarily answer your question but, FYI, gdb has a fully functional printf as well as data manipulation capabilities, not to mention the ability to define procedures and macros,

Re: gdb string formatting

2001-07-17 Thread Andrew Foulks
On Tue, 17 Jul 2001, Mansur, Warren wrote: > Hi, > > Does anyone know how to force gdb to display an entire string instead of > truncating while debugging? > (gdb) set print elements 500 (or whatever number you think will do the trick) --Andy Foulks > For example: > > (gdb) p my_str > $1 = "

gdb string formatting

2001-07-17 Thread Mansur, Warren
Hi, Does anyone know how to force gdb to display an entire string instead of truncating while debugging? For example: (gdb) p my_str $1 = "The string is truncated and I need to see all" is gdb's behavior. Instead I want: (gdb) p my_str $1 = "The string is trunacetd and I need to see all of i

Re: C++ training

2001-07-17 Thread Cole Tuininga
"Kevin D. Clark" wrote: > > Let me chime in and agree; blj is one of UNH's best instructors. > > (and I know lots of people who share this opinion as well) Count me in that list. -- "Maybe I'll be able to get a job when I graduate..." -Linus Torvalds Cole Tuininga Network Admin Code Energy,