robterrell
Registered
I'm using gdb for the first time. Can anyone tell me how to trap API calls using it?
The documentation for the Quicktime Broadcaster API is atrocious and clearly wrong in several aspects. It's incomplete; hasn't been updated in two years; the people listed in the docs seem to have left apple; and no one on the qt-api list replies to questions about it. All of which makes it a prime candidate for a low-level self-documentation effort! So I'd like to watch the how Quicktime Broadcaster.app calls the API to get things to happen.
I've got lots of experience with Macsbug. In Macsbug, I would do something like ATB, or set a breakpoint on the trap call I was interested in watching. What's the equivalent in gdb?
For fun, I did "gdb /Safair.app xxxx" and looked around. I tried "info functions" but gdb hung and I had to kill it.
Any help would be appreciated. Thanks!
The documentation for the Quicktime Broadcaster API is atrocious and clearly wrong in several aspects. It's incomplete; hasn't been updated in two years; the people listed in the docs seem to have left apple; and no one on the qt-api list replies to questions about it. All of which makes it a prime candidate for a low-level self-documentation effort! So I'd like to watch the how Quicktime Broadcaster.app calls the API to get things to happen.
I've got lots of experience with Macsbug. In Macsbug, I would do something like ATB, or set a breakpoint on the trap call I was interested in watching. What's the equivalent in gdb?
For fun, I did "gdb /Safair.app xxxx" and looked around. I tried "info functions" but gdb hung and I had to kill it.
Any help would be appreciated. Thanks!