public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug backtrace/14492] broken with -fPIE -pie Date: Sat, 18 Aug 2012 08:51:00 -0000 [thread overview] Message-ID: <bug-14492-4717-dWUk0H1wVL@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-14492-4717@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=14492 Jan Kratochvil <jan.kratochvil at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.kratochvil at redhat | |dot com --- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-08-18 08:51:11 UTC --- Is it a regression, did gdb-7.4.1 work? I tried to build 'crack-language' but it failed on missing llvm despite configure succeeded, I did not investigate it more. For the comment there: # according to gdb it crashes at instruction "test %eax,%eax" # #10 0x0000038e3338d57f in operator< (other=..., this=<optimized out>) at # debug/DebugTools.cc:41 # # 0x0000038e3338d572 <+98>: 49 8b 74 24 20 mov 0x20(%r12),%rsi # 0x0000038e3338d577 <+103>: 48 89 ef mov %rbp,%rdi # 0x0000038e3338d57a <+106>: e8 f1 07 fe ff callq 0x38e3336dd70 <strcmp@plt> # 0x0000038e3338d57f <+111>: 85 c0 test %eax,%eax As this is frame #10 (and not frame #0) the address 0x0000038e3338d57f just points to the return address to the caller. That's correct, it probably crashed somewhere in 'strcmp' which will return here. # Is there any way how to unhide these functions? # #0 0x000003785c2cfff9 in ?? () # #1 0x000003785c2e68da in ?? () What is the output of 'info sharedlibrary' and what is really mapped to these addresses according to 'info proc mappings' (or 'cat /proc/PID/maps')? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next prev parent reply other threads:[~2012-08-18 8:51 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-18 8:35 [Bug backtrace/14492] New: " wbrana at gmail dot com 2012-08-18 8:51 ` jan.kratochvil at redhat dot com [this message] 2012-08-18 9:28 ` [Bug backtrace/14492] " wbrana at gmail dot com 2012-08-18 10:44 ` jan.kratochvil at redhat dot com 2012-08-18 15:39 ` vapier at gentoo dot org 2012-08-18 18:08 ` wbrana at gmail dot com 2012-08-18 18:16 ` wbrana at gmail dot com 2012-08-19 5:06 ` jan.kratochvil at redhat dot com 2012-08-19 7:24 ` wbrana at gmail dot com 2012-08-19 7:36 ` jan.kratochvil at redhat dot com 2012-08-19 9:56 ` wbrana at gmail dot com
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=bug-14492-4717-dWUk0H1wVL@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).