sparc: Make remote debugging with gdb work
authorPalle Lyckegaard <palle@lyckegaard.dk>
Mon, 16 Nov 2015 10:58:39 +0000 (04:58 -0600)
committerPalle Lyckegaard <palle@lyckegaard.dk>
Mon, 16 Nov 2015 10:58:39 +0000 (04:58 -0600)
commita95e8ab8879a39b5d4a9c284ca4aaa15c81a46a0
treef448e38ef6f53cc0acacf6517e336a1629ae95ac
parente1385784f2cd059727d60ce88cf76ea0f9bec282
sparc: Make remote debugging with gdb work
Remove sparc V8 TBR register from list of registers since it is not part of
sparc V9. This brings the number of registers in sync with what gdb expects

Without this patch gdb complains about receoved packet too long.

with this patch gdb is able to work properly with gem5 for remote debugging.

Note: gdb is version 7.8
Note: gdb is configured with --target=sparc64-sun-solaris2.8

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/arch/sparc/remote_gdb.hh