From: Igor Korot <ikorot@earthlink.net>
To: gdb@sourceware.org
Subject: Is it supported in new version?
Date: Mon, 21 Jan 2008 19:53:00 -0000 [thread overview]
Message-ID: <17488423.1200945193993.JavaMail.root@elwamui-cypress.atl.sa.earthlink.net> (raw)
Hi, ALL,
My name is Igor and I'm new to this list.
I have been using Gentoo + KDevelop + wxGTK + gdb for over a year now.
Currently I have gdb-6.6 from Gentoo Portage installed.
Now to the question.
When I'm debugging my program, and there is a inline function or the flow
hits the function end (symbol "}"), I have to press F11 - step inside the
function, otherwise gdb will send me to the next statement of my program
and not to the place where I came.
For example:
1. Initial place - file foo.cpp, line 100, calls function from file foo1.cpp
line 100. The function takes 5 lines of code: 100 - 105.
2. In the file foo1.cpp line 101 there is a call to a function from the file
foo2.cpp. When I enter the function, I found out that it is inline.
Now if I hit F10, which is "execute next statement", I will go to the file
foo.cpp line 101, instead of going to the file foo1.cpp line 102.
If I look at the Microsoft Visual Studio debugger, that's how it behaves.
It goes to the file foo1.cpp, let me finish going through until the line 105
and then comes to the foo.cpp line 101.
Now my question is: Is new version of gdb works the same or is it works
like previous version of gdb?
Thank you for the prompt responce, and apologies for dumb question
(if it dumb) ;-)
next reply other threads:[~2008-01-21 19:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 19:53 Igor Korot [this message]
2008-01-21 20:11 ` Daniel Jacobowitz
2008-01-21 20:40 Igor Korot
2008-01-21 20:44 ` 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=17488423.1200945193993.JavaMail.root@elwamui-cypress.atl.sa.earthlink.net \
--to=ikorot@earthlink.net \
--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