diff options
author | Lukas Larsson <[email protected]> | 2016-03-29 16:15:13 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-03-29 16:15:13 +0200 |
commit | 303ccb07dbc4a6d3729017dc9d175a2ec9636ae3 (patch) | |
tree | 90e377391d8a2b29fabba9c3420432151d8be3a8 | |
parent | 2c2b8c082c9e60362fc46a46c06be5b1ff95a910 (diff) | |
parent | 65a8470afa7b2210fba348910f4cac066855791e (diff) | |
download | otp-303ccb07dbc4a6d3729017dc9d175a2ec9636ae3.tar.gz otp-303ccb07dbc4a6d3729017dc9d175a2ec9636ae3.tar.bz2 otp-303ccb07dbc4a6d3729017dc9d175a2ec9636ae3.zip |
Merge branch 'lukas/erts/etp-bigendian-pid-fix'
* lukas/erts/etp-bigendian-pid-fix:
erts: Fix etp pid print on big endian
-rw-r--r-- | erts/etc/unix/etp-commands.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index 7b554e71f2..cfacc8b79b 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -776,7 +776,7 @@ define etp-pid-1 if ($etp_pid_1 & 0xF) == 0x3 if (etp_arch_bits == 64) if (etp_big_endian) - set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 36) & 0x0fffffff) + set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 35) & 0x0fffffff) else set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 4) & 0x0fffffff) end |