From: vijay nag <vijunag@gmail.com>
To: gdb@sourceware.org
Subject: re: vdso
Date: Wed, 03 Jul 2013 08:34:00 -0000 [thread overview]
Message-ID: <CAKhyrx_TULNrWwSJ0zPq4tgd8MOpkhSRYZfbMRFcRLw7P0mj4Q@mail.gmail.com> (raw)
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 ?
next reply other threads:[~2013-07-03 8:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 8:34 vijay nag [this message]
2013-07-03 8:42 ` vdso Jan Kratochvil
2013-07-03 9:15 ` vdso vijay nag
2013-07-03 9:03 ` vdso Jan Kratochvil
2013-07-03 9:06 ` vdso vijay nag
[not found] ` <CAKhyrx_9fSc5wMaXaX76bFOPJbuVFttDNJ-YDa28wz5obJHQyQ@mail.gmail.com>
2013-07-03 14:49 ` vdso Jan Kratochvil
[not found] ` <20130703144857.GA27367@host2.jankratochvil.net>
[not found] ` <CAKhyrx8GCE7bYeZe9gnNT_aZN74oM--kd_oZr1+cjqt67oOzVQ@mail.gmail.com>
[not found] ` <20130704061052.GA19661@host2.jankratochvil.net>
[not found] ` <CAKhyrx8pAR9aKC1=-_HnwJ=ssb4B7LGUYM6CRqxY68xx+duprA@mail.gmail.com>
2013-07-05 6:12 ` Fwd: vdso vijay nag
[not found] ` <20130705184238.GA661@host2.jankratochvil.net>
2013-07-08 6:50 ` vijay nag
2013-07-08 8:47 ` Jan Kratochvil
2013-07-08 9:12 ` vijay nag
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKhyrx_TULNrWwSJ0zPq4tgd8MOpkhSRYZfbMRFcRLw7P0mj4Q@mail.gmail.com \
--to=vijunag@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox