This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/854: gdb HC11/HC12 broken due to regcache
- From: Stephane dot Carrez at nerim dot fr
- To: gdb-gnats at sources dot redhat dot com
- Date: 28 Nov 2002 22:25:29 -0000
- Subject: gdb/854: gdb HC11/HC12 broken due to regcache
- Reply-to: Stephane dot Carrez at nerim dot fr
>Number: 854
>Category: gdb
>Synopsis: gdb HC11/HC12 broken due to regcache
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 28 14:28:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Stephane Carrez
>Release: 5_3-branch and main
>Organization:
>Environment:
>Description:
gdb for m6811-elf is broken due to the new regcache.
The regcache only saves the real hard register and does not
save the HC11/HC12 memory registers. The frame pointer is
also a memory register and it is not saved by the regcache.
This results in wrong behavior when using backtrace and
when gdb call a target function (because the generic_dummy
frame only saves the regcache, and the HC11/HC12 memory
registers {and in particular the frame} are not saved).
>How-To-Repeat:
Run gdb validation and in particular
testsuite/gdb.base/callfuncs.exp
>Fix:
Must save the HC11/HC12 memory registers
>Release-Note:
>Audit-Trail:
>Unformatted: