This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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]

reset_vector single stepping..


Friends,

Am build a 'default' image for GRG(ixp425 based)and single stepping thru it in my sdram.
The intial instructions(msr, and, cmp), if single stepped result in will result in
R7 having value 0x10000013 and the beq succeeds in brancing to 20070.
But if I set a  breakpoint further below, and 'go' to that point, then am seeing that
R7 gets the value 0x600000D3 and beq fails finally resulting in an exception after
few steps.

Why is it that when 'single stepped' the execution proceeds in right path else
Gives exceptions?.

00020040 <reset_vector>:
   20040:       e10f7000        mrs     r7, CPSR
   20044:       e207701f        and     r7, r7, #31     ; 0x1f
   20048:       e3570013        cmp     r7, #19 ; 0x13
   2004c:       0a000007        beq     20070 <start>

Am running on a new ixp425 based board.

Regards,
Vijay
?
?
------------------------
Vijay Kumar .P
Wipro Technologies,
Tel: 30295119
------------------------



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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