gdb/s390: Fix build breakage due to std::min/std::max usage without header
authorPedro Alves <palves@redhat.com>
Sun, 18 Sep 2016 23:30:30 +0000 (00:30 +0100)
committerPedro Alves <palves@redhat.com>
Sun, 18 Sep 2016 23:30:30 +0000 (00:30 +0100)
commit93689493b376c4e5616c1679733619f96202c369
tree4a0303f3355ffbc0dcf7c6750715e2fb87be001d
parent768adc05c44c7e8b5c0f9ca5ad3ca96657715293
gdb/s390: Fix build breakage due to std::min/std::max usage without header

  [...]
  .../gdb/s390-linux-nat.c: In function 'void s390_prepare_to_resume(lwp_info*)':
  .../gdb/s390-linux-nat.c:703:20: error: 'min' is not a member of 'std'
      watch_lo_addr = std::min (watch_lo_addr, area->lo_addr);
  [...]

gdb/ChangeLog:
2016-09-18  Pedro Alves  <palves@redhat.com>

* s390-linux-nat.c: Include <algorithm>.
gdb/ChangeLog
gdb/s390-linux-nat.c