From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA 5/4 take 2] Improved linker-debugger interface
Date: Wed, 25 Jul 2012 18:22:00 -0000 [thread overview]
Message-ID: <87boj3hfaj.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20120719151913.GF25093@redhat.com> (Gary Benson's message of "Thu, 19 Jul 2012 16:19:13 +0100")
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
Gary> So, with this patch GDB is not three but ten times faster.
Excellent work.
Gary> +/* See comments in objfiles.h. */
Gary> +
Gary> +void
Gary> +inhibit_section_map_updates (void)
Gary> +{
Gary> + get_objfile_pspace_data (current_program_space)->inhibit_updates = 1;
Gary> +
Gary> +}
Spurious blank line before the "}".
Gary> @@ -1820,6 +1820,18 @@ svr4_handle_solib_event (bpstat bs)
[...]
Gary> + inhibit_section_map_updates ();
[...]
Gary> + resume_section_map_updates ();
If there is any possibility of throwing an exception between these
calls, then there should be a cleanup instead.
I didn't dig up the patch supplying svr4_handle_solib_event to see for
myself.
If there is no possibility, then this patch is ok.
Tom
next prev parent reply other threads:[~2012-07-25 18:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 15:19 Gary Benson
2012-07-19 19:23 ` dje
2012-07-20 9:33 ` Gary Benson
2012-07-19 21:17 ` André Pönitz
2012-07-20 10:02 ` Gary Benson
2012-07-25 18:19 ` Tom Tromey
2012-07-25 18:22 ` Tom Tromey [this message]
2012-07-31 12:21 ` Gary Benson
2012-07-31 14:44 ` Tom Tromey
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=87boj3hfaj.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
/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