📄 changelog
字号:
2003-04-25 Jonathan Larmour <jifl@eCosCentric.com> * tests/cxxsupp.cxx: don't include <pkgconf/kernel.h> as it's not needed. (cyg_start): CYGINT_ISO_MALLOC needs a #if test.2003-04-10 Nick Garnett <nickg@balti.calivar.com> * tests/cxxsupp.cxx: Added this test program to check that basic C++ support is present. It checks that pure virtual functions can be defined, that new and delete are present and functional, and that calls to as-yet undefined inline functions work. Most of these are linker and runtime system issues, so the actual run of the program is almost a non-event. * cdl/infra.cdl: Added CYGFUN_INFRA_DUMMY_ABORT and CYGFUN_INFRA_DUMMY_STRLEN options to control inclusion of dummy abort() and strlen() functions. These are needed to be present by the compiler's C++ runtime system, although they should never be called. Added CYGPKG_INFRA_TESTS to define test programs. Added CYGPKG_INFRA_LDFLAGS_REMOVE and CYGPKG_INFRA_LDFLAGS_ADD to modify the linkage options for the infra package tests. Specifically they remove the --gc-sections option and make all linker warning fatal. This is necessary if cxxsupp.cxx is to test what it needs correctly. * src/abort.cxx: Added this dummy implementation of abort() to satisfy references in the C++ runtime system. * src/strlen.cxx: Added this dummy implementation of strlen() to satisfy references in the C++ runtime system.2003-03-27 Bart Veer <bartv@ecoscentric.com> * src/pure.cxx, cdl/infra.cdl: new function __cxa_pure_virtual(), needed when building with g++ v3.x if the code uses pure virtual functions.2003-01-18 Jonathan Larmour <jifl@eCosCentric.com> * include/cyg_ass.h (CYG_CHECK_FUNC_PTRC): Define with const pointer arguments. (CYG_CHECK_DATA_PTRC): Ditto. (CYG_CHECK_FUNC_PTR): Ditto. (CYG_CHECK_DATA_PTR): Ditto. * src/null.cxx: Define cyg_check_data/func_ptr() with const args. * src/buffer.cxx: Ditto. * src/fancy.cxx: Ditto. * src/simple.cxx: Ditto.2002-07-18 Gary Thomas <gary@chez-thomas.org> * include/diag.h: * src/diag.cxx (diag_vdump_buf_with_offset): New function.2002-05-22 Jesper Skov <jskov@redhat.com> * cdl/infra.cdl: Added two options to control CFLAGS.2002-05-17 Martin Buck <martin.buck@ascom.ch> * include/cyg_type.h (CYGBLD_ATTRIB_PRINTF_FORMAT): Add. 2002-05-23 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (_vprintf): Mapping of '\n'=>'\r\n' must be done at the _putc() level.2002-04-17 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (diag_dump_buf_with_offset): Fix pad for short lines.2002-04-16 Gary Thomas <gthomas@redhat.com> * src/diag.cxx: Return proper length result for sprintf() functions.2002-04-09 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_type.h: Allow HALs to override certain attrib macros.2002-02-19 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (diag_snprintf): * include/diag.h: Change function signature on diag_snprintf() to match snprintf() found in stdio.2002-02-13 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_trac.h: Make message type of trace functions be const char * to help avoid warnings with callers. * src/null.cxx: Reflect that in actual functions. * src/fancy.cxx: Ditto. * src/simple.cxx: Ditto. * src/buffer.cxx: Ditto.2002-01-31 Hugo Tyson <hmt@redhat.com> * src/tcdiag.cxx (cyg_assert_msg): Enable this function universally; given the extra usefulness it now has (see below) it's worth always having around by default in asserted builds. It can be disabled with CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE = 0.2002-01-30 Hugo Tyson <hmt@redhat.com> * src/tcdiag.cxx (cyg_assert_msg): Collect from RedBoot flash config, whether or not to dump to a specific console.2002-01-28 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (diag_snprintf): * include/diag.h: New function diag_snprintf().2002-01-23 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_type.h: Define CYG_INIT_IO_FS used by filesystems so that they init *after* the devices they depend on.2002-01-21 Jonathan Larmour <jlarmour@redhat.com> * src/tcdiag.cxx (cyg_test_exit): Work around problem with recent SH tools that isn't likely to get fixed soon.2002-01-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> * src/diag.cxx (diag_check_string): enlarge valid string length to 20482001-12-06 Jesper Skov <jskov@redhat.com> * src/diag.cxx: Added functions to do memory dump in 16 and 32 bit units. Based on changes from Warren Jasper <warrenj@bops.com>. * include/diag.h: Function declarations. 2001-09-12 Jonathan Larmour <jlarmour@redhat.com> * src/eprintf.c (__eprintf): Tolerate absence of standard ISO C functions better.2001-09-11 Jesper Skov <jskov@redhat.com> * src/diag.cxx (diag_check_string): Also accept \b.2001-08-25 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (_vprintf): Fix confusion between signed and unsigned descriptors (only %d is signed).2001-08-24 Gary Thomas <gthomas@redhat.com> * include/diag.h: Export diag_dump_buf_with_offset. * src/diag.cxx (_vprintf): Fix problems with signed/unsigned prints. (diag_dump_buf_with_offset): Export.2001-08-23 Gary Thomas <gthomas@redhat.com> * src/diag.cxx (_vprintf): Restore functionality of %D,%U,%X,%B,%S,%C which were present in old code.2001-08-22 Gary Thomas <gthomas@redhat.com> * src/diag.cxx: * include/diag.h: * cdl/infra.cdl: Restructuring to support more flexible versions of diag_printf() and related functions. Remove old cruft which was workaround for possibly failing compilers [K&R support]. These versions of printf(), etc, were part of the RedBoot package and have been moved here (and renamed) to reduce code duplication.2001-08-22 Jonathan Larmour <jlarmour@redhat.com> * src/eprintf.c: New file to implement __eprintf called from libgcc. * cdl/infra.cdl: Build it. * include/cyg_type.h: Provide __THROW default empty throw specifier. * include/cyg_ass.h (cyg_assert_fail): Add __THROW. (cyg_assert_msg): Ditto. * src/buffer.cxx (cyg_assert_fail): Ditto. * src/fancy.cxx (cyg_assert_fail): Ditto. * src/null.cxx (cyg_assert_fail): Ditto (twice). * src/simple.cxx (cyg_assert_fail): Ditto. * src/tcdiag.cxx (cyg_assert_msg): Ditto.2001-08-03 Nick Garnett <nickg@cygnus.co.uk> Imported from a development branch: 2001-06-27 Nick Garnett <nickg@cygnus.co.uk> * src/diag.cxx: * src/tcdiag.cxx: Added use of CYG_HAL_DIAG_LOCK() and CYG_HAL_DIAG_UNLOCK() to diag_printf(), cyg_assert_msg() and cyg_test_output() to prevent messages from different CPUs being mingled. 2001-05-22 Nick Garnett <nickg@cygnus.co.uk> * include/cyg_type.h (CYGBLD_ANNOTATE_VARIABLE_*): Added better way of supplying default definitions for these. 2001-04-27 Nick Garnett <nickg@cygnus.co.uk> * include/cyg_type.h: Added default variable annotation macros.2001-07-18 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_type.h (CYG_INIT_MEMALLOC): Add.2001-07-13 Jonathan Larmour <jlarmour@redhat.com> * src/diag.cxx (diag_vprintf): Fix long longs (patch from Motoya Kurotsu <kurotsu [at] allied-telesis.co.jp> * cdl/debug.cdl: Make tracing styles be mutually exclusive properly using an interface.2001-06-14 Jonathan Larmour <jlarmour@redhat.com> * include/clist.hxx (Cyg_DNode_T): Don't qualify constructor or destructor with <T>. (Cyg_CList_T): Ditto.2001-02-23 Robin Farine <acnrf@dial.eunet.ch> * include/cyg_type.h: Do alignment consistency check.2001-01-05 Nick Garnett <nickg@cygnus.co.uk> * include/clist.hxx: Many changes to make these classes usable in the MLQ scheduler and alarm objects.2000-12-15 Nick Garnett <nickg@cygnus.co.uk> * include/clist.hxx: Added this implementation of simple circular list classes. This is not immediately useful, except to the dynamic loader, but it is intended to simplify the MLQ scheduler with these classes eventually.2000-12-13 Jesper Skov <jskov@redhat.com> * include/cyg_type.h (CYGBLD_ATTRIB_ASM_ALIAS): Mangle assembler symbols properly.2000-09-08 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_type.h (CYGBLD_ATTRIB_SECTION): Don't stringify arg.2000-09-04 Jonathan Larmour <jlarmour@redhat.com> * include/cyg_type.h (CYGARC_ALIGNMENT): Add default of 8 (CYGARC_P2ALIGNMENT): Add corresponding default of 3 (CYGBLD_ATTRIB_ALIGN): Define to allow alignment * include/cyg_type.inc: As above for CYGARC_ALIGNMENT and CYGARC_P2ALIGNMENT2000-07-25 Jonathan Larmour <jlarmour@redhat.co.uk> * include/cyg_type.inc: Create. Used for the equivalent stuff of cyg_type.h in assembler and linker scripts2000-07-19 Jonathan Larmour <jlarmour@redhat.co.uk> * src/pkgstart.cxx (cyg_package_start): Remove POSIX startup option * cdl/startup.cdl: Likewise2000-07-18 Jonathan Larmour <jlarmour@redhat.co.uk> * src/buffer.cxx (increment_buffer_pos): Reset buffer pos *before* we try to print the buffer Thanks to Chris Morrow (cmorrow at YottaYotta.com ) for spotting the problem.2000-07-04 Jonathan Larmour <jlarmour@redhat.co.uk> * cdl/infra.cdl: Add CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS option to control presence of empty C++ delete functions * src/delete.cxx: Move comments into above option, and simplify the configuration now that it's more straightforward2000-06-21 Nick Garnett <nickg@cygnus.co.uk> * src/simple.cxx: * src/null.cxx: * src/fancy.cxx: * src/buffer.cxx: Removed use of CYG_LABEL_NAME() and added extra underscores to _stext and _etext. * include/cyg_type.h: Changed default for CYG_LABEL_DEFN() to define labels without an extra underscore. This reflects the practice of most of the targets we support.2000-06-19 Nick Garnett <nickg@cygnus.co.uk> * include/cyg_type.h: Added CYGBLD_ATTRIB_SECTION to assign variables to a named section. Added CYG_LABEL_DEFN() macro for defining labels in asm and linker scripts. This is particularly useful for generating labels in inline assembler fragments.2000-05-02 Jonathan Larmour <jlarmour@redhat.co.uk> * cdl/startup.cdl: * src/pkgstart.cxx: Remove CYGSEM_START_ISO_C_COMPATIBILITY: startup is now handled via extras.o * include/cyg_type.h: Define __externC alternative to externC2000-04-12 Jesper Skov <jskov@redhat.com> * cdl/infra.cdl: Allow build flags to be tweaked.2000-03-31 Nick Garnett <nickg@cygnus.co.uk> * cdl/startup.cdl: * src/pkgstart.cxx: Added POSIX startup option.2000-03-28 Jonathan Larmour <jlarmour@redhat.co.uk> * include/cyg_trac.h: Also update internal documentation for below const char * changes (2000-03-27)2000-03-28 John Dallaway <jld@cygnus.co.uk> * cdl/infra.cdl: Adjust documentation URLs.2000-03-27 Gary Thomas <gthomas@redhat.com> * src/tcdiag.cxx: HAL architecture ports may override default behavior for 'cyg_test_exit()'. * src/diag.cxx (diag_vprintf): Add support for %llX modifier, which allows for printing of (long long) operands.2000-03-27 Jonathan Larmour <jlarmour@redhat.co.uk> * include/cyg_trac.h: Use const qualifier on function and file name strings to be compatible with the C++ standard * src/buffer.cxx: likewise * src/fancy.cxx: likewise * src/null.cxx: likewise2000-03-27 Jesper Skov <jskov@redhat.com> * include/cyg_type.h: Make cyg_halbool the same for C and C++ code. * include/cyg_ass.h (CYGDBG_DEFINE_CHECK_THIS): Use cyg_bool instead of bool.2000-03-07 Jesper Skov <jskov@redhat.com> * src/buffer.cxx: Fix some compiler warnings.2000-03-03 Jesper Skov <jskov@redhat.com> * include/cyg_type.h (CYGBLD_ATTRIB_WEAK): disarm bomb for !GCC.2000-03-01 Jesper Skov <jskov@redhat.com> 103290 * include/cyg_ass.h: Make cyg_assert_fail a weak symbol.2000-02-28 Gary Thomas <gthomas@cygnus.co.uk> * include/diag.h: * src/diag.cxx (diag_dump_buf): Add diagnostic "dump buffer" function.2000-02-21 Hugo Tyson <hmt@cygnus.co.uk> * src/tcdiag.cxx (cyg_test_is_simulator): set this true if ugly new cdl_option CYGHWR_TARGET_SIMULATOR_NO_GDB_WORKING is set. This means we cannot diddle the variable using GDB.2000-02-18 Hugo Tyson <hmt@cygnus.co.uk> * 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 useful for some simulators that are not (yet) Gdb integrated. The action is CYGHWR_TEST_PROGRAM_EXIT() if defined. * src/simple.cxx (cyg_assert_fail): Add the facility for a platform HAL to define an action to take when an assertion failure occurs. Ditto. * src/fancy.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]2000-02-08 Jonathan Larmour <jlarmour@redhat.co.uk> * include/cyg_trac.h: Define and document CYG_TRACE_PRINT() and CYG_TRACE_DUMP() macros for outputting buffered trace output, and kernel state dump respectively * cdl/debug.cdl (CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER): replace (incorrect) mention of cyg_trace_output() with CYG_TRACE_PRINT() macro. * src/fancy.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 function2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk> * cdl\infra.cdl: Adjust help URLs in line with new doc layout.2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk> * cdl\infra.cdl: Adjust help URLs in line with new doc layout.1999-11-26 Gary Thomas <gthomas@cygnus.co.uk> * include/cyg_type.h: Add MLT symbols CYGMEM_REGION_ATTR_R/W.1999-11-23 Hugo Tyson <hmt@cygnus.co.uk> * cdl/debug.cdl: Add "active_if CYGDBG_USE_TRACING" to all tracing only options in the buffered flavour of assert'n'trace. Otherwise 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 also prevents the confusion of having active options that have no effect whatsoever. Aside: the default is buffered assert'n'trace so that the test farm can enable tracing and not get swamped by output.1999-05-14 Hugo Tyson <hmt@cygnus.co.uk> * include/cyg_type.h (CYG_INIT_COMPAT): add a new init priority level for compatibility layers (for uITRON that is, but potentially POSIX also perhaps, after libc anyway).1999-04-14 John Dallaway <jld@cygnus.co.uk> * include/pkgconf/infra.h: Add cdl_package doc attribute.1999-04-12 Jesper Skov <jskov@cygnus.co.uk> * include/cyg_type.h: Added new init priority for IO devices. * include/diag.h: * src/diag.cxx: Use device for diag if configured so.1999-03-19 Gary Thomas <gthomas@cygnus.co.uk> * src/diag.cxx (diag_vprintf): Support '%%' printf modifier.1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/cyg_type.h: Add CYGBLD_ATTRIB_CONST and tidy define indentation1999-03-04 Bart Veer <bartv@cygnus.co.uk> * include/diag.h: Added a #include for <pkgconf/infra.h> so that the header file can correctly check for CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -