This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1364: H8/300 - CCR not updated in GDB 6.0
- From: nitiny at kpitcummins dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 1 Sep 2003 09:15:45 -0000
- Subject: gdb/1364: H8/300 - CCR not updated in GDB 6.0
- Reply-to: nitiny at kpitcummins dot com
>Number: 1364
>Category: gdb
>Synopsis: H8/300 - CCR not updated in GDB 6.0
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 01 09:18:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: nitiny@kpitcummins.com
>Release: GDB 6.0 - H8/300
>Organization:
>Environment:
GDB H8/300 Simulator
>Description:
gdb 6.0 for H8/300 is not able to show the contents of "CCR" register while debugging.
Please execute the following code to see the above problem
int main(void)
{
asm ("mov.b #0x56,r2l");
asm ("ldc r2l,ccr");
asm ("stc ccr,r0l");
}
Above program loads 0x56 into "r2l" register and then transfer to ccr. Again "ccr" is transferred to "r0l" register. After execution of above program "r0l" contains 0x56 but gdb/insight does not update the "CCR" contents.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: