Capturing gdb output in pyhton script using gdb -batch -x arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Surendra

    #1

    Capturing gdb output in pyhton script using gdb -batch -x arguments

    Hi Friends,

    I am in need of gudance for getting ouput from the
    gdb objfile -batch -x gdb batch_command_f ile

    But I am not able to see messages on display.

    So kindly guide me if u have any experience about it.

    batch_command_f ile:
    list *0x840230fd
    echo bla bla...



Working...