This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mi/2387: overload resolution question not followed by prompt when setting breakpoint


>Number:         2387
>Category:       mi
>Synopsis:       overload resolution question not followed by prompt when setting breakpoint
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          patch
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 13:48:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dodji Seketeli
>Release:        6.7.1
>Organization:
>Environment:
all
>Description:
Before 6.7.1, when one sets a breakpoints by doing
"-break-insert Classname::function_name" in a code where the class Classname has several methods named "function_name" (overloads), the breakpoint setting code asks the user to choose which function she wants to really break into. The question asked to the user looks like:

~"[0] cancel\n[1] all\n"
~"[2] classname::function_name(int) at fooprog.cc:65\n"
~"[3] classname::function_name() at fooprog.cc:59\n"
~"> "

The last line of the question is the gdb prompt that indicates the end of the question.

On GDB 6.7.1, that line is missing.

I sent an email to the mailing list explaining the problem and proposing a patch to fix the problem at http://sourceware.org/ml/gdb/2007-12/msg00107.html
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]