Hi Jan,
I'm not sure how to do that in one terminal, but it's straightforward with two.
I do this in the shell targeted for debugging:
> echo %self
26414
And in another window:
> gdb attach 26414
In case you were't familiar with that technique, hope that helps!
_fish
On Dec 27, 2012, at 8:48 AM, Jan Kanis <jan.c...@jankanis.nl> wrote:
> Hi everyone
>
> Does anyone know how to run a shell like fish under gdb and separate gdb's
> and fish's outputs to two different terminals? I tried following this howto
> for debugging ncurses programs, but it fails because gdb can't set the second
> terminal as fish's controlling terminal.
>
> Using ubuntu 12.04.
>
> Jan
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users