Profile cover photo
Profile photo
Pedro Alves
GDB hacker
GDB hacker
About
Pedro's posts

Post has attachment
Emacs saves the day. GDBFLAGS wasn't saving. Can you guess why?

Photo

Post has attachment

Next up, switch gdb's TRY/CATCH to setjmp/long instead of sigsetjmp/longjmp in C mode; and switch it to real C++ exceptions, in C++ mode. We already know the former can give a quite nice performance boost (>14%+ on some Python scripts has been reported), now I wonder how C++ exceptions compare.

Hurray, "immediate_quit" is finally gone! /me enjoys accomplishment before breakage reports inevitably start coming in.

LinuxThreads "support" is no longer with us.

Post has attachment
Some GDB testsuite and DejaGnu fixes I did recently. #gdb #dejagnu #systemtap  

http://palves.net/?p=158

I've only learned today what I guess you already know -- that you can type 'v' in 'less' to start your editor...

"v - Invokes an editor to edit the current file being viewed.  The editor is taken from the environment variable VISUAL if defined, or EDITOR if VISUAL is not defined, or defaults to "vi" if neither VISUAL nor EDITOR is defined."

Post has shared content
This is a landmark decision that frees information from proprietary silos.

When information disappears or is no longer readable, we lose the ability as a species to innovate forward and build on what we had already figured out. The Enlightenment is the poster child for this in action.

Modern law often reflects back into the centuries of documented cases. Not only do we still have originals of the Magna Carta, which is 800 years old next year, but we can read and understand them. There are, in fact, 3 clauses of the 1297 Magna Carta which are still on the books as valid law to this very day! Imagine if we could no longer "open" the Magna Carta?

When information is in an unreadable format, it is easy for those with influence, power and resources to erect barriers between people and that information. "Just purchase Microsoft Word!" is not good enough when it comes to legal or medical information (to name two categories) that should be available to all. What of the person who can not afford that? What happens when the format is changed by central decree and access restricted by use of "intellectual property" law? Humanity loses, that's what.

When information is available in free, open formats the only way to keep it from people is to destroy it. In the digital age where copying and storage has a near-zero cost, this is all but impossible. Having ensured the longevity of bits, we must ensure the readability of them.

That is why governments choosing open formats is so important. It is a keystone in ensuring freedom in society, today and 800 years from now.

Packing up to fly out to the GNU Tools Cauldron 2014 (Cambridge, UK).  Good times!

On a similar note, I'll occasionally want to review a diff before sending it with git send-email (e.g., to make sure --subject-prefix is right).  I've been doing 'git format-patch -1' for that.  But I end up with a temporary patch that I'll need to delete.  I forget/ignore that often, and then end up with a bunch of patches sprinkled all over the place.  Today I looked at --help and finally found out about 'git format-patch --stdout'.  Yay for getting used to silly workflows!  Now to train finger memory...
Wait while more posts are being loaded