On Sat, Jun 08, 2002 at 12:19:37AM +0900, Jun Kuriyama wrote:
> I've installed gdb-5.2_1, but I cannot debug usual code. I've tried
> with "-g", "-gstabs+" and "-g -gstabs+" but got same result.
In another message, Mark said he fixed the port.
But I just wanted to add that "-gstabs+" is not need
At 12:19 AM +0900 6/8/02, Jun Kuriyama wrote:
>I've installed gdb-5.2_1, but I cannot debug usual code. I've tried
>with "-g", "-gstabs+" and "-g -gstabs+" but got same result.
>
>
>% cat test1.c
>int main() { int *p; *p = 1; }
>% cc -g test1.c -o test1
>% ./test1
>Bus error (core dumped)
>% gdb5
I've installed gdb-5.2_1, but I cannot debug usual code. I've tried
with "-g", "-gstabs+" and "-g -gstabs+" but got same result.
% cat test1.c
int main() { int *p; *p = 1; }
% cc -g test1.c -o test1
% ./test1
Bus error (core dumped)
% gdb52 test1 test1.core
GNU gdb 5.2 (FreeBSD)
Copyright 2002