While in the midst of writing my own GDB scripts to anylize PHP core files, I was informed through a response to the xdebug mailing list that these functions already exist in the php-src/.gdbinit file. How clever! Some useful functions are:
(gdb) zbacktrace
[0xfff40040] arsort() mail.php:287
[0xfff40040] send_message() lib.php:18
[0xfff40040] post_reply() lib.php:312
[0xfff40040] ??? index.php:15
(gdb) printzv return_value
[0xdd474c90] (refcount=1) NULL
Some other usefull commands…
dump_bt — Dumps the current execution stack
print_const_table — User-defined
print_ft — Dumps a function table (HashTable)
print_ht — Dumps elements of HashTable made of zval
print_inh — User-defined
print_pi — User-defined
printzn — Print type and content of znode
printzops — Dump operands of the current opline
printzv — Prints content of zval
zbacktrace — Prints backtrace
zmemcheck — Show status of a memory block
More information on GDB command files here
“I did not know then where that river was headed, where that frenzied race would end, but something was calling me to go with it, saying that I too had to throw myself into those raging waters and lose myself, that only in that torrent, always on the move, would I find some peace. but I did not dare jump, I was always a coward. I would go as far as the riverbank, where the currents where roaring my name; another step, and the whirling waters would swallow me. ” - Reinaldo Arenas, Before Night Falls
“No comment”, just putting it here for posterity
New trailers for short bus are available. I can’t wait until it comes out!
“a film about love and sex that doesn’t censor itself in any way… of course this trailer is censored…”


It’s interesting to read about another’s perspectives of Facebook. Especially considering the context of the time I currently find myself in. The author, Karel, was my first phone interview at facebook somewhere between 11pm and 1am I believe. He sent my questions over AIM and asked me to send back SQL queries to solve the proposed problems. I really enjoyed it, although I’m not sure my boyfriend trying to get some sleep was a big fan. I’ll definitely want to keep my eye on Karel for any future projects he has in mind. You can read more about his book here.
I feel like I’m missing something, like it passed me by and I only saw a glimpse of it.
In paths untrodden,
In the growth by margins of pond-waters,
Escaped from the life that exhibits itself,
From all the standards hitherto publish’d, from the pleasures, profits, conformities,
Which too long I was offering to feed my soul,
Clear to me now standards not yet publish’d, clear to me that my soul,
That the soul of the man I speak for rejoices in comrades,
Here by myself away from the clank of the world,
Tallying and talk’d to here by tongues aromatic,
No longer abash’d, (for in this secluded spot I can respond as I would not dare elsewhere,)
– Walt Whitman
My friend was kind enough to bring me the latest fad in energy drinks. Go Girl! no really… it’s called “Go Girl”.
This specially formulated drink is both refreshing and functional. It is a low calorie energy boost with essential vitamins, magnesium and taurine wihch benefit the body, mind and soul. Also includes SUPER CITRIMIAX a natural appetite supressant. No Sugar No Guilt!
Get your fix and loose wait? The boys are going to love it!
Ordered a new toy, and I can’t wait till it gets here. (only a few more days)…
[swf]http://www.youtube.com/v/cJwxbTKwONc,425,350,0,0[/swf]
The group running this show seems pretty good so far. Their ordering process was really great, and I think I got an email everytime somebody handled the shipment. Now I just need to figure out what the hell I’m going to do with it. The add-on for an optical rotary encoder sounds like a fun first project… http://wiki.monome.org/view/40hOpticalEncoderTutorial
What an evil twist of face that a boy with a hot body should turn out to taste like an aerosol can. Like some poor animal who eagerly licks an attractive substance, but then repulsed by the chemical taste and dry mouth backs away only to return later as if there was some magnetic attraction. You know it tastes bad but you really just want to try again. Maybe he missed a spot? But alas, all his flesh has been tainted. All those corporate promises to make something already perfectably edible acceptable to the uplifted noses of the masses.
Probably old news, but linux made some changes to the way you performs system calls under the x86_64 architecture. It used to be that you could call interrupt 0×80, but this has changed. It seems you can still call via an interrupt, but you can’t use the syscall numbers provided by asm/unistd.h as they have all been changed. The new and faster method is to use the SYSCALL operation. The semantics are slightly different, eax still holds the syscall number, but the argument list is reversed.
For example, on i386:
[syntax,i386_syscall.c,none]would become this on x86_64:
[syntax,x86_64_syscall.c,none]