-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/06/11 12:46, Mike Stump wrote: > On Oct 6, 2011, at 1:58 AM, Richard Guenther wrote: >> On Wed, Oct 5, 2011 at 8:51 PM, Diego Novillo >> <dnovi...@google.com> wrote: What's the other advantage of using >> inline functions? The gdb annoyance with the macros can be >> solved with the .gdbinit macro defines (which might be nice to >> commit to SVN btw). > > http://old.nabble.com/-incremental--Patch%3A-FYI%3A-add-accessor-macros-to-gdbinit-td17370385.html > > And yet, this still isn't in gcc. :-( I wonder how much > programmer productivity we've lost due to it. Presumably it hasn't been included because not all gdb's understand those bits and we typically don't build with -g3.
Personally, the accessors I use are muscle-memory... Which works great until someone buries everything a level deeper :( jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOjfkaAAoJEBRtltQi2kC7nz0H/iOeU6/iqNBfMDGUMaJbFe/R rbBFKJzAR6IOXWBJzlnA+d1qvpF5z1GsdfkqtaLImKrAFNsbv1LV58X3lc7l8yLQ TGgLVuZPc/cJ8q0fyAd1rDBGsxRrapm5cPgyMFhl9eY1pC9pejAcbqLnXxRmIs41 NyohojHLu09o+WRkjNg79TOyapFNnY8w0Hz6PuFOyYv/eYthZ5dw9+N1XyUKey/M 6GHAOqTD3iQKz9QsG5dc+SVfTPLkToOnAZ5y8TnupFay9aLRXUlXDpFHZbre9h5C ICK8FnWf74Xemw79ID94WWwomdND69myTf7bMlD4pFiHK3Wz6fPeR1GIdTixi7s= =BrUJ -----END PGP SIGNATURE-----