mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
libctf: library version enforcement
This old Solaris standard allows callers to specify that they are expecting one particular API and/or CTF file format from the library. libctf/ * ctf-impl.h (_libctf_version): New declaration. * ctf-subr.c (_libctf_version): Define it. (ctf_version): New. include/ * ctf-api.h (ctf_version): New.
This commit is contained in:
@ -375,6 +375,7 @@ extern const char *ctf_lookup_symbol_name (ctf_file_t *fp, unsigned long symidx)
|
||||
extern const char _CTF_SECTION[]; /* name of CTF ELF section */
|
||||
extern const char _CTF_NULLSTR[]; /* empty string */
|
||||
|
||||
extern int _libctf_version; /* library client version */
|
||||
extern int _libctf_debug; /* debugging messages enabled */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user