[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] Ever tried DDD? - say no to printf(3s)
- Subject: Re: [LI] Ever tried DDD? - say no to printf(3s)
- From: "Binand Raj S." <binand@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Aug 1999 21:23:44 +0530 (IST)
On Wed, 18 Aug 1999, Vishal Khanna wrote:
> just my Rs 0.02
> Agree with Satish, sounds like a painter trying to have diff shades
> and then doing up the wall again.. gdb(1) is the best tool I have
> found in the last few years of programming and I still wonder how some
> people are not
Gdb has at least one limitation in my experience. It cannot follow the
child part of a fork() system call. OTOH, dbx can (at least on SunOS).
Since there is no dbx on linux, to debug a child, either change the code
(!) or use printf's...
I have also heard that gdb is not very useful in debugging the linux
kernel, especially a running one. That is, gdb /vmlinuz /proc/kcore is not
a nice thing to do. Comments, anyone?
Binand
- --
#include <stdio.h> | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program.
int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------