public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/13039] New: eval does not find the proper parameter-overloaded C++ function
@ 2011-07-28 21:18 jan.kratochvil at redhat dot com
  2012-02-06 15:46 ` [Bug c++/13039] " tromey at redhat dot com
  2012-02-23 19:20 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-07-28 21:18 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13039

           Summary: eval does not find the proper parameter-overloaded C++
                    function
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: exp
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
            Target: x86_64-fedora16-linux-gnu


void a () {}
void a (int x) {}

FAIL:
(gdb) disassemble a(int)
Dump of assembler code for function a():

it works with:
(gdb) disassemble 'a(int)'
Dump of assembler code for function a(int):

GNU gdb (GDB) 7.3.50.20110728-cvs

-- 
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] 3+ messages in thread

* [Bug c++/13039] eval does not find the proper parameter-overloaded C++ function
  2011-07-28 21:18 [Bug exp/13039] New: eval does not find the proper parameter-overloaded C++ function jan.kratochvil at redhat dot com
@ 2012-02-06 15:46 ` tromey at redhat dot com
  2012-02-23 19:20 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-02-06 15:46 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13039

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
          Component|exp                         |c++

-- 
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] 3+ messages in thread

* [Bug c++/13039] eval does not find the proper parameter-overloaded C++ function
  2011-07-28 21:18 [Bug exp/13039] New: eval does not find the proper parameter-overloaded C++ function jan.kratochvil at redhat dot com
  2012-02-06 15:46 ` [Bug c++/13039] " tromey at redhat dot com
@ 2012-02-23 19:20 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-02-23 19:20 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13039

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-02-23 19:20:24 UTC ---
I think this is unfortunate, but not a bug, because
disassemble accepts expressions, not linespecs.
It is bizarre that the first form does not give an error.
I think that is the real bug here.

-- 
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] 3+ messages in thread

end of thread, other threads:[~2012-02-23 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-28 21:18 [Bug exp/13039] New: eval does not find the proper parameter-overloaded C++ function jan.kratochvil at redhat dot com
2012-02-06 15:46 ` [Bug c++/13039] " tromey at redhat dot com
2012-02-23 19:20 ` tromey 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).