Advertisement
Jodyone

gdb output dictionary.c

Apr 8th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. (gdb) n
  2. 106           strcpy(temp_word,new_node->word);
  3. (gdb) p temp_word          // am i printing this right
  4. $2 = "cat", '\000' <repeats 42 times>
  5. (gdb) p new_node->word
  6. $3 = '\000' <repeats 45 times>   // what does the $ represent  why does it say repeat 45 times
  7. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement