public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
@ 2012-10-17 10:43 nikolay.koldunov at oracle dot com
  2012-10-17 14:28 ` [Bug breakpoints/14733] " nikolay.koldunov at oracle dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2012-10-17 10:43 UTC (permalink / raw)
  To: gdb-prs


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
  2012-10-17 10:43 [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint nikolay.koldunov at oracle dot com
@ 2012-10-17 14:28 ` nikolay.koldunov at oracle dot com
  2015-06-09 13:35 ` simon.marchi at ericsson dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2012-10-17 14:28 UTC (permalink / raw)
  To: gdb-prs


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

nikolay.koldunov at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nikolay.koldunov at oracle
                   |                            |dot com

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

* [Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
  2012-10-17 10:43 [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint nikolay.koldunov at oracle dot com
  2012-10-17 14:28 ` [Bug breakpoints/14733] " nikolay.koldunov at oracle dot com
@ 2015-06-09 13:35 ` simon.marchi at ericsson dot com
  2015-06-09 13:36 ` simon.marchi at ericsson dot com
  2015-06-10 15:43 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: simon.marchi at ericsson dot com @ 2015-06-09 13:35 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simon.marchi at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.marchi at ericsson dot com

--- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
I just stumbled on this bug, it's still present as of today.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
  2012-10-17 10:43 [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint nikolay.koldunov at oracle dot com
  2012-10-17 14:28 ` [Bug breakpoints/14733] " nikolay.koldunov at oracle dot com
  2015-06-09 13:35 ` simon.marchi at ericsson dot com
@ 2015-06-09 13:36 ` simon.marchi at ericsson dot com
  2015-06-10 15:43 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: simon.marchi at ericsson dot com @ 2015-06-09 13:36 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simon.marchi at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.khouzam at ericsson dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
  2012-10-17 10:43 [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint nikolay.koldunov at oracle dot com
                   ` (2 preceding siblings ...)
  2015-06-09 13:36 ` simon.marchi at ericsson dot com
@ 2015-06-10 15:43 ` marc.khouzam at ericsson dot com
  3 siblings, 0 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2015-06-10 15:43 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
Simon pointed out this bug and after looking at how the output is handled in
Eclipse, I wanted to clarify that currently, all the extra tuples specifying
locations are being ignored by Eclipse as it does not follow the expected
format.  That was a good think in a way because things probably would have
broke in a worse way had each location been parsed as a separate breakpoint.

I think that when fixing this, we should make sure the locations don't end up
looking like main breakpoints.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-10 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17 10:43 [Bug breakpoints/14733] New: GDB/MI output syntax inaccuracy while adding a multiple location breakpoint nikolay.koldunov at oracle dot com
2012-10-17 14:28 ` [Bug breakpoints/14733] " nikolay.koldunov at oracle dot com
2015-06-09 13:35 ` simon.marchi at ericsson dot com
2015-06-09 13:36 ` simon.marchi at ericsson dot com
2015-06-10 15:43 ` marc.khouzam at ericsson 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).