aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-02-06 09:45:50 -0800
committerJohn Baldwin <jhb@FreeBSD.org>2019-02-06 09:45:50 -0800
commit424eb552c27a1574974d9052dff4ff252a7db22d (patch)
tree1ec7879ab93d0de60ebed3b5bfcd786e0a8af2a7 /gdb/python
parent4249a53cce8651061092d666e5df06492cb91cf1 (diff)
downloadbinutils-424eb552c27a1574974d9052dff4ff252a7db22d.zip
binutils-424eb552c27a1574974d9052dff4ff252a7db22d.tar.gz
binutils-424eb552c27a1574974d9052dff4ff252a7db22d.tar.bz2
Fix 'info proc cmdline' for native FreeBSD processes.
The kern.proc.args.<pid> sysctl returns the argv array as a packed array of arguments, each null terminated. To construct a complete command line, the arguments must be joined with spaces by converting the intermediate nul characters to spaces. Previously only the first argument was shown in cmdline output. Now, all arguments are shown. gdb/ChangeLog: * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions