On 14/07/2022 02:36, Chris Johns wrote:
Exceptions during system initialization work only on targets which do not need
a registration of exception frames during the global construction. In
particular, targets which use the DWARF2 unwinder cannot use exceptions during
system initialization.
I wo
On 14/07/2022 02:31, Chris Johns wrote:
On 13/7/2022 6:42 pm, Sebastian Huber wrote:
On 01/07/2022 12:02, Sebastian Huber wrote:
+static void early_exception()
+{
+ try
+ {
+ throw "early exception";
+ }
+ catch( const char *e )
+ {
+ rtems_test_assert(strcmp(e, "early
Am 13.07.22 um 04:51 schrieb Chris Johns:
On 13/7/2022 10:08 am, Joel Sherrill wrote:
Vijay and Kinsey have made great progress in addressing the issues that were
raised about the lwip tcpip stack that needed to be addressed before it became
an official top level repository. Thanks to both of th
On 13/7/2022 9:41 pm, Sebastian Huber wrote:
> Exceptions during system initialization work only on targets which do not need
> a registration of exception frames during the global construction. In
> particular, targets which use the DWARF2 unwinder cannot use exceptions during
> system initializa
On 13/7/2022 6:42 pm, Sebastian Huber wrote:
> On 01/07/2022 12:02, Sebastian Huber wrote:
>> +static void early_exception()
>> +{
>> + try
>> + {
>> + throw "early exception";
>> + }
>> + catch( const char *e )
>> + {
>> + rtems_test_assert(strcmp(e, "early exception") ==
On 13/07/2022 11:58, sebastian.hu...@embedded-brains.de wrote:
RTEMS Source Builder - Set Builder, 6 (53c42b08508f)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
Host: Linux-5.3.18-150300.59.76-default-x86_64-with-glibc2.3.4
Linux lupus 5.3.18-150300.59.76-default #
Commit 21275b58a5a69c3c838082ffc8a7a3641f32ea9a ("score: Static
Objects_Information initialization") introduced an off-by-one error in the
maintenance of inactive objects.
Close #4677.
---
cpukit/include/rtems/score/objectimpl.h | 29 +
cpukit/score/src/objectfree.c
Update #4677.
---
spec/build/testsuites/sptests/grp.yml | 2 +
.../testsuites/sptests/spunlimited01.yml | 20 +++
testsuites/sptests/spunlimited01/init.c | 125 ++
.../sptests/spunlimited01/spunlimited01.doc | 14 ++
4 files changed, 161 insertions(+)
crea
With unlimited objects the object maximum may be larger than the sum of active
and inactive objects.
---
cpukit/score/src/objectactivecount.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/cpukit/score/src/objectactivecount.c
b/cpukit/score/src/objectactiv
Exceptions during system initialization work only on targets which do not need
a registration of exception frames during the global construction. In
particular, targets which use the DWARF2 unwinder cannot use exceptions during
system initialization.
---
testsuites/samples/cdtest/main.cc | 14 +++
This patch set adds support for the --enable-newlib-reent-thread-local
(_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option.
By default, Newlib uses a huge object of type struct _reent to store
thread-specific data. This object is returned by __getreent() if the
__DYNAMIC_REENT__ Newlib conf
From: Matt Joyce
In case the Newlib _REENT_THREAD_LOCAL configuration option is enabled, the
struct _reent is not defined (there is only a forward declaration in
). Instead, the usual members of struct _reent are available as
dedicatd thread-local storage objects.
Update #4560.
---
cpukit/incl
From: Matt Joyce
Update #4560.
---
testsuites/sptests/sp01/system.h | 7 +++
testsuites/sptests/spstkalloc02/init.c | 7 +++
testsuites/sptests/spstkalloc02/spstkalloc02.doc | 2 +-
testsuites/sptests/sptls03/init.c| 7 +++
4 files changed, 2
This makes the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE)
Newlib configuration option available.
Update #4560.
---
.../config/tools/rtems-gcc-10-newlib-head.cfg | 4 +--
.../tools/rtems-gcc-10.4-newlib-ea99f21.cfg | 27 +++
.../config/tools/rtems-gcc-12-ne
Use the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE) Newlib
configuration option on all targets which support thread-local storage.
Update #4560.
---
rtems/config/6/rtems-aarch64.bset| 1 +
rtems/config/6/rtems-arm.bset| 1 +
rtems/config/6/rtems-i386.bset |
Update #4560.
---
source-builder/config/gcc-common-1.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/source-builder/config/gcc-common-1.cfg
b/source-builder/config/gcc-common-1.cfg
index 694a1f3..f6ec883 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-c
On 01/07/2022 12:02, Sebastian Huber wrote:
+static void early_exception()
+{
+try
+{
+ throw "early exception";
+}
+catch( const char *e )
+{
+ rtems_test_assert(strcmp(e, "early exception") == 0);
+ throw "early exception 2";
+}
+}
+
+static void test_exce
17 matches
Mail list logo