Commit Graph

26 Commits

Author SHA1 Message Date
dd1e9bbbd7 build: use more explicit headers 2021-01-20 14:19:33 +10:00
6b46852902 debug: add is_interactive_console query 2020-10-20 07:01:54 +10:00
fdaa5e1392 assert: split CHECK_LIMIT into INCLUSIVE and INDEX
LIMIT hid an off-by-one bug when tests used end iterators. We rename the
assertion to uncover all uses of the flawed implementation, and split it
into an identical assertion, and one intended to protect against
iterator ends.
2020-09-24 08:03:41 +10:00
ca192ef4d8 debug/assert: add warn_return 2020-09-10 15:08:10 +10:00
f1f1a64845 debug/crash;win32: avoid an unused symbol warning 2019-10-31 13:59:38 +11:00
ffb7fde46f debug/crash: temporarily disable backtrace reporting
We're using breakpad for a few projects. It has much better
functionality.
2019-10-21 16:33:51 +11:00
a020f1d429 crash;win32: stub out a crash handler for windows 2019-10-21 12:47:26 +11:00
4768805222 crash;posix: add a forgotten iostream header 2019-10-21 12:47:09 +11:00
f5b702595f debug/system: enable to crash handler 2019-10-10 17:32:46 +11:00
0fb910fb5f crash: add a minimal handler for coredumping signals 2019-10-10 17:32:32 +11:00
4608d24027 debug/memory: add asan and valgrind annotation functions 2019-08-14 11:27:49 +10:00
2d9a7109b1 debug/assert: give WARN_RETURN a sane name 2019-07-19 16:33:37 +10:00
af01ba0836 debug/system: make last-chance printing more reliable 2019-07-02 17:36:09 +10:00
928cdb4e8b backtrace: give consistent outputs for backtrace 2019-07-02 16:39:40 +10:00
f4438831a6 build: update the meson build configuration 2019-06-19 17:28:01 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
a4d963e00b debug: move panic related calls to a distinct unit
This will allow us to reduce the required headers and avoid some
circular dependencies in some client libraries.
2019-05-17 10:48:29 +10:00
3c07f96d34 coord/store: prefer raw arrays to std::array
We don't really gain anything by using std::array and it greatly
simplifies fucking about with GDB pretty printers.
2019-03-06 17:09:26 +11:00
9c62ab5e7b debug/gdb/printers: appease PEP8 warnings 2019-01-19 11:37:58 +11:00
d455e820d8 debug/gdb/printers: prefer yield over custom iterators 2019-01-19 11:24:08 +11:00
24e3d749e7 debug/gdb: add printers for endian::value 2019-01-18 19:46:18 +11:00
8d8e071b8b debug/gdb/printers: don't bother taking a secondary type 2019-01-18 19:46:18 +11:00
499fa4d190 gdb/printers: fix view offsets to start from 0 2018-12-19 17:11:46 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
b31f4dd094 debug/gdb/printers: add a pretty printer for 'view' 2018-08-03 16:49:47 +10:00
48e007c545 debug: add gdb pretty printers for coord types 2018-03-28 14:55:54 +11:00