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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [infra/] [current/] [ChangeLog] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2012-03-06  Grant Edwards  
2
 
3
        * include/cyg_type.h: Add CYGBLD_ATTRIB_UNUSED macro to be used to
4
        eliminate compiler warnings about unused or set-but-not-referenced
5
        varibles. Part of: [ Bugzilla 1001504 ]
6
 
7
2012-03-06
8
 
9
        * src/diag.cxx: Fix compiler warnings about variables that are set
10
        but never read. [ Bugzilla 1001503 ]
11
 
12
2010-09-13  Chris Holgate  
13
 
14
        * include/diag.h:
15
        * src/diag.cxx: Add diag_vsnprintf().
16
 
17
2009-10-06  Uwe Kindler  
18
 
19
        * include/cyg_type.h: Changed definition of macro
20
        CYG_REFERENCE_OBJECT according to proposal of Bart Veer on
21
        ecos-discuss mailing list.
22
 
23
2009-02-14  Jonathan Larmour  
24
 
25
        * tests/cxxsupp.cxx (cyg_start): Only test 'new' with ARM tools after
26
        3.2.x since up to that point the compiler generates references from
27
        the libsupc++ new implementation to .gcc_except_table, which is
28
        discarded. This is specific to ARM for now as that's all it has
29
        been reported against, but it's possible it may apply to other
30
        targets.
31
 
32
2009-02-04  Bart Veer  
33
 
34
        * include/cyg_type.h: add new static initialization priorities.
35
        Add macros to support static initialization from C as well as C++.
36
 
37
2009-01-26  Jonathan Larmour  
38
 
39
        * tests/diag_sprintf1.c: Rename main() to cyg_user_start so this
40
        works in all configs.
41
        * tests/diag_sprintf2.c: Ditto.
42
 
43
2008-10-02  Jonathan Larmour  
44
 
45
        * src/gccsupport.cxx (fwrite, fputc): New functions since GCC can
46
        now optimise certain builtins used by the libsupc++ runtime to
47
        these.
48
 
49
2008-07-10  Grant Edwards 
50
 
51
        * src/diag.cxx: allow ASCII escape character in printf
52
        format strings.
53
 
54
2008-01-10  Jonathan Larmour  
55
 
56
        * cdl/infra.cdl (CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS): Escape square
57
        brackets in description.
58
 
59
2007-12-28  Oyvind Harboe 
60
 
61
        * src/memcpy.cxx: added assert when memory areas for memcpy()
62
        overlaps => result is undefined. It is important to catch *all*
63
        cases of this if adding an optimisation for unaligned copy.
64
 
65
2007-06-28  Gary Thomas  
66
 
67
        * src/tcdiag.cxx:
68
        * src/diag.cxx: Add (char *) casts to make GCC 4.2.x happy.
69
 
70
2007-05-31  Rutger Hofman 
71
 
72
        * src/diag.cxx: when printing a long long, should not truncate
73
        its value to a long or int size
74
 
75
2006-10-26  Stefan Sommerfeld 
76
 
77
        * include/cyg_types.h: fixed typo, __GNU_PATCHLEVEL__ was checked,
78
        should be __GNUC_PATCHLEVEL__ (which is already used later)
79
        * include/cyg_types.h: fixed comment for CYGBLD_ATTRIB_USED, wrong
80
        GCC version was referenced
81
 
82
2006-08-25  Gary Thomas  
83
 
84
        * cdl/infra.cdl:
85
        CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD must be 'data', not 'boolean'
86
 
87
2006-05-17  David Vrabel 
88
 
89
        * include/cyg_type.h: #define CYG_NELEM to calculate the
90
        number of elements in a (statically allocated) array.
91
 
92
2006-05-08  Sergei Gavrikov 
93
 
94
        * src/buffer.cxx: Fix the compiler warnings.
95
 
96
2005-11-04  Bart Veer 
97
 
98
        * tests/cxxsupp.cxx: Fix the compiler warnings.
99
 
100
2005-10-16  Andrew Lunn  
101
 
102
        * src/delete.cxx:
103
        * cdl/infra.cdl: Count the number of calls to delete when
104
        INFRA_DEBUG is enabled. If the threshold is exceeded it probably
105
        means the user expects a real delete function, not the empty one.
106
 
107
2005-10-12  Laurent Gonzalez  
108
 
109
        * src/simple.cxx (cyg_check_func_ptr): match the implementation to
110
        the prototype. This got forgotten in the last patch.
111
 
112
2005-07-29  Andrew Lunn  
113
 
114
        * include/cyg_ass.h: Fixed a function prototype so that
115
        gcc4 does not give warnings. A const void makes no sense.
