util: Fix incorrect use of m5_loadsymbol
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 26 Apr 2017 16:44:23 +0000 (16:44 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 9 May 2017 09:24:06 +0000 (09:24 +0000)
commitd43d59595da7e8bf7be522d06ab9dd0943c3c03a
treeed7dee7e977ca9c067f7b578f7c71f33bcfd9d1f
parentb525d9509e68cd510b5d00b33ad98ae59338f291
util: Fix incorrect use of m5_loadsymbol

It seems like the m5 utility incorrectly called m5_loadsymbol instead
of m5_addsymbol. Judging by the signature of the loadsymbol command,
the expected behavior is to add a new symbol to gem5's symbol
table. This is behavior is implemented by m5_addsymbol.

Change-Id: I83b61c48d6f8d7b1e8b57d884dfca00481c83c3a
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2961
Reviewed-by: Gabe Black <gabeblack@google.com>
util/m5/m5.c