2003-04-25 Jonathan Larmour
|
2003-04-25 Jonathan Larmour
|
|
|
* tests/cxxsupp.cxx: don't include as it's not
|
* tests/cxxsupp.cxx: don't include as it's not
|
needed.
|
needed.
|
(cyg_start): CYGINT_ISO_MALLOC needs a #if test.
|
(cyg_start): CYGINT_ISO_MALLOC needs a #if test.
|
|
|
2003-04-10 Nick Garnett
|
2003-04-10 Nick Garnett
|
|
|
* tests/cxxsupp.cxx: Added this test program to check that basic
|
* tests/cxxsupp.cxx: Added this test program to check that basic
|
C++ support is present. It checks that pure virtual functions can
|
C++ support is present. It checks that pure virtual functions can
|
be defined, that new and delete are present and functional, and
|
be defined, that new and delete are present and functional, and
|
that calls to as-yet undefined inline functions work. Most of
|
that calls to as-yet undefined inline functions work. Most of
|
these are linker and runtime system issues, so the actual run of
|
these are linker and runtime system issues, so the actual run of
|
the program is almost a non-event.
|
the program is almost a non-event.
|
|
|
* cdl/infra.cdl:
|
* cdl/infra.cdl:
|
Added CYGFUN_INFRA_DUMMY_ABORT and CYGFUN_INFRA_DUMMY_STRLEN
|
Added CYGFUN_INFRA_DUMMY_ABORT and CYGFUN_INFRA_DUMMY_STRLEN
|
options to control inclusion of dummy abort() and strlen()
|
options to control inclusion of dummy abort() and strlen()
|
functions. These are needed to be present by the compiler's C++
|
functions. These are needed to be present by the compiler's C++
|
runtime system, although they should never be called.
|
runtime system, although they should never be called.
|
Added CYGPKG_INFRA_TESTS to define test programs.
|
Added CYGPKG_INFRA_TESTS to define test programs.
|
Added CYGPKG_INFRA_LDFLAGS_REMOVE and CYGPKG_INFRA_LDFLAGS_ADD to
|
Added CYGPKG_INFRA_LDFLAGS_REMOVE and CYGPKG_INFRA_LDFLAGS_ADD to
|
modify the linkage options for the infra package
|
modify the linkage options for the infra package
|
tests. Specifically they remove the --gc-sections option and make
|
tests. Specifically they remove the --gc-sections option and make
|
all linker warning fatal. This is necessary if cxxsupp.cxx is to
|
all linker warning fatal. This is necessary if cxxsupp.cxx is to
|
test what it needs correctly.
|
test what it needs correctly.
|
|
|
* src/abort.cxx: Added this dummy implementation of abort() to
|
* src/abort.cxx: Added this dummy implementation of abort() to
|
satisfy references in the C++ runtime system.
|
satisfy references in the C++ runtime system.
|
|
|
* src/strlen.cxx: Added this dummy implementation of strlen() to
|
* src/strlen.cxx: Added this dummy implementation of strlen() to
|
satisfy references in the C++ runtime system.
|
satisfy references in the C++ runtime system.
|
|
|
2003-03-27 Bart Veer
|
2003-03-27 Bart Veer
|
|
|
* src/pure.cxx, cdl/infra.cdl: new function __cxa_pure_virtual(),
|
* src/pure.cxx, cdl/infra.cdl: new function __cxa_pure_virtual(),
|
needed when building with g++ v3.x if the code uses pure
|
needed when building with g++ v3.x if the code uses pure
|
virtual functions.
|
virtual functions.
|
|
|
2003-01-18 Jonathan Larmour
|
2003-01-18 Jonathan Larmour
|
|
|
* include/cyg_ass.h (CYG_CHECK_FUNC_PTRC): Define with const pointer
|
* include/cyg_ass.h (CYG_CHECK_FUNC_PTRC): Define with const pointer
|
arguments.
|
arguments.
|
(CYG_CHECK_DATA_PTRC): Ditto.
|
(CYG_CHECK_DATA_PTRC): Ditto.
|
(CYG_CHECK_FUNC_PTR): Ditto.
|
(CYG_CHECK_FUNC_PTR): Ditto.
|
(CYG_CHECK_DATA_PTR): Ditto.
|
(CYG_CHECK_DATA_PTR): Ditto.
|
* src/null.cxx: Define cyg_check_data/func_ptr() with const args.
|
* src/null.cxx: Define cyg_check_data/func_ptr() with const args.
|
* src/buffer.cxx: Ditto.
|
* src/buffer.cxx: Ditto.
|
* src/fancy.cxx: Ditto.
|
* src/fancy.cxx: Ditto.
|
* src/simple.cxx: Ditto.
|
* src/simple.cxx: Ditto.
|
|
|
2002-07-18 Gary Thomas
|
2002-07-18 Gary Thomas
|
|
|
* include/diag.h:
|
* include/diag.h:
|
* src/diag.cxx (diag_vdump_buf_with_offset): New function.
|
* src/diag.cxx (diag_vdump_buf_with_offset): New function.
|
|
|
2002-05-22 Jesper Skov
|
2002-05-22 Jesper Skov
|
|
|
* cdl/infra.cdl: Added two options to control CFLAGS.
|
* cdl/infra.cdl: Added two options to control CFLAGS.
|
|
|
2002-05-17 Martin Buck
|
2002-05-17 Martin Buck
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_PRINTF_FORMAT): Add.
|
* include/cyg_type.h (CYGBLD_ATTRIB_PRINTF_FORMAT): Add.
|
|
|
2002-05-23 Gary Thomas
|
2002-05-23 Gary Thomas
|
|
|
* src/diag.cxx (_vprintf): Mapping of '\n'=>'\r\n' must be done
|
* src/diag.cxx (_vprintf): Mapping of '\n'=>'\r\n' must be done
|
at the _putc() level.
|
at the _putc() level.
|
|
|
2002-04-17 Gary Thomas
|
2002-04-17 Gary Thomas
|
|
|
* src/diag.cxx (diag_dump_buf_with_offset): Fix pad for short lines.
|
* src/diag.cxx (diag_dump_buf_with_offset): Fix pad for short lines.
|
|
|
2002-04-16 Gary Thomas
|
2002-04-16 Gary Thomas
|
|
|
* src/diag.cxx: Return proper length result for sprintf() functions.
|
* src/diag.cxx: Return proper length result for sprintf() functions.
|
|
|
2002-04-09 Jonathan Larmour
|
2002-04-09 Jonathan Larmour
|
|
|
* include/cyg_type.h: Allow HALs to override certain attrib macros.
|
* include/cyg_type.h: Allow HALs to override certain attrib macros.
|
|
|
2002-02-19 Gary Thomas
|
2002-02-19 Gary Thomas
|
|
|
* src/diag.cxx (diag_snprintf):
|
* src/diag.cxx (diag_snprintf):
|
* include/diag.h: Change function signature on diag_snprintf()
|
* include/diag.h: Change function signature on diag_snprintf()
|
to match snprintf() found in stdio.
|
to match snprintf() found in stdio.
|
|
|
2002-02-13 Jonathan Larmour
|
2002-02-13 Jonathan Larmour
|
|
|
* include/cyg_trac.h: Make message type of trace functions be
|
* include/cyg_trac.h: Make message type of trace functions be
|
const char * to help avoid warnings with callers.
|
const char * to help avoid warnings with callers.
|
* src/null.cxx: Reflect that in actual functions.
|
* src/null.cxx: Reflect that in actual functions.
|
* src/fancy.cxx: Ditto.
|
* src/fancy.cxx: Ditto.
|
* src/simple.cxx: Ditto.
|
* src/simple.cxx: Ditto.
|
* src/buffer.cxx: Ditto.
|
* src/buffer.cxx: Ditto.
|
|
|
2002-01-31 Hugo Tyson
|
2002-01-31 Hugo Tyson
|
|
|
* src/tcdiag.cxx (cyg_assert_msg): Enable this function
|
* src/tcdiag.cxx (cyg_assert_msg): Enable this function
|
universally; given the extra usefulness it now has (see below)
|
universally; given the extra usefulness it now has (see below)
|
it's worth always having around by default in asserted builds.
|
it's worth always having around by default in asserted builds.
|
It can be disabled with CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE = 0.
|
It can be disabled with CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE = 0.
|
|
|
2002-01-30 Hugo Tyson
|
2002-01-30 Hugo Tyson
|
|
|
* src/tcdiag.cxx (cyg_assert_msg): Collect from RedBoot flash
|
* src/tcdiag.cxx (cyg_assert_msg): Collect from RedBoot flash
|
config, whether or not to dump to a specific console.
|
config, whether or not to dump to a specific console.
|
|
|
2002-01-28 Gary Thomas
|
2002-01-28 Gary Thomas
|
|
|
* src/diag.cxx (diag_snprintf):
|
* src/diag.cxx (diag_snprintf):
|
* include/diag.h: New function diag_snprintf().
|
* include/diag.h: New function diag_snprintf().
|
|
|
2002-01-23 Jonathan Larmour
|
2002-01-23 Jonathan Larmour
|
|
|
* include/cyg_type.h: Define CYG_INIT_IO_FS used by filesystems
|
* include/cyg_type.h: Define CYG_INIT_IO_FS used by filesystems
|
so that they init *after* the devices they depend on.
|
so that they init *after* the devices they depend on.
|
|
|
2002-01-21 Jonathan Larmour
|
2002-01-21 Jonathan Larmour
|
|
|
* src/tcdiag.cxx (cyg_test_exit): Work around problem with recent
|
* src/tcdiag.cxx (cyg_test_exit): Work around problem with recent
|
SH tools that isn't likely to get fixed soon.
|
SH tools that isn't likely to get fixed soon.
|
|
|
2002-01-17 Jeroen Dobbelaere
|
2002-01-17 Jeroen Dobbelaere
|
|
|
* src/diag.cxx (diag_check_string): enlarge valid string length to 2048
|
* src/diag.cxx (diag_check_string): enlarge valid string length to 2048
|
|
|
2001-12-06 Jesper Skov
|
2001-12-06 Jesper Skov
|
|
|
* src/diag.cxx: Added functions to do memory dump in 16 and 32 bit
|
* src/diag.cxx: Added functions to do memory dump in 16 and 32 bit
|
units. Based on changes from Warren Jasper .
|
units. Based on changes from Warren Jasper .
|
* include/diag.h: Function declarations.
|
* include/diag.h: Function declarations.
|
|
|
2001-09-12 Jonathan Larmour
|
2001-09-12 Jonathan Larmour
|
|
|
* src/eprintf.c (__eprintf): Tolerate absence of standard ISO C
|
* src/eprintf.c (__eprintf): Tolerate absence of standard ISO C
|
functions better.
|
functions better.
|
|
|
2001-09-11 Jesper Skov
|
2001-09-11 Jesper Skov
|
|
|
* src/diag.cxx (diag_check_string): Also accept \b.
|
* src/diag.cxx (diag_check_string): Also accept \b.
|
|
|
2001-08-25 Gary Thomas
|
2001-08-25 Gary Thomas
|
|
|
* src/diag.cxx (_vprintf): Fix confusion between signed and unsigned
|
* src/diag.cxx (_vprintf): Fix confusion between signed and unsigned
|
descriptors (only %d is signed).
|
descriptors (only %d is signed).
|
|
|
2001-08-24 Gary Thomas
|
2001-08-24 Gary Thomas
|
|
|
* include/diag.h: Export diag_dump_buf_with_offset.
|
* include/diag.h: Export diag_dump_buf_with_offset.
|
|
|
* src/diag.cxx (_vprintf): Fix problems with signed/unsigned prints.
|
* src/diag.cxx (_vprintf): Fix problems with signed/unsigned prints.
|
(diag_dump_buf_with_offset): Export.
|
(diag_dump_buf_with_offset): Export.
|
|
|
2001-08-23 Gary Thomas
|
2001-08-23 Gary Thomas
|
|
|
* src/diag.cxx (_vprintf): Restore functionality of %D,%U,%X,%B,%S,%C
|
* src/diag.cxx (_vprintf): Restore functionality of %D,%U,%X,%B,%S,%C
|
which were present in old code.
|
which were present in old code.
|
|
|
2001-08-22 Gary Thomas
|
2001-08-22 Gary Thomas
|
|
|
* src/diag.cxx:
|
* src/diag.cxx:
|
* include/diag.h:
|
* include/diag.h:
|
* cdl/infra.cdl: Restructuring to support more flexible versions
|
* cdl/infra.cdl: Restructuring to support more flexible versions
|
of diag_printf() and related functions. Remove old cruft which
|
of diag_printf() and related functions. Remove old cruft which
|
was workaround for possibly failing compilers [K&R support].
|
was workaround for possibly failing compilers [K&R support].
|
These versions of printf(), etc, were part of the RedBoot package
|
These versions of printf(), etc, were part of the RedBoot package
|
and have been moved here (and renamed) to reduce code duplication.
|
and have been moved here (and renamed) to reduce code duplication.
|
|
|
2001-08-22 Jonathan Larmour
|
2001-08-22 Jonathan Larmour
|
|
|
* src/eprintf.c: New file to implement __eprintf called from libgcc.
|
* src/eprintf.c: New file to implement __eprintf called from libgcc.
|
* cdl/infra.cdl: Build it.
|
* cdl/infra.cdl: Build it.
|
* include/cyg_type.h: Provide __THROW default empty throw specifier.
|
* include/cyg_type.h: Provide __THROW default empty throw specifier.
|
* include/cyg_ass.h (cyg_assert_fail): Add __THROW.
|
* include/cyg_ass.h (cyg_assert_fail): Add __THROW.
|
(cyg_assert_msg): Ditto.
|
(cyg_assert_msg): Ditto.
|
* src/buffer.cxx (cyg_assert_fail): Ditto.
|
* src/buffer.cxx (cyg_assert_fail): Ditto.
|
* src/fancy.cxx (cyg_assert_fail): Ditto.
|
* src/fancy.cxx (cyg_assert_fail): Ditto.
|
* src/null.cxx (cyg_assert_fail): Ditto (twice).
|
* src/null.cxx (cyg_assert_fail): Ditto (twice).
|
* src/simple.cxx (cyg_assert_fail): Ditto.
|
* src/simple.cxx (cyg_assert_fail): Ditto.
|
* src/tcdiag.cxx (cyg_assert_msg): Ditto.
|
* src/tcdiag.cxx (cyg_assert_msg): Ditto.
|
|
|
2001-08-03 Nick Garnett
|
2001-08-03 Nick Garnett
|
|
|
Imported from a development branch:
|
Imported from a development branch:
|
|
|
2001-06-27 Nick Garnett
|
2001-06-27 Nick Garnett
|
|
|
* src/diag.cxx:
|
* src/diag.cxx:
|
* src/tcdiag.cxx:
|
* src/tcdiag.cxx:
|
Added use of CYG_HAL_DIAG_LOCK() and CYG_HAL_DIAG_UNLOCK() to
|
Added use of CYG_HAL_DIAG_LOCK() and CYG_HAL_DIAG_UNLOCK() to
|
diag_printf(), cyg_assert_msg() and cyg_test_output() to prevent
|
diag_printf(), cyg_assert_msg() and cyg_test_output() to prevent
|
messages from different CPUs being mingled.
|
messages from different CPUs being mingled.
|
|
|
2001-05-22 Nick Garnett
|
2001-05-22 Nick Garnett
|
|
|
* include/cyg_type.h (CYGBLD_ANNOTATE_VARIABLE_*):
|
* include/cyg_type.h (CYGBLD_ANNOTATE_VARIABLE_*):
|
Added better way of supplying default definitions for these.
|
Added better way of supplying default definitions for these.
|
|
|
2001-04-27 Nick Garnett
|
2001-04-27 Nick Garnett
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Added default variable annotation macros.
|
Added default variable annotation macros.
|
|
|
2001-07-18 Jonathan Larmour
|
2001-07-18 Jonathan Larmour
|
|
|
* include/cyg_type.h (CYG_INIT_MEMALLOC): Add.
|
* include/cyg_type.h (CYG_INIT_MEMALLOC): Add.
|
|
|
2001-07-13 Jonathan Larmour
|
2001-07-13 Jonathan Larmour
|
|
|
* src/diag.cxx (diag_vprintf): Fix long longs (patch from
|
* src/diag.cxx (diag_vprintf): Fix long longs (patch from
|
Motoya Kurotsu
|
Motoya Kurotsu
|
|
|
* cdl/debug.cdl: Make tracing styles be mutually exclusive properly
|
* cdl/debug.cdl: Make tracing styles be mutually exclusive properly
|
using an interface.
|
using an interface.
|
|
|
2001-06-14 Jonathan Larmour
|
2001-06-14 Jonathan Larmour
|
|
|
* include/clist.hxx (Cyg_DNode_T): Don't qualify constructor or
|
* include/clist.hxx (Cyg_DNode_T): Don't qualify constructor or
|
destructor with .
|
destructor with .
|
(Cyg_CList_T): Ditto.
|
(Cyg_CList_T): Ditto.
|
|
|
2001-02-23 Robin Farine
|
2001-02-23 Robin Farine
|
|
|
* include/cyg_type.h: Do alignment consistency check.
|
* include/cyg_type.h: Do alignment consistency check.
|
|
|
2001-01-05 Nick Garnett
|
2001-01-05 Nick Garnett
|
|
|
* include/clist.hxx: Many changes to make these classes usable in
|
* include/clist.hxx: Many changes to make these classes usable in
|
the MLQ scheduler and alarm objects.
|
the MLQ scheduler and alarm objects.
|
|
|
2000-12-15 Nick Garnett
|
2000-12-15 Nick Garnett
|
|
|
* include/clist.hxx: Added this implementation of simple circular
|
* include/clist.hxx: Added this implementation of simple circular
|
list classes. This is not immediately useful, except to the
|
list classes. This is not immediately useful, except to the
|
dynamic loader, but it is intended to simplify the MLQ scheduler
|
dynamic loader, but it is intended to simplify the MLQ scheduler
|
with these classes eventually.
|
with these classes eventually.
|
|
|
2000-12-13 Jesper Skov
|
2000-12-13 Jesper Skov
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_ASM_ALIAS): Mangle assembler
|
* include/cyg_type.h (CYGBLD_ATTRIB_ASM_ALIAS): Mangle assembler
|
symbols properly.
|
symbols properly.
|
|
|
2000-09-08 Jonathan Larmour
|
2000-09-08 Jonathan Larmour
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_SECTION): Don't stringify arg.
|
* include/cyg_type.h (CYGBLD_ATTRIB_SECTION): Don't stringify arg.
|
|
|
2000-09-04 Jonathan Larmour
|
2000-09-04 Jonathan Larmour
|
|
|
* include/cyg_type.h (CYGARC_ALIGNMENT): Add default of 8
|
* include/cyg_type.h (CYGARC_ALIGNMENT): Add default of 8
|
(CYGARC_P2ALIGNMENT): Add corresponding default of 3
|
(CYGARC_P2ALIGNMENT): Add corresponding default of 3
|
(CYGBLD_ATTRIB_ALIGN): Define to allow alignment
|
(CYGBLD_ATTRIB_ALIGN): Define to allow alignment
|
* include/cyg_type.inc: As above for CYGARC_ALIGNMENT and
|
* include/cyg_type.inc: As above for CYGARC_ALIGNMENT and
|
CYGARC_P2ALIGNMENT
|
CYGARC_P2ALIGNMENT
|
|
|
2000-07-25 Jonathan Larmour
|
2000-07-25 Jonathan Larmour
|
|
|
* include/cyg_type.inc: Create. Used for the equivalent stuff of
|
* include/cyg_type.inc: Create. Used for the equivalent stuff of
|
cyg_type.h in assembler and linker scripts
|
cyg_type.h in assembler and linker scripts
|
|
|
2000-07-19 Jonathan Larmour
|
2000-07-19 Jonathan Larmour
|
|
|
* src/pkgstart.cxx (cyg_package_start): Remove POSIX startup option
|
* src/pkgstart.cxx (cyg_package_start): Remove POSIX startup option
|
* cdl/startup.cdl: Likewise
|
* cdl/startup.cdl: Likewise
|
|
|
2000-07-18 Jonathan Larmour
|
2000-07-18 Jonathan Larmour
|
|
|
* src/buffer.cxx (increment_buffer_pos): Reset buffer pos *before*
|
* src/buffer.cxx (increment_buffer_pos): Reset buffer pos *before*
|
we try to print the buffer
|
we try to print the buffer
|
Thanks to Chris Morrow (cmorrow at YottaYotta.com ) for spotting
|
Thanks to Chris Morrow (cmorrow at YottaYotta.com ) for spotting
|
the problem.
|
the problem.
|
|
|
2000-07-04 Jonathan Larmour
|
2000-07-04 Jonathan Larmour
|
|
|
* cdl/infra.cdl: Add CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS option
|
* cdl/infra.cdl: Add CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS option
|
to control presence of empty C++ delete functions
|
to control presence of empty C++ delete functions
|
|
|
* src/delete.cxx: Move comments into above option, and simplify
|
* src/delete.cxx: Move comments into above option, and simplify
|
the configuration now that it's more straightforward
|
the configuration now that it's more straightforward
|
|
|
2000-06-21 Nick Garnett
|
2000-06-21 Nick Garnett
|
|
|
* src/simple.cxx:
|
* src/simple.cxx:
|
* src/null.cxx:
|
* src/null.cxx:
|
* src/fancy.cxx:
|
* src/fancy.cxx:
|
* src/buffer.cxx:
|
* src/buffer.cxx:
|
Removed use of CYG_LABEL_NAME() and added extra underscores to
|
Removed use of CYG_LABEL_NAME() and added extra underscores to
|
_stext and _etext.
|
_stext and _etext.
|
|
|
* include/cyg_type.h: Changed default for CYG_LABEL_DEFN() to
|
* include/cyg_type.h: Changed default for CYG_LABEL_DEFN() to
|
define labels without an extra underscore. This reflects the
|
define labels without an extra underscore. This reflects the
|
practice of most of the targets we support.
|
practice of most of the targets we support.
|
|
|
2000-06-19 Nick Garnett
|
2000-06-19 Nick Garnett
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Added CYGBLD_ATTRIB_SECTION to assign variables to a named
|
Added CYGBLD_ATTRIB_SECTION to assign variables to a named
|
section.
|
section.
|
Added CYG_LABEL_DEFN() macro for defining labels in asm and linker
|
Added CYG_LABEL_DEFN() macro for defining labels in asm and linker
|
scripts. This is particularly useful for generating labels in
|
scripts. This is particularly useful for generating labels in
|
inline assembler fragments.
|
inline assembler fragments.
|
|
|
2000-05-02 Jonathan Larmour
|
2000-05-02 Jonathan Larmour
|
|
|
* cdl/startup.cdl:
|
* cdl/startup.cdl:
|
* src/pkgstart.cxx:
|
* src/pkgstart.cxx:
|
Remove CYGSEM_START_ISO_C_COMPATIBILITY: startup is now handled
|
Remove CYGSEM_START_ISO_C_COMPATIBILITY: startup is now handled
|
via extras.o
|
via extras.o
|
* include/cyg_type.h: Define __externC alternative to externC
|
* include/cyg_type.h: Define __externC alternative to externC
|
|
|
2000-04-12 Jesper Skov
|
2000-04-12 Jesper Skov
|
|
|
* cdl/infra.cdl: Allow build flags to be tweaked.
|
* cdl/infra.cdl: Allow build flags to be tweaked.
|
|
|
2000-03-31 Nick Garnett
|
2000-03-31 Nick Garnett
|
|
|
* cdl/startup.cdl:
|
* cdl/startup.cdl:
|
* src/pkgstart.cxx:
|
* src/pkgstart.cxx:
|
Added POSIX startup option.
|
Added POSIX startup option.
|
|
|
2000-03-28 Jonathan Larmour
|
2000-03-28 Jonathan Larmour
|
|
|
* include/cyg_trac.h: Also update internal documentation for below
|
* include/cyg_trac.h: Also update internal documentation for below
|
const char * changes (2000-03-27)
|
const char * changes (2000-03-27)
|
|
|
2000-03-28 John Dallaway
|
2000-03-28 John Dallaway
|
|
|
* cdl/infra.cdl:
|
* cdl/infra.cdl:
|
|
|
Adjust documentation URLs.
|
Adjust documentation URLs.
|
|
|
2000-03-27 Gary Thomas
|
2000-03-27 Gary Thomas
|
|
|
* src/tcdiag.cxx: HAL architecture ports may override default
|
* src/tcdiag.cxx: HAL architecture ports may override default
|
behavior for 'cyg_test_exit()'.
|
behavior for 'cyg_test_exit()'.
|
|
|
* src/diag.cxx (diag_vprintf): Add support for %llX modifier, which
|
* src/diag.cxx (diag_vprintf): Add support for %llX modifier, which
|
allows for printing of (long long) operands.
|
allows for printing of (long long) operands.
|
|
|
2000-03-27 Jonathan Larmour
|
2000-03-27 Jonathan Larmour
|
|
|
* include/cyg_trac.h: Use const qualifier on function and file name
|
* include/cyg_trac.h: Use const qualifier on function and file name
|
strings to be compatible with the C++ standard
|
strings to be compatible with the C++ standard
|
* src/buffer.cxx: likewise
|
* src/buffer.cxx: likewise
|
* src/fancy.cxx: likewise
|
* src/fancy.cxx: likewise
|
* src/null.cxx: likewise
|
* src/null.cxx: likewise
|
|
|
2000-03-27 Jesper Skov
|
2000-03-27 Jesper Skov
|
|
|
* include/cyg_type.h: Make cyg_halbool the same for C and C++
|
* include/cyg_type.h: Make cyg_halbool the same for C and C++
|
code.
|
code.
|
|
|
* include/cyg_ass.h (CYGDBG_DEFINE_CHECK_THIS): Use cyg_bool
|
* include/cyg_ass.h (CYGDBG_DEFINE_CHECK_THIS): Use cyg_bool
|
instead of bool.
|
instead of bool.
|
|
|
2000-03-07 Jesper Skov
|
2000-03-07 Jesper Skov
|
|
|
* src/buffer.cxx: Fix some compiler warnings.
|
* src/buffer.cxx: Fix some compiler warnings.
|
|
|
2000-03-03 Jesper Skov
|
2000-03-03 Jesper Skov
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_WEAK): disarm bomb for !GCC.
|
* include/cyg_type.h (CYGBLD_ATTRIB_WEAK): disarm bomb for !GCC.
|
|
|
2000-03-01 Jesper Skov
|
2000-03-01 Jesper Skov
|
103290
|
103290
|
* include/cyg_ass.h: Make cyg_assert_fail a weak symbol.
|
* include/cyg_ass.h: Make cyg_assert_fail a weak symbol.
|
|
|
2000-02-28 Gary Thomas
|
2000-02-28 Gary Thomas
|
|
|
* include/diag.h:
|
* include/diag.h:
|
* src/diag.cxx (diag_dump_buf): Add diagnostic "dump buffer" function.
|
* src/diag.cxx (diag_dump_buf): Add diagnostic "dump buffer" function.
|
|
|
2000-02-21 Hugo Tyson
|
2000-02-21 Hugo Tyson
|
|
|
* src/tcdiag.cxx (cyg_test_is_simulator): set this true if ugly
|
* src/tcdiag.cxx (cyg_test_is_simulator): set this true if ugly
|
new cdl_option CYGHWR_TARGET_SIMULATOR_NO_GDB_WORKING is set.
|
new cdl_option CYGHWR_TARGET_SIMULATOR_NO_GDB_WORKING is set.
|
This means we cannot diddle the variable using GDB.
|
This means we cannot diddle the variable using GDB.
|
|
|
2000-02-18 Hugo Tyson
|
2000-02-18 Hugo Tyson
|
|
|
* src/tcdiag.cxx (cyg_test_exit): Add the facility for a platform
|
* src/tcdiag.cxx (cyg_test_exit): Add the facility for a platform
|
HAL to define an action to take at CYG_TEST_EXIT time; this is
|
HAL to define an action to take at CYG_TEST_EXIT time; this is
|
useful for some simulators that are not (yet) Gdb integrated.
|
useful for some simulators that are not (yet) Gdb integrated.
|
The action is CYGHWR_TEST_PROGRAM_EXIT() if defined.
|
The action is CYGHWR_TEST_PROGRAM_EXIT() if defined.
|
|
|
* src/simple.cxx (cyg_assert_fail): Add the facility for a
|
* src/simple.cxx (cyg_assert_fail): Add the facility for a
|
platform HAL to define an action to take when an assertion failure
|
platform HAL to define an action to take when an assertion failure
|
occurs. Ditto.
|
occurs. Ditto.
|
|
|
* src/fancy.cxx (cyg_assert_fail): Ditto.
|
* src/fancy.cxx (cyg_assert_fail): Ditto.
|
|
|
* src/buffer.cxx (cyg_assert_fail): Ditto.
|
* src/buffer.cxx (cyg_assert_fail): Ditto.
|
|
|
[no change to null.cxx because, well, it's null isn't it]
|
[no change to null.cxx because, well, it's null isn't it]
|
|
|
2000-02-08 Jonathan Larmour
|
2000-02-08 Jonathan Larmour
|
|
|
* include/cyg_trac.h: Define and document CYG_TRACE_PRINT() and
|
* include/cyg_trac.h: Define and document CYG_TRACE_PRINT() and
|
CYG_TRACE_DUMP() macros for outputting buffered trace output, and
|
CYG_TRACE_DUMP() macros for outputting buffered trace output, and
|
kernel state dump respectively
|
kernel state dump respectively
|
|
|
* cdl/debug.cdl (CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER):
|
* cdl/debug.cdl (CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER):
|
replace (incorrect) mention of cyg_trace_output() with CYG_TRACE_PRINT()
|
replace (incorrect) mention of cyg_trace_output() with CYG_TRACE_PRINT()
|
macro.
|
macro.
|
|
|
* src/fancy.cxx (cyg_trace_dump): Add (from buffer.cxx)
|
* src/fancy.cxx (cyg_trace_dump): Add (from buffer.cxx)
|
* src/simple.cxx (cyg_trace_dump): Add (from buffer.cxx)
|
* src/simple.cxx (cyg_trace_dump): Add (from buffer.cxx)
|
* src/null.cxx (cyg_trace_dump): Add as empty function
|
* src/null.cxx (cyg_trace_dump): Add as empty function
|
|
|
2000-01-31 Simon FitzMaurice
|
2000-01-31 Simon FitzMaurice
|
* cdl\infra.cdl:
|
* cdl\infra.cdl:
|
|
|
Adjust help URLs in line with new doc layout.
|
Adjust help URLs in line with new doc layout.
|
|
|
2000-01-28 Simon FitzMaurice
|
2000-01-28 Simon FitzMaurice
|
* cdl\infra.cdl:
|
* cdl\infra.cdl:
|
|
|
Adjust help URLs in line with new doc layout.
|
Adjust help URLs in line with new doc layout.
|
|
|
1999-11-26 Gary Thomas
|
1999-11-26 Gary Thomas
|
|
|
* include/cyg_type.h: Add MLT symbols CYGMEM_REGION_ATTR_R/W.
|
* include/cyg_type.h: Add MLT symbols CYGMEM_REGION_ATTR_R/W.
|
|
|
1999-11-23 Hugo Tyson
|
1999-11-23 Hugo Tyson
|
|
|
* cdl/debug.cdl: Add "active_if CYGDBG_USE_TRACING" to all tracing
|
* cdl/debug.cdl: Add "active_if CYGDBG_USE_TRACING" to all tracing
|
only options in the buffered flavour of assert'n'trace. Otherwise
|
only options in the buffered flavour of assert'n'trace. Otherwise
|
enabling asserts but no tracing does not build; oldCDL dealt with
|
enabling asserts but no tracing does not build; oldCDL dealt with
|
this by a string of ifdefs in the header. Active_if is my friend.
|
this by a string of ifdefs in the header. Active_if is my friend.
|
This also prevents the confusion of having active options that
|
This also prevents the confusion of having active options that
|
have no effect whatsoever.
|
have no effect whatsoever.
|
Aside: the default is buffered assert'n'trace so that the test
|
Aside: the default is buffered assert'n'trace so that the test
|
farm can enable tracing and not get swamped by output.
|
farm can enable tracing and not get swamped by output.
|
|
|
1999-05-14 Hugo Tyson
|
1999-05-14 Hugo Tyson
|
|
|
* include/cyg_type.h (CYG_INIT_COMPAT): add a new init priority
|
* include/cyg_type.h (CYG_INIT_COMPAT): add a new init priority
|
level for compatibility layers (for uITRON that is, but
|
level for compatibility layers (for uITRON that is, but
|
potentially POSIX also perhaps, after libc anyway).
|
potentially POSIX also perhaps, after libc anyway).
|
|
|
1999-04-14 John Dallaway
|
1999-04-14 John Dallaway
|
|
|
* include/pkgconf/infra.h: Add cdl_package doc attribute.
|
* include/pkgconf/infra.h: Add cdl_package doc attribute.
|
|
|
1999-04-12 Jesper Skov
|
1999-04-12 Jesper Skov
|
|
|
* include/cyg_type.h: Added new init priority for IO devices.
|
* include/cyg_type.h: Added new init priority for IO devices.
|
|
|
* include/diag.h:
|
* include/diag.h:
|
* src/diag.cxx:
|
* src/diag.cxx:
|
Use device for diag if configured so.
|
Use device for diag if configured so.
|
|
|
1999-03-19 Gary Thomas
|
1999-03-19 Gary Thomas
|
|
|
* src/diag.cxx (diag_vprintf): Support '%%' printf modifier.
|
* src/diag.cxx (diag_vprintf): Support '%%' printf modifier.
|
|
|
1999-03-05 Jonathan Larmour
|
1999-03-05 Jonathan Larmour
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Add CYGBLD_ATTRIB_CONST and tidy define indentation
|
Add CYGBLD_ATTRIB_CONST and tidy define indentation
|
|
|
1999-03-04 Bart Veer
|
1999-03-04 Bart Veer
|
|
|
* include/diag.h:
|
* include/diag.h:
|
Added a #include for so that the header file
|
Added a #include for so that the header file
|
can correctly check for CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG
|
can correctly check for CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG
|
|
|
1999-02-25 Nick Garnett
|
1999-02-25 Nick Garnett
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Added CYGBLD_ATTRIB_ASM_ALIAS() macro to supply an alias for a
|
Added CYGBLD_ATTRIB_ASM_ALIAS() macro to supply an alias for a
|
variable while it is being defined.
|
variable while it is being defined.
|
|
|
1999-02-24 Jonathan Larmour
|
1999-02-24 Jonathan Larmour
|
|
|
* include/cyg_type.h (CYG_INIT_APPLICATION): Add CYG_INIT_DRIVERS
|
* include/cyg_type.h (CYG_INIT_APPLICATION): Add CYG_INIT_DRIVERS
|
priority
|
priority
|
|
|
* src/tcdiag.cxx (cyg_test_output): Re-include angle brackets
|
* src/tcdiag.cxx (cyg_test_output): Re-include angle brackets
|
for CYG_TEST_GDBCMD command
|
for CYG_TEST_GDBCMD command
|
|
|
1999-02-23 Jonathan Larmour
|
1999-02-23 Jonathan Larmour
|
|
|
* include/testcase.h (CYG_TEST_NA):
|
* include/testcase.h (CYG_TEST_NA):
|
Add call to cyg_test_exit()
|
Add call to cyg_test_exit()
|
|
|
1999-02-22 Jonathan Larmour
|
1999-02-22 Jonathan Larmour
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Add CYGBLD_ATTRIB_INIT_PRI/BEFORE/AFTER macros.
|
Add CYGBLD_ATTRIB_INIT_PRI/BEFORE/AFTER macros.
|
Remove CYG_INIT_BEFORE/AFTER as they were unusable
|
Remove CYG_INIT_BEFORE/AFTER as they were unusable
|
|
|
* include/testcase.h:
|
* include/testcase.h:
|
* src/tcdiag.cxx:
|
* src/tcdiag.cxx:
|
Add CYGNUM_TEST_NA() macro for not applicable state
|
Add CYGNUM_TEST_NA() macro for not applicable state
|
Don't need to call diag_init() any more from cyg_test_init()
|
Don't need to call diag_init() any more from cyg_test_init()
|
|
|
* src/diag.c:
|
* src/diag.c:
|
* src/diag.cxx:
|
* src/diag.cxx:
|
Rename diag.c to diag.cxx
|
Rename diag.c to diag.cxx
|
Add dummy constructor object to do initialization right after the
|
Add dummy constructor object to do initialization right after the
|
HAL has started. Needed to get asserts working correctly at
|
HAL has started. Needed to get asserts working correctly at
|
constructor time, and for CYGNUM_TEST_GDBCMD to work as intended
|
constructor time, and for CYGNUM_TEST_GDBCMD to work as intended
|
(i.e. before calling CYG_TEST_INIT())
|
(i.e. before calling CYG_TEST_INIT())
|
|
|
1999-02-17 Jonathan Larmour
|
1999-02-17 Jonathan Larmour
|
|
|
* src/tcdiag.cxx (cyg_test_output): Remove angle brackets round
|
* src/tcdiag.cxx (cyg_test_output): Remove angle brackets round
|
GDBCMD output
|
GDBCMD output
|
|
|
1999-02-16 Jonathan Larmour
|
1999-02-16 Jonathan Larmour
|
|
|
* src/fancy.cxx (trim_func):
|
* src/fancy.cxx (trim_func):
|
* src/simple.cxx (trim_func):
|
* src/simple.cxx (trim_func):
|
* src/buffer.cxx (trim_func):
|
* src/buffer.cxx (trim_func):
|
Don't delete bits before a space as it may not always be a
|
Don't delete bits before a space as it may not always be a
|
type, if using CYG_FUNCNAME rather than relying on
|
type, if using CYG_FUNCNAME rather than relying on
|
__PRETTY_FUNCTION__
|
__PRETTY_FUNCTION__
|
|
|
* src/tcdiag.cxx (cyg_test_output):
|
* src/tcdiag.cxx (cyg_test_output):
|
Add new GDBCMD output and do some tidying vis a vis coding standards
|
Add new GDBCMD output and do some tidying vis a vis coding standards
|
etc.
|
etc.
|
|
|
* include/testcase.h:
|
* include/testcase.h:
|
Do some tidying vis a vis coding standards etc.
|
Do some tidying vis a vis coding standards etc.
|
|
|
1999-02-16 Gary Thomas
|
1999-02-16 Gary Thomas
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_CONSTRUCTOR):
|
* include/cyg_type.h (CYGBLD_ATTRIB_CONSTRUCTOR):
|
New macro, used to define a 'C' routine to be run with 'C++'
|
New macro, used to define a 'C' routine to be run with 'C++'
|
constructors.
|
constructors.
|
|
|
1999-01-26 Bart Veer
|
1999-01-26 Bart Veer
|
|
|
* include/cyg_type.h (CYGBLD_ATTRIB_NORET):
|
* include/cyg_type.h (CYGBLD_ATTRIB_NORET):
|
Updated the non-GNUC version of the macro
|
Updated the non-GNUC version of the macro
|
|
|
1999-01-21 Jonathan Larmour
|
1999-01-21 Jonathan Larmour
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Remove all traces of CYG_KERNEL_USE_INIT_PRIORITY option - now
|
Remove all traces of CYG_KERNEL_USE_INIT_PRIORITY option - now
|
compulsory. Consequently can remove include of pkgconf/infra.h.
|
compulsory. Consequently can remove include of pkgconf/infra.h.
|
Add CYG_INIT_PREDEFAULT priority for
|
Add CYG_INIT_PREDEFAULT priority for
|
CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG implementation.
|
CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG implementation.
|
Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
|
Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
|
Add CYGBLD_ATTRIB_ALIAS and CYGBLD_ATTRIB_WEAK_ALIAS macros
|
Add CYGBLD_ATTRIB_ALIAS and CYGBLD_ATTRIB_WEAK_ALIAS macros
|
|
|
* include/cyg_ass.h:
|
* include/cyg_ass.h:
|
* include/testcase.h
|
* include/testcase.h
|
Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
|
Change CYGBLD_NORET to CYGBLD_ATTRIB_NORET
|
|
|
* src/startup.cxx:
|
* src/startup.cxx:
|
Split up into smaller files to make GDB happier when debuggin
|
Split up into smaller files to make GDB happier when debuggin
|
|
|
* src/pkgstart.cxx:
|
* src/pkgstart.cxx:
|
* src/prestart.cxx:
|
* src/prestart.cxx:
|
* src/userstart.cxx:
|
* src/userstart.cxx:
|
New files with contents originally from startup.cxx
|
New files with contents originally from startup.cxx
|
|
|
1999-01-19 Jonathan Larmour
|
1999-01-19 Jonathan Larmour
|
|
|
* include/cyg_type.h (CYG_REFERENCE_OBJECT):
|
* include/cyg_type.h (CYG_REFERENCE_OBJECT):
|
Make this work with no overhead, although it doesn't work with
|
Make this work with no overhead, although it doesn't work with
|
anything other than objects with constructors. I _believe_ this
|
anything other than objects with constructors. I _believe_ this
|
is the only relevant situation though. Bite me.
|
is the only relevant situation though. Bite me.
|
Fix for PR 18782
|
Fix for PR 18782
|
|
|
1999-01-14 Jesper Skov
|
1999-01-14 Jesper Skov
|
|
|
* include/cyg_type.h (CYG_REFERENCE_SYMBOL): Added.
|
* include/cyg_type.h (CYG_REFERENCE_SYMBOL): Added.
|
|
|
1999-01-13 Gary Thomas
|
1999-01-13 Gary Thomas
|
|
|
* include/cyg_type.h: Default handling of 'CYG_DOUBLE_BYTEORDER'
|
* include/cyg_type.h: Default handling of 'CYG_DOUBLE_BYTEORDER'
|
|
|
1999-01-13 Jesper Skov
|
1999-01-13 Jesper Skov
|
|
|
* include/cyg_type.h (CYG_UNUSED_PARAM): Don't assign to the
|
* include/cyg_type.h (CYG_UNUSED_PARAM): Don't assign to the
|
unused parameter; it might be a macro constant.
|
unused parameter; it might be a macro constant.
|
|
|
1999-01-11 Bart Veer
|
1999-01-11 Bart Veer
|
|
|
* src/tcdiag.cxx (cyg_test_output):
|
* src/tcdiag.cxx (cyg_test_output):
|
* include/testcase.h:
|
* include/testcase.h:
|
Use const where appropriate in cyg_test_output()
|
Use const where appropriate in cyg_test_output()
|
|
|
1999-01-06 Bart Veer
|
1999-01-06 Bart Veer
|
|
|
* include/cyg_trac.h (CYG_REPORT_FUNCARG8):
|
* include/cyg_trac.h (CYG_REPORT_FUNCARG8):
|
Removed spurious comma so that the macro actually compiles.
|
Removed spurious comma so that the macro actually compiles.
|
|
|
1998-12-24 Bart Veer
|
1998-12-24 Bart Veer
|
|
|
* src/simple.cxx:
|
* src/simple.cxx:
|
* src/null.cxx:
|
* src/null.cxx:
|
* src/fancy.cxx:
|
* src/fancy.cxx:
|
* src/diag.c:
|
* src/diag.c:
|
* src/buffer.cxx:
|
* src/buffer.cxx:
|
* include/diag.h:
|
* include/diag.h:
|
In the assertion support, use const where appropriate.
|
In the assertion support, use const where appropriate.
|
|
|
1998-12-24 Bart Veer
|
1998-12-24 Bart Veer
|
|
|
* include/cyg_ass.h:
|
* include/cyg_ass.h:
|
The prototype for cyg_assert_fail() is now always present.
|
The prototype for cyg_assert_fail() is now always present.
|
const is used wherever appropriate.
|
const is used wherever appropriate.
|
A number of additional assertion macros are now defined.
|
A number of additional assertion macros are now defined.
|
Host-specific assertion support has been added.
|
Host-specific assertion support has been added.
|
Some minor tweaks for greater consistency in macro usage.
|
Some minor tweaks for greater consistency in macro usage.
|
|
|
1998-12-21 Bart Veer
|
1998-12-21 Bart Veer
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Allow for platforms where pointers are not 32 bits wide.
|
Allow for platforms where pointers are not 32 bits wide.
|
|
|
1998-12-16 Hugo Tyson
|
1998-12-16 Hugo Tyson
|
|
|
* include/testcase.h (cyg_test_is_simulator):
|
* include/testcase.h (cyg_test_is_simulator):
|
* src/tcdiag.cxx (cyg_test_is_simulator):
|
* src/tcdiag.cxx (cyg_test_is_simulator):
|
Change the type to int so that all gdb's understand it.
|
Change the type to int so that all gdb's understand it.
|
(it was impossible to assign to from the prompt as a bool)
|
(it was impossible to assign to from the prompt as a bool)
|
|
|
1998-12-09 Bart Veer
|
1998-12-09 Bart Veer
|
|
|
* include/testcase.h:
|
* include/testcase.h:
|
Hide a __noreturn__ attribute inside a macro so that the
|
Hide a __noreturn__ attribute inside a macro so that the
|
header file can be used for host-side code.
|
header file can be used for host-side code.
|
|
|
1998-11-02 Jesper Skov
|
1998-11-02 Jesper Skov
|
|
|
* src/memset.c (_memset): Use type casted pointer to avoid
|
* src/memset.c (_memset): Use type casted pointer to avoid
|
compiler warning.
|
compiler warning.
|
|
|
Mon Oct 26 21:20:13 1998 Jonathan Larmour
|
Mon Oct 26 21:20:13 1998 Jonathan Larmour
|
|
|
* src/buffer.cxx:
|
* src/buffer.cxx:
|
Make write_thread_id() conditional on CYGDBG_USE_ASSERTS as that's
|
Make write_thread_id() conditional on CYGDBG_USE_ASSERTS as that's
|
the only time it is used. This silences a compiler warning
|
the only time it is used. This silences a compiler warning
|
|
|
Mon Oct 26 19:40:48 1998 Jonathan Larmour
|
Mon Oct 26 19:40:48 1998 Jonathan Larmour
|
|
|
* src/memset.c, src/memcpy.c:
|
* src/memset.c, src/memcpy.c:
|
Conditionalise out all tracing for now
|
Conditionalise out all tracing for now
|
Fix for PR 17996
|
Fix for PR 17996
|
|
|
Fri Oct 23 05:42:36 1998 Jonathan Larmour
|
Fri Oct 23 05:42:36 1998 Jonathan Larmour
|
|
|
* include/cyg_ass.h (CYGASSERT_docall):
|
* include/cyg_ass.h (CYGASSERT_docall):
|
Make a dummy reference to _msg_ argument when
|
Make a dummy reference to _msg_ argument when
|
CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE is disabled, otherwise we may get
|
CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE is disabled, otherwise we may get
|
"unused variable" warnings
|
"unused variable" warnings
|
Fix for PR 17889
|
Fix for PR 17889
|
|
|
1998-10-22 Hugo Tyson
|
1998-10-22 Hugo Tyson
|
|
|
* src/buffer.cxx (increment_buffer_pos):
|
* src/buffer.cxx (increment_buffer_pos):
|
Use the correctly named print_trace_buffer() rather than some
|
Use the correctly named print_trace_buffer() rather than some
|
typo/globaleditto.
|
typo/globaleditto.
|
(cyg_trace_dump): only refer to thread->get_saved_context() if
|
(cyg_trace_dump): only refer to thread->get_saved_context() if
|
CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT is defined.
|
CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT is defined.
|
|
|
1998-10-22 Hugo Tyson
|
1998-10-22 Hugo Tyson
|
|
|
* src/buffer.cxx (write_thread_id):
|
* src/buffer.cxx (write_thread_id):
|
Make get_tid() be there when used.
|
Make get_tid() be there when used.
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Only enable all the buffered tracing stuff if USE_TRACING is
|
Only enable all the buffered tracing stuff if USE_TRACING is
|
selected; otherwise link errors ensue if only USE_ASSERTS is
|
selected; otherwise link errors ensue if only USE_ASSERTS is
|
enabled.
|
enabled.
|
|
|
1998-10-22 Jesper Skov
|
1998-10-22 Jesper Skov
|
PR 17914
|
PR 17914
|
|
|
* src/simple.cxx (CYG_NO_THREADID): Set if there is no Kernel
|
* src/simple.cxx (CYG_NO_THREADID): Set if there is no Kernel
|
support.
|
support.
|
|
|
1998-10-20 Nick Garnett
|
1998-10-20 Nick Garnett
|
|
|
* src/null.cxx:
|
* src/null.cxx:
|
Removed fix for PR 17471 since the required macros have been moved
|
Removed fix for PR 17471 since the required macros have been moved
|
to cyg_type.h.
|
to cyg_type.h.
|
|
|
* include/diag.h (diag_printf):
|
* include/diag.h (diag_printf):
|
* src/diag.c (diag_printf):
|
* src/diag.c (diag_printf):
|
Made use of variadic arguments optional in this function.
|
Made use of variadic arguments optional in this function.
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Added configury to support buffered tracing.
|
Added configury to support buffered tracing.
|
|
|
* src/fancy.cxx (trim_func):
|
* src/fancy.cxx (trim_func):
|
Fixed fencepost bug.
|
Fixed fencepost bug.
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
* src/buffer.cxx:
|
* src/buffer.cxx:
|
Added buffer.cxx to implement buffered trace log.
|
Added buffer.cxx to implement buffered trace log.
|
|
|
Thu Oct 15 21:27:23 1998 Jonathan Larmour
|
Thu Oct 15 21:27:23 1998 Jonathan Larmour
|
|
|
* src/delete.cxx, src/memcpy.c, src/memset.c:
|
* src/delete.cxx, src/memcpy.c, src/memset.c:
|
Moved here from ecc/kernel/current/src/common, as they should
|
Moved here from ecc/kernel/current/src/common, as they should
|
be present even if the kernel is disabled
|
be present even if the kernel is disabled
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Add new config options CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMCPY
|
Add new config options CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMCPY
|
and CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMSET to support the
|
and CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMSET to support the
|
functionality available in memcpy.c and memset.c
|
functionality available in memcpy.c and memset.c
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
build above new files
|
build above new files
|
|
|
Above changes are required for PR 17229
|
Above changes are required for PR 17229
|
|
|
1998-10-14 Nick Garnett
|
1998-10-14 Nick Garnett
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Moved CYG_LABEL_NAME() macro here from ktypes.h.
|
Moved CYG_LABEL_NAME() macro here from ktypes.h.
|
|
|
Wed Oct 14 17:10:12 1998 Jonathan Larmour
|
Wed Oct 14 17:10:12 1998 Jonathan Larmour
|
|
|
* src/diag.c:
|
* src/diag.c:
|
Change warning message from previous change to match compiler
|
Change warning message from previous change to match compiler
|
output exactly
|
output exactly
|
|
|
Tue Oct 13 17:23:37 1998 Jonathan Larmour
|
Tue Oct 13 17:23:37 1998 Jonathan Larmour
|
|
|
* src/diag.c:
|
* src/diag.c:
|
Output another warning so that people know that diag.c produces
|
Output another warning so that people know that diag.c produces
|
a warning
|
a warning
|
Reformat to 76 columns
|
Reformat to 76 columns
|
Change args of diag_printf to be ANSI-style, not K&R to
|
Change args of diag_printf to be ANSI-style, not K&R to
|
silence warning
|
silence warning
|
|
|
1998-09-25 Bart Veer
|
1998-09-25 Bart Veer
|
|
|
* src/null.cxx:
|
* src/null.cxx:
|
PR 17471: null.cxx relies on the macro CYG_LABEL_NAME(), which on
|
PR 17471: null.cxx relies on the macro CYG_LABEL_NAME(), which on
|
the mn10300 is defined only if is included.
|
the mn10300 is defined only if is included.
|
As a temporary fix this header file is now always included. In the
|
As a temporary fix this header file is now always included. In the
|
medium term there will have to be proper fixes to ktypes.h and to
|
medium term there will have to be proper fixes to ktypes.h and to
|
cyg_type.h
|
cyg_type.h
|
|
|
Wed Sep 16 03:42:16 1998 Jonathan Larmour
|
Wed Sep 16 03:42:16 1998 Jonathan Larmour
|
|
|
* src/startup.cxx, src/dummyxxmain.cxx:
|
* src/startup.cxx, src/dummyxxmain.cxx:
|
Move __main() to a separate dummyxxmain.cxx source file to resolve
|
Move __main() to a separate dummyxxmain.cxx source file to resolve
|
linking bogosities on some targets
|
linking bogosities on some targets
|
Fix for PR 17279 - kudos to Tim Goodwin really
|
Fix for PR 17279 - kudos to Tim Goodwin really
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Build src/dummyxxmain.cxx
|
Build src/dummyxxmain.cxx
|
|
|
Tue Sep 15 19:14:33 1998 David Moore
|
Tue Sep 15 19:14:33 1998 David Moore
|
|
|
* include/pkgconf/infra.h: Cleaned up comments.
|
* include/pkgconf/infra.h: Cleaned up comments.
|
|
|
Tue Sep 15 14:34:34 1998 David Moore
|
Tue Sep 15 14:34:34 1998 David Moore
|
|
|
* src/startup.cxx:
|
* src/startup.cxx:
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
CYGBLD_ATTRIB_WEAK moved from src/startup.cxx to
|
CYGBLD_ATTRIB_WEAK moved from src/startup.cxx to
|
include/cyg_type.h
|
include/cyg_type.h
|
|
|
Tue Sep 15 12:26:36 1998 Jonathan Larmour
|
Tue Sep 15 12:26:36 1998 Jonathan Larmour
|
|
|
* src/null.cxx, src/simple.cxx, src/fancy.cxx:
|
* src/null.cxx, src/simple.cxx, src/fancy.cxx:
|
Change cyg_check_data_ptr() to not compare with _end symbol from
|
Change cyg_check_data_ptr() to not compare with _end symbol from
|
linker scripts as this is a bogus thing to do when starting in
|
linker scripts as this is a bogus thing to do when starting in
|
ROM. Some better magic can be done later with the memory layout
|
ROM. Some better magic can be done later with the memory layout
|
tool.
|
tool.
|
|
|
* src/simple.cxx (cyg_assert_fail),
|
* src/simple.cxx (cyg_assert_fail),
|
src/fancy.cxx (cyg_assert_fail):
|
src/fancy.cxx (cyg_assert_fail):
|
If an assert is thrown, loop forever no matter what the platform
|
If an assert is thrown, loop forever no matter what the platform
|
rather than resetting the jmr board.
|
rather than resetting the jmr board.
|
|
|
Fri Sep 11 12:52:59 1998 Hugo Tyson
|
Fri Sep 11 12:52:59 1998 Hugo Tyson
|
|
|
* src/tcdiag.cxx:
|
* src/tcdiag.cxx:
|
* src/diag.c:
|
* src/diag.c:
|
Remove dependencies on the kernel:
|
Remove dependencies on the kernel:
|
o types are available from here, infra.
|
o types are available from here, infra.
|
o Diag and its mates are here and the HAL.
|
o Diag and its mates are here and the HAL.
|
|
|
Thu Sep 10 21:59:09 1998 Hugo Tyson
|
Thu Sep 10 21:59:09 1998 Hugo Tyson
|
|
|
* src/fancy.cxx:
|
* src/fancy.cxx:
|
* src/simple.cxx:
|
* src/simple.cxx:
|
* src/null.cxx:
|
* src/null.cxx:
|
Remove dependencies on the kernel:
|
Remove dependencies on the kernel:
|
o interrupt stuff is available from the HAL.
|
o interrupt stuff is available from the HAL.
|
o types are available from here, infra.
|
o types are available from here, infra.
|
o Diag and its mates are here and the HAL.
|
o Diag and its mates are here and the HAL.
|
o Only consider printing thread information if there is a kernel.
|
o Only consider printing thread information if there is a kernel.
|
|
|
Thu Sep 10 21:29:55 1998 Hugo Tyson
|
Thu Sep 10 21:29:55 1998 Hugo Tyson
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Fix CDL descriptions (mainly) resulting from review of
|
Fix CDL descriptions (mainly) resulting from review of
|
configury here.
|
configury here.
|
|
|
Thu Sep 10 17:38:00 1998 Hugo Tyson
|
Thu Sep 10 17:38:00 1998 Hugo Tyson
|
|
|
* src/null.cxx:
|
* src/null.cxx:
|
Add an empty cyg_assert_fail() if not CYGDBG_USE_ASSERTS, so that
|
Add an empty cyg_assert_fail() if not CYGDBG_USE_ASSERTS, so that
|
clib's assert() can use it, in common with but regardless of the
|
clib's assert() can use it, in common with but regardless of the
|
internal assert setup. Of course if internal asserts are used,
|
internal assert setup. Of course if internal asserts are used,
|
the same routine is used.
|
the same routine is used.
|
|
|
Thu Sep 3 19:05:29 1998 Hugo Tyson
|
Thu Sep 3 19:05:29 1998 Hugo Tyson
|
|
|
* src/startup.cxx (__main):
|
* src/startup.cxx (__main):
|
...and its mates. Correct the bad usage of the tracing macros - a
|
...and its mates. Correct the bad usage of the tracing macros - a
|
type was implied when the type was void, so an assert fires.
|
type was implied when the type was void, so an assert fires.
|
|
|
* include/diag.h (diag_printf):
|
* include/diag.h (diag_printf):
|
Remove 'useful' prototype; this function deliberately has a K&R
|
Remove 'useful' prototype; this function deliberately has a K&R
|
prototype to avoid having to use varargs, or pad arglists or
|
prototype to avoid having to use varargs, or pad arglists or
|
anything grody like that. Comment to that effect added too.
|
anything grody like that. Comment to that effect added too.
|
|
|
* src/fancy.cxx:
|
* src/fancy.cxx:
|
Condition out routines which are only used by tracing system;
|
Condition out routines which are only used by tracing system;
|
prevent warnings. Also changed the default widths setup to
|
prevent warnings. Also changed the default widths setup to
|
something more suitable to our long function names; viewing on
|
something more suitable to our long function names; viewing on
|
about a 200 column screen recommended - or use 'simple' instead.
|
about a 200 column screen recommended - or use 'simple' instead.
|
|
|
Tue Sep 1 19:09:39 1998 Hugo Tyson
|
Tue Sep 1 19:09:39 1998 Hugo Tyson
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Fancy tracing by default, as I've been requested.
|
Fancy tracing by default, as I've been requested.
|
Move definition (or not) of CYGDBG_INFRA_DIAG_USE_DEVICE from the
|
Move definition (or not) of CYGDBG_INFRA_DIAG_USE_DEVICE from the
|
kernel, correcting the symbol construction as we go.
|
kernel, correcting the symbol construction as we go.
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Correct multiple-inclusion protection, remove
|
Correct multiple-inclusion protection, remove
|
Version nonsense, correct Usage: field, put in
|
Version nonsense, correct Usage: field, put in
|
definition of CYGBLD_NORET.
|
definition of CYGBLD_NORET.
|
|
|
* include/cyg_ass.h:
|
* include/cyg_ass.h:
|
Correct Usage: field, remove definition of CYGDBG_NORET, correct
|
Correct Usage: field, remove definition of CYGDBG_NORET, correct
|
definition of cyg_assert_fail to use CYGBLD_NORET as intended.
|
definition of cyg_assert_fail to use CYGBLD_NORET as intended.
|
|
|
* include/cyg_trac.h:
|
* include/cyg_trac.h:
|
Tidy up comments.
|
Tidy up comments.
|
|
|
* src/PKGconf.mak (COMPILE):
|
* src/PKGconf.mak (COMPILE):
|
Added all the new units below.
|
Added all the new units below.
|
|
|
* src/fancy.cxx:
|
* src/fancy.cxx:
|
* src/simple.cxx:
|
* src/simple.cxx:
|
* src/null.cxx:
|
* src/null.cxx:
|
Moved here from the kernel; comments changed accordingly.
|
Moved here from the kernel; comments changed accordingly.
|
|
|
* src/tcdiag.cxx:
|
* src/tcdiag.cxx:
|
* include/diag.h:
|
* include/diag.h:
|
* src/diag.c:
|
* src/diag.c:
|
Moved here from the kernel; comments changed accordingly.
|
Moved here from the kernel; comments changed accordingly.
|
Also use config symbol CYGDBG_INFRA_DIAG_USE_DEVICE rather than
|
Also use config symbol CYGDBG_INFRA_DIAG_USE_DEVICE rather than
|
(badly named) CYG_DIAG_USE_DEVICE.
|
(badly named) CYG_DIAG_USE_DEVICE.
|
|
|
Fri Aug 28 15:22:16 1998 Hugo Tyson
|
Fri Aug 28 15:22:16 1998 Hugo Tyson
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Add lots of lovely cdl comments and new, correct, names for the
|
Add lots of lovely cdl comments and new, correct, names for the
|
config options themselves.
|
config options themselves.
|
* include/cyg_trac.h:
|
* include/cyg_trac.h:
|
* include/cyg_ass.h:
|
* include/cyg_ass.h:
|
Use the newly named options.
|
Use the newly named options.
|
|
|
[KERNEL] see also changes to src/trace/{fancy,null,simple}.cxx
|
[KERNEL] see also changes to src/trace/{fancy,null,simple}.cxx
|
which should soon move into this package instead.
|
which should soon move into this package instead.
|
|
|
Fri Aug 28 09:57:21 1998 Jonathan Larmour
|
Fri Aug 28 09:57:21 1998 Jonathan Larmour
|
|
|
* include/pkgconf/infra.h:
|
* include/pkgconf/infra.h:
|
Add CYGSEM_START_ISO_C_COMPATIBILITY and
|
Add CYGSEM_START_ISO_C_COMPATIBILITY and
|
CYGSEM_START_UITRON_COMPATIBILITY options, along with some comment.
|
CYGSEM_START_UITRON_COMPATIBILITY options, along with some comment.
|
|
|
* src/PKGconf.mak, src/startup.cxx:
|
* src/PKGconf.mak, src/startup.cxx:
|
Add these two files for the new file startup.cxx that provides the
|
Add these two files for the new file startup.cxx that provides the
|
generic startup mechanism, using new cyg_start() functions. This
|
generic startup mechanism, using new cyg_start() functions. This
|
is to remove the dependency on main(), which is defined in ISO and
|
is to remove the dependency on main(), which is defined in ISO and
|
POSIX as having certain properties we wouldn't be able to give it
|
POSIX as having certain properties we wouldn't be able to give it
|
otherwise.
|
otherwise.
|
|
|
Tue Aug 25 11:47:58 1998 Jonathan Larmour
|
Tue Aug 25 11:47:58 1998 Jonathan Larmour
|
|
|
* src/startup.cxx:
|
* src/startup.cxx:
|
Add this to provide new startup method
|
Add this to provide new startup method
|
|
|
1998-08-20 Nick Garnett
|
1998-08-20 Nick Garnett
|
|
|
* include/cyg_type.h:
|
* include/cyg_type.h:
|
Moved constructor priority ordering stuff here from
|
Moved constructor priority ordering stuff here from
|
kernel/ktypes.h.
|
kernel/ktypes.h.
|
|
|
//===========================================================================
|
//===========================================================================
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
// -------------------------------------------
|
// -------------------------------------------
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
//
|
//
|
// eCos is free software; you can redistribute it and/or modify it under
|
// eCos is free software; you can redistribute it and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
// Software Foundation; either version 2 or (at your option) any later version.
|
// Software Foundation; either version 2 or (at your option) any later version.
|
//
|
//
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for more details.
|
// for more details.
|
//
|
//
|
// You should have received a copy of the GNU General Public License along
|
// You should have received a copy of the GNU General Public License along
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
//
|
//
|
// As a special exception, if other files instantiate templates or use macros
|
// As a special exception, if other files instantiate templates or use macros
|
// or inline functions from this file, or you compile this file and link it
|
// or inline functions from this file, or you compile this file and link it
|
// with other works to produce a work based on this file, this file does not
|
// with other works to produce a work based on this file, this file does not
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// License. However the source code for this file must still be made available
|
// License. However the source code for this file must still be made available
|
// in accordance with section (3) of the GNU General Public License.
|
// in accordance with section (3) of the GNU General Public License.
|
//
|
//
|
// This exception does not invalidate any other reasons why a work based on
|
// This exception does not invalidate any other reasons why a work based on
|
// this file might be covered by the GNU General Public License.
|
// this file might be covered by the GNU General Public License.
|
//
|
//
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// -------------------------------------------
|
// -------------------------------------------
|
//####ECOSGPLCOPYRIGHTEND####
|
//####ECOSGPLCOPYRIGHTEND####
|
//===========================================================================
|
//===========================================================================
|
|
|
|
|
|
|
|
|