In the pr_psargs[80] field in the elf_prpsinfo note struct only 80 characters is allocated for both the absolute path to the executable and the arguments passed to the executable. This presents the problem that if there is a particularly long executable path or an inordinate amount of arguments passed, the argument list can be truncated. In fact, the executable name could be truncated if the path to the execuatble is longer than 80 chars. The pr_psargs[80] must be expanded before this can be reliable. Phil tells me a bug has been filed against elfutils about this a while ago.
Closing as dup; the kernel doesn't include more than 80 characters of information. Frysk could also generate its own note section when creating core files via fcore. *** This bug has been marked as a duplicate of 5284 ***