mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
libctf, create: empty dicts are dirty to start with
Without this, an empty dict that is written out immediately never gets any content at all: even the header is left empty. libctf/ * ctf-create.c (ctf_create): Mark dirty.
This commit is contained in:
parent
f47ca31135
commit
dd987f0043
@ -1,3 +1,7 @@
|
||||
2020-07-22 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* ctf-create.c (ctf_create): Mark dirty.
|
||||
|
||||
2020-07-22 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* ctf-create.c (membcmp) Skip nameless members.
|
||||
|
@ -126,6 +126,7 @@ ctf_create (int *errp)
|
||||
fp->ctf_dtoldid = 0;
|
||||
fp->ctf_snapshots = 1;
|
||||
fp->ctf_snapshot_lu = 0;
|
||||
fp->ctf_flags |= LCTF_DIRTY;
|
||||
|
||||
ctf_set_ctl_hashes (fp);
|
||||
ctf_setmodel (fp, CTF_MODEL_NATIVE);
|
||||
|
Loading…
Reference in New Issue
Block a user