]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libsframe: refactor code for dumping section flags
authorIndu Bhagat <indu.bhagat@oracle.com>
Sun, 6 Jul 2025 19:46:24 +0000 (12:46 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Sun, 6 Jul 2025 19:53:03 +0000 (12:53 -0700)
commitef5573ced1794dd66aea10fc6678c0c6c149da6a
tree8d8e81e4c515edec453ef1d57e0e22171b9d40fe
parent251c6789b37caebcaa7b29b5662fccd141f82027
libsframe: refactor code for dumping section flags

To prepare code for accommodating new flag additions easily as the
format evolves.

libsframe/
        * sframe-dump.c (SFRAME_HEADER_FLAGS_STR_MAX_LEN): Remove.
        (dump_sframe_header_flags): .. to here. New definition.
        (PRINT_FLAG): New definition.
        (dump_sframe_header): Move some implementation from here ..
libsframe/sframe-dump.c