Created
December 20, 2009 08:32
-
-
Save eric/260404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > gdb --batch -ex 'disasrb_gc_force_recycle' ruby | |
| Using host libthread_db library "/lib/libthread_db.so.1". | |
| Undefined command: "disasrb_gc_force_recycle". Try "help". | |
| CRYPT [22 : 0] eric@vox4:/home/eric > gdb --batch -ex 'disas rb_gc_force_recycle' ruby | |
| Using host libthread_db library "/lib/libthread_db.so.1". | |
| Dump of assembler code for function rb_gc_force_recycle: | |
| 0x08069ed2 <rb_gc_force_recycle+0>: push %ebp | |
| 0x08069ed3 <rb_gc_force_recycle+1>: mov %esp,%ebp | |
| 0x08069ed5 <rb_gc_force_recycle+3>: push %ebx | |
| 0x08069ed6 <rb_gc_force_recycle+4>: sub $0x10,%esp | |
| 0x08069ed9 <rb_gc_force_recycle+7>: mov 0x8(%ebp),%ebx | |
| 0x08069edc <rb_gc_force_recycle+10>: push %ebx | |
| 0x08069edd <rb_gc_force_recycle+11>: call *0x80e5cd4 | |
| 0x08069ee3 <rb_gc_force_recycle+17>: add $0x10,%esp | |
| 0x08069ee6 <rb_gc_force_recycle+20>: mov %ebx,%eax | |
| 0x08069ee8 <rb_gc_force_recycle+22>: mov 0xfffffffc(%ebp),%ebx | |
| 0x08069eeb <rb_gc_force_recycle+25>: leave | |
| 0x08069eec <rb_gc_force_recycle+26>: jmp 0x8069eaf <add_freelist> | |
| End of assembler dump. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment