This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Novice gdb question


On Fri, Jul 3, 2009 at 3:15 PM, Daniel Jacobowitz<drow@false.org> wrote:
> On Fri, Jul 03, 2009 at 01:04:16PM -0700, ikorot@earthlink.net wrote:
>> Is it possible to make gdb aware of the inline-ness and make it work as MSVC
>> debugger?
>
> Build GDB from CVS. ?Inline function support was added last week.

It will work, but not the same way MSVC does.

It's not clear from OP description whether he used debug (no actual
inlining happening!) or optimized (AFAICT no source level debugging
AFACT) build. In addition, at least in VC2008 there is no "next", only
"step over" (F10) and "step into" (F11). Finally, if there actually is
a version of MSVC which behaves as OP described, that behavior is
arguably more broken that GDB's was before inline fixes.


-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]