GNU gdb (Gentoo 7.5.1 p2) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-pc-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/lib64/xorg/modules/drivers/nouveau_drv.so...done. (gdb) Dump of assembler code for function drmmode_set_mode_major: 0x00000000000261f0 <+0>: push %r15 0x00000000000261f2 <+2>: push %r14 0x00000000000261f4 <+4>: push %r13 0x00000000000261f6 <+6>: push %r12 0x00000000000261f8 <+8>: mov %rsi,%r12 0x00000000000261fb <+11>: push %rbp 0x00000000000261fc <+12>: mov %rdi,%rbp 0x00000000000261ff <+15>: push %rbx 0x0000000000026200 <+16>: sub $0x88,%rsp 0x0000000000026207 <+23>: mov 0x207b72(%rip),%rdx # 0x22dd80 0x000000000002620e <+30>: mov 0x8(%rdi),%rax 0x0000000000026212 <+34>: mov 0x1b0(%rbp),%r14 0x0000000000026219 <+41>: mov %ecx,0x28(%rsp) 0x000000000002621d <+45>: mov %r8d,0x2c(%rsp) 0x0000000000026222 <+50>: movslq (%rdx),%rcx 0x0000000000026225 <+53>: mov 0x130(%rax),%rdx 0x000000000002622c <+60>: mov (%r14),%r13 0x000000000002622f <+63>: mov 0x128(%rax),%rdi 0x0000000000026236 <+70>: mov (%rdx,%rcx,8),%rbx 0x000000000002623a <+74>: mov 0x4(%r13),%edx 0x000000000002623e <+78>: test %edx,%edx 0x0000000000026240 <+80>: jne 0x26295 0x0000000000026242 <+82>: mov 0x54(%rax),%r8d 0x0000000000026246 <+86>: movzbl 0x5c(%rax),%ecx 0x000000000002624a <+90>: mov 0xac(%rax),%edx 0x0000000000026250 <+96>: mov 0xa8(%rax),%esi 0x0000000000026256 <+102>: lea 0x7(%r8),%r9d 0x000000000002625a <+106>: test %r8d,%r8d 0x000000000002625d <+109>: cmovns %r8d,%r9d 0x0000000000026261 <+113>: movzbl %r8b,%r8d 0x0000000000026265 <+117>: sar $0x3,%r9d 0x0000000000026269 <+121>: imul 0xb8(%rax),%r9d 0x0000000000026271 <+129>: lea 0x4(%r13),%rax 0x0000000000026275 <+133>: mov %rax,0x8(%rsp) 0x000000000002627a <+138>: mov 0x20(%rdi),%rax 0x000000000002627e <+142>: mov 0x8(%rax),%eax 0x0000000000026281 <+145>: mov %eax,(%rsp) 0x0000000000026284 <+148>: mov 0x0(%r13),%edi 0x0000000000026288 <+152>: callq 0x6000 0x000000000002628d <+157>: test %eax,%eax 0x000000000002628f <+159>: js 0x26510 0x0000000000026295 <+165>: mov %rbp,%rdi 0x0000000000026298 <+168>: xor %r15d,%r15d 0x000000000002629b <+171>: callq 0x5d80 0x00000000000262a0 <+176>: test %eax,%eax 0x00000000000262a2 <+178>: jne 0x262c0 0x00000000000262a4 <+180>: add $0x88,%rsp 0x00000000000262ab <+187>: mov %r15d,%eax 0x00000000000262ae <+190>: pop %rbx 0x00000000000262af <+191>: pop %rbp 0x00000000000262b0 <+192>: pop %r12 0x00000000000262b2 <+194>: pop %r13 0x00000000000262b4 <+196>: pop %r14 0x00000000000262b6 <+198>: pop %r15 0x00000000000262b8 <+200>: retq 0x00000000000262b9 <+201>: nopl 0x0(%rax) 0x00000000000262c0 <+208>: mov (%rbx),%edx 0x00000000000262c2 <+210>: mov $0x4,%edi 0x00000000000262c7 <+215>: movslq %edx,%rsi 0x00000000000262ca <+218>: mov %edx,0x20(%rsp) 0x00000000000262ce <+222>: callq 0x5d70 0x00000000000262d3 <+227>: test %rax,%rax 0x00000000000262d6 <+230>: mov %rax,%r10 0x00000000000262d9 <+233>: mov 0x20(%rsp),%edx 0x00000000000262dd <+237>: je 0x262a4 0x00000000000262df <+239>: test %edx,%edx 0x00000000000262e1 <+241>: jle 0x26328 0x00000000000262e3 <+243>: mov 0x8(%rbx),%rdx 0x00000000000262e7 <+247>: xor %eax,%eax 0x00000000000262e9 <+249>: jmp 0x262fb 0x00000000000262eb <+251>: nopl 0x0(%rax,%rax,1) 0x00000000000262f0 <+256>: add $0x1,%eax 0x00000000000262f3 <+259>: add $0x8,%rdx 0x00000000000262f7 <+263>: cmp %eax,(%rbx) 0x00000000000262f9 <+265>: jle 0x26328 0x00000000000262fb <+267>: mov (%rdx),%rcx 0x00000000000262fe <+270>: cmp %rbp,0x10(%rcx) 0x0000000000026302 <+274>: jne 0x262f0 0x0000000000026304 <+276>: mov 0x78(%rcx),%rcx 0x0000000000026308 <+280>: add $0x1,%eax 0x000000000002630b <+283>: add $0x8,%rdx 0x000000000002630f <+287>: mov 0x10(%rcx),%rcx 0x0000000000026313 <+291>: mov (%rcx),%esi 0x0000000000026315 <+293>: movslq %r15d,%rcx 0x0000000000026318 <+296>: add $0x1,%r15d 0x000000000002631c <+300>: mov %esi,(%r10,%rcx,4) 0x0000000000026320 <+304>: cmp %eax,(%rbx) 0x0000000000026322 <+306>: jg 0x262fb 0x0000000000026324 <+308>: nopl 0x0(%rax) 0x0000000000026328 <+312>: lea 0x30(%rsp),%r9 0x000000000002632d <+317>: xor %eax,%eax 0x000000000002632f <+319>: mov $0x8,%ecx 0x0000000000026334 <+324>: mov %r9,%rdi 0x0000000000026337 <+327>: rep stos %rax,%es:(%rdi) 0x000000000002633a <+330>: mov 0x20(%r12),%eax 0x000000000002633f <+335>: mov 0x10(%r12),%rsi 0x0000000000026344 <+340>: mov %eax,0x30(%rsp) 0x0000000000026348 <+344>: mov 0x24(%r12),%eax 0x000000000002634d <+349>: test %rsi,%rsi 0x0000000000026350 <+352>: movl $0x0,(%rdi) 0x0000000000026356 <+358>: mov %ax,0x34(%rsp) 0x000000000002635b <+363>: mov 0x28(%r12),%eax 0x0000000000026360 <+368>: mov %ax,0x36(%rsp) 0x0000000000026365 <+373>: mov 0x2c(%r12),%eax 0x000000000002636a <+378>: mov %ax,0x38(%rsp) 0x000000000002636f <+383>: mov 0x30(%r12),%eax 0x0000000000026374 <+388>: mov %ax,0x3a(%rsp) 0x0000000000026379 <+393>: mov 0x34(%r12),%eax 0x000000000002637e <+398>: mov %ax,0x3c(%rsp) 0x0000000000026383 <+403>: mov 0x38(%r12),%eax 0x0000000000026388 <+408>: mov %ax,0x3e(%rsp) 0x000000000002638d <+413>: mov 0x3c(%r12),%eax 0x0000000000026392 <+418>: mov %ax,0x40(%rsp) 0x0000000000026397 <+423>: mov 0x40(%r12),%eax 0x000000000002639c <+428>: mov %ax,0x42(%rsp) 0x00000000000263a1 <+433>: mov 0x44(%r12),%eax 0x00000000000263a6 <+438>: mov %ax,0x44(%rsp) 0x00000000000263ab <+443>: mov 0x48(%r12),%eax 0x00000000000263b0 <+448>: mov %ax,0x46(%rsp) 0x00000000000263b5 <+453>: mov 0x4c(%r12),%eax 0x00000000000263ba <+458>: mov %eax,0x4c(%rsp) 0x00000000000263be <+462>: je 0x263e2 0x00000000000263c0 <+464>: lea 0x24(%r9),%rdi 0x00000000000263c4 <+468>: mov $0x20,%edx 0x00000000000263c9 <+473>: mov %r9,0x20(%rsp) 0x00000000000263ce <+478>: mov %r10,0x18(%rsp) 0x00000000000263d3 <+483>: callq 0x58a0 0x00000000000263d8 <+488>: mov 0x18(%rsp),%r10 0x00000000000263dd <+493>: mov 0x20(%rsp),%r9 0x00000000000263e2 <+498>: mov 0x1b8(%rbp),%rax 0x00000000000263e9 <+505>: xor %ecx,%ecx 0x00000000000263eb <+507>: xor %r8d,%r8d 0x00000000000263ee <+510>: movb $0x0,0x73(%rsp) 0x00000000000263f3 <+515>: mov 0x4(%r13),%edx 0x00000000000263f7 <+519>: cmpq $0x0,0x2d0(%rax) 0x00000000000263ff <+527>: je 0x264f0 0x0000000000026405 <+533>: mov 0x8(%r14),%rax 0x0000000000026409 <+537>: mov %r9,0x8(%rsp) 0x000000000002640e <+542>: mov %r10,%r9 0x0000000000026411 <+545>: mov %r15d,(%rsp) 0x0000000000026415 <+549>: mov 0x0(%r13),%edi 0x0000000000026419 <+553>: mov (%rax),%esi 0x000000000002641b <+555>: mov %r10,0x18(%rsp) 0x0000000000026420 <+560>: callq 0x59c0 0x0000000000026425 <+565>: mov 0x18(%rsp),%r10 0x000000000002642a <+570>: mov %eax,%r12d 0x000000000002642d <+573>: mov %r10,%rdi 0x0000000000026430 <+576>: callq 0x5830 0x0000000000026435 <+581>: test %r12d,%r12d 0x0000000000026438 <+584>: jne 0x264b8 0x000000000002643a <+586>: mov (%rbx),%r15d 0x000000000002643d <+589>: xor %r13d,%r13d 0x0000000000026440 <+592>: test %r15d,%r15d 0x0000000000026443 <+595>: jle 0x26463 0x0000000000026445 <+597>: nopl (%rax) 0x0000000000026448 <+600>: mov 0x8(%rbx),%rax 0x000000000002644c <+604>: mov (%rax,%r13,1),%rdi 0x0000000000026450 <+608>: cmp %rbp,0x10(%rdi) 0x0000000000026454 <+612>: je 0x264a8 0x0000000000026456 <+614>: add $0x1,%r12d 0x000000000002645a <+618>: add $0x8,%r13 0x000000000002645e <+622>: cmp %r12d,(%rbx) 0x0000000000026461 <+625>: jg 0x26448 0x0000000000026463 <+627>: mov 0x1a8(%rbp),%rax 0x000000000002646a <+634>: mov 0x490(%rbp),%rcx 0x0000000000026471 <+641>: mov %rbp,%rdi 0x0000000000026474 <+644>: mov 0x488(%rbp),%rdx 0x000000000002647b <+651>: mov 0x480(%rbp),%rsi 0x0000000000026482 <+658>: mov $0x1,%r15d 0x0000000000026488 <+664>: mov 0x498(%rbp),%r8d 0x000000000002648f <+671>: callq *0x48(%rax) 0x0000000000026492 <+674>: mov 0x8(%rbp),%rax 0x0000000000026496 <+678>: mov 0x10(%rax),%rdi 0x000000000002649a <+682>: callq 0x5a80 0x000000000002649f <+687>: jmpq 0x262a4 0x00000000000264a4 <+692>: nopl 0x0(%rax) 0x00000000000264a8 <+696>: xor %esi,%esi 0x00000000000264aa <+698>: callq 0x25400 0x00000000000264af <+703>: nop 0x00000000000264b0 <+704>: jmp 0x26456 0x00000000000264b2 <+706>: nopw 0x0(%rax,%rax,1) 0x00000000000264b8 <+712>: mov %r12d,%edi 0x00000000000264bb <+715>: xor %r15d,%r15d 0x00000000000264be <+718>: neg %edi 0x00000000000264c0 <+720>: callq 0x63d0 0x00000000000264c5 <+725>: mov 0x8(%rbp),%rdx 0x00000000000264c9 <+729>: mov %rax,%rcx 0x00000000000264cc <+732>: mov $0x5,%esi 0x00000000000264d1 <+737>: xor %eax,%eax 0x00000000000264d3 <+739>: mov 0x18(%rdx),%edi 0x00000000000264d6 <+742>: lea 0x33f8(%rip),%rdx # 0x298d5 0x00000000000264dd <+749>: callq 0x5fd0 0x00000000000264e2 <+754>: jmpq 0x262a4 0x00000000000264e7 <+759>: nopw 0x0(%rax,%rax,1) 0x00000000000264f0 <+768>: mov 0x30(%r14),%eax 0x00000000000264f4 <+772>: mov 0x2c(%rsp),%r8d 0x00000000000264f9 <+777>: test %eax,%eax 0x00000000000264fb <+779>: cmovne %ecx,%r8d 0x00000000000264ff <+783>: cmovne %eax,%edx 0x0000000000026502 <+786>: cmove 0x28(%rsp),%ecx 0x0000000000026507 <+791>: jmpq 0x26405 0x000000000002650c <+796>: nopl 0x0(%rax) 0x0000000000026510 <+800>: lea 0x33ac(%rip),%rdi # 0x298c3 0x0000000000026517 <+807>: xor %eax,%eax 0x0000000000026519 <+809>: xor %r15d,%r15d 0x000000000002651c <+812>: callq 0x64d0 0x0000000000026521 <+817>: jmpq 0x262a4 End of assembler dump. (gdb) quit