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

Joel Sherrill (@joel) gitlab at rtems.org
Tue Aug 6 14:03:05 UTC 2024




Joel Sherrill commented on a discussion on cpukit/libdebugger/rtems-debugger-powerpc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/163#note_110541

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

OK. Must have just looked funny in the review mode.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/163#note_110541
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/64ed34b3/attachment-0001.htm>


More information about the bugs mailing list