Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: gdb@sourceware.org
Subject: Re: GDB steping into STL Headers.
Date: Thu, 11 Feb 2010 19:03:00 -0000	[thread overview]
Message-ID: <1CF86F7D-0B47-47D7-A6E2-24853D50653D@apple.com> (raw)
In-Reply-To: <m3ocjvsll2.fsf@fleche.redhat.com>

It sounds like the STL code got inlined?  Then next would also step in, since gdb doesn't see inlined functions as new frames.

Jim

On Feb 11, 2010, at 9:56 AM, Tom Tromey wrote:

>>>>>> ">" == mweglicki8208  <mweglicki@gmail.com> writes:
> 
> [ "next" ]
>>> Of course I tried next. But in this respect it behaves the same as "step".
>>> Maybe there is something wrong with my gdb configuration....
> 
> That is surprising, since "next" should step over calls.
> 
> Anyway, no, there is no way in gdb to disable stepping into certain
> calls.  This feature is requested fairly frequently, but so far nobody
> has worked on implementing it.
> 
> This is also http://sourceware.org/bugzilla/show_bug.cgi?id=8287
> 
> FWIW I think this would be a good feature to have.
> 
> Tom


  reply	other threads:[~2010-02-11 19:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 17:38 mweglicki8208
2010-02-11  2:26 ` Hui Zhu
2010-02-11  6:22 ` mweglicki8208
2010-02-11  9:28   ` Obtaining number of children of a dynamic varobj Elmenthaler, Jens
2010-02-11 17:23     ` Vladimir Prus
2010-02-11 17:56   ` GDB steping into STL Headers Tom Tromey
2010-02-11 19:03     ` Jim Ingham [this message]
2010-02-11 19:09       ` Daniel Jacobowitz
2010-02-11 19:12         ` Jim Ingham
2010-02-12  9:32           ` mweglicki8208
2010-02-12 10:43             ` Christophe-Marie Duquesne

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=1CF86F7D-0B47-47D7-A6E2-24853D50653D@apple.com \
    --to=jingham@apple.com \
    --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