On Tue, Oct 16, 2012 at 11:42 PM, Wojtek wrote: > Dear Sir > > I found the issue. > The problem is gdb version detection. > In my ubuntu the gdb header looks: > > GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 > Copyright (C) 2011 Free Software Foundation, Inc. > You extract a version number from "7.3-0ubuntu2." > In arm-none-eabi-gdb the gdb header looks: > GNU gdb (Sourcery CodeBench Lite 2011.09-69) 7.2.50.20100908-cvs > Copyright (C) 2010 Free Software Foundation, Inc. > So the version is wrong. > > I changed regex in gdb.py from: > > RE_VERSION = r'GNU\s*gdb[^\d]*(?P<version>[0-9.]+)' \ > r'# RE: gdb version' > > to: > RE_VERSION = r'GNU\s*gdb[^\d]*\(.*\)\s*(?P<version>[0-9]+\.[0-9]+)' > \ > r'# RE: gdb version' > > Now it's work! > Maybe it's good enough idea for next patch > to take gdb version number from end part of string?
Thanks a lot for finding the cause of the problem and finding a fix. I have entered a new issue to pyclewn bug tracker (issue 3577858) and will fix it soon. > I have one more question. > Could you give me any hint to easiest way to redirect (clewn)_console to > outside tty(pts) no to buf in vim. Do you want to only redirect the console, what about the watched variables window ? -- Xavier Les Chemins de Lokoti: http://lokoti.alwaysdata.net ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Pyclewn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyclewn-general
