diff options
author | Maria Jan Matejka <mq@jmq.cz> | 2017-10-19 12:39:44 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-03-13 16:29:33 +0100 |
commit | 5a14df395053f4094a1e3ebea98e3487cbfc0e63 (patch) | |
tree | 08c1fb75e34628239034a3f2a59fc1bc3006c765 /proto/ospf/hello.c | |
parent | 2d6d4b80539be13aa53c6751fb33689b263e4010 (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 'proto/ospf/hello.c')
0 files changed, 0 insertions, 0 deletions