changeset 646c603c04e2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=646c603c04e2
description:
        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 <[email protected]>

diffstat:

 src/arch/sparc/remote_gdb.hh |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 966091379ded -r 646c603c04e2 src/arch/sparc/remote_gdb.hh
--- a/src/arch/sparc/remote_gdb.hh      Mon Nov 16 04:58:29 2015 -0600
+++ b/src/arch/sparc/remote_gdb.hh      Mon Nov 16 04:58:39 2015 -0600
@@ -53,8 +53,7 @@
         RegF0 = 32,
         RegPc = 64, RegNpc, RegState, RegFsr, RegFprs, RegY,
         /*RegState contains data in same format as tstate */
-        Reg32Y = 64, Reg32Psr = 65, Reg32Tbr = 66, Reg32Pc = 67,
-        Reg32Npc = 68, Reg32Fsr = 69, Reg32Csr = 70,
+        Reg32Y = 64, Reg32Psr, Reg32Pc, Reg32Npc, Reg32Fsr, Reg32Csr,
         NumGDBRegs
     };
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to