GDB: Switch to using C++ standard integer type limits
authorMaciej W. Rozycki <macro@embecosm.com>
Fri, 10 Feb 2023 23:49:19 +0000 (23:49 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Fri, 10 Feb 2023 23:49:19 +0000 (23:49 +0000)
commit4a9efa5d63b2253a595ff9d6944415bf8cbfe408
tree1641613dc4ca1ca92ebbee9fc1b2ec89532e9cc7
parent5036bde964bc1a18282dde536a95aecd0d2c08fb
GDB: Switch to using C++ standard integer type limits

Use <climits> instead of <limits.h> and ditch local fallback definitions
for minimum and maximum value macros provided by C++11.  Add LONGEST_MAX
and LONGEST_MIN definitions.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/defs.h
gdb/gnu-nat.c
gdbsupport/common-types.h