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