I just spent some time and put together a bunch of user-defined commands to aid debugging with gdb on intel machines. They allow you to do things like print arguments to the current method, print arguments for the method about to be called, print return values, etc. To try them out, download this file, put it in your home folder, and rename it to
.gdbinit. Then the next time you run gdb, try running
help user-defined to get a synopsis of all new commands. You can ask for help on a specific command for more details as well.
The basis for this was inspired by Daniel Jalkut on the #macsb channel.
Update: I just added a new function
getret. Re-download to get the changes.
Comments Off on GDB tools for intel debugging
Yesterday evening I went and picked my new Intel iMac back up. It finally arrived monday (after a stop over in Alaska due to UPS mis-sorting it), and had a display problem in Front Row. So I took it in to get it repaired. That evening I discovered consumermachine.com which described my problem exactly and determined that it was a software issue. So I cancelled the repair and got the machine back yesterday.
Anyway, the machine is pretty sweet. It’s blazing fast and, luckily, World of Warcraft went Universal yesterday so I could try it out. I can’t turn everything up and have it be smooth, but I can turn the graphics settings higher than I could on my Desktop.
You can find pictures of it being unpacked here.
Comments Off on Intel Goodness
Well, I went ahead and ordered myself a brand new MacBook Pro. It’s scheduled to ship in “Feburary”. This is going to be the first computer that I bought myself. It’s also going to be something like 10x faster than my current 1GHz 17” AlBook.
I’ll post another update once it arrives.
1 Comment »