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

Baruch Siach baruch at tkos.co.il
Mon Jul 8 03:05:21 PDT 2013


Hi Chris,

On Mon, Jul 08, 2013 at 02:53:01AM -0700, czankel wrote:
> 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...

Patched work equally well for git and mecurial, I guess. I'm sure Yann doesn't 
mind applying patches coming from git, as long as they apply cleanly (and are 
sane). Having out of the box xtensa support in crosstool-NG v1.19.0 would be 
nice.

baruch

> 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() {

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the linux-xtensa mailing list