Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 09:23:32 +0100
From:      Bjoern Fischer <bfischer@TechFak.Uni-Bielefeld.DE>
To:        "Ricardo Chen" <ricardo.chen@263.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ncurses debugging under gdb
Message-ID:  <19981214092332.A1987@acrasia.TechFak.Uni-Bielefeld.DE>
In-Reply-To: <199812030851520970.001DD42E@mail.263.net>; from Ricardo Chen on Thu, Dec 03, 1998 at 08:51:52AM %2B0800
References:  <199812030851520970.001DD42E@mail.263.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 03, 1998 at 08:51:52AM +0800, Ricardo Chen wrote:
> Hi,
> 
> I want to debug my program written with ncurses lib, but it seems not work under gdb:  when I redirect debugger's output to another termincal, my programm will never output anything to the terminal....
> Can anyone please tell me how can I make it work properly? 

Simply run gdb in another terminal/xterm and attach it to the
running process to be debugged with:
gdb> attach <pid>

  Bjoern

-- 
(sig_t*)NULL

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981214092332.A1987>