OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [VER_5_3/] [gdb-5.3/] [sim/] [sh/] [ChangeLog] - Blame information for rev 1181

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
Wed Jul 17 19:36:38 2002  J"orn Rennecke 
2
 
3
        * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
4
        * interp.c: Include "gdb/sim-sh.h".
5
        (sim_store_register, sim_fetch_register): Use constants defined there.
6
 
7
Tue Jun 18 16:53:11 2002  J"orn Rennecke 
8
 
9
        * interp.c (sim_resume): Fix setting of bus error for
10
        instruction fetch.
11
 
12
2002-06-16  Andrew Cagney  
13
 
14
        * configure: Regenerated to track ../common/aclocal.m4 changes.
15
 
16
2002-06-08  Andrew Cagney  
17
 
18
        * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
19
 
20
2001-01-30  Ben Elliston  
21
 
22
        * interp.c (sim_create_inferior): Record program arguments for
23
        later inspection by the trap handler.
24
        (count_argc): New function.
25
        (prog_argv): Declare static.
26
        (sim_write): Declare.
27
        (trap): Implement argc, argnlen and argn system calls. Do not
28
        abort on unknown system calls--simply return -1.
29
        * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
30
 
31
2001-01-24  Alexandre Oliva  
32
 
33
        * interp.c (trap): Implement time.
34
 
35
2000-10-24  Ben Elliston  
36
 
37
        * gencode.c (tab): Delimit strings with commas where applicable.
38
 
39
Tue May 23 21:39:23 2000  Andrew Cagney  
40
 
41
        * configure: Regenerated to track ../common/aclocal.m4 changes.
42
 
43
Mon May 15 22:04:51 2000  J"orn Rennecke 
44
 
45
sh-dsp support, simulator speedup by using host byte order:
46
 
47
        * Makefile.in (interp.o): Depends on ppi.c .
48
        (ppi.c): New rule.
49
        * gencode.c (printonmatch, think, genopc): Deleted.
50
        (MAX_NR_STUFF): Now 42.
51
        (tab): Add SH-DSP CPU instructions.
52
        Amalgamate ldc / stc / lds / sts instructions with similar
53
        bit patterns.  Fix opcodes of stc Rm_BANK,@-.
54
        Fix semantics of lds.l @+,MACH (no sign extend).
55
        (movsxy_tab): New array.
56
        For movs, change MMMM field to GGGG, and mmmm field to MMMM.
57
        Added entries for movx, movy and parallel processing insns.
58
        (ppi_tab): New array.
59
        (qfunc): Stabilize sort.
