x86: Refactor the ProcessInfo constructor.
authorGabe Black <gabeblack@google.com>
Thu, 25 Apr 2019 00:04:16 +0000 (17:04 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 25 Apr 2019 21:34:32 +0000 (21:34 +0000)
commit50311fef27479cb502f3a76d10028f4f2f42d8c8
treeebc029364265d2b08ecb37225ee2ae98f0a4e5f6
parentae3a00cd1fd8a0500a9d8be96c9b176a0326b133
x86: Refactor the ProcessInfo constructor.

That function had a lot of repetition which is easily factored out
into its own function.

Change-Id: I3b7a522de2ba808856bb59df75b80efde6780e3f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18369
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/arch/x86/stacktrace.cc