9 Jul
2002
9 Jul
'02
17:13
Setyo Nugroho writes: > Jesse, > Thanks for your advices. > > > Try installing package ncurses-devel. And then do a 'make distclean' > > in the gdb-5.2 source. > I have installed ncurses-devel. Then I did the flwg: > - ./configure > - make > - make install > - make distclean > > gdb 5.2 has been installed. > But the "list" function still does not work well, with the same error > messages "init.c: No such file or directory." This seems to be working for me, see if you are leaving anything out: $ g++ -c -g t4.c $ g++ -o t4 t4.o $ gdb t4 GNU gdb 20020404 Copyright 2002 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 "i686-pc-linux-gnu"... (gdb) br main Breakpoint 1 at 0x80486a6: file t4.c, line 20. (gdb) run Starting program: /tmp/t4 Breakpoint 1, main () at t4.c:20 (gdb) n (gdb) (gdb) luas persegi1 = 12 (gdb) luas persegi2 = 30 (gdb)