<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - LLDB-MI: no breakpoint-modified notification when a breakpoint is hit"
   href="https://llvm.org/bugs/show_bug.cgi?id=28860">28860</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLDB-MI: no breakpoint-modified notification when a breakpoint is hit
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aetf@unlimitedcodeworks.xyz
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When a breakpoint is hit, a breakpoint-modified notification should be output
to update the hit time field.

A test case:

$ cat main.cpp
#include <iostream>
using namespace std;

int main()
{
    for (int i = 0; i!= 10; i++)
        cout << i << endl;
    return 0;
}
$ g++ -g -o main main.cpp
$ lldb-mi main
(gdb)
-file-exec-and-symbols "main"
^done
(gdb)
-break-insert -f main.cpp:7
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040080b",func="main",file="main.cpp",fullname="/tmp/workspace/main.cpp",line="7",pending=["main.cpp:7"],times="0",original-location="main.cpp:7"}
(gdb)
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040080b",func="main",file="main.cpp",fullname="/tmp/workspace/main.cpp",line="7",pending=["main.cpp:7"],times="0",original-location="main.cpp:7"}
(gdb)
-exec-run
^running
=thread-group-started,id="i1",pid="1948"
(gdb)
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040080b",func="main",file="main.cpp",fullname="/tmp/workspace/main.cpp",line="7",pending=["main.cpp:7"],times="0",original-location="main.cpp:7"}

<---- This breakpoint-modified notification doesn't actually change anything

(gdb)
=thread-created,id="1",group-id="i1"
=thread-selected,id="1"
(gdb)
=library-loaded,id="/tmp/workspace/main",target-name="/tmp/workspace/main",host-name="/tmp/workspace/main",symbols-loaded="0",loaded_addr="-",size="0"
(gdb)
*running,thread-id="all"
(gdb)
*running,thread-id="all"
(gdb)
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={level="0",addr="0x000000000040080b",func="main",args=[],file="main.cpp",fullname="/tmp/workspace/main.cpp",line="7"},thread-id="1",stopped-threads="all"
(gdb)
-exec-continue
^running
(gdb)
(gdb)
*running,thread-id="all"
(gdb)
@"0\r\n"

<---- Should have breakpoint-modified notification here

(gdb)
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={level="0",addr="0x000000000040080b",func="main",args=[],file="main.cpp",fullname="/tmp/workspace/main.cpp",line="7"},thread-id="1",stopped-threads="all"
(gdb)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>