This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
if defined(symbol-name) ??
- To: gdb at sourceware dot cygnus dot com
- Subject: if defined(symbol-name) ??
- From: Grant Edwards <grante at visi dot com>
- Date: Tue, 15 Feb 2000 14:43:28 -0600
In a macro, I'd like to do something conditionally depending on
whether a symbol is defined or not. Something like
if defined(cyg_test_exit)
break cyg_test_exit
end
I can't figure out what the proper expression is for the "if"
statement...
--
Grant Edwards
grante@visi.com