How to excute shell/remote generated gdb commands ?

Philippe Waille Philippe.Waille@imag.fr
Fri Apr 24 16:05:00 GMT 2009


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



More information about the Gdb mailing list