Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created February 12, 2014 08:37
Show Gist options
  • Save kyleterry/8951903 to your computer and use it in GitHub Desktop.
Save kyleterry/8951903 to your computer and use it in GitHub Desktop.
Breakpoint 1, test_jar () at ./src/test.c:57
57 int test_jar() {
(gdb) l
52 ol_log_msg(LOG_INFO, "Generated max is: %i", expected_bucket_max);
53 ol_close(db);
54 return 0;
55 }
56
57 int test_jar() {
58 ol_database *db = ol_open(DB_PATH, DB_NAME, OL_SLAUGHTER_DIR);
59 ol_log_msg(LOG_INFO, "Opened DB: %p.", db);
60
61 int i;
(gdb) n
58 ol_database *db = ol_open(DB_PATH, DB_NAME, OL_SLAUGHTER_DIR);
(gdb) n
57 int test_jar() {
(gdb) n
64 for (i = 0; i < max_records; i++) { /* 8======D */
(gdb) n
57 int test_jar() {
(gdb) n
58 ol_database *db = ol_open(DB_PATH, DB_NAME, OL_SLAUGHTER_DIR);
(gdb) n
59 ol_log_msg(LOG_INFO, "Opened DB: %p.", db);
(gdb) n
58 ol_database *db = ol_open(DB_PATH, DB_NAME, OL_SLAUGHTER_DIR);
(gdb) n
59 ol_log_msg(LOG_INFO, "Opened DB: %p.", db);
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment