Re: [PATCH rtems-docs v2] c-user/chains: Correct iteration example code

2023-03-08 Thread Sebastian Huber
On 09.03.23 03:33, Kinsey Moore wrote: Casting the node returned by rtems_chain_head is incorrect. That node is owned by the control structure and use of it post-cast could cause memory corruption. --- c-user/chains.rst | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH] 6/gdb: fix building on FreeBSD 13.1

2023-03-08 Thread Chris Johns
On 9/3/2023 1:54 pm, Joel Sherrill wrote: > I've followed the discussion with gdb and this is ok. Thanks. > I still question them > installing that header file. The the patch you're adding fixes it by making > local includes ahead. But I don't remember seeing an answer to the question of > should

Re: [PATCH] 6/gdb: fix building on FreeBSD 13.1

2023-03-08 Thread Joel Sherrill
I've followed the discussion with gdb and this is ok. I still question them installing that header file. The the patch you're adding fixes it by making local includes ahead. But I don't remember seeing an answer to the question of should the header file be installed anyway. Ok to push --joel On

[PATCH] 6/gdb: fix building on FreeBSD 13.1

2023-03-08 Thread chrisj
From: Chris Johns See https://sourceware.org/bugzilla/show_bug.cgi?id=30214 Closes #4872 --- rtems/config/tools/rtems-gdb-13.1.cfg | 4 source-builder/sb/freebsd.py | 14 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/rtems/config/tools/rtems-gdb-1

Re: [PATCH rtems-docs v2] c-user/chains: Correct iteration example code

2023-03-08 Thread Chris Johns
Looks good. Thanks Chris On 9/3/2023 11:33 am, Kinsey Moore wrote: > Casting the node returned by rtems_chain_head is incorrect. That node is > owned by the control structure and use of it post-cast could cause > memory corruption. > --- > c-user/chains.rst | 6 +- > 1 file changed, 5 insert

[PATCH rtems-docs v2] c-user/chains: Correct iteration example code

2023-03-08 Thread Kinsey Moore
Casting the node returned by rtems_chain_head is incorrect. That node is owned by the control structure and use of it post-cast could cause memory corruption. --- c-user/chains.rst | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/c-user/chains.rst b/c-user/chains.rst index

Re: [PATCH rtems-docs] c-user/chains: Correct iteration example code

2023-03-08 Thread Chris Johns
On 9/3/2023 7:22 am, Kinsey Moore wrote: > On Wed, Mar 8, 2023 at 3:47 PM Chris Johns > wrote: > On 9/3/2023 5:40 am, Kinsey Moore wrote: > > Casting the node returned by rtems_chain_head is incorrect. That node is > > owned by the control structure and use of

Re: [PATCH rtems-docs] c-user/chains: Correct iteration example code

2023-03-08 Thread Kinsey Moore
On Wed, Mar 8, 2023 at 3:47 PM Chris Johns wrote: > > > On 9/3/2023 5:40 am, Kinsey Moore wrote: > > Casting the node returned by rtems_chain_head is incorrect. That node is > > owned by the control structure and use of it post-cast could cause > > memory corruption. > > --- > > c-user/chains.rs

Re: [PATCH rtems-docs] c-user/chains: Correct iteration example code

2023-03-08 Thread Chris Johns
On 9/3/2023 5:40 am, Kinsey Moore wrote: > Casting the node returned by rtems_chain_head is incorrect. That node is > owned by the control structure and use of it post-cast could cause > memory corruption. > --- > c-user/chains.rst | 4 > 1 file changed, 4 insertions(+) > > diff --git a/c

[PATCH rtems-docs] c-user/chains: Correct iteration example code

2023-03-08 Thread Kinsey Moore
Casting the node returned by rtems_chain_head is incorrect. That node is owned by the control structure and use of it post-cast could cause memory corruption. --- c-user/chains.rst | 4 1 file changed, 4 insertions(+) diff --git a/c-user/chains.rst b/c-user/chains.rst index f518ef4..e791d10

Re: [PATCH rtems-source-builder] 6: Update MicroBlaze gdb to 12.1

2023-03-08 Thread Chris Johns
What hosts have you tested building this on? I only ask as gdb-13 is not building on FeeBSD 13.1 for me. Chris On 9/3/2023 2:14 am, Alex White wrote: > GDB 11.2 fails to compile on Ubuntu 22.04 for MicroBlaze. > --- > rtems/config/6/rtems-microblaze.bset | 2 +- > 1 file changed, 1 insertion(+)

[PATCH rtems-source-builder] 6: Update MicroBlaze gdb to 12.1

2023-03-08 Thread Alex White
GDB 11.2 fails to compile on Ubuntu 22.04 for MicroBlaze. --- rtems/config/6/rtems-microblaze.bset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems/config/6/rtems-microblaze.bset b/rtems/config/6/rtems-microblaze.bset index ea59313..e05fd7b 100644 --- a/rtems/config/6/rte

Re: Help regarding Building x86_64 BSP

2023-03-08 Thread Frank Kühndel
Hello, On 3/8/23 01:42, Joel Sherrill wrote: Subject: Re: Help regarding Building x86_64 BSP From: Joel Sherrill Date: 3/8/23, 01:42 To: Karel Gardas CC: "rtems-de...@rtems.org" Did you build the x86_64 tools and qemu using the RTEMS Source Builder? The only information I can contribute