diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-02 12:31:04 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-15 16:02:10 -0600 |
commit | 0de2420c4b023e644f91a409803fedfb235bfc0b (patch) | |
tree | fb51210a0a4c6af67ecd0935efa199e64b73e31f /gdb/source-cache.c | |
parent | 042d75e42c5572f333e0e06dabd3c5c4afab486c (diff) | |
download | gdb-0de2420c4b023e644f91a409803fedfb235bfc0b.zip gdb-0de2420c4b023e644f91a409803fedfb235bfc0b.tar.gz gdb-0de2420c4b023e644f91a409803fedfb235bfc0b.tar.bz2 |
Use memcpy in minimal_symbol_reader::install
minimal_symbol_reader::install copies minsyms from the msym_bunch
objects into the allocated memory. It seemed better to me to do this
via memcpy, as that is frequently optimized in libc.
gdb/ChangeLog
2019-03-15 Tom Tromey <tom@tromey.com>
* minsyms.c (minimal_symbol_reader::install): Use memcpy.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions