On 10.09.2017 16:31, Thor Lancelot Simon wrote: > On Fri, Sep 08, 2017 at 07:38:24AM -0400, Mouse wrote: >>> In a cross-platform process utility tool the question came up how to >>> decide if a process is 64-bit. >> >> First, I have to ask: what does it mean to say that a particular >> process is - or isn't - 64-bit? > > I think the only simple answer is "it is 64-bit in the relevant sense if > it uses the platform's 64-bit ABI for interaction with the kernel". > > This actually raises a question for me about MIPS: do we have another > process flag to indicate O32 vs. N32, or can we simply not run O32 > executables on 64-bit or N32 kernels (surely we don't use the O32 ABI > for all kernel interaction by 32-bit processes)? > > Thor > From a debugger pointer of view it's useful to know ABI and emulation name of a running application. This is also useful in core(5) files. On Linux there is a problem to guess ABI and there is guessing (mostly assuming the host one). However any changes in this field are premature from my side. I need to get elementary features to work properly.
Description: OpenPGP digital signature