Bug 200052 - [patch] allow ddb "show proc" to display all arguments
Summary: [patch] allow ddb "show proc" to display all arguments
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-05-08 15:30 UTC by luke.tw
Modified: 2018-10-29 12:46 UTC (History)
1 user (show)

See Also:


Attachments
ddb show proc patch (754 bytes, patch)
2015-05-08 15:30 UTC, luke.tw
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description luke.tw 2015-05-08 15:30:03 UTC
Created attachment 156511 [details]
ddb show proc patch

"show proc pid" command in ddb cannot show the full arguments.

* before the patch
   db> show proc 848
   ...
   arguments: ./a.out

* after the patch
   db> show proc 848
   ...
   arguments: ./a.out 1 2 3
Comment 1 commit-hook freebsd_committer 2016-08-01 22:41:55 UTC
A commit references this bug:

Author: cem
Date: Mon Aug  1 22:41:50 UTC 2016
New revision: 303648
URL: https://svnweb.freebsd.org/changeset/base/303648

Log:
  Fix ddb "show proc" to show full arguments

  PR:		200052
  Submitted by:	Chang-Hsien Tsai <luke.tw AT gmail.com>

Changes:
  head/sys/ddb/db_ps.c
Comment 2 Conrad Meyer freebsd_committer 2016-08-01 22:42:22 UTC
Thanks!
Comment 3 commit-hook freebsd_committer 2018-10-29 12:42:01 UTC
A commit references this bug:

Author: avg
Date: Mon Oct 29 12:41:50 UTC 2018
New revision: 339855
URL: https://svnweb.freebsd.org/changeset/base/339855

Log:
  MFC r303648: Fix ddb "show proc" to show full arguments

  PR:		200052

Changes:
_U  stable/11/
  stable/11/sys/ddb/db_ps.c
Comment 4 commit-hook freebsd_committer 2018-10-29 12:46:06 UTC
A commit references this bug:

Author: avg
Date: Mon Oct 29 12:45:09 UTC 2018
New revision: 339856
URL: https://svnweb.freebsd.org/changeset/base/339856

Log:
  MFC r303648: Fix ddb "show proc" to show full arguments

  PR:		200052

Changes:
_U  stable/10/
  stable/10/sys/ddb/db_ps.c