diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-24 19:26:04 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-24 19:26:41 -0400 |
commit | ec098003e27d67bca9e9880320e26ab8ad30fe31 (patch) | |
tree | c3e8bb931117daafa5dab0a39f863ae065841f8e /gdb | |
parent | 3886790f133ce1ee2f30ebf37bb7dec1f812f29a (diff) | |
download | binutils-ec098003e27d67bca9e9880320e26ab8ad30fe31.zip binutils-ec098003e27d67bca9e9880320e26ab8ad30fe31.tar.gz binutils-ec098003e27d67bca9e9880320e26ab8ad30fe31.tar.bz2 |
gdbsupport: introduce struct observer
Instead of using a pair. This allows keeping more data per observer in
a structured way, and using field names is clearer than first/second.
gdbsupport/ChangeLog:
* observable.h (class observable) <struct observer>: New.
<detach, notify>: Update.
<m_observers>: Change type to vector of observers.
Change-Id: Iadf7d1fa25049cfb089e6b1b429ddebc548825ab
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions