c++ - Setting an environment variable to a space in GDB -


i need set environment variable single space in gdb, when tried

set env var ' ' 

gdb sets var 3-character string, namely quote, space , quote. there way in gdb? or gdb parsing arguments , setting varialbes strings passed (without escaping etc.)?

thanks!

it not appear possible directly. in build documentation (help set env) states:

values of environment variables uninterpreted strings. 

and gdb's source code (specifically environ.c , infcmd.c) concur , not show explicit manipulation of value other removing training whitespace.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -