Shop OBEX P1 Docs P2 Docs Learn Events
Does/Will PropGCC support debugging ? — Parallax Forums

Does/Will PropGCC support debugging ?

BeanBean Posts: 8,129
edited 2012-06-23 08:31 in Propeller 1
Does PropGCC support debugging ?
If not, what are the chances of it being implemented in the future ?
Specifically I'm looking for break-points and variable watches.

Thanks,
Bean

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2012-06-22 04:48
    Bean wrote: »
    Does PropGCC support debugging ?
    If not, what are the chances of it being implemented in the future ?
    Specifically I'm looking for break-points and variable watches.

    Thanks,
    Bean
    We're in the process of porting GDB to Propeller GCC but it wasn't done in time for beta. It is coming but I'm not sure how soon.
  • BeanBean Posts: 8,129
    edited 2012-06-22 04:58
    David,
    Thanks for the answer, and thanks for all you work on this project.

    Bean
  • David BetzDavid Betz Posts: 14,516
    edited 2012-06-22 06:04
    Bean wrote: »
    David,
    Thanks for the answer, and thanks for all you work on this project.

    Bean
    You're welcome! Mostly it hasn't been work. It's been a lot of fun!
  • pedwardpedward Posts: 1,642
    edited 2012-06-22 14:32
    To get GDB working, I am assuming that you needed to get an emulator working, because you can't debug code any other way?
  • jazzedjazzed Posts: 11,803
    edited 2012-06-22 15:02
    The P1 debugger is partially working DEFINES += GDBENABLE
    There are some outstanding stack issues with the gdb client.

    My goal is for the P1 debugger will be finished in the P2 development phase.
  • Heater.Heater. Posts: 21,230
    edited 2012-06-23 03:01
    Pedward,
    A simulator is not required. When compiling to LMM one can set break points and implement hooks for gdb in the LMM kernel.
    Might be a bit tricky doing the same for code compiled to run in cog I guess.
  • jazzedjazzed Posts: 11,803
    edited 2012-06-23 08:31
    Heater. wrote: »
    Pedward,
    A simulator is not required. When compiling to LMM one can set break points and implement hooks for gdb in the LMM kernel.
    Might be a bit tricky doing the same for code compiled to run in cog I guess.

    That already works on both the simulator and the propeller. The stack issues keep us from granting it working feature status.
Sign In or Register to comment.