Subject: Re: gdb over ktrace
To: SAITOH Masanobu <masanobu@iij.ad.jp>
From: None <itojun@iijlab.net>
List: tech-kern
Date: 04/14/2000 03:13:19
> > 	works fine for me.  i386, egcs-2.91.66 19990314, 1.4X, gdb 4.17
> > 	Maybe it isn't just any application?
>Really?
(snip)
>It occurs
>	1.4U (i386)
>	1.4.1 (sh3)
>	1.4.2 (arm32)

	It worked just fine for me.
	is there anything to do with your shell/tty/whatever?

itojun


% uname -a
NetBSD starfruit.itojun.org 1.4X NetBSD 1.4X (STARFRUIT) #177: Wed Apr 12 19:02:20 JST 2000     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
% ktrace -i gdb a.out 
GNU gdb 4.17
Copyright 1998 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--netbsd"...
(gdb) break main
rBreakpoint 1 at 0x8048827: file hoge.c, line 20.
(gdb) run
Starting program: /tmp/a.out 

Breakpoint 1, main (argc=1, argv=0xbfbfdb30) at hoge.c:20
20              printf("test %d\n", f());
(gdb) The program is running.  Exit anyway? (y or n) y