VirtualBox

Changeset 84630 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Jun 1, 2020 8:41:16 PM (5 years ago)
Author:
vboxsync
Message:

Debugger: Initial port of my GDB stub library from https://github.com/AlexanderEichner/libgdbstub to VirtualBox. bugref:5217 [Windows build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCGdbRemoteStub.cpp

    r84629 r84630  
    111111    size_t                      offPktBuf;
    112112    /** The size of the packet (minus the start, end characters and the checksum). */
    113     uint32_t                    cbPkt;
     113    size_t                      cbPkt;
    114114    /** Pointer to the packet buffer data. */
    115115    uint8_t                     *pbPktBuf;
     
    18731873
    18741874        uint8_t uSum = 0;
    1875         for (uint32_t i = 1; i < pThis->cbPkt; i++)
     1875        for (size_t i = 1; i < pThis->cbPkt; i++)
    18761876            uSum += pThis->pbPktBuf[i];
    18771877
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette