1 2005-07-29 Andrew Lunn <andrew.lunn@ascom.ch>
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
8 2005-06-27 Andrew Lunn <andrew.lunn@ascom.ch>
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.
14 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
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.
21 2005-02-08 Andrew Lunn <andrew.lunn@ascom.ch>
23 * tests/diag_sprintf1.c
24 * tests/diag_sprintf2.c
25 * cdl/infra.cdl: Used the sprintf test from libc to test
28 2005-02-08 Christoph Csebits <Christoph.CSEBITS@frequentis.com>
30 * src/diag.cxx (diag_snprintf): Off by one error could cause the
31 end of the buffer to be overrun.
33 2004-07-12 Gary Thomas <gary@mlbassoc.com>
35 * src/diag.cxx (_vprintf): Fix return length for %%
37 2004-06-30 Gary Thomas <gary@mlbassoc.com>
39 * src/diag.cxx (_vprintf): Returned [length] was wrong for %p
41 2004-04-16 Jonathan Larmour <jifl@eCosCentric.com>
43 * tests/cxxsupp.cxx: Allow inline function to be correctly inlined.
45 2004-04-15 Jonathan Larmour <jifl@eCosCentric.com>
47 * include/cyg_type.h: added CYG_ATTRIB_ALIGN_MAX and
48 CYGBLD_ATTRIB_ALIGNOFTYPE. Inspired by Robert Larice.
50 2004-01-08 Jani Monoses <jani@iv.ro>
52 * src/diag.cxx (diag_check_string): Allow '\t' in format strings.
54 2004-01-05 Gary Thomas <gary@mlbassoc.com>
57 * src/tcdiag.cxx (cyg_assert_msg): 'fconfig' API changed again.
59 2003-12-21 Gary Thomas <gary@mlbassoc.com>
61 * tests/fc_test.c: New test/demonstration of 'fconfig' access.
63 * src/tcdiag.cxx (cyg_assert_msg): Interface to 'fconfig' data
66 2003-10-11 Gary Thomas <gary@mlbassoc.com>
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.
73 2003-10-03 Nick Garnett <nickg@balti.calivar.com>
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.
78 2003-07-01 Michael Checky <Michael_Checky@ThermoKing.com>
80 * src/diag.cxx: Added support for the 'z' qualifier in format strings.
82 2003-05-05 Gary Thomas <gary@mlbassoc.com>
84 * cdl/infra.cdl: Add option to control number of times tests run.
86 2003-04-25 Jonathan Larmour <jifl@eCosCentric.com>
88 * tests/cxxsupp.cxx: don't include <pkgconf/kernel.h> as it's not
90 (cyg_start): CYGINT_ISO_MALLOC needs a #if test.
92 2003-04-10 Nick Garnett <nickg@balti.calivar.com>
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.
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.
113 * src/abort.cxx: Added this dummy implementation of abort() to
114 satisfy references in the C++ runtime system.
116 * src/strlen.cxx: Added this dummy implementation of strlen() to
117 satisfy references in the C++ runtime system.
119 2003-03-27 Bart Veer <bartv@ecoscentric.com>
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
125 2003-01-18 Jonathan Larmour <jifl@eCosCentric.com>
127 * include/cyg_ass.h (CYG_CHECK_FUNC_PTRC): Define with const pointer
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.
137 2002-07-18 Gary Thomas <gary@chez-thomas.org>
140 * src/diag.cxx (diag_vdump_buf_with_offset): New function.
142 2002-05-22 Jesper Skov <jskov@redhat.com>
144 * cdl/infra.cdl: Added two options to control CFLAGS.
146 2002-05-17 Martin Buck <martin.buck@ascom.ch>
148 * include/cyg_type.h (CYGBLD_ATTRIB_PRINTF_FORMAT): Add.
150 2002-05-23 Gary Thomas <gthomas@redhat.com>
152 * src/diag.cxx (_vprintf): Mapping of '\n'=>'\r\n' must be done
153 at the _putc() level.
155 2002-04-17 Gary Thomas <gthomas@redhat.com>
157 * src/diag.cxx (diag_dump_buf_with_offset): Fix pad for short lines.
159 2002-04-16 Gary Thomas <gthomas@redhat.com>
161 * src/diag.cxx: Return proper length result for sprintf() functions.
163 2002-04-09 Jonathan Larmour <jlarmour@redhat.com>
165 * include/cyg_type.h: Allow HALs to override certain attrib macros.
167 2002-02-19 Gary Thomas <gthomas@redhat.com>
169 * src/diag.cxx (diag_snprintf):
170 * include/diag.h: Change function signature on diag_snprintf()
171 to match snprintf() found in stdio.
173 2002-02-13 Jonathan Larmour <jlarmour@redhat.com>
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.
182 2002-01-31 Hugo Tyson <hmt@redhat.com>
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.
189 2002-01-30 Hugo Tyson <hmt@redhat.com>
191 * src/tcdiag.cxx (cyg_assert_msg): Collect from RedBoot flash
192 config, whether or not to dump to a specific console.
194 2002-01-28 Gary Thomas <gthomas@redhat.com>
196 * src/diag.cxx (diag_snprintf):
197 * include/diag.h: New function diag_snprintf().
199 2002-01-23 Jonathan Larmour <jlarmour@redhat.com>
201 * include/cyg_type.h: Define CYG_INIT_IO_FS used by filesystems
202 so that they init *after* the devices they depend on.
204 2002-01-21 Jonathan Larmour <jlarmour@redhat.com>
206 * src/tcdiag.cxx (cyg_test_exit): Work around problem with recent
207 SH tools that isn't likely to get fixed soon.
209 2002-01-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
211 * src/diag.cxx (diag_check_string): enlarge valid string length to 2048
213 2001-12-06 Jesper Skov <jskov@redhat.com>
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.
219 2001-09-12 Jonathan Larmour <jlarmour@redhat.com>
221 * src/eprintf.c (__eprintf): Tolerate absence of standard ISO C
224 2001-09-11 Jesper Skov <jskov@redhat.com>
226 * src/diag.cxx (diag_check_string): Also accept \b.
228 2001-08-25 Gary Thomas <gthomas@redhat.com>
230 * src/diag.cxx (_vprintf): Fix confusion between signed and unsigned
231 descriptors (only %d is signed).
233 2001-08-24 Gary Thomas <gthomas@redhat.com>
235 * include/diag.h: Export diag_dump_buf_with_offset.
237 * src/diag.cxx (_vprintf): Fix problems with signed/unsigned prints.
238 (diag_dump_buf_with_offset): Export.
240 2001-08-23 Gary Thomas <gthomas@redhat.com>
242 * src/diag.cxx (_vprintf): Restore functionality of %D,%U,%X,%B,%S,%C
243 which were present in old code.
245 2001-08-22 Gary Thomas <gthomas@redhat.com>
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.
255 2001-08-22 Jonathan Larmour <jlarmour@redhat.com>
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.
268 2001-08-03 Nick Garnett <nickg@cygnus.co.uk>
270 Imported from a development branch:
272 2001-06-27 Nick Garnett <nickg@cygnus.co.uk>
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.
280 2001-05-22 Nick Garnett <nickg@cygnus.co.uk>
282 * include/cyg_type.h (CYGBLD_ANNOTATE_VARIABLE_*):
283 Added better way of supplying default definitions for these.
285 2001-04-27 Nick Garnett <nickg@cygnus.co.uk>
287 * include/cyg_type.h:
288 Added default variable annotation macros.
290 2001-07-18 Jonathan Larmour <jlarmour@redhat.com>
292 * include/cyg_type.h (CYG_INIT_MEMALLOC): Add.
294 2001-07-13 Jonathan Larmour <jlarmour@redhat.com>
296 * src/diag.cxx (diag_vprintf): Fix long longs (patch from
297 Motoya Kurotsu <kurotsu [at] allied-telesis.co.jp>
299 * cdl/debug.cdl: Make tracing styles be mutually exclusive properly
302 2001-06-14 Jonathan Larmour <jlarmour@redhat.com>
304 * include/clist.hxx (Cyg_DNode_T): Don't qualify constructor or
306 (Cyg_CList_T): Ditto.
308 2001-02-23 Robin Farine <acnrf@dial.eunet.ch>
310 * include/cyg_type.h: Do alignment consistency check.
312 2001-01-05 Nick Garnett <nickg@cygnus.co.uk>
314 * include/clist.hxx: Many changes to make these classes usable in
315 the MLQ scheduler and alarm objects.
317 2000-12-15 Nick Garnett <nickg@cygnus.co.uk>
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.
324 2000-12-13 Jesper Skov <jskov@redhat.com>
326 * include/cyg_type.h (CYGBLD_ATTRIB_ASM_ALIAS): Mangle assembler
329 2000-09-08 Jonathan Larmour <jlarmour@redhat.com>
331 * include/cyg_type.h (CYGBLD_ATTRIB_SECTION): Don't stringify arg.
333 2000-09-04 Jonathan Larmour <jlarmour@redhat.com>
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
341 2000-07-25 Jonathan Larmour <jlarmour@redhat.co.uk>
343 * include/cyg_type.inc: Create. Used for the equivalent stuff of
344 cyg_type.h in assembler and linker scripts
346 2000-07-19 Jonathan Larmour <jlarmour@redhat.co.uk>
348 * src/pkgstart.cxx (cyg_package_start): Remove POSIX startup option
349 * cdl/startup.cdl: Likewise
351 2000-07-18 Jonathan Larmour <jlarmour@redhat.co.uk>
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
358 2000-07-04 Jonathan Larmour <jlarmour@redhat.co.uk>
360 * cdl/infra.cdl: Add CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS option
361 to control presence of empty C++ delete functions
363 * src/delete.cxx: Move comments into above option, and simplify
364 the configuration now that it's more straightforward
366 2000-06-21 Nick Garnett <nickg@cygnus.co.uk>
372 Removed use of CYG_LABEL_NAME() and added extra underscores to
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.
379 2000-06-19 Nick Garnett <nickg@cygnus.co.uk>
381 * include/cyg_type.h:
382 Added CYGBLD_ATTRIB_SECTION to assign variables to a named
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.
388 2000-05-02 Jonathan Larmour <jlarmour@redhat.co.uk>
392 Remove CYGSEM_START_ISO_C_COMPATIBILITY: startup is now handled
394 * include/cyg_type.h: Define __externC alternative to externC
396 2000-04-12 Jesper Skov <jskov@redhat.com>
398 * cdl/infra.cdl: Allow build flags to be tweaked.
400 2000-03-31 Nick Garnett <nickg@cygnus.co.uk>
404 Added POSIX startup option.
406 2000-03-28 Jonathan Larmour <jlarmour@redhat.co.uk>
408 * include/cyg_trac.h: Also update internal documentation for below
409 const char * changes (2000-03-27)
411 2000-03-28 John Dallaway <jld@cygnus.co.uk>
415 Adjust documentation URLs.
417 2000-03-27 Gary Thomas <gthomas@redhat.com>
419 * src/tcdiag.cxx: HAL architecture ports may override default
420 behavior for 'cyg_test_exit()'.
422 * src/diag.cxx (diag_vprintf): Add support for %llX modifier, which
423 allows for printing of (long long) operands.
425 2000-03-27 Jonathan Larmour <jlarmour@redhat.co.uk>
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
433 2000-03-27 Jesper Skov <jskov@redhat.com>
435 * include/cyg_type.h: Make cyg_halbool the same for C and C++
438 * include/cyg_ass.h (CYGDBG_DEFINE_CHECK_THIS): Use cyg_bool
441 2000-03-07 Jesper Skov <jskov@redhat.com>
443 * src/buffer.cxx: Fix some compiler warnings.
445 2000-03-03 Jesper Skov <jskov@redhat.com>
447 * include/cyg_type.h (CYGBLD_ATTRIB_WEAK): disarm bomb for !GCC.
449 2000-03-01 Jesper Skov <jskov@redhat.com>
451 * include/cyg_ass.h: Make cyg_assert_fail a weak symbol.
453 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
456 * src/diag.cxx (diag_dump_buf): Add diagnostic "dump buffer" function.
458 2000-02-21 Hugo Tyson <hmt@cygnus.co.uk>
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.
464 2000-02-18 Hugo Tyson <hmt@cygnus.co.uk>
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.
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
475 * src/fancy.cxx (cyg_assert_fail): Ditto.
477 * src/buffer.cxx (cyg_assert_fail): Ditto.
479 [no change to null.cxx because, well, it's null isn't it]
481 2000-02-08 Jonathan Larmour <jlarmour@redhat.co.uk>
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
487 * cdl/debug.cdl (CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER):
488 replace (incorrect) mention of cyg_trace_output() with CYG_TRACE_PRINT()
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
495 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
498 Adjust help URLs in line with new doc layout.
500 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
503 Adjust help URLs in line with new doc layout.
505 1999-11-26 Gary Thomas <gthomas@cygnus.co.uk>
507 * include/cyg_type.h: Add MLT symbols CYGMEM_REGION_ATTR_R/W.
509 1999-11-23 Hugo Tyson <hmt@cygnus.co.uk>
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.
520 1999-05-14 Hugo Tyson <hmt@cygnus.co.uk>
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).
526 1999-04-14 John Dallaway <jld@cygnus.co.uk>
528 * include/pkgconf/infra.h: Add cdl_package doc attribute.
530 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
532 * include/cyg_type.h: Added new init priority for IO devices.
536 Use device for diag if configured so.
538 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
540 * src/diag.cxx (diag_vprintf): Support '%%' printf modifier.
542 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
544 * include/cyg_type.h:
545 Add CYGBLD_ATTRIB_CONST and tidy define indentation
547 1999-03-04 Bart Veer <bartv@cygnus.co.uk>
550 Added a #include for <pkgconf/infra.h> so that the header file
551 can correctly check for CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG
553 1999-02-25 Nick Garnett <nickg@cygnus.co.uk>
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.
559 1999-02-24 Jonathan Larmour <jlarmour@cygnus.co.uk>
561 * include/cyg_type.h (CYG_INIT_APPLICATION): Add CYG_INIT_DRIVERS
564 * src/tcdiag.cxx (cyg_test_output): Re-include angle brackets
565 for CYG_TEST_GDBCMD command
567 1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk>
569 * include/testcase.h (CYG_TEST_NA):
570 Add call to cyg_test_exit()
572 1999-02-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
574 * include/cyg_type.h:
575 Add CYGBLD_ATTRIB_INIT_PRI/BEFORE/AFTER macros.
576 Remove CYG_INIT_BEFORE/AFTER as they were unusable
578 * include/testcase.h:
580 Add CYGNUM_TEST_NA() macro for not applicable state
581 Don't need to call diag_init() any more from cyg_test_init()
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())
591 1999-02-17 Jonathan Larmour <jlarmour@cygnus.co.uk>
593 * src/tcdiag.cxx (cyg_test_output): Remove angle brackets round
596 1999-02-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
605 * src/tcdiag.cxx (cyg_test_output):
606 Add new GDBCMD output and do some tidying vis a vis coding standards
609 * include/testcase.h:
610 Do some tidying vis a vis coding standards etc.
612 1999-02-16 Gary Thomas <gthomas@cygnus.co.uk>
614 * include/cyg_type.h (CYGBLD_ATTRIB_CONSTRUCTOR):
615 New macro, used to define a 'C' routine to be run with 'C++'
618 1999-01-26 Bart Veer <bartv@cygnus.co.uk>
620 * include/cyg_type.h (CYGBLD_ATTRIB_NORET):
621 Updated the non-GNUC version of the macro
623 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
635 Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
638 Split up into smaller files to make GDB happier when debuggin
643 New files with contents originally from startup.cxx
645 1999-01-19 Jonathan Larmour <jlarmour@cygnus.co.uk>
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.
653 1999-01-14 Jesper Skov <jskov@cygnus.co.uk>
655 * include/cyg_type.h (CYG_REFERENCE_SYMBOL): Added.
657 1999-01-13 Gary Thomas <gthomas@cygnus.co.uk>
659 * include/cyg_type.h: Default handling of 'CYG_DOUBLE_BYTEORDER'
661 1999-01-13 Jesper Skov <jskov@cygnus.co.uk>
663 * include/cyg_type.h (CYG_UNUSED_PARAM): Don't assign to the
664 unused parameter; it might be a macro constant.
666 1999-01-11 Bart Veer <bartv@cygnus.co.uk>
668 * src/tcdiag.cxx (cyg_test_output):
669 * include/testcase.h:
670 Use const where appropriate in cyg_test_output()
672 1999-01-06 Bart Veer <bartv@cygnus.co.uk>
674 * include/cyg_trac.h (CYG_REPORT_FUNCARG8):
675 Removed spurious comma so that the macro actually compiles.
677 1998-12-24 Bart Veer <bartv@cygnus.co.uk>
685 In the assertion support, use const where appropriate.
687 1998-12-24 Bart Veer <bartv@cygnus.co.uk>
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.
696 1998-12-21 Bart Veer <bartv@cygnus.co.uk>
698 * include/cyg_type.h:
699 Allow for platforms where pointers are not 32 bits wide.
701 1998-12-16 Hugo Tyson <hmt@cygnus.co.uk>
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)
708 1998-12-09 Bart Veer <bartv@cygnus.co.uk>
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.
714 1998-11-02 Jesper Skov <jskov@cygnus.co.uk>
716 * src/memset.c (_memset): Use type casted pointer to avoid
719 Mon Oct 26 21:20:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
725 Mon Oct 26 19:40:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
727 * src/memset.c, src/memcpy.c:
728 Conditionalise out all tracing for now
731 Fri Oct 23 05:42:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
739 1998-10-22 Hugo Tyson <hmt@cygnus.co.uk>
741 * src/buffer.cxx (increment_buffer_pos):
742 Use the correctly named print_trace_buffer() rather than some
744 (cyg_trace_dump): only refer to thread->get_saved_context() if
745 CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT is defined.
747 1998-10-22 Hugo Tyson <hmt@cygnus.co.uk>
749 * src/buffer.cxx (write_thread_id):
750 Make get_tid() be there when used.
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
757 1998-10-22 Jesper Skov <jskov@cygnus.co.uk>
760 * src/simple.cxx (CYG_NO_THREADID): Set if there is no Kernel
763 1998-10-20 Nick Garnett <nickg@cygnus.co.uk>
766 Removed fix for PR 17471 since the required macros have been moved
769 * include/diag.h (diag_printf):
770 * src/diag.c (diag_printf):
771 Made use of variadic arguments optional in this function.
773 * include/pkgconf/infra.h:
774 Added configury to support buffered tracing.
776 * src/fancy.cxx (trim_func):
781 Added buffer.cxx to implement buffered trace log.
783 Thu Oct 15 21:27:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
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
795 build above new files
797 Above changes are required for PR 17229
799 1998-10-14 Nick Garnett <nickg@cygnus.co.uk>
801 * include/cyg_type.h:
802 Moved CYG_LABEL_NAME() macro here from ktypes.h.
804 Wed Oct 14 17:10:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
807 Change warning message from previous change to match compiler
810 Tue Oct 13 17:23:37 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
813 Output another warning so that people know that diag.c produces
815 Reformat to 76 columns
816 Change args of diag_printf to be ANSI-style, not K&R to
819 1998-09-25 Bart Veer <bartv@cygnus.co.uk>
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
828 Wed Sep 16 03:42:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
836 Build src/dummyxxmain.cxx
838 Tue Sep 15 19:14:33 1998 David Moore <dsm@keema.cygnus.co.uk>
840 * include/pkgconf/infra.h: Cleaned up comments.
842 Tue Sep 15 14:34:34 1998 David Moore <dsm@cygnus.co.uk>
845 * include/cyg_type.h:
846 CYGBLD_ATTRIB_WEAK moved from src/startup.cxx to
849 Tue Sep 15 12:26:36 1998 Jonathan Larmour <jlarmour@peshwari.cygnus.co.uk>
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
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.
862 Fri Sep 11 12:52:59 1998 Hugo Tyson <hmt@cygnus.co.uk>
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.
870 Thu Sep 10 21:59:09 1998 Hugo Tyson <hmt@cygnus.co.uk>
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.
881 Thu Sep 10 21:29:55 1998 Hugo Tyson <hmt@cygnus.co.uk>
883 * include/pkgconf/infra.h:
884 Fix CDL descriptions (mainly) resulting from review of
887 Thu Sep 10 17:38:00 1998 Hugo Tyson <hmt@cygnus.co.uk>
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.
895 Thu Sep 3 19:05:29 1998 Hugo Tyson <hmt@cygnus.co.uk>
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.
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.
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.
912 Tue Sep 1 19:09:39 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>
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.
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.
925 Correct Usage: field, remove definition of CYGDBG_NORET, correct
926 definition of cyg_assert_fail to use CYGBLD_NORET as intended.
928 * include/cyg_trac.h:
931 * src/PKGconf.mak (COMPILE):
932 Added all the new units below.
937 Moved here from the kernel; comments changed accordingly.
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.
946 Fri Aug 28 15:22:16 1998 Hugo Tyson <hmt@cygnus.co.uk>
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:
953 Use the newly named options.
955 [KERNEL] see also changes to src/trace/{fancy,null,simple}.cxx
956 which should soon move into this package instead.
958 Fri Aug 28 09:57:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
960 * include/pkgconf/infra.h:
961 Add CYGSEM_START_ISO_C_COMPATIBILITY and
962 CYGSEM_START_UITRON_COMPATIBILITY options, along with some comment.
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
971 Tue Aug 25 11:47:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
974 Add this to provide new startup method
976 1998-08-20 Nick Garnett <nickg@cygnus.co.uk>
978 * include/cyg_type.h:
979 Moved constructor priority ordering stuff here from
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.
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.
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
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.
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.
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.
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 //===========================================================================