title: GDB Python API: Create hardware breakpoint object
body: <p>The gdb python API defines the <code>gdb.BP_BREAKPOINT</code> flag to use when creating a <code>gdb.Breakpoint</code> object, but there doesn't seem to be a flag that allows a hardware breakpoint to be set? Am I missing something?</p>
  
  <p>I'd like to create a <code>gdb.Breakpoint</code> object so that I can override the <code>stop</code> method and react to breakpoints as they're triggered. As far as I can tell, there isn't a way to do this otherwise.</p>
  
  <p>Interestingly enough, if I set a breakpoint the 'normal' way (eg, <code>break *0x400123</code>), then <code>gdb.breakpoints()</code> returns an object. However, if I set a hardware breakpoint the same way (<code>hbreak *0x400123</code>), no objects are returned. This seems to indicate that the python API can't access/manipulate HW breakpoints directly?</p>
  
  <p>Using GDB 8.3.50.20190824-30.fc31 on Fedora 31.</p>