]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/.gdbinit
xnu-201.tar.gz
[apple/xnu.git] / osfmk / .gdbinit
index 144e2b8943ea67645a32ce7dbf4d66d4a304a187..127a23ae24a7c84b16d72dddbef2144876546817 100644 (file)
@@ -202,7 +202,7 @@ define showactint
                while ($mysp != 0) && (($mysp & 0xf) == 0) && ($mysp < 0xb0000000) && ($mysp > $prevsp)
                                printf "\n\t\t0x%08x  ", $mysp
                                set $kgm_return = *($mysp + 8)
-                               if ($kgm_return > end)
+                               if (($kgm_return > end) && ($kgm_return < 0x40000000))
                                    showkmodaddr $kgm_return
                                else
                                    output /a * ($mysp + 8)