diff options
author | Tom Tromey <tromey@adacore.com> | 2019-02-26 14:46:40 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-03-05 08:48:40 -0700 |
commit | 083eef1f897e2fd13e4afa7b1a52090c83476f5c (patch) | |
tree | 688cad36eb2197c91033a417d85b86e45df25a91 /gdb/nat/linux-procfs.c | |
parent | 3cabd438f3d18e1cb7afd4d2a82449883943e62f (diff) | |
download | gdb-083eef1f897e2fd13e4afa7b1a52090c83476f5c.zip gdb-083eef1f897e2fd13e4afa7b1a52090c83476f5c.tar.gz gdb-083eef1f897e2fd13e4afa7b1a52090c83476f5c.tar.bz2 |
Add ATTRIBUTE_UNUSED_RESULT to scoped_mmap
This applies ATTRIBUTE_UNUSED_RESULT to scoped_mmap::release and fixes
a couple of spots to comply.
gdb/ChangeLog
2019-03-05 Tom Tromey <tromey@adacore.com>
* nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update.
* common/scoped_mmap.h (class scoped_mmap) <release>: Add
ATTRIBUTE_UNUSED_RESULT.
Diffstat (limited to 'gdb/nat/linux-procfs.c')
0 files changed, 0 insertions, 0 deletions