[Linux-Xtensa] Re: [PATCH] xtensa: add support for gdb

czankel chris at zankel.net
Mon Jul 8 02:53:01 PDT 2013


Hi Baruch,

Thanks for the patch. I've added it to my github repository. So far, I 
haven't tried to push any of the changes upstream. As you probably also 
know, crosstool-NG is using Mercurial and not git...

Thanks,
-Chris

On 7/6/13 10:12 PM, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>
> This should apply on top of git://git.linux-xtensa.org/git/dev/crosstool-NG
>
>   scripts/build/debug/300-gdb.sh | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
> index 6c76334..fc2b8c1 100644
> --- a/scripts/build/debug/300-gdb.sh
> +++ b/scripts/build/debug/300-gdb.sh
> @@ -93,6 +93,10 @@ do_debug_gdb_extract() {
>           CT_Extract "expat-${CT_DEBUG_GDB_EXPAT_VERSION}"
>           CT_Patch "expat" "${CT_DEBUG_GDB_EXPAT_VERSION}"
>       fi
> +
> +    if [ -n "${CT_ARCH_XTENSA_CUSTOM_OVERLAY_FILE}" ]; then
> +        CT_ConfigureXtensa "gdb" "${CT_GDB_VERSION}"
> +    fi
>   }
>   
>   do_debug_gdb_build() {



More information about the linux-xtensa mailing list