This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv2] Record objfile->original_name as an absolute path
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 10 Oct 2013 12:07:24 -0600
- Subject: Re: [patchv2] Record objfile->original_name as an absolute path
- Authentication-results: sourceware.org; auth=none
- References: <yjt2zjr09xqr dot fsf at ruffy dot mtv dot corp dot google dot com> <20130926084713 dot GA11031 at host2 dot jankratochvil dot net> <20131009144629 dot GC27355 at host2 dot jankratochvil dot net> <CADPb22QC+HRc6fju=+s1mzGL1dkkRJ01N8JEAEJ6xzQ=qpu=Sw at mail dot gmail dot com> <20131010045819 dot GL3092 at adacore dot com> <CADPb22RujxxHmieAMk6QeAH9DFQYa98gWAR+qPvWvKgMpuWsRg at mail dot gmail dot com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> What I mean is we need a way to stop
Doug> gdb from auto-loading symbols and then a command to load the symbols
Doug> at a later point.
Red Hat has a "-readnever" patch that we've shipped for a long time.
I think what's missing is a way to request that gdb start reading
symbols again. Anyway we could upstream the patch if it sounds useful.
Doug> [One could do something to defer setting the initial language, but
Doug> that's just one reason why gdb might want to load symbols
Doug> immediately.]
FWIW I've implemented this idea at least once, maybe a couple of times.
Tom