diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-22 13:43:03 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-22 13:43:03 +0100 |
commit | 00386b4c6826d92700710fc8144e3522fcec44d3 (patch) | |
tree | de88927aba1983cc95eb277535307ef1e4964271 /sim/testsuite/cris/c/sig4.c | |
parent | 2e61ad32abe8b8f89ba899fe9eff7856bee74cce (diff) | |
download | gdb-master.zip gdb-master.tar.gz gdb-master.tar.bz2 |
Simplify amd64_windows_store_arg_in_reg by:
- replacing memset with value initialization,
- making valbuf a gdb::array_view, allowing us to:
- replace memcpy with std::copy, and
- use valbuf.size () instead of arg->type->size (), and
- dropping the std::min in std::min (type->length (), (ULONGEST) 8), since
we're already asserting that type->length () <= 8.
Suggested-By: Tom Tromey <tom@tromey.com>
Tested by rebuilding on x86_64-linux.
Diffstat (limited to 'sim/testsuite/cris/c/sig4.c')
0 files changed, 0 insertions, 0 deletions