Skip to content

Instantly share code, notes, and snippets.

@qpfiffer
Created December 29, 2014 00:06
Show Gist options
  • Select an option

  • Save qpfiffer/806127a9c6b57ccda38d to your computer and use it in GitHub Desktop.

Select an option

Save qpfiffer/806127a9c6b57ccda38d to your computer and use it in GitHub Desktop.
Breakpoint 2, add_image_to_db (file_path=0x7fffffffd6a0 "./webms/a/348046_ieiei.webm", filename=0x7fffffffd72b "348046_ieiei.webm", board=0x7fffffffd8e0 "a")
at src/db.c:221
221 char image_hash[HASH_IMAGE_STR_SIZE] = {0};
(gdb) print board
$9 = 0x7fffffffd8e0 "a"
(gdb) n
222 if (!hash_image(file_path, image_hash))
(gdb) print board
$10 = 0x7fffffffd8e0 "a"
(gdb) n
225 webm *_old_webm = get_image(image_hash);
(gdb) print board
$11 = 0x7fffffffd800 ""
(gdb) # WHAT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment