binutils-gdb/libctf
Nick Alcock f57cf0e3e3 libctf: fix spurious error when rolling back to the first snapshot
The first ctf_snapshot called after CTF file creation yields a snapshot
handle that always yields a spurious ECTF_OVERROLLBACK error ("Attempt
to roll back past a ctf_update") on ctf_rollback(), even if ctf_update
has never been called.

The fix is to start with a ctf_snapshot value higher than the zero value
that ctf_snapshot_lu ("last update CTF snapshot value") is initialized
to.

libctf/
	* ctf-create.c (ctf_create): Fix off-by-one error.
2019-07-01 11:05:59 +01:00
..
aclocal.m4
ChangeLog libctf: fix spurious error when rolling back to the first snapshot 2019-07-01 11:05:59 +01:00
config.h.in
configure Regenerate with approved autotools version 2019-06-14 10:30:35 +09:30
configure.ac
ctf-archive.c
ctf-create.c libctf: fix spurious error when rolling back to the first snapshot 2019-07-01 11:05:59 +01:00
ctf-decl.c
ctf-decls.h
ctf-dump.c libctf: disambiguate hex output in dumps 2019-07-01 11:05:59 +01:00
ctf-endian.h
ctf-error.c
ctf-hash.c libctf: add hash traversal helpers 2019-07-01 11:05:59 +01:00
ctf-impl.h libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
ctf-labels.c
ctf-lookup.c
ctf-open-bfd.c libctf: fix ctf_open endianness problems with raw CTF files 2019-06-21 13:04:02 +01:00
ctf-open.c libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
ctf-qsort_r.c
ctf-string.c libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
ctf-subr.c libctf: drop mmap()-based CTF data allocator 2019-06-21 13:04:02 +01:00
ctf-types.c
ctf-util.c libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
elf.h
Makefile.am libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
Makefile.in libctf: deduplicate and sort the string table 2019-07-01 11:05:59 +01:00
swap.h