From: Doug Evans <dje@google.com>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] [2/2] .debug_gdb_scripts: defer main symfile auto-loading
Date: Tue, 20 Apr 2010 19:29:00 -0000 [thread overview]
Message-ID: <p2re394668d1004201229hc3fa8d1cp72b98c6be7ad81e8@mail.gmail.com> (raw)
In-Reply-To: <m3pr1uexud.fsf@fleche.redhat.com>
On Tue, Apr 20, 2010 at 12:19 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Doug> So this patch defers auto-loading of scripts in the main symfile
> Doug> at startup until after ./.gdbinit has been sourced.
>
> This approach means that disabling auto-loading in ./.gdbinit will not
> work. This seems like something that ought to be documented, at least.
Or it could be done differently, e.g. set some other flag that
disabled auto-loading and not touch the user-visible one.
> Doug> +/* Load any auto-loaded scripts for OBJFILE. */
> Doug> +
> Doug> +void
> Doug> +load_auto_scripts_for_objfile (struct objfile *objfile)
> Doug> +{
> Doug> + auto_load_objfile_script (objfile, GDBPY_AUTO_FILE_NAME);
> Doug> + auto_load_section_scripts (objfile, GDBPY_AUTO_SECTION_NAME);
> Doug> }
>
> I suspect you need a dummy version of this function so that the
> --disable-python case continues to work.
Blech, I thought I had one. Must have been thinking of something else
at the time.
Thanks.
next prev parent reply other threads:[~2010-04-20 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 7:13 Doug Evans
2010-04-20 19:19 ` Tom Tromey
2010-04-20 19:29 ` Doug Evans [this message]
2010-04-23 18:15 ` Doug Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p2re394668d1004201229hc3fa8d1cp72b98c6be7ad81e8@mail.gmail.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox