aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-03-29 16:15:13 +0200
committerLukas Larsson <[email protected]>2016-03-29 16:15:13 +0200
commit303ccb07dbc4a6d3729017dc9d175a2ec9636ae3 (patch)
tree90e377391d8a2b29fabba9c3420432151d8be3a8
parent2c2b8c082c9e60362fc46a46c06be5b1ff95a910 (diff)
parent65a8470afa7b2210fba348910f4cac066855791e (diff)
downloadotp-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.in2
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