Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: how to write a program to control gdb

by hv (Prior)
on Mar 09, 2004 at 18:16 UTC ( #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, 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 - it may be related to the fact that I learnt TCL before perl, and had used expect extensively in that period.


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-04-01 14:59 GMT
Find Nodes?
    Voting Booth?

    No recent polls found