Thursday, August 15, 2013

It can walk! It can walk!

% gdb7 --args ../../dist/bin/js --baseline-eager --no-ti --no-ion
-e 'var i=0'
GNU gdb 6.3.50-20050815 (Apple version gdb-768 TenFourFox patch 1)
(Sat Jul 27 01:39:28 GMT 2013)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin"...
warning: --arch option not supported in this gdb.
Reading symbols for shared libraries ......... done

(gdb) run
Starting program: /Volumes/BruceDeuce/src/mozilla-24a/obj-ff-dbg/
dist/bin/js --baseline-eager --no-ti --no-ion -e var\ i=0
warning: Could not find malloc init callback function.  
Make sure malloc is initialized before calling functions.
Reading symbols for shared libraries .............................
.......................................+++ done
cx = 01e097c0 cx->data = 01e18240
cx = 01e097c0 cx->data = 01e18240
callVM: descriptor 833 (frameSize 48 argSize 4)
callVM: descriptor 1025 (frameSize 48 argSize 16)
cx = 01e097c0

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f848a0 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f9bec8 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f9a208 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f9a234 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.
return address: 00f9bf90
offset: 000000e0
searching -- try 000000e0 000000e0
searching -- try 00000098 000000e0

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f9a28c in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f94948 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f94974 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.
FallbackICSpew cx = 01e097c0

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f949e8 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f9bfe4 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f84a58 in ?? ()
(gdb) set $pc+=4
Cannot access memory at address 0x103
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00f84a74 in ?? ()
(gdb) set $pc+=4
(gdb) cont
Continuing.
cx = 01e097c0 cx->data = 01e18240 data = 01e18240

Program exited normally.
And in case it wasn't obvious: BaselineCompiler for PowerPC ran its first script successfully tonight! Damn, all those months of work finally paid off!

More later.

2 comments:

  1. Good news, congratulations! I wish I could help with that, but it's completely beyond my capabilities.

    ReplyDelete

Due to an increased frequency of spam, comments are now subject to moderation.