aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2018-01-19 13:56:32 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2018-02-09 14:03:20 +0100
commit17ad2a4f466f22b7a75b5ebf8a68446bb328c40c (patch)
tree7b11b712b8dc20cd7ed532bd6a6abc58ae881241 /gdb/source.h
parentde6242d3075700ec4b73bdee583dc216f3a0b046 (diff)
downloadbinutils-17ad2a4f466f22b7a75b5ebf8a68446bb328c40c.zip
binutils-17ad2a4f466f22b7a75b5ebf8a68446bb328c40c.tar.gz
binutils-17ad2a4f466f22b7a75b5ebf8a68446bb328c40c.tar.bz2
btrace: improve enable error messages
Improve the error message when GDB fails to start recording branch trace. This patch also removes a zero buffer size check for PT to align with BTS. The buffer size can not be configured to be zero. gdb/ * nat/linux-btrace.c (perf_event_pt_event_type): Improve error message. Remove parameter and change return type. Update callers. Move it. (linux_enable_bts, linux_enable_pt): Improve error message. (linux_enable_pt): Remove zero buffer size check. (linux_enable_btrace): Improve error messages. Remove NULL return check.
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions