This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 19824] New: gdb doesn't show $epc on tx39
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Thu, 24 Apr 2003 16:00:19 +0100 (BST)
- Subject: [Bug 19824] New: gdb doesn't show $epc on tx39
http://bugs.ecos.sourceware.org/show_bug.cgi?id=19824
Summary: gdb doesn't show $epc on tx39
Product: eCos
Version: unknown
Platform: jmr3904 (Toshiba JMR-TX3904 board)
OS/Version: MIPS
Status: UNCONFIRMED
Severity: normal
Priority: low
Component: Other
AssignedTo: jifl at ecoscentric dot com
ReportedBy: nobody at cygnus dot com
After catching an exception, using "print $epc" in GDB
always says 0. However, it should in fact be set to
the address at which the exception occured.
This could be either a cygmon or GDB issue, most
likely the former.
This should be a low pri PR though.
How-To-Repeat:
On TX39 hardware, use some code that generates an
exception such as reading from an unaligned address.
If you set a breakpoint in the exception handler, and
print $epc, it comes out as 0.
It is possible that it is the breakpoint itself that causes
$epc to be cleared - I'm not sure. Someone should
investigate anyway.
---------------------------------------------------------------------------
Originator:
Jonathan Larmour
Organization:
cygnus
Audit-Trail:
Responsible-Changed-From-To: alexs->ebachalo
Responsible-Changed-By: alexs
Responsible-Changed-When: Mon Apr 12 07:08:07 PDT 1999
Responsible-Changed-Why:
Possible GDB issue.
Unformatted:
Originator:
page: www.cygnus.com/product/ecc-pr.html
Send_PR_form: Sent_from_www.cygnus.com
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.