This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GDB 7.3.92 with MinGW


On Tue, Jan 10, 2012 at 12:59 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 10 Jan 2012 14:25:11 -0500
>> From: ams@gnu.org (Alfred M. Szmidt)
>> CC: gdb-patches@sourceware.org
>>
>> `make install' is generally the way one should install GNU projects on
>> a end-user system, since that makes it possible to debug things (hence
>> why CFLAGS contains -g by default); install-strip is really for people
>> with little disk space.
>
> Well, an unstripped GDB weighs in at some 47MB, which is just too
> much.
>
> And you can't usefully debug it outside of the source tree anyway.

Well, having the sources is useful of course :-), but for reference
sake there is value in debugging gdb outside of the *build* tree.
i.e. debugging the installed copy.
gdb is now more dependent on ancillary files (python, etc.) and it's
useful to run gdb the way users run it.
For one, remembering to pass -data-directory is a pain. :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]