1. 05 Aug, 2010 3 commits
    • Jason Wessel's avatar
      kgdb,kdb: individual register set and and get API · 534af108
      Jason Wessel authored
      The kdb shell specification includes the ability to get and set
      architecture specific registers by name.
      
      For the time being individual register get and set will be implemented
      on a per architecture basis.  If an architecture defines
      DBG_MAX_REG_NUM > 0 then kdb and the gdbstub will use the capability
      for individually getting and setting architecture specific registers.
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
      534af108
    • Jason Wessel's avatar
      gdbstub: Optimize kgdb's "thread:" response for the gdb serial protocol · 84a0bd5b
      Jason Wessel authored
      The gdb debugger understands how to parse short versions of the thread
      reference string as long as the bytes are paired in sets of two
      characters.  The kgdb implementation was always sending 8 leading
      zeros which could be omitted, and further optimized in the case of
      non-negative thread numbers.  The negative numbers are used to
      reference a specific cpu in the case of kgdb.
      
      An example of the previous i386 stop packet looks like:
          T05thread:00000000000003bb;
      
      New stop packet response:
          T05thread:03bb;
      
      The previous ThreadInfo response looks like:
          m00000000fffffffe,0000000000000001,0000000000000002,0000000000000003,0000000000000004,0000000000000005,0000000000000006,0000000000000007,000000000000000c,0000000000000088,000000000000008a,000000000000008b,000000000000008c,000000000000008d,000000000000008e,00000000000000d4,00000000000000d5,00000000000000dd
      
      New ThreadInfo response:
          mfffffffe,01,02,03,04,05,06,07,0c,88,8a,8b,8c,8d,8e,d4,d5,dd
      
      A few bytes saved means better response time when using kgdb over a
      serial line.
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
      84a0bd5b
    • Andy Shevchenko's avatar
  2. 01 Aug, 2010 2 commits
  3. 31 Jul, 2010 5 commits
  4. 30 Jul, 2010 8 commits
  5. 29 Jul, 2010 20 commits
  6. 28 Jul, 2010 2 commits