diff options
author | Sverker Eriksson <[email protected]> | 2014-05-28 15:18:06 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-05-28 15:18:06 +0200 |
commit | 918d786cc3a6381a623bc1d2c09249a170110835 (patch) | |
tree | fa65a7595aede8ce4ab85377afc88e0d3d50f254 /erts | |
parent | 6731d295915448e4c219f1db1b146264ced68018 (diff) | |
download | otp-918d786cc3a6381a623bc1d2c09249a170110835.tar.gz otp-918d786cc3a6381a623bc1d2c09249a170110835.tar.bz2 otp-918d786cc3a6381a623bc1d2c09249a170110835.zip |
erts: Fix bug in gdb function etp-cp-1
Diffstat (limited to 'erts')
-rw-r--r-- | erts/etc/unix/etp-commands.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index ae1b1734af..19c92681d0 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -1065,7 +1065,9 @@ define etp-cp-1 set $etp_cp_mid = $etp_cp_low + ($etp_cp_high-$etp_cp_low)/2 end if $etp_cp_p - set $etp_cp_low = (Eterm**)($etp_cp_p->start + 8) + # 12 = MI_FUNCTIONS + set $etp_cp_low = (Eterm**)($etp_cp_p->start + 12) + # 0 = MI_NUM_FUNCTIONS set $etp_cp_high = $etp_cp_low +$etp_cp_p->start[0] set $etp_cp_p = 0 while $etp_cp_low < $etp_cp_high |