aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/sig4.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-11-22 13:43:03 +0100
committerTom de Vries <tdevries@suse.de>2024-11-22 13:43:03 +0100
commit00386b4c6826d92700710fc8144e3522fcec44d3 (patch)
treede88927aba1983cc95eb277535307ef1e4964271 /sim/testsuite/cris/c/sig4.c
parent2e61ad32abe8b8f89ba899fe9eff7856bee74cce (diff)
downloadgdb-master.zip
gdb-master.tar.gz
gdb-master.tar.bz2
[gdb/tdep] Simplify amd64_windows_store_arg_in_regHEADmaster
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