* backtrace.h (backtrace_syminfo_callback): Add symsize argument.
commit32ccb4380da70ad3f450f08a7cdde0852b8cd7a0
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 14:46:03 +0000 (19 14:46 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 14:46:03 +0000 (19 14:46 +0000)
treea719603a47f4d7b58bb0a1113198349a988a2ba4
parent3ebca59c707fedef4f73a76bf01691cfa7c99ccf
* backtrace.h (backtrace_syminfo_callback): Add symsize argument.
* elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
last argument.
* btest.c (struct symdata): Add size field.
(callback_three): Add symsize argument.  Copy it to the data->size
field.
(f23): Set symdata.size to 0.
(test5): Likewise.  If sizeof (int) > 1, lookup address of
((uintptr_t) &global) + 1.  Verify symdata.val and symdata.size
values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205028 138bc75d-0d04-0410-961f-82ee72b054a4
libbacktrace/ChangeLog
libbacktrace/backtrace.h
libbacktrace/btest.c
libbacktrace/elf.c