Problem with gdb

Paolo Minazzi Paolo.Minazzi at mitrol.it
Sun Apr 26 14:50:46 CEST 2020


Il 26/04/2020 10:33, Jan Kiszka ha scritto:
> Can you cross-check with ipipe-core-4.19.114-cip24-arm-08? 4.9 is 
> unmaintained regarding I-pipe.
Hi Jan,
I could try 4.19. But then I would have a complex task to to the porting 
all of my system to linux-4.19.

I have tried now downgrading xenomai to 3.0.9 with the same ipipe-4.9.38.
I have seen something changed in xenomai 3.1 about debugging.
With xenomai-3.0.9 gdb seems working OK.
Tomorrow I will test better and I will post results.

> How did you build Xenomai (configure options)? How are you building 
> your demo?
>
Xenomai build

./scripts/bootstrap --with-core=cobalt
configure --build=i686-pc-linux-gnu \
--host=arm-linux-gnueabihf \
--with-core=cobalt \
--prefix=$HERE/../$XENOMAI-install \
CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld
make

Application build

CROSS=arm-linux-gnueabihf-

INCLUDES=$(shell sh ../../xenomai-3.1-install/bin/xeno-config 
--skin=alchemy --cflags)
LIBS=$(shell sh ../../xenomai-3.1-install/bin/xeno-config --skin=alchemy 
--ldflags)

All:
         $(CROSS)gcc $(INCLUDES) $(LIBS) -o demo demo.c -g


Kind regards,
Paolo




More information about the Xenomai mailing list