From: "Srinivas Murthy" <codevana@gmail.com>
To: gdb@sourceware.org
Subject: Re: x86_64 gdb and objdump
Date: Mon, 02 Jul 2007 23:17:00 -0000 [thread overview]
Message-ID: <df1bdeb10707021617p34ab05c7we9b0ae333ff678ed@mail.gmail.com> (raw)
In-Reply-To: <20070702210225.GA26695@caradoc.them.org>
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
I've attached the core dump, the executable and the source is listed below:
void bar() {
char *p = 0;
printf("%s %d \n", __FUNCTION__, __LINE__);
*p = 0;
return;
}
void foo() {
printf("%s %d \n", __FUNCTION__, __LINE__);
bar();
return;
}
int main() {
foo();
return 0;
}
On 7/2/07, Daniel Jacobowitz <drow@false.org> wrote:
On Mon, Jul 02, 2007 at 01:39:05PM -0700, Srinivas Murthy wrote:
> I did try "x ..." at a bunch of memory locations and it outputs the
> same error msg.
>
> It seems like its not able to access any memory location in the core file.
This works fine for me. Can you provide a test case?
--
Daniel Jacobowitz
CodeSourcery
Attachment:
core.temp
Description: Binary data
Attachment:
temp
Description: Binary data
[-- Attachment #2: temp --]
[-- Type: application/x-executable, Size: 10109 bytes --]
prev parent reply other threads:[~2007-07-02 23:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 19:14 Srinivas Murthy
2007-07-02 19:23 ` Daniel Jacobowitz
2007-07-02 20:39 ` Srinivas Murthy
2007-07-02 21:03 ` Daniel Jacobowitz
2007-07-02 23:17 ` Srinivas Murthy [this message]
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=df1bdeb10707021617p34ab05c7we9b0ae333ff678ed@mail.gmail.com \
--to=codevana@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