This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]