Skip to content

Instantly share code, notes, and snippets.

@zielmicha
Created May 18, 2016 20:50
Show Gist options
  • Save zielmicha/2e24aae754c2d09a48018431718108ef to your computer and use it in GitHub Desktop.
Save zielmicha/2e24aae754c2d09a48018431718108ef to your computer and use it in GitHub Desktop.
aGNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) attach 3082
Attaching to process 3082
Reading symbols from /usr/local/sbin/duperemove...done.
Reading symbols from /lib/x86_64-linux-gnu/libglib-2.0.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug/.build-id/b7/7847cc9cacbca3b5753d0d25a32e5795afe75b.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.23.so...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done.
done.
walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:224
224 if (block2->b_flags & SKIP_FLAGS)
(gdb) bt
#0 walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:224
#1 find_all_dupes (tree=tree@entry=0x7ffe5d949620, res=res@entry=0x7ffe5d949610) at find_dupes.c:331
#2 0x00000000004044ca in main (argc=<optimized out>, argv=<optimized out>) at duperemove.c:433
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
239 file2 = block2->b_file;
(gdb) bt
#0 walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
#1 find_all_dupes (tree=tree@entry=0x7ffe5d949620, res=res@entry=0x7ffe5d949610) at find_dupes.c:331
#2 0x00000000004044ca in main (argc=<optimized out>, argv=<optimized out>) at duperemove.c:433
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
239 file2 = block2->b_file;
(gdb) bt
#0 walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
#1 find_all_dupes (tree=tree@entry=0x7ffe5d949620, res=res@entry=0x7ffe5d949610) at find_dupes.c:331
#2 0x00000000004044ca in main (argc=<optimized out>, argv=<optimized out>) at duperemove.c:433
(gdb) print file1
$1 = (struct filerec *) 0x8a9ab0
(gdb) print file2
$2 = <optimized out>
(gdb) print block1
$3 = (struct file_block *) 0x7fd062cef570
(gdb) print block2
$4 = (struct file_block *) 0x7fd039c8e1a0
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
239 file2 = block2->b_file;
(gdb) bt
#0 walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
#1 find_all_dupes (tree=tree@entry=0x7ffe5d949620, res=res@entry=0x7ffe5d949610) at find_dupes.c:331
#2 0x00000000004044ca in main (argc=<optimized out>, argv=<optimized out>) at duperemove.c:433
(gdb) print block2
$5 = (struct file_block *) 0x7fd00f56a8a0
(gdb) print block1
$6 = (struct file_block *) 0x7fd067037630
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
239 file2 = block2->b_file;
(gdb) bt
#0 walk_dupe_hashes (res=0x7ffe5d949610, dups=0x7fd06c0012c0) at find_dupes.c:239
#1 find_all_dupes (tree=tree@entry=0x7ffe5d949620, res=res@entry=0x7ffe5d949610) at find_dupes.c:331
#2 0x00000000004044ca in main (argc=<optimized out>, argv=<optimized out>) at duperemove.c:433
(gdb) print block2
$7 = (struct file_block *) 0x7fd01956d7b0
(gdb) print block1
$8 = (struct file_block *) 0x7fd06e214510
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment