From: Nicholas Clark Date: 10:21 on 05 May 2005 Subject: gdb #0 0xb73a1cef in raise () from /lib/tls/libc.so.6 (gdb) Hangup detected on fd 0 error detected on stdin Any sensible Unix program accepts commands on stdin and just fucking works. Gnu's Not Unix. Crap. Nicholas Clark
From: Arthur Bergman Date: 11:34 on 05 May 2005 Subject: Re: gdb lib/tls is a special deserving piece of hate in itself :-) On 5 May 2005, at 10:21, Nicholas Clark wrote: > #0 0xb73a1cef in raise () from /lib/tls/libc.so.6 > (gdb) Hangup detected on fd 0 > error detected on stdin > > Any sensible Unix program accepts commands on stdin and just fucking > works. > > Gnu's Not Unix. > > Crap. > > Nicholas Clark
From: Simon Wistow Date: 11:43 on 05 May 2005 Subject: Re: gdb > Any sensible Unix program accepts commands on stdin and just fucking > works. And can you actually supply arguments to the program you're debugging via the command line? as in % gdb -q ./foo some args and a -f lag or am I missing something obvious?
From: Nicholas Clark Date: 11:48 on 05 May 2005 Subject: Re: gdb On Thu, May 05, 2005 at 11:43:31AM +0100, Simon Wistow wrote: > > Any sensible Unix program accepts commands on stdin and just fucking > > works. > > And can you actually supply arguments to the program you're debugging > via the command line? > > as in > > % gdb -q ./foo some args and a -f lag > > or am I missing something obvious? It would be off topic to be helpful. However, I think a clue that in itself demonstrates some hatefulness might be acceptable: $ /bin/false >/dev/null; echo $? 1 $ /bin/false --help >/dev/null; echo $? 0 Nicholas Clark
From: peter (Peter da Silva) Date: 13:13 on 05 May 2005 Subject: Re: gdb > $ /bin/false >/dev/null; echo $? > 1 > $ /bin/false --help >/dev/null; echo $? > 0 That sound you heard was my brain exploding.
From: Nicholas Clark Date: 11:14 on 28 Jun 2005 Subject: gdb $ PERL_DESTRUCT_LEVEL=2 gdb --args ./miniperl -Ilib -MExporter -e0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) r Starting program: /home/nick/Ponie/ponie01/perl/miniperl -Ilib -MExporter -e0 Cannot find thread 2: Thread ID=1, generic error What? Where do you think it is? Where did you last see it? Have you looked behind the sofa? With tools like these, who needs bugs? Nicholas Clark
From: Nicholas Clark Date: 16:52 on 27 Feb 2008 Subject: gdb (gdb) p *(struct perl_memory_debug_header **) 0x100813c10 $40 = (struct perl_memory_debug_header *) 0x100502060 (gdb) watch *(struct perl_memory_debug_header **) 0x100813c10 Hardware watchpoint 6: *(struct perl_memory_debug_header **) 4303436816 (gdb) c Continuing. Breakpoint 1, Perl_safesysfree (where=0x1005020a0) at util.c:248 248 Perl_croak_nocontext("panic: bad free"); (gdb) p *(struct perl_memory_debug_header **) 0x100813c10 $41 = (struct perl_memory_debug_header *) 0x0 Um. It changed. While you weren't watching. Dear gdb, did you nip out for a fag break when you were supposed to be on duty? Hatefully yours, Nicholas Clark
Generated at 10:26 on 16 Apr 2008 by mariachi