Skip to content

Commit

Permalink
gdbstub: move str_buf to GDBState and use GString
Browse files Browse the repository at this point in the history
Rather than having a static buffer replace str_buf with a GString
which we know can grow on demand. Convert the internal functions to
take a GString instead of a char * and length.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Tested-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20200316172155.971-9-alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Mar 17, 2020
1 parent a346af3 commit 308f9e8
Showing 1 changed file with 90 additions and 105 deletions.
Loading

0 comments on commit 308f9e8

Please sign in to comment.