How to use gdb52 port

2002-06-07 Thread Jun Kuriyama
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 Free

Re: How to use gdb52 port

2002-06-07 Thread Mark Peek
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) % gdb52 test1

Re: How to use gdb52 port

2002-06-07 Thread David O'Brien
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 needed to