From: Phil Muldoon <pmuldoon@redhat.com>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: GDB doesnot catches segmentation fault
Date: Tue, 05 Jul 2011 07:51:00 -0000 [thread overview]
Message-ID: <m339ilupvv.fsf@redhat.com> (raw)
In-Reply-To: <1309850661.18621.YahooMailNeo@web111713.mail.gq1.yahoo.com> (Mahmood Naderan's message of "Tue, 5 Jul 2011 00:24:21 -0700 (PDT)")
Mahmood Naderan <nt_mahmood@yahoo.com> writes:
>>Then:
>>gdb gdb --core=yourcore.pid
>>Where "youcore.pid" is the core-file that GDB generated on crash
>
> Where does it save that file? I can not find it
>
> // Naderan *Mahmood;
With Fedora 15, it places it in the same place from where the program
was executed:
[user@localhost test]$ ulimit -c unlimited
[user@localhost test]$ sleep 5000
Segmentation fault (core dumped)
[user@localhost test]$ ls core.31559
Cheers,
Phil
prev parent reply other threads:[~2011-07-05 7:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 6:39 Mahmood Naderan
2011-07-05 7:13 ` Phil Muldoon
2011-07-05 7:24 ` Mahmood Naderan
2011-07-05 7:51 ` Phil Muldoon [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=m339ilupvv.fsf@redhat.com \
--to=pmuldoon@redhat.com \
--cc=gdb@sourceware.org \
--cc=nt_mahmood@yahoo.com \
/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