Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: how to write a program to control gdb

by hv (Prior)
on Mar 09, 2004 at 18:16 UTC ( [id://335227]=note: print w/replies, xml ) Need Help??


in reply to how to write a program to control gdb

I'm sure it must be possible using Expect.pm, but last time I tried this (a few years ago) I didn't get very far, and it seemed easiest to use Perl to glue a TCL-style expect script and do the post-processing, as in this script which I used to generate a labelled disassembly of one function of a program.

I can't remember now what problems I had with Expect.pm - it may be related to the fact that I learnt TCL before perl, and had used expect extensively in that period.

Hugo

  • Comment on Re: how to write a program to control gdb

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://335227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-19 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found