]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: split out compatibility code
authorNick Alcock <nick.alcock@oracle.com>
Thu, 24 Apr 2025 12:44:36 +0000 (13:44 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 25 Apr 2025 17:07:41 +0000 (18:07 +0100)
commit3ae061cfb04eaca92b3f41457f56cad824609bd3
tree469a6e9c578922ce93c71b4c6217b3e2f2f9766f
parente0490fbc7319ae28d30a833d2381da2475ad65db
libctf: split out compatibility code

The compatibility-opening code is quite voluminous, and is stuck right in
the middle of ctf-open.c, rather interfering with maintenance.  Split it
out into a new ctf-open-compat.c.  (Since it is not yet upgraded to support
v4, the new file is not added to the build system yet: indeed, even the
calls to it haven't been diked out at this stage.)
libctf/ctf-open-compat.c [new file with mode: 0644]
libctf/ctf-open.c