From: "Vianney Lecroart" <lecroart@nevrax.com>
To: <gdb@sources.redhat.com>
Subject: displaying source after and before the program counter
Date: Mon, 15 Dec 2003 10:50:00 -0000 [thread overview]
Message-ID: <000b01c3c2f9$35a1fe80$0901a8c0@vianneyl> (raw)
In-Reply-To: <1071484872.21849.ezmlm@sources.redhat.com>
Hello,
I have a C++ program that generates a core dump. I must activate
inlining because it's too slow. It crashes very rarely.
The program stack is:
#2 0x080597da in CBase<TRow>::operator()() const () at
/home/ace/src/gs/mpvi.h:451
#3 0x081e0c1f in CPhrase::update() (this=0x115245d8) at
/home/ace/src/gs/mpvi.h:527
The problem is that CPhrase::update() is a big function in a cpp file. I
would like to know the line where the call to mpvi.h:527 is made. I
can't see it because the function is inlining and it's an accessor, so,
it's called at least 50 times on this function.
The question is: Is it possible to know where in the function ::update()
the crash happened?
Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a- C+++$UL++ P- L+++>+$ E+>- W++ N+ o?
K- w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h-- r y?
next parent reply other threads:[~2003-12-15 10:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1071484872.21849.ezmlm@sources.redhat.com>
2003-12-15 10:50 ` Vianney Lecroart [this message]
2003-12-15 14:16 ` Eli Zaretskii
2003-12-15 15:47 ` Paul Koning
2003-12-15 15:53 ` Daniel Jacobowitz
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='000b01c3c2f9$35a1fe80$0901a8c0@vianneyl' \
--to=lecroart@nevrax.com \
--cc=gdb@sources.redhat.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