📄 changelog
字号:
2007-12-28 Oyvind Harboe <oyvind.harboe@zylin.com>
* src/memcpy.cxx: added assert when memory areas for memcpy()
overlaps => result is undefined. It is important to catch *all*
cases of this if adding an optimisation for unaligned copy.
2007-06-28 Gary Thomas <gary@mlbassoc.com>
* src/tcdiag.cxx:
* src/diag.cxx: Add (char *) casts to make GCC 4.2.x happy.
2007-05-31 Rutger Hofman <rutger@cs.vu.nl>
* src/diag.cxx: when printing a long long, should not truncate
its value to a long or int size
2006-10-26 Stefan Sommerfeld <sommerfeld@mikrom.com>
* include/cyg_types.h: fixed typo, __GNU_PATCHLEVEL__ was checked,
should be __GNUC_PATCHLEVEL__ (which is already used later)
* include/cyg_types.h: fixed comment for CYGBLD_ATTRIB_USED, wrong
GCC version was referenced
2006-08-25 Gary Thomas <gary@mlbassoc.com>
* cdl/infra.cdl:
CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD must be 'data', not 'boolean'
2006-05-17 David Vrabel <dvrabel@arcom.com>
* include/cyg_type.h: #define CYG_NELEM to calculate the
number of elements in a (statically allocated) array.
2006-05-08 Sergei Gavrikov <sg@belvok.com>
* src/buffer.cxx: Fix the compiler warnings.
2005-11-04 Bart Veer <bartv@ecoscentric.com>
* tests/cxxsupp.cxx: Fix the compiler warnings.
2005-10-16 Andrew Lunn <andrew.lunn@ascom.ch>
* src/delete.cxx:
* cdl/infra.cdl: Count the number of calls to delete when
INFRA_DEBUG is enabled. If the threshold is exceeded it probably
means the user expects a real delete function, not the empty one.
2005-10-12 Laurent Gonzalez <laurent.gonzalez@trango-systems.com>
* src/simple.cxx (cyg_check_func_ptr): match the implementation to
the prototype. This got forgotten in the last patch.
2005-07-29 Andrew Lunn <andrew.lunn@ascom.ch>
* include/cyg_ass.h: Fixed a function prototype so that
gcc4 does not give warnings. A const void makes no sense.
* src/*.cxx (cyg_check_func_ptr): match the implementation to the
prototype.
2005-06-27 Andrew Lunn <andrew.lunn@ascom.ch>
* include/cyg_type.h: Added CYGBLD_ATTRIB_USED so that we can
indicate to gcc 3.4.4 or above not to throw away a variable or
function even when it appears to be not references.
2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
* include/diag.h: Added CYGBLD_ATTRIB_PRINTF_FORMAT where
appropriate to get the compiler to do more checking.
* src/diag.cxx (diag_dump_buf_with_offset_16bit): Fix compiler warning
caused by above change.
2005-02-08 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/diag_sprintf1.c
* tests/diag_sprintf2.c
* cdl/infra.cdl: Used the sprintf test from libc to test
diag_sprintf.
2005-02-08 Christoph Csebits <Christoph.CSEBITS@frequentis.com>
* src/diag.cxx (diag_snprintf): Off by one error could cause the
end of the buffer to be overrun.
2004-07-12 Gary Thomas <gary@mlbassoc.com>
* src/diag.cxx (_vprintf): Fix return length for %%
2004-06-30 Gary Thomas <gary@mlbassoc.com>
* src/diag.cxx (_vprintf): Returned [length] was wrong for %p
2004-04-16 Jonathan Larmour <jifl@eCosCentric.com>
* tests/cxxsupp.cxx: Allow inline function to be correctly inlined.
2004-04-15 Jonathan Larmour <jifl@eCosCentric.com>
* include/cyg_type.h: added CYG_ATTRIB_ALIGN_MAX and
CYGBLD_ATTRIB_ALIGNOFTYPE. Inspired by Robert Larice.
2004-01-08 Jani Monoses <jani@iv.ro>
* src/diag.cxx (diag_check_string): Allow '\t' in format strings.
2004-01-05 Gary Thomas <gary@mlbassoc.com>
* tests/fc_test.c:
* src/tcdiag.cxx (cyg_assert_msg): 'fconfig' API changed again.
2003-12-21 Gary Thomas <gary@mlbassoc.com>
* tests/fc_test.c: New test/demonstration of 'fconfig' access.
* src/tcdiag.cxx (cyg_assert_msg): Interface to 'fconfig' data
has changed.
2003-10-11 Gary Thomas <gary@mlbassoc.com>
* src/tcdiag.cxx (cyg_test_exit):
* cdl/infra.cdl: New option CYGSEM_INFRA_RESET_ON_TEST_EXIT which
[if defined] indicates that "cyg_test_exit()" should reset the
platform instead of the default hang.
2003-10-03 Nick Garnett <nickg@balti.calivar.com>
* tests/cxxsupp.cxx: Added ifdef to disable this test on H8/300
targets. The H8/300 toolchain does not currently have C++ support.
2003-07-01 Michael Checky <Michael_Checky@ThermoKing.com>
* src/diag.cxx: Added support for the 'z' qualifier in format strings.
2003-05-05 Gary Thomas <gary@mlbassoc.com>
* cdl/infra.cdl: Add option to control number of times tests run.
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 2048
2001-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>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -