summaryrefslogtreecommitdiff
path: root/lib/birdlib.h
diff options
context:
space:
mode:
authorMaria Jan Matejka <mq@jmq.cz>2017-10-19 12:39:44 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-03-13 16:29:33 +0100
commit5a14df395053f4094a1e3ebea98e3487cbfc0e63 (patch)
tree08c1fb75e34628239034a3f2a59fc1bc3006c765 /lib/birdlib.h
parent2d6d4b80539be13aa53c6751fb33689b263e4010 (diff)
Filter: Instruction codes named as enum
The two-letter instructions were quite messy but they could be easily read from memory dumps. Now GDB (since 2012) supports pretty printing enum values and GCC checks the switch construction for missing enum values so we are converting the nice two-byte values to enums. Anyway, the enum still keeps the old two-byte values to be able to read the instruction codes even without GDB from plain memory dump.
Diffstat (limited to 'lib/birdlib.h')
0 files changed, 0 insertions, 0 deletions