public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15399] New: Incorrect "cannot resolve function" error: gdb no longer promoting ints to pointers
@ 2013-04-25 14:20 saurabh at hotmail dot com
2013-04-25 18:36 ` [Bug c++/15399] " keiths at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: saurabh at hotmail dot com @ 2013-04-25 14:20 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15399
Bug #: 15399
Summary: Incorrect "cannot resolve function" error: gdb no
longer promoting ints to pointers
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: saurabh@hotmail.com
Classification: Unclassified
Created attachment 7000
--> http://sourceware.org/bugzilla/attachment.cgi?id=7000
C++ program to reproduce, see bug description
See steps below to reproduce. Promoting ints to arbitrary pointers was allowed
by gdb 7.2.
> g++ -g int_ptr.cc
> gdb a.out
GNU gdb (GDB) 7.5
[... snip ...]
(gdb) b 13
Breakpoint 1 at 0x4005bc: file int_ptr.cc, line 13.
(gdb) run
[... snip ...]
Breakpoint 1, main () at int_ptr.cc:13
13 return 0;
(gdb) print k
$1 = (int *) 0x7fffffffbf24
(gdb) call fn(0x7fffffffbf24)
Cannot resolve function fn to any overloaded instance
(gdb) quit
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/15399] Incorrect "cannot resolve function" error: gdb no longer promoting ints to pointers
2013-04-25 14:20 [Bug c++/15399] New: Incorrect "cannot resolve function" error: gdb no longer promoting ints to pointers saurabh at hotmail dot com
@ 2013-04-25 18:36 ` keiths at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: keiths at redhat dot com @ 2013-04-25 18:36 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15399
Keith Seitz <keiths at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |keiths at redhat dot com
Resolution| |DUPLICATE
AssignedTo|unassigned at sourceware |keiths at redhat dot com
|dot org |
--- Comment #1 from Keith Seitz <keiths at redhat dot com> 2013-04-25 18:36:35 UTC ---
The patch for this bug (from c++/13356) was committed after the 7.5 branch was
cut. This will be included with 7.6.
*** This bug has been marked as a duplicate of bug 13356 ***
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-25 18:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-25 14:20 [Bug c++/15399] New: Incorrect "cannot resolve function" error: gdb no longer promoting ints to pointers saurabh at hotmail dot com
2013-04-25 18:36 ` [Bug c++/15399] " keiths at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).