Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
- Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: > On 06/09/2019 09:26, Sebastian Huber wrote: >> On 06/09/2019 09:01, Chris Johns wrote: >>> On 6/9/19 4:20 pm, Sebastian Huber wrote: Hello, I tried the rtems-addr2line on ARM and SPARC. On S

Re: Problem about port cycloneTCP

2019-09-06 Thread Joel Sherrill
On Fri, Sep 6, 2019 at 3:44 AM jameszxj wrote: > > HI, > I met a strange problem when I port cycloneTCP on z7000 board. System crashed > when a add or delete some codes, even if the codes have nothing to do with > cycloneTCP. > I trace the PC pointer, But it point to RTEMS core function, I think

Re: [PATCH] record: Add wrappers for malloc() functions

2019-09-06 Thread Sebastian Huber
On 02/09/2019 08:00, Chris Johns wrote: On 2/9/19 3:37 pm, Sebastian Huber wrote: On 01/09/2019 04:29, Chris Johns wrote: On 30/8/19 11:07 pm, Sebastian Huber wrote: Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit event

[PATCH] rtems: Make rtems_version_control_key() safer

2019-09-06 Thread Sebastian Huber
Return the empty string instead of a NULL pointer if no version key is available. --- cpukit/include/rtems/version.h | 9 ++--- cpukit/sapi/src/version.c | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cpukit/include/rtems/version.h b/cpukit/include/rtems/version.h

Re: [PATCH] record: Use addr2line to link to the source code

2019-09-06 Thread Sebastian Huber
Using the native GNU "addr2line" tool delivers different results if I use the same input on Linux and MSYS2. So, this a approach is not really great. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 4

RTEMS qualification and code annotations

2019-09-06 Thread Andrew Butterfield
Dear RTEMS developers, as some of you may be aware, I am leading a task as part of the RTEMS Qualification activity that explores the use of formal methods to assist with code verifications. Some of these techniques work best if annotations are added to source code, but these annotations are *not

Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
On 06/09/2019 09:26, Sebastian Huber wrote: On 06/09/2019 09:01, Chris Johns wrote: On 6/9/19 4:20 pm, Sebastian Huber wrote: Hello, I tried the rtems-addr2line on ARM and SPARC. On SPARC it seems to work fine, however, on ARM I get this: rtems-addr2line -e build/arm-rtems5-xilinx_zynq_a9_

Problem about port cycloneTCP

2019-09-06 Thread jameszxj
HI, I met a strange problem when I port cycloneTCP on z7000 board. System crashed when a add or delete some codes, even if the codes have nothing to do with cycloneTCP. I trace the PC pointer, But it point to RTEMS core function, I think core function is impossible to have a problem. I guess it

[PATCH] record: Use addr2line to link to the source code

2019-09-06 Thread Sebastian Huber
Update #3665. --- trace/record/record-main-lttng.cc | 221 ++ trace/wscript | 12 ++- 2 files changed, 188 insertions(+), 45 deletions(-) diff --git a/trace/record/record-main-lttng.cc b/trace/record/record-main-lttng.cc index dda57ef..4f7

Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
On 06/09/2019 09:01, Chris Johns wrote: On 6/9/19 4:20 pm, Sebastian Huber wrote: Hello, I tried the rtems-addr2line on ARM and SPARC. On SPARC it seems to work fine, however, on ARM I get this: rtems-addr2line -e build/arm-rtems5-xilinx_zynq_a9_qemu-everything/media01.exe 0x135a /home/EB/