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]

[Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy whileadding a multiple location breakpoint


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

             Bug #: 14733
           Summary: GDB/MI output syntax inaccuracy while adding a
                    multiple location breakpoint
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: nikolay.koldunov@oracle.com
    Classification: Unclassified


Steps to reproduce:
 - create and compile a C++ sample which contains a declaration (in .h file)
and a definition (in .cpp file) of a class
 - execute GDB with "--interpreter mi" parameter
 - start debugging session
 - set a function breakpoint for the constructor

Actual result:
GDB output looks like this:
  result: variable = value
  value: tuple (, tuple)*
(for example,
'15^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="Customer::Customer"},{number="2.1",enabled="y",addr="0x0000000000403efe",func="Customer::Customer(Customer
const&)",file="customer.h",fullname="/home/henk/tmp/Quote_2/customer.h",line="38"},{number="2.2",enabled="y",addr="0x0000000000404707",func="Customer::Customer(std::string,
int)",file="customer.cc",fullname="/home/henk/tmp/Quote_2/customer.cc",line="35"}')

Expected result:
As you can see in GDB documentation, GDB output should look like this:
  result: variable = value
  value: const | tuple | list

-- 
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.


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