This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to excute shell/remote generated gdb commands ?
- From: Philippe Waille <Philippe dot Waille at imag dot fr>
- To: gdb at sourceware dot org
- Date: Fri, 24 Apr 2009 17:49:50 +0200
- Subject: How to excute shell/remote generated gdb commands ?
Hi
Gdb already allows to submit command strings to a shell or a remote stub.
Does any kind of pipe/eval mechanism (eval shell or remote
stub command output as a new gdb command line input)
already exists/could be added to the TODO list ?
Expected kind of application :
(gdb) set $port = shell start_remote_stub_and_choose_a_tcp_port &
(gdb) target remote :$port
(gdb) set $interrupt_vector = remote return_it_vector
(gdb) break $vector
Philippe Waille
--
-----------------------------------------------------------------------------
Philippe WAILLE email : Philippe.Waille@imag.fr
IMAG ID (Informatique et distribution) Tel : 04 76 61 20 13
ENSIMAG - antenne de Montbonnot Foreign : 33 4 76 61 20 13
INOVALLEE Fax : 04 76 61 20 99
51, avenue Jean Kuntzmann
38330 MONTBONNOT SAINT MARTIN