sim: Remove trailing dot when assigning a master's name
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 2 May 2018 23:14:42 +0000 (00:14 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 9 May 2018 17:48:23 +0000 (17:48 +0000)
commite89e83529ad17bc1ae7ae23d337fd4067db01708
treeed08b2d24a34088371851958a48e4aa8b3e28154
parentb7bf68e287da0bda044e9b5e8366169fad86c27a
sim: Remove trailing dot when assigning a master's name

This patch fixes the master's name allocation in the system. The error
was occurring when a submaster was not specified in getMasterId: a
trailing separation dot was still added to the master's name.

Change-Id: I0e67900f6fdd36a61900453b55219fc7007d1b05
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10301
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/system.cc