vignesh@linux-j2wb:~/bin> gdb ./db
GNU gdb 6.5
Copyright (C) 2006 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/vignesh/bin/db
Failed to read a valid object file image from memory.
BLADE SERVERS DATABASE
1.ADD A BLADE SERVER TO DATABASE
2.SELECT A BLADE SERVER FROM DATABASE
3.REMOVE A BLADE SERVER FROM DATABASE
4.EXIT
Enter an option : 1
ADDING A BLADE SERVER...
NAME OF THE BLADE SERVER :
BLADEA
AMOUNT OF PRIMARY MEMORY:
5
AMOUNT OF SECONDARY MEMORY
45
NUMBER OF NETWORK PORTS :
3
SYSTEM ARCHITECTURE :
45
PROCESSOR SPEED
45
BLADE SERVER ADDED SUCCESSFULLY !
INSERT INTO blade(name, pmem, smem, ports, arch, speed) VALUES ('vignesh', '134515026', '0', '0', '/var/lib/mysql/mysql.sock', '41485');
Program exited normally.
(gdb)