sim, arch, base: Refactor the base remote GDB class.
authorGabe Black <gabeblack@google.com>
Tue, 16 Jan 2018 09:25:39 +0000 (01:25 -0800)
committerGabe Black <gabeblack@google.com>
Sat, 20 Jan 2018 07:28:42 +0000 (07:28 +0000)
commitecec88750729b2c94d5ca9dedbf7a755c46c41a7
treecdadcf01c85f622d4c869fb85208c48a2fdb2469
parent372adea6879ac549df4a415b5913d28b6683d535
sim, arch, base: Refactor the base remote GDB class.

Fold the GDBListener class into the main BaseRemoteGDB class, move
around a bunch of functions, convert a lot of internal functions to
be private, move some functions into the .cc, make some functions
non-virtual which didn't really need to be overridden.

Change-Id: Id0832b730b0fdfb2eababa5067e72c66de1c147d
Reviewed-on: https://gem5-review.googlesource.com/7422
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
18 files changed:
src/arch/alpha/remote_gdb.cc
src/arch/alpha/remote_gdb.hh
src/arch/arm/remote_gdb.cc
src/arch/arm/remote_gdb.hh
src/arch/mips/remote_gdb.cc
src/arch/mips/remote_gdb.hh
src/arch/power/remote_gdb.cc
src/arch/power/remote_gdb.hh
src/arch/riscv/remote_gdb.cc
src/arch/riscv/remote_gdb.hh
src/arch/sparc/remote_gdb.cc
src/arch/sparc/remote_gdb.hh
src/arch/x86/remote_gdb.cc
src/arch/x86/remote_gdb.hh
src/base/remote_gdb.cc
src/base/remote_gdb.hh
src/sim/system.cc
src/sim/system.hh