Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Anton MOUKHARSKI <anton.moukharski@cea.fr>
Cc: gdb@sourceware.org
Subject: Re: Breakpoint not hit because of function pointers or something similar
Date: Tue, 11 May 2010 18:59:00 -0000	[thread overview]
Message-ID: <m3wrva6z95.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4BE9232A.40904@cea.fr> (Anton MOUKHARSKI's message of "Tue, 11	May 2010 11:28:10 +0200")

>>>>> "Anton" == Anton MOUKHARSKI <anton.moukharski@cea.fr> writes:

Anton> Platform is Mandriva Linux release 2008.0 (Official) for i586 Kernel
Anton> 2.6.22.19-desktop-2mdv. Gdb version is GNU gdb 6.6-3.1mdv2008.0 (Mandriva
Anton> Linux release 2008.0).

6.6 is rather old.  I would suggest upgrading first.

Anton> Again, the problem seems to be that the function in which I put
Anton> my breakpoint is called via a function-pointer (ip2 in the code
Anton> below); the function which is called below the call of
Anton> "process.execute()" is determined at execution time.

We will need a small, self-contained example showing the problem.

To my knowledge, gdb does not get confused if functions are called via
pointers.  That works just fine when I am debugging gdb itself, for
instance.

Tom


      parent reply	other threads:[~2010-05-11 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 13:23 Anton MOUKHARSKI
2010-05-10 19:27 ` Tom Tromey
     [not found]   ` <4BE9232A.40904@cea.fr>
2010-05-11 18:59     ` Tom Tromey [this message]

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=m3wrva6z95.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=anton.moukharski@cea.fr \
    --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