60
        (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
61
        Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
62
        (dumptable): Now takes three arguments.  Changed all callers.
63
        Emit just one contigous jump table.
64
        (filltable): Now takes an argument.  Changed all callers.
65
        Make index static.
66
        (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
67
        (gensim_caselist): New function, broken out of gensim.
68
        Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
69
        Handle ref '9'.
70
        (gensim): Handle 'N' in code field and '8' in refs field.
71
        Call gensim_caselist - twice.
72
        (ppi_index): New static variable.
73
        (main): Unsupport default action.
74
        Add dsp support for -x / -s option.  Add -p option.
75
        * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
76
        (saved_state_type): Rearrange to allow amalgamated ldc / stc /
77
        lds / sts to work efficiently.
78
        (target_dsp): New static variable.
79
        (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
80
        (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
81
        (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
82
        (RS, RE, MOD, MOD_ME, DSP_R): Likewise.
83
        (set_fpscr1): Likewise.  Use target_dsp to check for dsp.
84
        (MOD_MSi, SIG_BUS_FETCH): Deleted.
85
        (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
86
        (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
87
        (SET_MOD): Reflect saved_state_type change.  Set MOD_DELTA instead
88
        of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
89
        (set_sr): Reflect saved_state_type change.  Fix SR_RB handling.
90
        Use SET_MOD.
91
        (MA, L, TL, TB): Now controlled by ACE_FAST.
92
        (SEXT32): Just cast to int.
93
        (SIGN32): Fixed to only shift by 31.
94
        (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
95
        (ppi_insn): Declare.
96
        (ppi.c): Include.
97
        (init_dsp): Set target_dsp.  When it changes, switch end of
98
        sh_jump_table with sh_dsp_table.
99
        (sim_resume) Don't declare sh_jump_table0.  Use sh_jump_table instead.
100
        Don't Declare PR if it's #defined.
101
        Fix single-stepping (Was broken in Mar  6 16:59:10 patch).
102
        (sim_store_register, sim_read_register): Translate accesses to
103
        reflect saved_state_type change.
104
 
105
        * interp.c (set_sr): Set sr.
106
        (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
107
        (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
108
        (DSP_R): Fix definition.
109
        (sim_resume): Remove outdated SET_SR use.
110
 
111
        * interp.c (saved_state): New members for struct member asregs:
112
        rs, re, insn_end, xram_start, yram_start.
113
        (struct loop_bounds): New struct.
114
        (SKIP_INSN): New macro.
115
        (get_loop_bounds): New function.
116
        (endianw): Renamed to global_endianw.
117
        (maskw): negated bits.
118
        (PC): Now insn_ptr.
119
        (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
120
        (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
121
        (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
122
        (SIG_BUS_FETCH): Likewise
123
        (raise_exception, riat_fast): New functions.
124
        (raise_buserror, sim_stop): Use raise_exception.
125
        (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
126
        (BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
127
        Reverse sense of mask argument.
128
        (FP_OP, set_dr): Use RAISE_EXCEPTION.
129
        (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
130
        Declare.  Remove redundant masking.
131
        (wwat_fast, rwat_fast): Add argument endianw.  Changed callers.
132
        (MA): Updated for change pc -> PC.
133
        (Delay_Slot): Use RIAT.
134
        (empty): Deleted.
135
        (trap): Remove argument little_endian.  Add argument endianw.
136
        Changed all callers.  Use raise_exception.
137
        (macw): Add argument endainw.  Changed all callers.
138
        (init_dsp): New function, extended after broken out of init_pointers.
139
        (sim_resume): Replace pc with insn_ptr.  Replace little_endian with
140
        endianw.  Replace nia with nip.  Reverse sense of maskb / maskw /
141
        maskl.  Implement logic for zero-overhead loops.  Don't try to
142
        interpret garbage when getting a SIGBUS at insn fetch.
143
        (sim_open): Call init_dsp.
144
        * gencode.c (tab): Use SET_NIP instead of nia = .  Use PH2T / PT2H /
145
        RAISE_EXCEPTION where appropriate.
146
        Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
147
 
148
        * interp.c (sim_store_register, sim_fetch_register):
149
        Do proper endianness switch.
150
 
151
        * interp.c (saved_state_type): New members for struct member asregs:
152
        xymem_select, xmem, ymem, xmem_offset, ymem_offset.
153
        (special_address): Delete.
154
        (BUSERROR): Now a two-argument predicate.
155
        (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
156
        (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
157
        (process_wlat_addr, process_wwat_addr): New functions.
158
        (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
159
        (process_rbat_addr): Likewise.
160
        (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
161
        (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
162
        (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
163
        (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
164
        (do_rdat, trap): Delete SLOW code.
165
        (SEXT32, SIGN32): New macros.
166
        (swap, swap16): Now integer in - integer out.  Changed all callers.
167
        (strswaplen, strnswap): Delete SLOW versions.
168
        (init_pointers): Initialize dsp memory selection (preliminary).
169
        (sim_store_register, sim_fetch_register): Use swap instead of
170
        big / little endian read / write functions.
171
 
172
        * interp.c (maskl): Deleted.
173
        (endianw, endianb): New variables.
174
        (special_address): Now inline.
175
        (bp_holder): Put raising of buserror there, rename to:
176
        (raise_buserror).
177
        (BUSERROR): Now yields a value.  Changed all users.
178
        (wbat_big): Delete.
179
        (wlat_fast, wwat_fast, wbat_fast): New functions.
180
        (rlat_fast, rwat_fast, rbat_fast): Likewise.
181
        (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
182
        (do_rdat, do_wdat): Likewise.  Take maskl argument instead of
183
        little_endian one.  Changed caller macros.
184
        (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
185
        (strswaplen, strnswap): New functions.
186
        (trap): Use them to fix up endian mismatches;
187
        disable SYS_execve and SYS_execv; fix double address translation for
188
        SYS_pipe and SYS_stat.
189
        (sym_write, sym_read): Add endianness translation.
190
        (sym_store_register, sym_fetch_register): Add maskl local variable.
191
        (sim_open): Set endianw and endianb.
192
 
193
Thu Sep  2 18:15:53 1999  Andrew Cagney  
194
 
195
        * configure: Regenerated to track ../common/aclocal.m4 changes.
196
 
197
Wed Aug 25 07:55:23 1999  Brendan Kehoe  
198
 
199
        * gencode.c (fcnvds ,FPUL): Rewrite to use a local anonymous
200
        union type, instead of casting to an int* then a float*.
201
        (fcnvsd FPUL,): Likewise.
202
        (flds ,FPUL): Likewise.
203
        (fsts FPUL,): Likewise.
204
 
205
1999-05-08  Felix Lee  
206
 
207
        * configure: Regenerated to track ../common/aclocal.m4 changes.
208
 
209
1999-04-02  Keith Seitz  
210
 
211
        * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
212
        frequency at which the poll_quit callback is called.
213
        (sim_resume): Use POLL_QUIT_INTERVAL instead of a
214
        hard-coded value.
215
 
216
Thu Sep 10 02:16:39 1997  J"orn Rennecke 
217
 
218
        * interp.c (saved_state.asregs): Add new member pad_dummy.
219
        (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use
220
        as index into saved_state.asints.
221
 
222
Mon Jun 29 19:35:24 1998  Jason Molenda  (crash@bugshack.cygnus.com)
223
 
224
        * interp.c (sim_open): set endianness based on the ABFD if a -E
225
        option is not present and we have an ABFD.
226
 
227
Tue Apr 28 18:33:31 1998  Geoffrey Noer  
228
 
229
        * configure: Regenerated to track ../common/aclocal.m4 changes.
230
 
231
Sun Apr 26 15:31:55 1998  Tom Tromey  
232
 
233
        * configure: Regenerated to track ../common/aclocal.m4 changes.
234
        * config.in: Ditto.
235
 
236
Sun Apr 26 15:19:48 1998  Tom Tromey  
237
 
238
        * acconfig.h: New file.
239
        * configure.in: Reverted change of Apr 24; use sinclude again.
240
 
241
Fri Apr 24 14:16:40 1998  Tom Tromey  
242
 
243
        * configure: Regenerated to track ../common/aclocal.m4 changes.
244
        * config.in: Ditto.
245
 
246
Fri Apr 24 11:18:35 1998  Tom Tromey  
247
 
248
        * configure.in: Don't call sinclude.
249
 
250
Sat Apr  4 20:36:25 1998  Andrew Cagney  
251
 
252
        * configure: Regenerated to track ../common/aclocal.m4 changes.
253
 
254
Fri Mar 27 16:15:52 1998  Andrew Cagney  
255
 
256
        * configure: Regenerated to track ../common/aclocal.m4 changes.
257
 
258
Wed Mar 25 12:35:29 1998  Andrew Cagney  
259
 
260
        * configure: Regenerated to track ../common/aclocal.m4 changes.
261
 
262
Wed Mar 18 12:38:12 1998  Andrew Cagney  
263
 
264
        * configure: Regenerated to track ../common/aclocal.m4 changes.
265
 
266
Tue Feb 17 12:49:44 1998  Andrew Cagney  
267
 
268
        * interp.c (sim_fetch_register, sim_store_register): Pass in
269
        length parameter.  Return -1.
270
 
271
Sun Feb  1 16:47:51 1998  Andrew Cagney  
272
 
273
        * configure: Regenerated to track ../common/aclocal.m4 changes.
274
 
275
Sat Jan 31 18:15:41 1998  Andrew Cagney  
276
 
277
        * configure: Regenerated to track ../common/aclocal.m4 changes.
278
 
279
Mon Jan 19 22:26:29 1998  Doug Evans  
280
 
281
        * configure: Regenerated to track ../common/aclocal.m4 changes.
282
 
283
Mon Dec 15 23:17:11 1997  Andrew Cagney  
284
 
285
        * configure: Regenerated to track ../common/aclocal.m4 changes.
286
        * config.in: Ditto.
287
 
288
Thu Dec  4 09:21:05 1997  Doug Evans  
289
 
290
        * configure: Regenerated to track ../common/aclocal.m4 changes.
291
 
292
Wed Oct 22 14:43:00 1997  Andrew Cagney  
293
 
294
        * interp.c (sim_load): Pass lma_p and sim_write args to
295
        sim_load_file.
296
 
297
Fri Oct  3 09:28:00 1997  Andrew Cagney  
298
 
299
        * configure: Regenerated to track ../common/aclocal.m4 changes.
300
 
301
Wed Sep 24 17:38:57 1997  Andrew Cagney  
302
 
303
        * configure: Regenerated to track ../common/aclocal.m4 changes.
304
 
305
Tue Sep 23 11:04:38 1997  Andrew Cagney  
306
 
307
        * configure: Regenerated to track ../common/aclocal.m4 changes.
308
 
309
Mon Sep 22 11:46:20 1997  Andrew Cagney  
310
 
311
        * configure: Regenerated to track ../common/aclocal.m4 changes.
312
 
313
Fri Sep 19 17:45:25 1997  Andrew Cagney  
314
 
315
        * configure: Regenerated to track ../common/aclocal.m4 changes.
316
 
317
Mon Sep 15 17:36:15 1997  Andrew Cagney  
318
 
319
        * configure: Regenerated to track ../common/aclocal.m4 changes.
320
 
321
Tue Sep  9 20:52:21 1997  Felix Lee  
322
 
323
        * interp.c (sim_resume): poll_quit() at least once per call;
324
        otherwise gdb can loop sim_resume() uninterruptably.
325
 
326
Thu Sep  4 17:21:23 1997  Doug Evans  
327
 
328
        * configure: Regenerated to track ../common/aclocal.m4 changes.
329
 
330
Tue Sep  2 13:15:27 1997  Andrew Cagney  
331
 
332
        * gencode.c (tab): Order instructions according to SH3 document.
333
 
334
Wed Aug 27 18:13:22 1997  Andrew Cagney  
335
 
336
        * configure: Regenerated to track ../common/aclocal.m4 changes.
337
        * config.in: Ditto.
338
 
339
Tue Aug 26 10:41:55 1997  Andrew Cagney  
340
 
341
        * interp.c (sim_kill): Delete.
342
        (sim_create_inferior): Add ABFD argument.
343
        (sim_load): Move setting of PC from here.
344
        (sim_create_inferior): To here.
345
 
346
Mon Aug 25 17:50:22 1997  Andrew Cagney  
347
 
348
        * configure: Regenerated to track ../common/aclocal.m4 changes.
349
        * config.in: Ditto.
350
 
351
Mon Aug 25 16:17:51 1997  Andrew Cagney  
352
 
353
        * interp.c (sim_open): Add ABFD argument.
354
 
355
Mon Jun 23 15:49:14 1997  Andrew Cagney  
356
 
357
        * interp.c (get_dr): Avoid SIGFPE by moving integers instead of
358
        FP's around.
359
        (set_dr): Ditto.
360
 
361
Mon Jun 23 15:02:40 1997  Andrew Cagney  
362
 
363
        * interp.c (XD, SET_XD): Delete.
364
        (XF, SET_XF, XD_TO_XF): Define, move around registers in either
365
        FP bank.
366
 
367
        * gencode.c (fmov): Update.
368
 
369
Sun Jun 22 19:33:33 1997  Andrew Cagney  
370
 
371
        * interp.c (set_fpscr1): From J"orn Rennecke
372
        , Fix typo. Ditto for comment.
373
 
374
Tue Aug 12 00:19:11 1997  J"orn Rennecke 
375
 
376
        * interp.c (special_address): New function.
377
        (BUSERROR): Call it.  Added parameters bits_written and data.
378
        Changed all callers.
379
        * gencode.c (tab): Fixed ocbwb and pref.
380
 
381
Fri Jun 20 22:03:18 1997  J"orn Rennecke 
382
 
383
        * interp.c (do_wdat, do_wdat): Fix bug in register number calculation.
384
 
385
Thu Jun 19 00:28:08 1997  Andrew Cagney  
386
 
387
        * interp.c (sim_create_inferior): Clear registers each time an
388
        inferior is started.
389
 
390
Mon Jun 16 14:01:55 1997  Andrew Cagney  
391
 
392
        * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for
393
        when a host doesn't support IEEE FP.
394
        (*DP): Provide alternative definition that supports 64bit floating
395
        point.
396
        (target_little_endian): Combine little_endian and little_endian_p.
397
        (saved_state_type): Make fpscr and sr simple integers.
398
        (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register.
399
        (set_fpscr1): New function.  Handle swapping when PR / FR bits
400
        changed. Call via *_FPSCR macro.
401
        (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids
402
        endian problems.
403
 
404
        * gencode.c (tab): Update.
405
 
406
Sun Jun 15 15:22:52 1997  Andrew Cagney  
407
 
408
        * gencode.c (main): Perform basic checks on tab entries.
409
 
410
        * Makefile.in (gencode): Always compile with -g.
411
 
412
Sat Jun 14 13:45:09 1997  Andrew Cagney  
413
 
414
        * gencode.c (gensim): Move ref checking code to before `stuff'.
415
        For branches with delay slots refs were not being checked.
416
 
417
        * interp.c (sim_resume): Use nia to specify the next instruction
418
        address instead of overloading pc.
419
        (C): Delete definiton - refer to cycles directly.
420
        (SEXT12): New macro - sign extend a 12 bit quantity.
421
        (Delay_Slot): Rename from SL.
422
 
423
        * gencode.c (tab): Update/simplify.
424
 
425
        * gencode.c (gensim): Better formatting of output code.
426
        (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15.
427
        (tab): Sort alphabetically.  Break `stuff' into multiple lines.
428
 
429
Fri Jun 13 22:10:13 1997  J"orn Rennecke 
430
 
431
        * gencode.c (braf, bsrf): Fix branch destination calculation to
432
        be in accordance with the documentation.
433
 
434
Fri Jun 13 15:33:53 1997  J"orn Rennecke 
435
 
436
        * interp.c (init_pointers): Fix little endian test.
437
 
438
Thu Jun  5 12:56:08 1997  J"orn Rennecke 
439
 
440
        * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN.
441
        * gencode (fmov from/to memory): take endian_mismatch into account
442
        for 32 bit moves too.
443
 
444
Wed May 28 23:42:35 1997  J"orn Rennecke 
445
 
446
        * gencode.c (swap.b): Fix treatment of high word.
447
 
448
Wed May 28 23:42:35 1997  J"orn Rennecke 
449
 
450
        * sh/gencode.c,
451
        * interp.c: experimental SH4 support.
452
        DFmode moves are probaly broken for target little endian.
453
 
454
Tue May 20 10:23:28 1997  Andrew Cagney  
455
 
456
        * interp.c (sim_open): Add callback argument.
457
        (sim_set_callbacks): Delete SIM_DESC argument.
458
 
459
Wed Apr 30 11:38:08 1997  Doug Evans  
460
 
461
        * Makefile.in (SIM_EXTRA_CLEAN): Define.
462
        (clean targets): Delete.
463
        (sh-clean): New target.
464
 
465
Thu Apr 24 00:39:51 1997  Doug Evans  
466
 
467
        * configure: Regenerated to track ../common/aclocal.m4 changes.
468
 
469
Wed Apr 23 17:55:22 1997  Doug Evans  
470
 
471
        * tconfig.in: New file.
472
        * interp.c (sim_open): Handle missing arg to -E.
473
 
474
Tue Apr 22 08:55:35 1997  Stu Grossman  (grossman@critters.cygnus.com)
475
 
476
        * Makefile.in:  Add clean targets.
477
 
478
Fri Apr 18 18:57:04 1997  Stu Grossman  (grossman@critters.cygnus.com)
479
 
480
        * interp.c:  Include float.h and define SIGTRAP if _WIN32.
481
        WIN32 -> _WIN32.
482
        * (trap):  Do do SYS_chown for _WIN32.
483
 
484
Fri Apr 18 13:33:09 1997  Doug Evans  
485
 
486
        * interp.c (sim_resume): Fix argument to poll_quit.
487
 
488
Fri Apr 18 14:14:49 1997  Andrew Cagney  
489
 
490
        * interp.c (sim_stop): New function.
491
        (sim_resume): Use poll_quit for polling.
492
 
493
Thu Apr 17 03:32:04 1997  Doug Evans  
494
 
495
        * Makefile.in (SIM_OBJS): Add sim-load.o.
496
        * interp.c (target_byte_order): Delete.
497
        (sim_kind, myname, little_endian_p): New static locals.
498
        (init_pointers): Use little_endian_p instead of target_byte_order.
499
        (sim_resume): Likewise.
500
        (sim_open): Set sim_kind, myname.  Set little_endian_p from -E arg.
501
        (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
502
        load file into simulator.  Set start address from bfd.
503
        (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
504
 
505
Mon Apr  7 15:45:02 1997  Andrew Cagney  
506
 
507
        * configure: Regenerated to track ../common/aclocal.m4 changes.
508
        * config.in: Ditto.
509
 
510
Wed Apr  2 15:06:28 1997  Doug Evans  
511
 
512
        * interp.c (sim_open): New arg `kind'.
513
 
514
        * configure: Regenerated to track ../common/aclocal.m4 changes.
515
 
516
Wed Apr  2 14:34:19 1997 Andrew Cagney 
517
 
518
        * configure: Regenerated to track ../common/aclocal.m4 changes.
519
 
520
Wed Mar 19 09:34:36 1997  Fred Fish  
521
 
522
        * interp.c (sim_do_command): Check for NULL command or empty
523
        string and handle it the same as a "help" command.  Use callback
524
        to print error message for unrecognized commands.  Replace
525
        hardcoded tab in literal string with a \t.  Other minor code
526
        cleanup.
527
 
528
Wed Mar 19 01:14:00 1997  Andrew Cagney  
529
 
530
        * configure: Regenerated to track ../common/aclocal.m4 changes.
531
 
532
Mon Mar 17 15:10:07 1997  Andrew Cagney  
533
 
534
        * configure: Re-generate.
535
 
536
Fri Mar 14 10:34:11 1997  Michael Meissner  
537
 
538
        * configure: Regenerate to track ../common/aclocal.m4 changes.
539
 
540
Thu Mar 13 13:00:00 1997  Doug Evans  
541
 
542
        * interp.c (sim_open): New SIM_DESC result.  Argument is now
543
        in argv form.
544
        (other sim_*): New SIM_DESC argument.
545
 
546
Tue Feb  4 13:33:30 1997  Doug Evans  
547
 
548
        * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
549
        COMMON_{PRE,POST}_CONFIG_FRAG instead.
550
        * configure.in: sinclude ../common/aclocal.m4.
551
        * configure: Regenerated.
552
 
553
Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
554
 
555
        * configure configure.in Makefile.in:  Update to new configure
556
        scheme which is more compatible with WinGDB builds.
557
        * configure.in:  Improve comment on how to run autoconf.
558
        * configure:  Re-run autoconf to get new ../common/aclocal.m4.
559
        * Makefile.in:  Use autoconf substitution to install common
560
        makefile fragment.
561
 
562
Wed Nov 20 02:04:32 1996  Doug Evans  
563
 
564
        * Makefile.in: Delete stuff moved to ../common/Make-common.in.
565
        (SIM_OBJS,SIM_EXTRA_LIBS): Define.
566
        * configure.in: Simplify using macros in ../common/aclocal.m4.
567
        Call AC_CHECK_HEADERS(unistd.h).
568
        * configure: Regenerated.
569
        * config.in: New file.
570
        * interp.c: #include "config.h".  #include  if present.
571
        (trap): Fetch errno value with callback->get_errno.
572
 
573
Tue Nov 12 13:34:00 1996  Dawn Perchik  
574
 
575
        * interp.c: Don't include windows polling code if inside simluator.
576
 
577
Fri Sep 20 14:57:50 1996  Stan Shebs  
578
 
579
        * interp.c: Minor formatting improvements.
580
        (saved_state_type): Add bank registers.
581
        (bp_holder): New function, use to break on when debugging BUSERROR.
582
        (BUSERROR): Call it if bus error occurs.
583
 
584
Wed Jun 26 12:29:22 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
585
 
586
        * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
587
        INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
588
        (docdir): Removed.
589
        * configure.in (AC_PREREQ): autoconf 2.5 or higher.
590
        (AC_PROG_INSTALL): Added.
591
        * configure: Rebuilt.
592
 
593
Thu May 16 15:44:29 1996  Ian Lance Taylor  
594
 
595
        * interp.c (saved_state_type): Add memstalls field.
596
        (MA) Define macro.
597
        (sim_resume): New local variable memstalls.  Add it back in to
598
        saved_state at the end of the function.
599
        (sim_info): Report memstalls.
600
        * gencode.c (tab): Add MA() to the execution string of all
601
        instructions which access memory.
602
 
603
Wed Feb 21 12:16:41 1996  Ian Lance Taylor  
604
 
605
        * configure: Regenerate with autoconf 2.7.
606
 
607
Tue Dec  5 16:38:55 1995  Stu Grossman  (grossman@cygnus.com)
608
 
609
        * gencode.c (mac.l):  Don't abort GDB if executing mac.l
610
        instruction (which is unimplemented).  Generate a SIGTRAP (in the
611
        simulated target) instead.
612
 
613
Mon Dec  4 12:22:24 1995  J.T. Conklin  
614
 
615
        * gencode.c (tab): Added several sh3 opcodes.
616
        (think): Added printonmatch for A_SSR and A_SPC.
617
        * interp.c (SSR, SPC): Added definitions.
618
        (saved_state_type): Added ssr and spc registers.
619
 
620
Wed Nov 29 12:39:27 1995  Jim Wilson  
621
 
622
        * gencode.c (tab): In shad/shld definitions, negate R[m] before
623
        the and operation instead of after.  For shad delete cast.  For shld
624
        use UR instead of R and delete cast.
625
 
626
Fri Nov 17 12:48:55 1995  Jim Wilson  
627
 
628
        * gencode.c (tab): Add explicit NaN support for ftrc instruction.
629
 
630
Wed Nov 15 11:25:27 1995  Stu Grossman  (grossman@cygnus.com)
631
 
632
        * interp.c:  Make target_byte_order be extern to prevent SGI cc from
633
        issuing warnings about the use of common symbols.
634
 
635
Tue Nov 14 15:19:43 1995  Stu Grossman  (grossman@cygnus.com)
636
 
637
        * gencode.c:  jsr, bsr and bsrf actually save pc+4 in pr, and rts
638
        actually uses pr+0.
639
 
640
Sat Oct 21 13:01:18 1995  Jim Wilson  
641
 
642
        * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate
643
        program exited.
644
        (sim_get_quit_code): Delete.
645
 
646
        * gencode.c (gensim): Indicate SIGILL instead of calling abort for
647
        default case.
648
 
649
Mon Oct 16 18:24:03 1995  Jim Wilson  
650
 
651
        * interp.c (saved_state_type): Move FP registers to immediately
652
        after SR.
653
 
654
Tue Oct 10 11:12:15 1995  Fred Fish  
655
 
656
        * Makefile.in (BISON): Remove macro.
657
 
658
Fri Oct  6 12:08:18 1995  Jim Wilson  
659
 
660
        * interp.c (trap, case SYS_utime): Cast second arg of utime to
661
        void * to avoid compiler error.
662
 
663
        * interp.c (callback): Remove last change.  It is initialized by
664
        a sim_set_callbacks call.
665
 
666
Thu Oct  5 14:13:29 1995  steve chamberlain  
667
 
668
        * interp.c (callback): Initialize to default callback.
669
 
670
Thu Sep 28 15:26:59 1995  steve chamberlain  
671
 
672
        * run.c: Moved to ../common.
673
        * interp.c (trap): Use gdb's callback interface.
674
        * Makefile.in: Updated.
675
 
676
Wed Sep 20 13:35:13 1995  Ian Lance Taylor  
677
 
678
        * Makefile.in (maintainer-clean): New synonym for realclean.
679
 
680
Wed Sep 20 09:51:50 1995  steve chamberlain  
681
 
682
        * run.c (sim_callback_write_stdout):  New.
683
        * interp.c (trap): Call sim_callback_write_stdout when needed.
684
 
685
Mon Sep 18 18:42:27 1995  steve chamberlain  
686
 
687
        * interp.c (trap): Remove useless code.
688
 
689
Fri Sep 15 19:30:05 1995  steve chamberlain  
690
 
691
        * syscall.h: Copy from newlib.
692
 
693
Thu Sep 14 19:32:59 1995  Stu Grossman  (grossman@cygnus.com)
694
 
695
        * gencode.c:  Back up PC by 2 for breakpoints.
696
        * interp.c:  Move fp regs beyond pc/pr/etc to avoid confusing GDB,
697
        which expect pc to immediatly follow regs[].
698
 
699
Fri Sep  8 14:18:13 1995  Ian Lance Taylor  
700
 
701
        * configure.in: Define CC_FOR_BUILD.  Don't call AC_PROG_INSTALL.
702
        * configure: Rebuild.
703
        * Makefile.in (INSTALL): Revert to using install.sh.
704
        (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
705
        (INSTALL_XFORM, INSTALL_XFORM1): Restore.
706
        (CC_FOR_BUILD): Restore.
707
        (gencode): Build using $(CC_FOR_BUILD).
708
        (install): Don't install in $(tooldir).
709
 
710
Thu Sep  7 15:02:31 1995  J.T. Conklin  
711
 
712
        (Try to) Update to new bfd autoconf scheme.
713
        * run.c: Don't include sysdep.h.
714
        * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
715
        (CC, CFLAGS, AR, RANLIB): Likewise.
716
        (HDEFINES, TDEFINES): Define.
717
        (CC_FOR_BUILD): Delete.
718
        (host_makefile_frag): Delete.
719
        (Makefile): Don't depend on frags.
720
        * configure.in (sysdep.h): Don't create symlink.
721
        (host_makefile_frag, frags): Deleted.
722
        (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
723
        * configure: Regenerated.
724
 
725
Thu Aug 31 12:39:07 1995  Jim Wilson  
726
 
727
        * interp.c: Include .
728
 
729
Wed Aug 30 22:05:17 1995  Jeff Law  (law@snake.cs.utah.edu)
730
 
731
        * Makefile.in (run): Link in math library too.
732
        * gencode.c (gensim): abort if an unknown opcode is encountered.
733
        * interp.c (FPSCR, FPUL): Define.
734
        (struct save_state): Add fields for floating point registers,
735
        FPSCR and FPUL.
736
        (sim_resume): Add 'F' for accessing floating point registers
737
        in the save state structure.
738
        * gencode.c: Add sh3e opcodes.
739
        (gensym): Define a buffer for int<->fp conversions.
740
 
741
Tue Aug 22 14:16:46 1995  J.T. Conklin  
742
 
743
        * interp.c (trap): Use trap vector 34 for host system interface.
744
        * gencode.c: Add 34 to conditional which determines which traps
745
        will be handled by simulator.
746
 
747
Fri Aug 11 17:59:15 1995  Jim Wilson  
748
 
749
        * run.c: Include .  Define SIGQUIT if not defined.
750
        (main): New variables reason and sigrc.  After simulator exits,
751
        check to see if it exited because of a signal, and if so, then
752
        use the signal number as the return value.
753
 
754
Thu Aug  3 10:45:37 1995  Fred Fish  
755
 
756
        * Update all FSF addresses except those in COPYING* files.
757
 
758
Tue Jul 18 23:33:10 1995  Fred Fish  
759
 
760
        * interp.c (trap): Only use SYS_execv if defined.  Might be
761
        implemented as execve(arg1,arg2,0), as with Unixware 2.0.
762
        (sim_resume): In sbit initializer, cast shifted arg to unsigned
763
        to avoid signed integer overflow.
764
 
765
Wed Jul  5 14:32:54 1995  J.T. Conklin  
766
 
767
        * Makefile.in (clean): Remove run, libsim.a.
768
          (distclean, mostlyclean, realclean): Remove Makefile and
769
          autoconf files.
770
 
771
        * sh.mt: Removed.
772
 
773
        * Makefile.in, configure.in: converted to autoconf.
774
        * configure: New file, generated with autconf 2.4.
775
 
776
Fri Jun 30 16:51:38 1995  Stan Shebs  
777
 
778
        * interp.c (sim_open): If argument supplied, interpret as
779
        desired memory size.
780
        (parse_and_set_memory_size): New function.
781
        (sim_do_command): New function.
782
 
783
Thu Jun 29 10:02:28 1995  Fred Fish  
784
 
785
        * interp.c  (SYS_wait): Define as SYS_wait4 if available and
786
        SYS_wait is not already defined (SunOS 4.1.3 for example).
787
        (SYS_utime): Define as SYS_utimes if available and
788
        SYS_utime is not already defined.
789
 
790
Thu Jun 22 17:25:57 1995  Steve Chamberlain  
791
 
792
        * interp.c: Don't include sys/times.h or sys/param.h
793
 
794
Wed Jun 21 15:03:49 1995  Steve Chamberlain  
795
 
796
        * interp.c (SIGBUS, SIGTERM): Define if not.
797
        (sim_memory_size): default to 2^19 on PCs.
798
        (sim_resume): Poll for quits on win32.
799
 
800
Wed May 24 16:22:48 1995  Jim Wilson  
801
 
802
        * gencode.c (op_tab): Add SH3 support.
803
 
804
Wed May 24 14:07:11 1995  Steve Chamberlain  
805
 
806
        * gencode.c (tab): Add bsrf and braf.
807
 
808
Mon Apr 24 15:09:49 1995  Jason Molenda  (crash@cygnus.com)
809
 
810
        * configure.in: use ../../bfd/hosts/std-host.h, not
811
        ../bfd/hosts/std-host.h (which doesn't exist).
812
 
813
Mon Mar 27 10:32:34 1995  J.T. Conklin  
814
 
815
        * run.c: parse arguments with getopt().
816
 
817
Sun Feb 26 15:27:24 1995  Steve Chamberlain  
818
 
819
        * configure.in: Use ../../bfd/hosts/std-host.h if specific
820
        host unavailable.
821
 
822
Mon Jan 23 16:10:58 1995  Torbjorn Granlund  
823
 
824
        * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case.
825
 
826
Sun Jan 22 13:55:36 1995  Torbjorn Granlund  
827
 
828
        * gencode.c (op_tab): Make MAC.W call macw, not abort.
829
        * interp.c (macw): New function.
830
        (S): New #define.
831
 
832
Sat Jan 21 15:52:30 1995  Torbjorn Granlund  
833
 
834
        * gencode.c (op_tab): New code for ADDV and SUBV.
835
        Make MAC.L abort sicne it is not implemented.
836
 
837
        * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply.
838
        Get rid of __GNUC__ conditional.
839
 
840
aThu Jan 19 05:50:50 1995  Torbjorn Granlund  
841
 
842
        * gencode.c (op_tab): Also replace NEGC, and try again with SUBC.
843
        Change ADDC for symmetry.
844
 
845
        * gencode.c (op_tab): Replace code for ADDC and SUBC.
846
 
847
Mon Jan  9 15:43:53 1995  Stu Grossman  (grossman@cygnus.com)
848
 
849
        * interp.c:  Remove def of INLINE.  This comes from bfd.h.  Also,
850
        declare IOMEM before using it.
851
 
852
Wed Dec 28 21:25:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
853
 
854
        * interp.c (BUSERROR): New macro.
855
        ([r|w][bwl]at[little|big]) New functions.
856
        (sim_resume): If GO32 check for interrupt every now
857
        and again.  Decrement PC if SIGBUS seen.
858
        * run.c (main):  Return result of simulated _exit.
859
 
860
Mon Dec  5 21:59:51 1994  Doug Evans  
861
 
862
        * Makefile.in (gencode): Allow build in different directory.
863
 
864
Wed Nov 30 17:47:13 1994  Jim Wilson  
865
 
866
        * Makefile.in (gencode): Change $< to gencode.c for portability.
867
 
868
Wed Nov 23 21:31:55 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
869
 
870
        * interp.c ([wr][bwl]at): New functions.
871
        (trap): Cope with both byte modes.
872
 
873
Thu Sep  8 17:35:07 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
874
 
875
        * gencode.c (tab): Simulate T bit after a negc insn right.
876
        * interp.c (RSBAT): Sign extend the arg.
877
        (ACE_FAST): New macro.
878
        (sim_resume): Remove obsolete test of sim_timeout.
879
 
880
Fri Aug  5 14:12:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
881
 
882
        * interp.c (IOMEM): New function, simulates very basic I/O area of
883
        the SH.
884
        (WBAT, RBAT) : Call I/O functions.
885
        * gencode.c (tab): Special case trapa #3.
886
 
887
Mon Jun 27 18:04:54 1994  Steve Chamberlain  (sac@cirdan.cygnus.com)
888
 
889
        * run.c (main): Specify the file type again.
890
 
891
Thu May 26 19:04:37 1994  Steve Chamberlain  (sac@thepub.cygnus.com)
892
 
893
        * interp.c (trap): Fix irix incompatibility.
894
        * run.c (main): open without specifying file type.
895
 
896
Wed May 18 14:18:53 1994  Doug Evans  (dje@canuck.cygnus.com)
897
 
898
        * interp.c (sim_*): Make result void where there isn't one.
899
        (sim_set_pc): Delete.
900
        (sim_info): Delete printf_fn arg, all callers changed.
901
        Call printf_filtered instead.
902
        (sim_close): New function.
903
        (sim_load): New function.
904
        (sim_create_inferior): Renamed from sim_set_args, all callers changed.
905
        * run.c: #include , "remote-sim.h".
906
        (printf_filtered): New function.
907
 
908
Wed Apr 27 12:03:48 1994  Steve Chamberlain  (sac@cygnus.com)
909
 
910
        * gencode.c (table): Get direction of some opcodes right.
911
        (trapa, rte): Implement fully.
912
        * interp.c (trap): Make stat call more portable.
913
 
914
Fri Feb 11 21:59:38 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
915
 
916
        * gencode.c (main, gendefines): New -d option prints table of defines.
917
        * interp.c (trap): Add a load of system calls.
918
        (sim_memory_size): Now default to 8Mbyte.
919
        (PARANOID): Keep vector of registers with undefined contents.
920
 
921
Mon Nov 15 14:37:18 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
922
 
923
        * gencode.c: mova uses aligned addresses
924
        * interp.c (trap): Return results in r0.
925
 
926
Tue Oct 26 10:38:55 1993  Doug Evans  (dje@canuck.cygnus.com)
927
 
928
        * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
929
        * interp.c: #include "remote-sim.h".
930
        (sim_resume): int result, new arg `siggnal'.
931
        (sim_write): Use SIM_ADDR for type of arg `addr'.
932
        (sim_read): Use SIM_ADDR for type of arg `addr'.
933
        Use unsigned char * for `buffer'.
934
        (sim_store_register): int result.
935
        (sim_fetch_register): Ditto.
936
        (sim_stop_reason): Renamed from sim_stop_signal.  New arg `reason'.
937
        (sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
938
        (sim_info): int result, new args `verbose', `printf_fn'.
939
        (sim_kill): int result.
940
        (sim_open): int result, new arg `name'.
941
        * run.c: #include 
942
        (main): Update call to sim_info.
943
 
944
Sat Oct 23 15:09:29 1993  Doug Evans  (dje@canuck.cygnus.com)
945
 
946
        * interp.c (sim_stop_signal): Result is now enum sim_stop.
947
 
948
Fri Oct  8 10:47:09 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
949
 
950
        * gencode.c (table): Becomes unsigned.
951
        * interp.c (trap): Get right breakpoint SIGnum. (sim_write,
952
        sim_read): Return number of bytes copied.  (sim_store_register):
953
        Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions.
954
 
955
Tue Sep  7 16:24:13 1993  Stan Shebs  (shebs@rtl.cygnus.com)
956
 
957
        * interp.c (sim_info): Fix small typo in printf string.
958
 
959
Thu Aug  5 11:37:48 1993  Stan Shebs  (shebs@rtl.cygnus.com)
960
 
961
        * interp.c (sim_resume): Set memory after pointers inited.
962
 
963
Mon Aug  2 14:13:22 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
964
 
965
        * interp.c (get_now): Use time system call.
966
        * Makefile.in: install correctly.
967
 
968
Tue Jul  6 10:30:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
969
 
970
        * run.c (main), interp.c (sim_set_timeout): Remove timeout
971
        functionality.
972
 
973
Thu Jun 24 13:29:57 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
974
 
975
        * Makefile.in: don't run indent everytime; also add a space in the
976
        includes
977
 
978
Thu Jun 17 18:30:42 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
979
 
980
        * gencode.c: Fix some opcodes.
981
        * interp.c: Support for profiling and portability fixes.
982
        * run.c (main): Get profiling args.
983
 
984
Wed May  5 13:17:22 1993  Steve Chamberlain  (sac@cygnus.com)
985
 
986
        * gencode.c (tab): Lint for sgi compiler
987
        * interp.c: Lint for sgi compiler.
988
 
989
Mon May  3 15:25:33 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
990
 
991
        * run.c (main): Support for resizing simulated RAM.
992
        * Makefile.in: Support for broken makes.
993
        * interp.c, gencode.c: Lint.
994
 
995
Mon Apr 26 18:01:10 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
996
 
997
        * created
998
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.