1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:10:27 -07:00
Commit Graph

35996 Commits

Author SHA1 Message Date
Ken Thompson
75937c2a16 better line numbers
SVN=125018
2008-06-26 17:54:44 -07:00
Rob Pike
695e3938a0 add readfile test
update golden

SVN=125006
2008-06-26 17:08:39 -07:00
Robert Griesemer
553771314c - moved integer code into src/pkg
SVN=125003
2008-06-26 16:52:15 -07:00
Ken Thompson
f710e8ed04 simultaneous assignment test
SVN=124994
2008-06-26 16:21:51 -07:00
Robert Griesemer
433ac8e57b - a couple of fixes for integer.go
- added pkg dir

SVN=124991
2008-06-26 16:15:43 -07:00
Rob Pike
bcfd31f0e9 repair struct definition
SVN=124985
2008-06-26 15:35:43 -07:00
Rob Pike
f28ec1af7f slight change to file names
SVN=124982
2008-06-26 15:27:21 -07:00
Rob Pike
66b240c7a4 make readfile work on darwin
parameterize the system interface a bit

SVN=124981
2008-06-26 15:26:27 -07:00
Robert Griesemer
2b8db5a439 - added bug against maps
SVN=124977
2008-06-26 15:15:38 -07:00
Ken Thompson
e42d6a5fe2 add pointer to val type of maps
SVN=124971
2008-06-26 14:58:23 -07:00
Rob Pike
3e4e83ab1e add sys.readfile()
add args to linux runtime

SVN=124961
2008-06-26 14:09:26 -07:00
Robert Griesemer
7e21ec3007 - filed a bug against len()
SVN=124926
2008-06-26 11:56:17 -07:00
Rob Pike
9ff0e6288e runtime needs runtime.c
6l needs to know that there is no rt_amd64.6

SVN=124766
2008-06-25 21:31:17 -07:00
Rob Pike
41abdad5ec maybe now $O is right
SVN=124764
2008-06-25 21:24:14 -07:00
Rob Pike
5132d10305 O=6 not O=o
SVN=124763
2008-06-25 21:23:14 -07:00
Rob Pike
c87597de2c put a makefile into runtime
make the runtime library an archive (rt0 is still separate)
update 6l to use the archive
add fakeobj.c, missing from prior change

SVN=124762
2008-06-25 21:19:05 -07:00
Rob Pike
250a091922 add plan 9 ar, which understands our symbol tables
SVN=124761
2008-06-25 20:58:35 -07:00
Ken Thompson
e90ae879d6 autolib (#pragma lib)
added to 6g to autoload
the included import files.

SVN=124759
2008-06-25 20:22:10 -07:00
Robert Griesemer
3311e1b673 - dump registers in case of signal (linux)
SVN=124702
2008-06-25 17:07:22 -07:00
Rob Pike
c137d6b8e4 improve bug054.go
fix integer.ToString to return the proper, not-nul-terminated value

SVN=124654
2008-06-25 15:22:27 -07:00
Rob Pike
0ece7d470f add new bug: can't compile a, b := sys.frexp(1.0)
SVN=124622
2008-06-25 14:05:38 -07:00
Ken Thompson
1a3f944530 simul assignment
SVN=124591
2008-06-25 11:35:06 -07:00
Rob Pike
deaac9800f previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names

SVN=124461
2008-06-24 21:44:48 -07:00
Rob Pike
4061a7e9c7 allow an underscore to match centered dot (rune 00B7), so people don't have to
type a centered dot when debugging.

SVN=124460
2008-06-24 21:42:54 -07:00
Ken Thompson
10296166a5 bug in returning a fat function result
SVN=124436
2008-06-24 18:14:32 -07:00
Rob Pike
1bef250f33 center dots into argument code
SVN=124433
2008-06-24 18:00:24 -07:00
Rob Pike
1e774d9e6a put center dot into main_main
restore smashed arg code, lost in incorrect resolve

SVN=124432
2008-06-24 17:58:18 -07:00
Ken Thompson
7d11924c13 middle dot as alpha package separator
SVN=124419
2008-06-24 17:16:06 -07:00
Robert Griesemer
206daeabda - added access to thread state info from the signal handler
SVN=124404
2008-06-24 16:48:54 -07:00
Rob Pike
2987c8434b arguments available
argc, argv, envc, envv all in sys now
sys.argc() etc.

SVN=124398
2008-06-24 15:31:03 -07:00
Ken Thompson
87dae02a63 string nil same as string ""
SVN=124381
2008-06-24 14:11:20 -07:00
Rob Pike
362ea7c77d remove explicit import of "sys"
add a boolean printer

SVN=124362
2008-06-24 12:54:26 -07:00
Ken Thompson
90846cd447 map[int] bug
SVN=124332
2008-06-24 11:10:47 -07:00
Ken Thompson
78c8dec944 bug miscalculating ullman
in CALLMETH/DOTMETH

SVN=124321
2008-06-24 10:30:33 -07:00
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