diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-06-25 17:54:55 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-07-23 15:38:54 -0400 |
commit | fd2dec2a45a73154d9824071ebb8664a39a69174 (patch) | |
tree | 2297cdb9fa147b25a87d354a0f7e1452f71a64d3 /gdb/python/py-cmd.c | |
parent | 90cc31c9e59a75122c2371fdf43f53d91e6ad5d6 (diff) | |
download | binutils-fd2dec2a45a73154d9824071ebb8664a39a69174.zip binutils-fd2dec2a45a73154d9824071ebb8664a39a69174.tar.gz binutils-fd2dec2a45a73154d9824071ebb8664a39a69174.tar.bz2 |
gdb: make inferior::m_args an std::string
With the current code, both a NULL pointer and an empty string can mean
"no arguments". We don't need this distinction. Changing to a string
has the advantage that there is now a single state for that (an empty
string), which makes the code a bit simpler in my opinion.
Change-Id: Icdc622820f7869478791dbaa84b4a1c7fec21ced
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions