[PATCH] gdb/remote: make tid/pid type long in wite_ptid

2019-11-09 Thread Evgeniy Didin
From: Evgeniy Didin In Zephyr RTOS the k_thread_create function returns thread ID which is actually pointer to k_thread structure. If the memory addressing starts from 0x8000, passing such big values to write_ptid() leads to overflow of "int tid" variable and thread ID becomes negative. So le

Re: [Buildroot] [PATCH 1/3] arch/config.in.arc: Introduce the ARC optimized hs38 config

2019-11-09 Thread Thomas Petazzoni
Hello, +Arnout for legacy handling. On Fri, 8 Nov 2019 09:41:10 -0800 Vineet Gupta wrote: > This corresponds to -mcu=hs38 with mpy-option=9 (64-bit multiplier) > > Signed-off-by: Vineet Gupta > --- > arch/Config.in.arc | 21 ++--- > 1 file changed, 14 insertions(+), 7 deleti

Re: [Buildroot] [PATCH 2/3] arch/config.in.arc: Introduce ARC ISA toggle to ease downstream toggles

2019-11-09 Thread Thomas Petazzoni
Hello, On Fri, 8 Nov 2019 09:41:11 -0800 Vineet Gupta wrote: > Signed-off-by: Vineet Gupta > --- > arch/Config.in.arc | 25 +++-- > 1 file changed, 23 insertions(+), 2 deletions(-) > > diff --git a/arch/Config.in.arc b/arch/Config.in.arc > index 284951b82cee..dbc608db39c6

Re: [Buildroot] [PATCH 3/3] package/ffmpeg: Enable ARC glibc builds

2019-11-09 Thread Thomas Petazzoni
On Fri, 8 Nov 2019 09:41:12 -0800 Vineet Gupta wrote: > ARC glibc fenv.h has the needed macros for quite some time now so allow > ffmpeg builds > > Signed-off-by: Vineet Gupta > --- > package/ffmpeg/Config.in | 2 -- > 1 file changed, 2 deletions(-) Applied to next, thanks. Thomas -- Thoma