Hi, I am able to run my program (resulting in a fatal error), but when I try to use gdb it doesn't even run. I made sure to compile with the -g flag. Thanks for helping.
Here's what I get:
compserv1.3 gdb testSymTab
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2"...
(gdb) run
Starting program: /home/stufs1/c504/OLD/a1/src/testSymTab
ld.so.1: /home/stufs1/c504/OLD/a1/src/testSymTab: fatal: libstdc++.so.5: open failed: No such file or directory
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)
Here's what I get:
compserv1.3 gdb testSymTab
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2"...
(gdb) run
Starting program: /home/stufs1/c504/OLD/a1/src/testSymTab
ld.so.1: /home/stufs1/c504/OLD/a1/src/testSymTab: fatal: libstdc++.so.5: open failed: No such file or directory
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)