This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/11656] New: cannot assign MI variables when using simulator target


when trying to execute sparc code using a crosscompiled gdb (launched with MI
interpreter) and tsim (a sparc simulator) on a x86, both tools downloaded from
gaisler.com (specific for the leon processor which I target), I cannot assign
values to variable objects created just before to hold register values (except
for $g0's variable) and this is the response: ^error,msg="mi_cmd_var_assign:
Could not assign expression to varible object".
I had also a similar trouble several months ago with a crosscompiled
gdb(launched with MI) for ppc-linux (I can't remember the version, something
like 6.6-6.8) and the default ppc simulator of gdb. That time the same issue
occurred as soon as I tried to read the sp (or r1) via a variable, I had the
same error and any further variable access (read or write) leaded also to an error

-- 
           Summary: cannot assign MI variables when using simulator target
           Product: gdb
           Version: 6.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: sim
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: barre at irit dot fr
                CC: gdb-prs at sourceware dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sparc-elf


http://sourceware.org/bugzilla/show_bug.cgi?id=11656

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]