This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
re: vdso
- From: vijay nag <vijunag at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 3 Jul 2013 14:04:43 +0530
- Subject: re: vdso
Hello,
I recently upgraded my compiler/glibc to gcc-4.7.2/glibc-2.17. If I
enable vdso, gdb is unable to crawl through the stack(back-trace) when
the program does a jump to vdso-area to execute
sysenter system call.
Is it a known issue ?
(gdb) bt
#0 0xb7fff410 in ?? ()
#1 0x122f234e in main (argc=4, argv=0xbffff854, env=0xbffff86c) at
main/sn_main.c:450
(gdb) info register
eax 0xfffffffc -4
ecx 0x19 25
edx 0x6 6
ebx 0x1dc24c48 499272776
esp 0xbffff2b8 0xbffff2b8
ebp 0xbffff768 0xbffff768
esi 0x6 6
edi 0x43 67
eip 0xb7fff410 0xb7fff410
eflags 0x246 [ PF ZF IF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) disassemble $eip
0xb7fff400 push %ecx
â
â0xb7fff401 push %edx
â
â0xb7fff402 push %ebp
â
â0xb7fff403 mov %esp,%ebp
â
â0xb7fff405 sysenter
â
â0xb7fff407 nop
â
â0xb7fff408 nop
â
â0xb7fff409 nop
â
â0xb7fff40a nop
â
â0xb7fff40b nop
â
â0xb7fff40c nop
â
â0xb7fff40d nop
â
â0xb7fff40e jmp 0xb7fff403
â
â0xb7fff410 pop %ebp
â
â0xb7fff411 pop %edx
â
â0xb7fff412 pop %ecx
â
â0xb7fff413 ret
cat /proc/15896/smaps | grep vdso
778:b7fff000-b8000000 r-xp b7fff000 00:00 0 [vdso]
Does vdso come with symbols ?