RTEMS | libdebugger: Add support for PowerPC (!163)

Chris Johns (@chris) gitlab at rtems.org
Tue Aug 6 02:07:34 UTC 2024




Chris Johns commented on a discussion on cpukit/libdebugger/rtems-debugger-powerpc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/163#note_110526

 > +                frame->EXC_LR, frame->EXC_CR, frame->EXC_XER, frame->EXC_CTR);
 > +  gpr = &frame->GPR0;
 > +  for (r= 0; r < 32; r += 4, gpr += 4) {
 > +    target_printk("[} R%-2d = %08" PRIx32 " R%-2d = %08" PRIx32 \
 > +                  " R%-2d = %08" PRIx32 " R%-2d = %08" PRIx32 "\n",
 > +                  r, *gpr, r + 1, *(gpr + 1), r + 2,
 > +                  *(gpr + 2), r + 3, *(gpr + 3));
 > +  }
 > +}
 > +
 > +/*
 > + * NXP BOOK_EUM.PDF Programmeing Note, Chapter 9 Debug Facilities
 > + *
 > + * There are two classes of debug exception types:
 > + *
 > + *   Type 1: exception before instruction

If you mean the `Type 1:`. no it is indented for each of the types.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/163#note_110526
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240806/2a1699d8/attachment-0001.htm>


More information about the bugs mailing list