Skip to content
Snippets Groups Projects
Commit 753db151 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "increase no of chars returned by gdb"

parents 5b1f0b7e 098dc4b8
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ class GdbMI(object): ...@@ -294,7 +294,7 @@ class GdbMI(object):
def get_value_of_string(self, symbol): def get_value_of_string(self, symbol):
"""Returns the value of a symbol (as a string)""" """Returns the value of a symbol (as a string)"""
self._run("set print elements 256") self._run("set print elements 256")
cmd = 'print /s {0}'.format(symbol) cmd = 'print /s {0}'.format(symbol)
result = self._run(cmd) result = self._run(cmd)
if len(result.lines) == 0: if len(result.lines) == 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment