Subject: Re: gdb over ktrace
To: None <erh@nimenees.com>
From: SAITOH Masanobu <masanobu@iij.ad.jp>
List: tech-kern
Date: 04/14/2000 01:57:57
> > Please test the following sequence:
> > 1) Compile any application with "cc -g"
> > 2) run "ktrace -i gdb execfile"
> > 3) type "break main"
> > 4) type "run"
> > And, it does not returnd anymore. It doesn't accepts control-C and control-D.
> > Is this a correct behavior? Does it occur any other archs?
>
> works fine for me. i386, egcs-2.91.66 19990314, 1.4X, gdb 4.17
> Maybe it isn't just any application?
Really?
------------------- cut here -----------------
#include <stdio.h>
int
f()
{
int *p;
p = 0;
*p = 100;
return *p;
}
int
main(argc, argv)
int argc;
char *argv[];
{
printf("test %d\n", f());
return (0);
}
------------------- cut here -----------------
It occurs
1.4U (i386)
1.4.1 (sh3)
1.4.2 (arm32)
----------------------------------------------------------
SAITOH Masanobu (masanobu@iij.ad.jp
msaitoh@netbsd.org)