On Thu, Dec 01, 2011 at 12:14:32PM +0100, Lubos Lunak wrote:
On Wednesday 30 of November 2011, Tom Tromey wrote:
Any opinion about this patch? I have it in my local repo, and it helps
me when running under gdb, as gdb now knows about macros!
First, one must consider the tradeoffs. I always use -g3 when building
gdb, because gdb uses macros fairly heavily, and because I just don't
care about the extra space. I prefer the convenience. YMMV of course,
and I don't know enough about LibreOffice to offer an opinion.
There is hope that LibreOffice is C++ enough to actually not use
macros that need to be stepped through.
Well, I find it useful that when I'm on a line like
foo ( bar, SOME_MACRO )
I can do "print SOME_MACRO" and get the value without hunting down the
#define SOME_MACRO 1022
And LibreOffice definitely uses a lot of such #defines, and not
const int SOME_VALUE = 1022;
--
Lionel
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.