size of non local variables

Anmol P. Paralkar anmol@freescale.com
Tue Dec 1 21:33:00 GMT 2009


On Tue, 1 Dec 2009, Tom Tromey wrote:

> Anmol>  Is there a mini-tutorial somewhere that has an example of
> Anmol>  getting started with using GDB's Python support? I tried trying
> Anmol>  out the Greet snippet here:
> Anmol>  http://sourceware.org/gdb/current/onlinedocs/gdb/Functions-In-Python.html#Functions-In-Python
> Anmol>  but I'm not sure what I'm doing wrong.
>
> If that didn't work, could you be more specific?  How did it fail, etc?
>
> I wrote a series of blog entries about the python work a while back.
> This may be the closest thing to a tutorial; however, some details of
> the API have changed since then, so you would have to read it in
> conjunction with the gdb manual:
>
> http://tromey.com/blog/?p=494

  I tried the example at http://tromey.com/blog/?p=501 and it worked just fine;
  I realize that I must have been making some kind of a usage error (and not
  making sense of the error message (should have saved it)).

  But, that's a nice tutorial - pretty much what I was looking for - thank you.

Best Regards,
Anmol.



More information about the Gdb mailing list