This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/854: gdb HC11/HC12 broken due to regcache


>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:


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