Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Saurabh T <saurabh@hotmail.com>
Cc: "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: Problem calling functions within gdb (version 7.5)
Date: Thu, 25 Apr 2013 13:25:00 -0000	[thread overview]
Message-ID: <87r4hykai1.fsf@fleche.redhat.com> (raw)
In-Reply-To: <DUB123-W3379C1D5569CB0664A9923B1B50@phx.gbl> (Saurabh T.'s	message of "Wed, 24 Apr 2013 21:30:31 +0000")

>>>>> "Saurabh" == Saurabh T <saurabh@hotmail.com> writes:

Saurabh> 1. call fn(3, x)
Saurabh> gdb says: Cannot resolve function fn to any overloaded instance
Saurabh> This used to work with gdb 7.2. The function signature completely
Saurabh> matches the arguments so I dont know what it's complaining about.

Please file a bug report.

Saurabh> 2. print k
Saurabh> Let's say this prints 0x7ffb24
Saurabh> call fn2(0x7ffb24)
Saurabh> gdb again says: Cannot resolve function fn2 to any overloaded instance
Saurabh> This also used to work with gdb 7.2. Here I can understand if
Saurabh> promoting ints to arbitrary pointers is no longer supported.

I was under the impression that we allowed this again, but it fails for
me too.  Please file another bug for this one.

Saurabh> Any thoughts as to whether these are bugs, or how I can get the
Saurabh> behaviour I want at least wrt case 1?

Not offhand.

Tom


  parent reply	other threads:[~2013-04-25 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 21:30 Saurabh T
2013-04-25 13:10 ` Phil Muldoon
2013-04-25 13:26   ` Tom Tromey
2013-04-25 13:25 ` Tom Tromey [this message]
2013-04-25 14:24   ` Saurabh T
     [not found]     ` <5179472B.5020107@redhat.com>
2013-04-25 15:45       ` Saurabh T
     [not found]         ` <517955D3.4010101@redhat.com>
2013-04-25 16:35           ` Saurabh T

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=87r4hykai1.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=saurabh@hotmail.com \
    /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