This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
scripting
- From: "John S. Yates, Jr." <jyates at netezza dot com>
- To: "gdb" <gdb at sources dot redhat dot com>
- Date: Wed, 28 May 2003 17:13:15 -0400
- Subject: scripting
- Organization: Netezza Corporation
- Reply-to: "John S. Yates, Jr." <jyates at netezza dot com>
Is there any way to pass a value known in
gdb to a shell script? E.g.:
shell somescript $myvar
how about to another gdb command? E.g.:
add-symbol-file image_$myvar $tcb->loadAddress
/john
--
John S. Yates, Jr. 508 665-6897 (voice)
Netezza Inc 508 665-6811 (fax)
200 Crossing Blvd. Framingham, MA 01701