Menu

#433 Support for GDB in SMP mode.

open
nobody
5
2012-10-15
2008-10-02
Doug Gibson
No

Attached is support for GDB in SMP mode. The processors appear as threads 1-N in GDB. I've been using this with an Eclipse integration for a while now and it's very clean. Bonus feature: some support for memory watchpoints in GDB, although I haven't given this a thorough checkout as yet.

Discussion

  • Nobody/Anonymous

    Could you maybe split it up in two patches (SMP support, memory watchpoint support)?

    • Sebastian
     
  • Doug Gibson

    Doug Gibson - 2008-10-06

    Can do. I might even add a comment or two :-)

     
  • Doug Gibson

    Doug Gibson - 2008-10-06

    File Added: mp_gdbstub_nowatchpoints.diff

     
  • Doug Gibson

    Doug Gibson - 2008-10-06
     
  • Doug Gibson

    Doug Gibson - 2008-10-06
     
  • Doug Gibson

    Doug Gibson - 2008-10-06

    I've attached two patches. mp_gdbstub_nowatchpoints.diff contains the base MP gdbstub. mp_gdbstub_addwatchpoints.diff can be applied on top of mp_gdbstub_nowatchpoints.diff to enable the watchpoint support. These two versions both compile for me.
    File Added: mp_gdbstub_addwatchpoints.diff

     

Log in to post a comment.