* Re: Is it supported in new version?
@ 2008-01-21 20:40 Igor Korot
2008-01-21 20:44 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Igor Korot @ 2008-01-21 20:40 UTC (permalink / raw)
To: gdb; +Cc: gdb
Hi, Daniel,
Thank you for the fast and prompt reply. You could actually send it
to the list only as I am a subscriber, so I won't get 2 copies of
the same E-mail.
Now in regards to the test sample. Will you accept a KDevelop-created
project as a simple C++ test program? That's the tool I'm most familiar
with on *nix environment.
If yes, I can create new project in it, compile it, make sure it runs,
archive it and send it to the list/you.
Also, do you want me to upgrade and try it with the next release of
gdb?
Thank you.
-----Original Message-----
>From: Daniel Jacobowitz <drow@false.org>
>Sent: Jan 21, 2008 3:10 PM
>To: Igor Korot <ikorot@earthlink.net>
>Cc: gdb@sourceware.org
>Subject: Re: Is it supported in new version?
>
>On Mon, Jan 21, 2008 at 02:53:13PM -0500, Igor Korot wrote:
>> Now my question is: Is new version of gdb works the same or is it works
>> like previous version of gdb?
>
>Please make a simple, self-contained test case. Something that we can
>compile and debug ourselves to see exactly what you mean.
>
>GDB does not currently support inlined functions, so it's probably not
>behaving like you'd expect - it thinks the body of the inlined
>function is part of that function's caller. But I hope that will
>change this year.
>
>--
>Daniel Jacobowitz
>CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it supported in new version?
2008-01-21 20:40 Is it supported in new version? Igor Korot
@ 2008-01-21 20:44 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-01-21 20:44 UTC (permalink / raw)
To: gdb
On Mon, Jan 21, 2008 at 03:39:49PM -0500, Igor Korot wrote:
> Hi, Daniel,
> Thank you for the fast and prompt reply. You could actually send it
> to the list only as I am a subscriber, so I won't get 2 copies of
> the same E-mail.
Convention for this list is to reply to all, and on top of that your
messages have Reply-To sent requesting a copy. I suggest you fix
that.
> Now in regards to the test sample. Will you accept a KDevelop-created
> project as a simple C++ test program? That's the tool I'm most familiar
> with on *nix environment.
> If yes, I can create new project in it, compile it, make sure it runs,
> archive it and send it to the list/you.
We just need the source files, not the entire IDE project. It should
be simple to compile without others having to mess about with an IDE.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it supported in new version?
2008-01-21 19:53 Igor Korot
@ 2008-01-21 20:11 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-01-21 20:11 UTC (permalink / raw)
To: Igor Korot; +Cc: gdb
On Mon, Jan 21, 2008 at 02:53:13PM -0500, Igor Korot wrote:
> Now my question is: Is new version of gdb works the same or is it works
> like previous version of gdb?
Please make a simple, self-contained test case. Something that we can
compile and debug ourselves to see exactly what you mean.
GDB does not currently support inlined functions, so it's probably not
behaving like you'd expect - it thinks the body of the inlined
function is part of that function's caller. But I hope that will
change this year.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Is it supported in new version?
@ 2008-01-21 19:53 Igor Korot
2008-01-21 20:11 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Igor Korot @ 2008-01-21 19:53 UTC (permalink / raw)
To: gdb
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) ;-)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-21 20:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-21 20:40 Is it supported in new version? Igor Korot
2008-01-21 20:44 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2008-01-21 19:53 Igor Korot
2008-01-21 20:11 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox