1
0
mirror of https://github.com/golang/go synced 2024-11-24 07:00:13 -07:00
Commit Graph

37962 Commits

Author SHA1 Message Date
Rob Pike
d4c2da409b safety checks, waiting for gri's real tracking of PC and SP
extant code is too fragile

SVN=124223
2008-06-23 20:12:39 -07:00
Rob Pike
7b409b30f2 update some tests
SVN=124196
2008-06-23 17:13:33 -07:00
Rob Pike
7b210c5b2f add signal handling to mac runtime
SVN=124184
2008-06-23 16:34:17 -07:00
Ken Thompson
dee07c884e maps
SVN=124030
2008-06-22 21:02:06 -07:00
Rob Pike
12c2864e4f more nearly correct interface code for signals on linux
SVN=124021
2008-06-21 17:28:37 -07:00
Rob Pike
aeb43984ec add signal handling and traceback support therein.
factor the runtime into architecture-dependent and -independent pieces.
ditto for the OS dependence.

SVN=124020
2008-06-21 15:36:23 -07:00
Ken Thompson
54abac678a redeclarations of variables in the same block.
half-step toward multivalued map indexing

SVN=124019
2008-06-21 15:11:29 -07:00
Ken Thompson
a77f7b2497 remove receclarations from tests
that are supposed to succeed

SVN=124018
2008-06-21 15:08:04 -07:00
Rob Pike
85785fe577 delete incorrect offset print
SVN=123857
2008-06-20 10:55:53 -07:00
Rob Pike
1a2421e406 improved formatting of traceback
SVN=123527
2008-06-18 23:25:37 -07:00
Rob Pike
d6f25597bb print rudimentary stack traceback after panic
SVN=123524
2008-06-18 23:17:39 -07:00
Ken Thompson
ddba96aed8 stack offset
SVN=123521
2008-06-18 22:07:09 -07:00
Ken Thompson
f997bc6eb6 stack offseet table marker
tacked above each TEXT entry

SVN=123496
2008-06-18 17:51:56 -07:00
Robert Griesemer
543226e8fd - added large integer arithmetic package and test cases
SVN=123486
2008-06-18 17:09:20 -07:00
Rob Pike
3df8e0a166 clean up ken/rob2.go to eliminate a few workarounds
SVN=123442
2008-06-18 14:47:46 -07:00
Rob Pike
74aa77fbd4 add new test bug055
SVN=123431
2008-06-18 14:17:24 -07:00
Rob Pike
080bd1ec8a a couple of bugs around nil are fixed
SVN=123423
2008-06-18 13:53:51 -07:00
Rob Pike
727ea928d5 forgot command line for bug054
update golden.out

SVN=123412
2008-06-18 13:08:01 -07:00
Rob Pike
9b664c580f 'default' bug in switch statements is fixed
SVN=123411
2008-06-18 13:06:09 -07:00
Rob Pike
a65cc2a867 add a bug: method call doesn't compile
SVN=123403
2008-06-18 11:51:21 -07:00
Ken Thompson
1926fef175 bogus diagnostic with
default as first case
in a switch

SVN=123398
2008-06-18 11:43:50 -07:00
Ken Thompson
c242b53d22 more maps
more semi-colons
type assignment of constants

SVN=123278
2008-06-17 22:33:32 -07:00
Ken Thompson
c5bb50c9dc assign nil to interface
SVN=123256
2008-06-17 18:07:40 -07:00
Ken Thompson
7131bf476c SVN=123250 2008-06-17 18:02:06 -07:00
Ken Thompson
504aa698f7 SVN=123249 2008-06-17 18:01:05 -07:00
Ken Thompson
53ec6500bc yata
SVN=123246
2008-06-17 17:59:06 -07:00
Ken Thompson
0006c83231 optional semi-colons
SVN=123245
2008-06-17 17:57:31 -07:00
Robert Griesemer
9615542d10 - added another bug test ('len' shouldn't be a keyword)
SVN=123225
2008-06-17 16:22:02 -07:00
Robert Griesemer
e5373f27d0 - added 2 bug tests
SVN=123220
2008-06-17 16:04:33 -07:00
Rob Pike
ec94a8cfc9 add two more tests
SVN=123143
2008-06-17 10:56:28 -07:00
Ken Thompson
4e8142c929 maps
SVN=123089
2008-06-16 22:34:50 -07:00
Ken Thompson
3f2d542817 added and, or, xor opcodes
SVN=123031
2008-06-16 17:04:39 -07:00
Rob Pike
88a3371a91 print pc on faults
SVN=123030
2008-06-16 17:04:30 -07:00
Rob Pike
bb57a5bc2c added two new small tests
SVN=123010
2008-06-16 15:18:10 -07:00
Rob Pike
9a58c9c52a update more tests to reflect tweaked grammar for if, switch
SVN=122916
2008-06-16 12:16:11 -07:00
Rob Pike
daebf91d2c fix up grammar for optional elements in if and switch conditions
SVN=122915
2008-06-16 12:02:27 -07:00
Rob Pike
39b28df01e update test results
SVN=122912
2008-06-16 11:36:23 -07:00
Ken Thompson
e1a06ccc80 now checks for lvalue/rvalue context of
expressions.
start of generics for calling builtin
     functions
start of map type
'any' demoted from reserved word to type

SVN=122808
2008-06-15 20:24:30 -07:00
Rob Pike
073486c3ed add support for debugging in MACH binaries
fix up libmach_amd64 to handle MACH binaries and symbols
db now works on mac and linux

SVN=122807
2008-06-15 17:22:57 -07:00
Rob Pike
30706a7ee7 error messages now have colon after line number
SVN=122803
2008-06-15 12:22:35 -07:00
Ken Thompson
efec14bc5a plan9 line numbers and line table
SVN=122793
2008-06-13 18:16:23 -07:00
Rob Pike
1ad1044b2d hack to find first instruction for decoding the pc/line table properly.
SVN=122792
2008-06-13 18:15:30 -07:00
Rob Pike
34691ccd10 support symbol tables and line numbers in 6.out executables
SVN=122700
2008-06-13 12:55:37 -07:00
Rob Pike
e9c9c9ace5 add symbol tables and line/pc information to 6.outs
SVN=122699
2008-06-13 12:54:21 -07:00
Rob Pike
a432e09b44 Add nil test, with bug
SVN=122644
2008-06-13 09:09:22 -07:00
Ken Thompson
343f5aa7b4 better import/export
SVN=122584
2008-06-12 21:48:56 -07:00
Rob Pike
67e141b637 Bug fix. Without rounding, .shstrtab is written on top of data segment
SVN=122567
2008-06-12 18:51:06 -07:00
Rob Pike
b6c9221bb1 fix name of mach_amd64 library source dir
SVN=122506
2008-06-12 14:52:41 -07:00
Rob Pike
ed5e39a66d Add 6db
SVN=122505
2008-06-12 14:50:25 -07:00
Ken Thompson
ef61a4cb1e better version of op=
fixed bugs in /= and %/

SVN=122493
2008-06-12 14:21:09 -07:00