116
        * src/*.cxx (cyg_check_func_ptr): match the implementation to the
117
        prototype.
118
 
119
2005-06-27  Andrew Lunn  
120
 
121
        * include/cyg_type.h: Added CYGBLD_ATTRIB_USED so that we can
122
        indicate to gcc 3.4.4 or above not to throw away a variable or
123
        function even when it appears to be not references.
124
 
125
2005-04-07  Jonathan Larmour  
126
 
127
        * src/gccsupport.cxx: New file. Provide very simple defaults for
128
        some dependencies of the GCC runtime.
129
        * cdl/infra.cdl: Build it.
130
 
131
2005-03-27  Andrew Lunn  
132
 
133
        * include/diag.h: Added CYGBLD_ATTRIB_PRINTF_FORMAT where
134
        appropriate to get the compiler to do more checking.
135
        * src/diag.cxx (diag_dump_buf_with_offset_16bit): Fix compiler warning
136
        caused by above change.
137
 
138
2005-02-08  Andrew Lunn  
139
 
140
        * tests/diag_sprintf1.c
141
        * tests/diag_sprintf2.c
142
        * cdl/infra.cdl: Used the sprintf test from libc to test
143
          diag_sprintf.
144
 
145
2005-02-08  Christoph Csebits 
146
 
147
        * src/diag.cxx (diag_snprintf): Off by one error could cause the
148
        end of the buffer to be overrun.
149
 
150
2004-07-12  Gary Thomas  
151
 
152
        * src/diag.cxx (_vprintf): Fix return length for %%
153
 
154
2004-06-30  Gary Thomas  
155
 
156
        * src/diag.cxx (_vprintf): Returned [length] was wrong for %p
157
 
158
2004-04-16  Jonathan Larmour  
159
 
160
        * tests/cxxsupp.cxx: Allow inline function to be correctly inlined.
161
 
162
2004-04-15  Jonathan Larmour  
163
 
164
        * include/cyg_type.h: added CYG_ATTRIB_ALIGN_MAX and
165
        CYGBLD_ATTRIB_ALIGNOFTYPE. Inspired by Robert Larice.
166
 
167
2004-01-08  Jani Monoses 
168
 
169
        * src/diag.cxx (diag_check_string): Allow '\t' in format strings.
170
 
171
2004-01-05  Gary Thomas  
172
 
173
        * tests/fc_test.c:
174
        * src/tcdiag.cxx (cyg_assert_msg): 'fconfig' API changed again.
175
 
176
2003-12-21  Gary Thomas  
177
 
178
        * tests/fc_test.c: New test/demonstration of 'fconfig' access.
179
 
180
        * src/tcdiag.cxx (cyg_assert_msg): Interface to 'fconfig' data
181
        has changed.
182
 
183
2003-10-11  Gary Thomas  
184
 
185
        * src/tcdiag.cxx (cyg_test_exit):
186
        * cdl/infra.cdl: New option CYGSEM_INFRA_RESET_ON_TEST_EXIT which
187
        [if defined] indicates that "cyg_test_exit()" should reset the
188
        platform instead of the default hang.
189
 
190
2003-10-03  Nick Garnett  
191
 
192
        * tests/cxxsupp.cxx: Added ifdef to disable this test on H8/300
193
        targets. The H8/300 toolchain does not currently have C++ support.
194
 
195
2003-07-01  Michael Checky  
196
 
197
        * src/diag.cxx: Added support for the 'z' qualifier in format strings.
198
 
199
2003-05-05  Gary Thomas  
200
 
201
        * cdl/infra.cdl: Add option to control number of times tests run.
202
 
203
2003-04-25  Jonathan Larmour  
204
 
205
        * tests/cxxsupp.cxx: don't include  as it's not
206
        needed.
207
        (cyg_start): CYGINT_ISO_MALLOC needs a #if test.
208
 
209
2003-04-10  Nick Garnett  
210
 
211
        * tests/cxxsupp.cxx: Added this test program to check that basic
212
        C++ support is present. It checks that pure virtual functions can
213
        be defined, that new and delete are present and functional, and
214
        that calls to as-yet undefined inline functions work. Most of
215
        these are linker and runtime system issues, so the actual run of
216
        the program is almost a non-event.
217
 
218
        * cdl/infra.cdl:
219
        Added CYGFUN_INFRA_DUMMY_ABORT and CYGFUN_INFRA_DUMMY_STRLEN
220
        options to control inclusion of dummy abort() and strlen()
221
        functions. These are needed to be present by the compiler's C++
222
        runtime system, although they should never be called.
223
        Added CYGPKG_INFRA_TESTS to define test programs.
224
        Added CYGPKG_INFRA_LDFLAGS_REMOVE and CYGPKG_INFRA_LDFLAGS_ADD to
225
        modify the linkage options for the infra package
226
        tests. Specifically they remove the --gc-sections option and make
227
        all linker warning fatal. This is necessary if cxxsupp.cxx is to
228
        test what it needs correctly.
229
 
230
        * src/abort.cxx: Added this dummy implementation of abort() to
231
        satisfy references in the C++ runtime system.
232
 
233
        * src/strlen.cxx: Added this dummy implementation of strlen() to
234
        satisfy references in the C++ runtime system.
235
 
236
2003-03-27  Bart Veer  
237
 
238
        * src/pure.cxx, cdl/infra.cdl: new function __cxa_pure_virtual(),
239
        needed when building with g++ v3.x if the code uses pure
240
        virtual functions.
241
 
242
2003-01-18  Jonathan Larmour  
243
 
244
        * include/cyg_ass.h (CYG_CHECK_FUNC_PTRC): Define with const pointer
245
        arguments.
246
        (CYG_CHECK_DATA_PTRC): Ditto.
247
        (CYG_CHECK_FUNC_PTR): Ditto.
248
        (CYG_CHECK_DATA_PTR): Ditto.
249
        * src/null.cxx: Define cyg_check_data/func_ptr() with const args.
250
        * src/buffer.cxx: Ditto.
251
        * src/fancy.cxx: Ditto.
252
        * src/simple.cxx: Ditto.
253
 
254
2002-07-18  Gary Thomas  
255
 
256
        * include/diag.h:
257
        * src/diag.cxx (diag_vdump_buf_with_offset): New function.
258
 
259
2002-05-22  Jesper Skov  
260
 
261
        * cdl/infra.cdl: Added two options to control CFLAGS.
262
 
263
2002-05-17  Martin Buck 
264
 
265
        * include/cyg_type.h (CYGBLD_ATTRIB_PRINTF_FORMAT): Add.
266
 
267
2002-05-23  Gary Thomas  
268
 
269
        * src/diag.cxx (_vprintf): Mapping of '\n'=>'\r\n' must be done
270
        at the _putc() level.
271
 
272
2002-04-17  Gary Thomas  
273
 
274
        * src/diag.cxx (diag_dump_buf_with_offset): Fix pad for short lines.
275
 
276
2002-04-16  Gary Thomas  
277
 
278
        * src/diag.cxx: Return proper length result for sprintf() functions.
279
 
280
2002-04-09  Jonathan Larmour  
281
 
282
        * include/cyg_type.h: Allow HALs to override certain attrib macros.
283
 
284
2002-02-19  Gary Thomas  
285
 
286
        * src/diag.cxx (diag_snprintf):
287
        * include/diag.h: Change function signature on diag_snprintf()
288
        to match snprintf() found in stdio.
289
 
290
2002-02-13  Jonathan Larmour  
291
 
292
        * include/cyg_trac.h: Make message type of trace functions be
293
        const char * to help avoid warnings with callers.
294
        * src/null.cxx: Reflect that in actual functions.
295
        * src/fancy.cxx: Ditto.
296
        * src/simple.cxx: Ditto.
297
        * src/buffer.cxx: Ditto.
298
 
299
2002-01-31  Hugo Tyson  
300
 
301
        * src/tcdiag.cxx (cyg_assert_msg): Enable this function
302
        universally; given the extra usefulness it now has (see below)
303
        it's worth always having around by default in asserted builds.
304
        It can be disabled with CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE = 0.
305
 
306
2002-01-30  Hugo Tyson  
307
 
308
        * src/tcdiag.cxx (cyg_assert_msg): Collect from RedBoot flash
309
        config, whether or not to dump to a specific console.
310
 
311
2002-01-28  Gary Thomas  
312
 
313
        * src/diag.cxx (diag_snprintf):
314
        * include/diag.h: New function diag_snprintf().
315
 
316
2002-01-23  Jonathan Larmour  
317
 
318
        * include/cyg_type.h: Define CYG_INIT_IO_FS used by filesystems
319
        so that they init *after* the devices they depend on.
320
 
321
2002-01-21  Jonathan Larmour  
322
 
323
        * src/tcdiag.cxx (cyg_test_exit): Work around problem with recent
324
        SH tools that isn't likely to get fixed soon.
325
 
326
2002-01-17  Jeroen Dobbelaere  
327
 
328
        * src/diag.cxx (diag_check_string): enlarge valid string length to 2048
329
 
330
2001-12-06  Jesper Skov  
331
 
332
        * src/diag.cxx: Added functions to do memory dump in 16 and 32 bit
333
        units. Based on changes from Warren Jasper .
334
        * include/diag.h: Function declarations.
335
 
336
2001-09-12  Jonathan Larmour  
337
 
338
        * src/eprintf.c (__eprintf): Tolerate absence of standard ISO C
339
        functions better.
340
 
341
2001-09-11  Jesper Skov  
342
 
343
        * src/diag.cxx (diag_check_string): Also accept \b.
344
 
345
2001-08-25  Gary Thomas  
346
 
347
        * src/diag.cxx (_vprintf): Fix confusion between signed and unsigned
348
        descriptors (only %d is signed).
349
 
350
2001-08-24  Gary Thomas  
351
 
352
        * include/diag.h: Export diag_dump_buf_with_offset.
353
 
354
        * src/diag.cxx (_vprintf): Fix problems with signed/unsigned prints.
355
        (diag_dump_buf_with_offset): Export.
356
 
357
2001-08-23  Gary Thomas  
358
 
359
        * src/diag.cxx (_vprintf): Restore functionality of %D,%U,%X,%B,%S,%C
360
        which were present in old code.
361
 
362
2001-08-22  Gary Thomas  
363
 
364
        * src/diag.cxx:
365
        * include/diag.h:
366
        * cdl/infra.cdl: Restructuring to support more flexible versions
367
        of diag_printf() and related functions.  Remove old cruft which
368
        was workaround for possibly failing compilers [K&R support].
369
        These versions of printf(), etc, were part of the RedBoot package
370
        and have been moved here (and renamed) to reduce code duplication.
371
 
372
2001-08-22  Jonathan Larmour  
373
 
374
        * src/eprintf.c: New file to implement __eprintf called from libgcc.
375
        * cdl/infra.cdl: Build it.
376
        * include/cyg_type.h: Provide __THROW default empty throw specifier.
377
        * include/cyg_ass.h (cyg_assert_fail): Add __THROW.
378
        (cyg_assert_msg): Ditto.
379
        * src/buffer.cxx (cyg_assert_fail): Ditto.
380
        * src/fancy.cxx (cyg_assert_fail): Ditto.
381
        * src/null.cxx (cyg_assert_fail): Ditto (twice).
382
        * src/simple.cxx (cyg_assert_fail): Ditto.
383
        * src/tcdiag.cxx (cyg_assert_msg): Ditto.
384
 
385
2001-08-03  Nick Garnett  
386
 
387
        Imported from a development branch:
388
 
389
        2001-06-27  Nick Garnett  
390
 
391
                * src/diag.cxx:
392
                * src/tcdiag.cxx:
393
                Added use of CYG_HAL_DIAG_LOCK() and CYG_HAL_DIAG_UNLOCK() to
394
                diag_printf(), cyg_assert_msg() and cyg_test_output() to prevent
395
                messages from different CPUs being mingled.
396
 
397
        2001-05-22  Nick Garnett  
398
 
399
                * include/cyg_type.h (CYGBLD_ANNOTATE_VARIABLE_*):
400
                Added better way of supplying default definitions for these.
401
 
402
        2001-04-27  Nick Garnett  
403
 
404
                * include/cyg_type.h:
405
                Added default variable annotation macros.
406
 
407
2001-07-18  Jonathan Larmour  
408
 
409
        * include/cyg_type.h (CYG_INIT_MEMALLOC): Add.
410
 
411
2001-07-13  Jonathan Larmour  
412
 
413
        * src/diag.cxx (diag_vprintf): Fix long longs (patch from
414
        Motoya Kurotsu 
415
 
416
        * cdl/debug.cdl: Make tracing styles be mutually exclusive properly
417
        using an interface.
418
 
419
2001-06-14  Jonathan Larmour  
420
 
421
        * include/clist.hxx (Cyg_DNode_T): Don't qualify constructor or
422
        destructor with .
423
        (Cyg_CList_T): Ditto.
424
 
425
2001-02-23  Robin Farine  
426
 
427
        * include/cyg_type.h: Do alignment consistency check.
428
 
429
2001-01-05  Nick Garnett  
430
 
431
        * include/clist.hxx: Many changes to make these classes usable in
432
        the MLQ scheduler and alarm objects.
433
 
434
2000-12-15  Nick Garnett  
435
 
436
        * include/clist.hxx: Added this implementation of simple circular
437
        list classes. This is not immediately useful, except to the
438
        dynamic loader, but it is intended to simplify the MLQ scheduler
439
        with these classes eventually.
440
 
441
2000-12-13  Jesper Skov  
442
 
443
        * include/cyg_type.h (CYGBLD_ATTRIB_ASM_ALIAS): Mangle assembler
444
        symbols properly.
445
 
446
2000-09-08  Jonathan Larmour  
447
 
448
        * include/cyg_type.h (CYGBLD_ATTRIB_SECTION): Don't stringify arg.
449
 
450
2000-09-04  Jonathan Larmour  
451
 
452
        * include/cyg_type.h (CYGARC_ALIGNMENT): Add default of 8
453
        (CYGARC_P2ALIGNMENT): Add corresponding default of 3
454
        (CYGBLD_ATTRIB_ALIGN): Define to allow alignment
455
        * include/cyg_type.inc: As above for CYGARC_ALIGNMENT and
456
        CYGARC_P2ALIGNMENT
457
 
458
2000-07-25  Jonathan Larmour  
459
 
460
        * include/cyg_type.inc: Create. Used for the equivalent stuff of
461
        cyg_type.h in assembler and linker scripts
462
 
463
2000-07-19  Jonathan Larmour  
464
 
465
        * src/pkgstart.cxx (cyg_package_start): Remove POSIX startup option
466
        * cdl/startup.cdl: Likewise
467
 
468
2000-07-18  Jonathan Larmour  
469
 
470
        * src/buffer.cxx (increment_buffer_pos): Reset buffer pos *before*
471
        we try to print the buffer
472
        Thanks to Chris Morrow (cmorrow at YottaYotta.com ) for spotting
473
        the problem.
474
 
475
2000-07-04  Jonathan Larmour  
476
 
477
        * cdl/infra.cdl: Add CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS option
478
        to control presence of empty C++ delete functions
479
 
480
        * src/delete.cxx: Move comments into above option, and simplify
481
        the configuration now that it's more straightforward
482
 
483
2000-06-21  Nick Garnett  
484
 
485
        * src/simple.cxx:
486
        * src/null.cxx:
487
        * src/fancy.cxx:
488
        * src/buffer.cxx:
489
        Removed use of CYG_LABEL_NAME() and added extra underscores to
490
        _stext and _etext.
491
 
492
        * include/cyg_type.h: Changed default for CYG_LABEL_DEFN() to
493
        define labels without an extra underscore. This reflects the
494
        practice of most of the targets we support.
495
 
496
2000-06-19  Nick Garnett  
497
 
498
        * include/cyg_type.h:
499
        Added CYGBLD_ATTRIB_SECTION to assign variables to a named
500
        section.
501
        Added CYG_LABEL_DEFN() macro for defining labels in asm and linker
502
        scripts. This is particularly useful for generating labels in
503
        inline assembler fragments.
504
 
505
2000-05-02  Jonathan Larmour  
506
 
507
        * cdl/startup.cdl:
508
        * src/pkgstart.cxx:
509
        Remove CYGSEM_START_ISO_C_COMPATIBILITY: startup is now handled
510
        via extras.o
511
        * include/cyg_type.h: Define __externC alternative to externC
512
 
513
2000-04-12  Jesper Skov  
514
 
515
        * cdl/infra.cdl: Allow build flags to be tweaked.
516
 
517
2000-03-31  Nick Garnett  
518
 
519
        * cdl/startup.cdl:
520
        * src/pkgstart.cxx:
521
        Added POSIX startup option.
522
 
523
2000-03-28  Jonathan Larmour  
524
 
525
        * include/cyg_trac.h: Also update internal documentation for below
526
        const char * changes (2000-03-27)
527
 
528
2000-03-28  John Dallaway  
529
 
530
        * cdl/infra.cdl:
531
 
532
        Adjust documentation URLs.
533
 
534
2000-03-27  Gary Thomas  
535
 
536
        * src/tcdiag.cxx: HAL architecture ports may override default
537
        behavior for 'cyg_test_exit()'.
538
 
539
        * src/diag.cxx (diag_vprintf): Add support for %llX modifier, which
540
        allows for printing of (long long) operands.
541
 
542
2000-03-27  Jonathan Larmour  
543
 
544
        * include/cyg_trac.h: Use const qualifier on function and file name
545
        strings to be compatible with the C++ standard
546
        * src/buffer.cxx: likewise
547
        * src/fancy.cxx: likewise
548
        * src/null.cxx: likewise
549
 
550
2000-03-27  Jesper Skov  
551
 
552
        * include/cyg_type.h: Make cyg_halbool the same for C and C++
553
        code.
554
 
555
        * include/cyg_ass.h (CYGDBG_DEFINE_CHECK_THIS): Use cyg_bool
556
        instead of bool.
557
 
558
2000-03-07  Jesper Skov  
559
 
560
        * src/buffer.cxx: Fix some compiler warnings.
561
 
562
2000-03-03  Jesper Skov  
563
 
564
        * include/cyg_type.h (CYGBLD_ATTRIB_WEAK): disarm bomb for !GCC.
565
 
566
2000-03-01  Jesper Skov  
567
        103290
568
        * include/cyg_ass.h: Make cyg_assert_fail a weak symbol.
569
 
570
2000-02-28  Gary Thomas  
571
 
572
        * include/diag.h:
573
        * src/diag.cxx (diag_dump_buf): Add diagnostic "dump buffer" function.
574
 
575
2000-02-21  Hugo Tyson  
576
 
577
        * src/tcdiag.cxx (cyg_test_is_simulator): set this true if ugly
578
        new cdl_option CYGHWR_TARGET_SIMULATOR_NO_GDB_WORKING is set.
579
        This means we cannot diddle the variable using GDB.
580
 
581
2000-02-18  Hugo Tyson  
582
 
583
        * src/tcdiag.cxx (cyg_test_exit): Add the facility for a platform
584
        HAL to define an action to take at CYG_TEST_EXIT time; this is
585
        useful for some simulators that are not (yet) Gdb integrated.
586
        The action is CYGHWR_TEST_PROGRAM_EXIT() if defined.
587
 
588
        * src/simple.cxx (cyg_assert_fail): Add the facility for a
589
        platform HAL to define an action to take when an assertion failure
590
        occurs.  Ditto.
591
 
592
        * src/fancy.cxx (cyg_assert_fail): Ditto.
593
 
594
        * src/buffer.cxx (cyg_assert_fail): Ditto.
595
 
596
        [no change to null.cxx because, well, it's null isn't it]
597
 
598
2000-02-08  Jonathan Larmour  
599
 
600
        * include/cyg_trac.h: Define and document CYG_TRACE_PRINT() and
601
        CYG_TRACE_DUMP() macros for outputting buffered trace output, and
602
        kernel state dump respectively
603
 
604
        * cdl/debug.cdl (CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER):
605
        replace (incorrect) mention of cyg_trace_output() with CYG_TRACE_PRINT()
606
        macro.
607
 
608
        * src/fancy.cxx (cyg_trace_dump): Add (from buffer.cxx)
609
        * src/simple.cxx (cyg_trace_dump): Add (from buffer.cxx)
610
        * src/null.cxx (cyg_trace_dump): Add as empty function
611
 
612
2000-01-31 Simon FitzMaurice  
613
  * cdl\infra.cdl:
614
 
615
  Adjust help URLs in line with new doc layout.
616
 
617
2000-01-28 Simon FitzMaurice  
618
  * cdl\infra.cdl:
619
 
620
  Adjust help URLs in line with new doc layout.
621
 
622
1999-11-26  Gary Thomas  
623
 
624
        * include/cyg_type.h: Add MLT symbols CYGMEM_REGION_ATTR_R/W.
625
 
626
1999-11-23  Hugo Tyson  
627
 
628
        * cdl/debug.cdl: Add "active_if CYGDBG_USE_TRACING" to all tracing
629
        only options in the buffered flavour of assert'n'trace.  Otherwise
630
        enabling asserts but no tracing does not build; oldCDL dealt with
631
        this by a string of ifdefs in the header.  Active_if is my friend.
632
        This also prevents the confusion of having active options that
633
        have no effect whatsoever.
634
        Aside: the default is buffered assert'n'trace so that the test
635
        farm can enable tracing and not get swamped by output.
636
 
637
1999-05-14  Hugo Tyson  
638
 
639
        * include/cyg_type.h (CYG_INIT_COMPAT): add a new init priority
640
        level for compatibility layers (for uITRON that is, but
641
        potentially POSIX also perhaps, after libc anyway).
642
 
643
1999-04-14  John Dallaway  
644
 
645
        * include/pkgconf/infra.h: Add cdl_package doc attribute.
646
 
647
1999-04-12  Jesper Skov  
648
 
649
        * include/cyg_type.h: Added new init priority for IO devices.
650
 
651
        * include/diag.h:
652
        * src/diag.cxx:
653
        Use device for diag if configured so.
654
 
655
1999-03-19  Gary Thomas  
656
 
657
        * src/diag.cxx (diag_vprintf): Support '%%' printf modifier.
658
 
659
1999-03-05  Jonathan Larmour  
660
 
661
        * include/cyg_type.h:
662
        Add CYGBLD_ATTRIB_CONST and tidy define indentation
663
 
664
1999-03-04  Bart Veer  
665
 
666
        * include/diag.h:
667
        Added a #include for  so that the header file
668
        can correctly check for CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG
669
 
670
1999-02-25  Nick Garnett  
671
 
672
        * include/cyg_type.h:
673
        Added CYGBLD_ATTRIB_ASM_ALIAS() macro to supply an alias for a
674
        variable while it is being defined.
675
 
676
1999-02-24  Jonathan Larmour  
677
 
678
        * include/cyg_type.h (CYG_INIT_APPLICATION): Add CYG_INIT_DRIVERS
679
        priority
680
 
681
        * src/tcdiag.cxx (cyg_test_output): Re-include angle brackets
682
        for CYG_TEST_GDBCMD command
683
 
684
1999-02-23  Jonathan Larmour  
685
 
686
        * include/testcase.h (CYG_TEST_NA):
687
        Add call to cyg_test_exit()
688
 
689
1999-02-22  Jonathan Larmour  
690
 
691
        * include/cyg_type.h:
692
        Add CYGBLD_ATTRIB_INIT_PRI/BEFORE/AFTER macros.
693
        Remove CYG_INIT_BEFORE/AFTER as they were unusable
694
 
695
        * include/testcase.h:
696
        * src/tcdiag.cxx:
697
        Add CYGNUM_TEST_NA() macro for not applicable state
698
        Don't need to call diag_init() any more from cyg_test_init()
699
 
700
        * src/diag.c:
701
        * src/diag.cxx:
702
        Rename diag.c to diag.cxx
703
        Add dummy constructor object to do initialization right after the
704
        HAL has started. Needed to get asserts working correctly at
705
        constructor time, and for CYGNUM_TEST_GDBCMD to work as intended
706
        (i.e. before calling CYG_TEST_INIT())
707
 
708
1999-02-17  Jonathan Larmour  
709
 
710
        * src/tcdiag.cxx (cyg_test_output): Remove angle brackets round
711
        GDBCMD output
712
 
713
1999-02-16  Jonathan Larmour  
714
 
715
        * src/fancy.cxx (trim_func):
716
        * src/simple.cxx (trim_func):
717
        * src/buffer.cxx (trim_func):
718
        Don't delete bits before a space as it may not always be a
719
        type, if using CYG_FUNCNAME rather than relying on
720
        __PRETTY_FUNCTION__
721
 
722
        * src/tcdiag.cxx (cyg_test_output):
723
        Add new GDBCMD output and do some tidying vis a vis coding standards
724
        etc.
725
 
726
        * include/testcase.h:
727
        Do some tidying vis a vis coding standards etc.
728
 
729
1999-02-16  Gary Thomas  
730
 
731
        * include/cyg_type.h (CYGBLD_ATTRIB_CONSTRUCTOR):
732
        New macro, used to define a 'C' routine to be run with 'C++'
733
        constructors.
734
 
735
1999-01-26  Bart Veer  
736
 
737
        * include/cyg_type.h (CYGBLD_ATTRIB_NORET):
738
        Updated the non-GNUC version of the macro
739
 
740
1999-01-21  Jonathan Larmour  
741
 
742
        * include/cyg_type.h:
743
        Remove all traces of CYG_KERNEL_USE_INIT_PRIORITY option - now
744
        compulsory. Consequently can remove include of pkgconf/infra.h.
745
        Add CYG_INIT_PREDEFAULT priority for
746
        CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG implementation.
747
        Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
748
        Add CYGBLD_ATTRIB_ALIAS and CYGBLD_ATTRIB_WEAK_ALIAS macros
749
 
750
        * include/cyg_ass.h:
751
        * include/testcase.h
752
        Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
753
 
754
        * src/startup.cxx:
755
        Split up into smaller files to make GDB happier when debuggin
756
 
757
        * src/pkgstart.cxx:
758
        * src/prestart.cxx:
759
        * src/userstart.cxx:
760
        New files with contents originally from startup.cxx
761
 
762
1999-01-19  Jonathan Larmour  
763
 
764
        * include/cyg_type.h (CYG_REFERENCE_OBJECT):
765
        Make this work with no overhead, although it doesn't work with
766
        anything other than objects with constructors. I _believe_ this
767
        is the only relevant situation though. Bite me.
768
        Fix for PR 18782
769
 
770
1999-01-14  Jesper Skov  
771
 
772
        * include/cyg_type.h (CYG_REFERENCE_SYMBOL): Added.
773
 
774
1999-01-13  Gary Thomas  
775
 
776
        * include/cyg_type.h: Default handling of 'CYG_DOUBLE_BYTEORDER'
777
 
778
1999-01-13  Jesper Skov  
779
 
780
        * include/cyg_type.h (CYG_UNUSED_PARAM): Don't assign to the
781
        unused parameter; it might be a macro constant.
782
 
783
1999-01-11  Bart Veer  
784
 
785
        * src/tcdiag.cxx (cyg_test_output):
786
        * include/testcase.h:
787
        Use const where appropriate in cyg_test_output()
788
 
789
1999-01-06  Bart Veer  
790
 
791
        * include/cyg_trac.h (CYG_REPORT_FUNCARG8):
792
        Removed spurious comma so that the macro actually compiles.
793
 
794
1998-12-24  Bart Veer  
795
 
796
        * src/simple.cxx:
797
        * src/null.cxx:
798
        * src/fancy.cxx:
799
        * src/diag.c:
800
        * src/buffer.cxx:
801
        * include/diag.h:
802
        In the assertion support, use const where appropriate.
803
 
804
1998-12-24  Bart Veer  
805
 
806
        * include/cyg_ass.h:
807
        The prototype for cyg_assert_fail() is now always present.
808
        const is used wherever appropriate.
809
        A number of additional assertion macros are now defined.
810
        Host-specific assertion support has been added.
811
        Some minor tweaks for greater consistency in macro usage.
812
 
813
1998-12-21  Bart Veer  
814
 
815
        * include/cyg_type.h:
816
        Allow for platforms where pointers are not 32 bits wide.
817
 
818
1998-12-16  Hugo Tyson  
819
 
820
        * include/testcase.h (cyg_test_is_simulator):
821
        * src/tcdiag.cxx (cyg_test_is_simulator):
822
        Change the type to int so that all gdb's understand it.
823
        (it was impossible to assign to from the prompt as a bool)
824
 
825
1998-12-09  Bart Veer  
826
 
827
        * include/testcase.h:
828
        Hide a __noreturn__ attribute inside a macro so that the
829
        header file can be used for host-side code.
830
 
831
1998-11-02  Jesper Skov  
832
 
833
        * src/memset.c (_memset): Use type casted pointer to avoid
834
        compiler warning.
835
 
836
Mon Oct 26 21:20:13 1998  Jonathan Larmour  
837
 
838
        * src/buffer.cxx:
839
        Make write_thread_id() conditional on CYGDBG_USE_ASSERTS as that's
840
        the only time it is used. This silences a compiler warning
841
 
842
Mon Oct 26 19:40:48 1998  Jonathan Larmour  
843
 
844
        * src/memset.c, src/memcpy.c:
845
        Conditionalise out all tracing for now
846
        Fix for PR 17996
847
 
848
Fri Oct 23 05:42:36 1998  Jonathan Larmour  
849
 
850
        * include/cyg_ass.h (CYGASSERT_docall):
851
        Make a dummy reference to _msg_ argument when
852
        CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE is disabled, otherwise we may get
853
        "unused variable" warnings
854
        Fix for PR 17889
855
 
856
1998-10-22  Hugo Tyson  
857
 
858
        * src/buffer.cxx (increment_buffer_pos):
859
        Use the correctly named print_trace_buffer() rather than some
860
        typo/globaleditto.
861
        (cyg_trace_dump): only refer to thread->get_saved_context() if
862
        CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT is defined.
863
 
864
1998-10-22  Hugo Tyson  
865
 
866
        * src/buffer.cxx (write_thread_id):
867
        Make get_tid() be there when used.
868
 
869
        * include/pkgconf/infra.h:
870
        Only enable all the buffered tracing stuff if USE_TRACING is
871
        selected; otherwise link errors ensue if only USE_ASSERTS is
872
        enabled.
873
 
874
1998-10-22  Jesper Skov  
875
        PR 17914
876
 
877
        * src/simple.cxx (CYG_NO_THREADID): Set if there is no Kernel
878
        support.
879
 
880
1998-10-20  Nick Garnett  
881
 
882
        * src/null.cxx:
883
        Removed fix for PR 17471 since the required macros have been moved
884
        to cyg_type.h.
885
 
886
        * include/diag.h (diag_printf):
887
        * src/diag.c (diag_printf):
888
        Made use of variadic arguments optional in this function.
889
 
890
        * include/pkgconf/infra.h:
891
        Added configury to support buffered tracing.
892
 
893
        * src/fancy.cxx (trim_func):
894
        Fixed fencepost bug.
895
 
896
        * src/PKGconf.mak:
897
        * src/buffer.cxx:
898
        Added buffer.cxx to implement buffered trace log.
899
 
900
Thu Oct 15 21:27:23 1998  Jonathan Larmour  
901
 
902
        * src/delete.cxx, src/memcpy.c, src/memset.c:
903
        Moved here from ecc/kernel/current/src/common, as they should
904
        be present even if the kernel is disabled
905
 
906
        * include/pkgconf/infra.h:
907
        Add new config options CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMCPY
908
        and CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMSET to support the
909
        functionality available in memcpy.c and memset.c
910
 
911
        * src/PKGconf.mak:
912
        build above new files
913
 
914
        Above changes are required for PR 17229
915
 
916
1998-10-14  Nick Garnett  
917
 
918
        * include/cyg_type.h:
919
        Moved CYG_LABEL_NAME() macro here from ktypes.h.
920
 
921
Wed Oct 14 17:10:12 1998  Jonathan Larmour  
922
 
923
        * src/diag.c:
924
        Change warning message from previous change to match compiler
925
        output exactly
926
 
927
Tue Oct 13 17:23:37 1998  Jonathan Larmour  
928
 
929
        * src/diag.c:
930
        Output another warning so that people know that diag.c produces
931
        a warning
932
        Reformat to 76 columns
933
        Change args of diag_printf to be ANSI-style, not K&R to
934
        silence warning
935
 
936
1998-09-25  Bart Veer  
937
 
938
        * src/null.cxx:
939
        PR 17471: null.cxx relies on the macro CYG_LABEL_NAME(), which on
940
        the mn10300 is defined only if  is included.
941
        As a temporary fix this header file is now always included. In the
942
        medium term there will have to be proper fixes to ktypes.h and to
943
        cyg_type.h
944
 
945
Wed Sep 16 03:42:16 1998  Jonathan Larmour  
946
 
947
        * src/startup.cxx, src/dummyxxmain.cxx:
948
        Move __main() to a separate dummyxxmain.cxx source file to resolve
949
        linking bogosities on some targets
950
        Fix for PR 17279 - kudos to Tim Goodwin really
951
 
952
        * src/PKGconf.mak:
953
        Build src/dummyxxmain.cxx
954
 
955
Tue Sep 15 19:14:33 1998  David Moore  
956
 
957
        * include/pkgconf/infra.h: Cleaned up comments.
958
 
959
Tue Sep 15 14:34:34 1998  David Moore  
960
 
961
        * src/startup.cxx:
962
        * include/cyg_type.h:
963
        CYGBLD_ATTRIB_WEAK moved from src/startup.cxx to
964
        include/cyg_type.h
965
 
966
Tue Sep 15 12:26:36 1998  Jonathan Larmour  
967
 
968
        * src/null.cxx, src/simple.cxx, src/fancy.cxx:
969
        Change cyg_check_data_ptr() to not compare with _end symbol from
970
        linker scripts as this is a bogus thing to do when starting in
971
        ROM. Some better magic can be done later with the memory layout
972
        tool.
973
 
974
        * src/simple.cxx (cyg_assert_fail),
975
          src/fancy.cxx (cyg_assert_fail):
976
        If an assert is thrown, loop forever no matter what the platform
977
        rather than resetting the jmr board.
978
 
979
Fri Sep 11 12:52:59 1998  Hugo Tyson  
980
 
981
        * src/tcdiag.cxx:
982
        * src/diag.c:
983
        Remove dependencies on the kernel:
984
         o types are available from here, infra.
985
         o Diag and its mates are here and the HAL.
986
 
987
Thu Sep 10 21:59:09 1998  Hugo Tyson  
988
 
989
        * src/fancy.cxx:
990
        * src/simple.cxx:
991
        * src/null.cxx:
992
        Remove dependencies on the kernel:
993
         o interrupt stuff is available from the HAL.
994
         o types are available from here, infra.
995
         o Diag and its mates are here and the HAL.
996
         o Only consider printing thread information if there is a kernel.
997
 
998
Thu Sep 10 21:29:55 1998  Hugo Tyson  
999
 
1000
        * include/pkgconf/infra.h:
1001
        Fix CDL descriptions (mainly) resulting from review of
1002
        configury here.
1003
 
1004
Thu Sep 10 17:38:00 1998  Hugo Tyson  
1005
 
1006
        * src/null.cxx:
1007
        Add an empty cyg_assert_fail() if not CYGDBG_USE_ASSERTS, so that
1008
        clib's assert() can use it, in common with but regardless of the
1009
        internal assert setup.  Of course if internal asserts are used,
1010
        the same routine is used.
1011
 
1012
Thu Sep  3 19:05:29 1998  Hugo Tyson  
1013
 
1014
        * src/startup.cxx (__main):
1015
        ...and its mates.  Correct the bad usage of the tracing macros - a
1016
        type was implied when the type was void, so an assert fires.
1017
 
1018
        * include/diag.h (diag_printf):
1019
        Remove 'useful' prototype; this function deliberately has a K&R
1020
        prototype to avoid having to use varargs, or pad arglists or
1021
        anything grody like that.  Comment to that effect added too.
1022
 
1023
        * src/fancy.cxx:
1024
        Condition out routines which are only used by tracing system;
1025
        prevent warnings.  Also changed the default widths setup to
1026
        something more suitable to our long function names; viewing on
1027
        about a 200 column screen recommended - or use 'simple' instead.
1028
 
1029
Tue Sep  1 19:09:39 1998  Hugo Tyson  
1030
 
1031
        * include/pkgconf/infra.h:
1032
        Fancy tracing by default, as I've been requested.
1033
        Move definition (or not) of CYGDBG_INFRA_DIAG_USE_DEVICE from the
1034
        kernel, correcting the symbol construction as we go.
1035
 
1036
        * include/cyg_type.h:
1037
        Correct multiple-inclusion protection, remove
1038
        Version nonsense, correct Usage: field, put in
1039
        definition of CYGBLD_NORET.
1040
 
1041
        * include/cyg_ass.h:
1042
        Correct Usage: field, remove definition of CYGDBG_NORET, correct
1043
        definition of cyg_assert_fail to use CYGBLD_NORET as intended.
1044
 
1045
        * include/cyg_trac.h:
1046
        Tidy up comments.
1047
 
1048
        * src/PKGconf.mak (COMPILE):
1049
        Added all the new units below.
1050
 
1051
        * src/fancy.cxx:
1052
        * src/simple.cxx:
1053
        * src/null.cxx:
1054
        Moved here from the kernel; comments changed accordingly.
1055
 
1056
        * src/tcdiag.cxx:
1057
        * include/diag.h:
1058
        * src/diag.c:
1059
        Moved here from the kernel; comments changed accordingly.
1060
        Also use config symbol CYGDBG_INFRA_DIAG_USE_DEVICE rather than
1061
        (badly named) CYG_DIAG_USE_DEVICE.
1062
 
1063
Fri Aug 28 15:22:16 1998  Hugo Tyson  
1064
 
1065
        * include/pkgconf/infra.h:
1066
        Add lots of lovely cdl comments and new, correct, names for the
1067
        config options themselves.
1068
        * include/cyg_trac.h:
1069
        * include/cyg_ass.h:
1070
        Use the newly named options.
1071
 
1072
        [KERNEL] see also changes to src/trace/{fancy,null,simple}.cxx
1073
        which should soon move into this package instead.
1074
 
1075
Fri Aug 28 09:57:21 1998  Jonathan Larmour  
1076
 
1077
        * include/pkgconf/infra.h:
1078
        Add CYGSEM_START_ISO_C_COMPATIBILITY and
1079
        CYGSEM_START_UITRON_COMPATIBILITY options, along with some comment.
1080
 
1081
        * src/PKGconf.mak, src/startup.cxx:
1082
        Add these two files for the new file startup.cxx that provides the
1083
        generic startup mechanism, using new cyg_start() functions. This
1084
        is to remove the dependency on main(), which is defined in ISO and
1085
        POSIX as having certain properties we wouldn't be able to give it
1086
        otherwise.
1087
 
1088
Tue Aug 25 11:47:58 1998  Jonathan Larmour  
1089
 
1090
        * src/startup.cxx:
1091
        Add this to provide new startup method
1092
 
1093
1998-08-20  Nick Garnett  
1094
 
1095
        * include/cyg_type.h:
1096
        Moved constructor priority ordering stuff here from
1097
        kernel/ktypes.h.
1098
 
1099
//===========================================================================
1100
// ####GPLCOPYRIGHTBEGIN####
1101
// -------------------------------------------
1102
// This file is part of eCos, the Embedded Configurable Operating System.
1103
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
1104
//
1105
// This program is free software; you can redistribute it and/or modify
1106
// it under the terms of the GNU General Public License as published by
1107
// the Free Software Foundation; either version 2 or (at your option) any
1108
// later version.
1109
//
1110
// This program is distributed in the hope that it will be useful, but
1111
// WITHOUT ANY WARRANTY; without even the implied warranty of
1112
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1113
// General Public License for more details.
1114
//
1115
// You should have received a copy of the GNU General Public License
1116
// along with this program; if not, write to the
1117
// Free Software Foundation, Inc., 51 Franklin Street,
1118
// Fifth Floor, Boston, MA  02110-1301, USA.
1119
// -------------------------------------------
1120
// ####GPLCOPYRIGHTEND####
1121
//===========================================================================
1122
 
1123
 
1124
 

powered by: WebSVN 2.1.0

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