diff options
author | Nick Clifton <nickc@redhat.com> | 2016-08-30 13:51:43 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-08-30 13:51:43 +0100 |
commit | c616591359a014fcfdb5acb48e70ecda0823fb46 (patch) | |
tree | 3c06960c3eed4747c00dc38455b7faa36a63d60f /intl | |
parent | 00927233079d1d65826fd611019e9167706b9ec6 (diff) | |
download | gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.zip gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.tar.gz gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.tar.bz2 |
Partially revert previous delta - move limit testing code to first scan over symbol file.
PR gprof/20499
* corefile.c (num_of_syms_in): Return an unsigned int.
Fail if the count exceeds the maximum possible allocatable size.
(core_create_syms_from): Exit early if num_of_syms_in returns a
failure code.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions