By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,060 Members | 1,893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,060 IT Pros & Developers. It's quick & easy.

How to analyse the core dump in gdb? <repeats 21 times>

P: 1
hey i am new in gdb debugging field.
can anyone tell me the meaning <repeats 21 times>, in the following.
Expand|Select|Wrap|Line Numbers
  1. (gdb) print *(pthread_attr_t *)pt_attr
  2. $5 = {
  3.   __size = "\000\000\000\000\000\000\000\000\001\000\000\000\000\020", '\000' <repeats 21 times>,
  4.   __align = 0
  5. }
Feb 15 '13 #1
Share this Question
Share on Google+
2 Replies


Banfa
Expert Mod 5K+
P: 8,916
it means the previous value, '\000' was repeated 21 times.

You can switch off the repeat message using the command

set print repeats 0
Feb 15 '13 #2

P: 1
what does '\000' means?why is it showing this error?
1 Week Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.