aboutsummaryrefslogtreecommitdiff
path: root/readline/nls.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2015-10-20 12:58:46 -0400
committerAleksandar Ristovski <aristovski@qnx.com>2015-10-20 13:02:09 -0400
commit609c3040c2df944239d4d96644d736df605a6831 (patch)
tree93350cc983650f1d2421198c27b9511607c86d27 /readline/nls.c
parentedeefb679201858453502e21446d7a65fedeaf0e (diff)
downloadgdb-609c3040c2df944239d4d96644d736df605a6831.zip
gdb-609c3040c2df944239d4d96644d736df605a6831.tar.gz
gdb-609c3040c2df944239d4d96644d736df605a6831.tar.bz2
[nto] Fixes for nto procfs.
Fix errnoeus construction of procfs path. The issue is, after the first info pidlist or first run, the path for local node (the most common node) will be reset to empty which makes subsequent queries and runs impossible. gdb/ChangeLog: * nto-procfs.c (nto_procfs_path): Rename to... (nodestr): ... this, and change type. (nto_node): Use new variable and logic accordingly. (procfs_open_1): Use new variable name. Use local buffer to construct procfrs path. (procfs_pidlist): Use NODESTR to construct procfs path. (procfs_files_info): Use NODESTR to output meaningful text. (do_attach): Construct procfs using NODESTR. (procfs_create_inferior): Compare pointer to NULL.
Diffstat (limited to 'readline/nls.c')
0 files changed, 0 insertions, 0 deletions