Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [committed][gdb/symtab] Make find_block_in_blockvector more robust
Date: Thu, 22 Oct 2020 12:56:17 -0600	[thread overview]
Message-ID: <87ft66144u.fsf@tromey.com> (raw)
In-Reply-To: <20201022152431.GA13910@delia> (Tom de Vries's message of "Thu, 22 Oct 2020 17:24:32 +0200")

>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> +      if (!(BLOCK_START (b) <= pc))
Tom> +	return NULL;

This seems a bit weird to me, in that if BLOCK_START(b) == pc, then I
would be inclined to say that the pc is in fact in that block.

Tom

  reply	other threads:[~2020-10-22 18:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 15:24 Tom de Vries
2020-10-22 18:56 ` Tom Tromey [this message]
2020-10-22 21:21   ` Tom de Vries
2020-10-22 21:42     ` Simon Marchi
2020-10-23 14:08       ` Tom de Vries
2020-10-23 15:42         ` Simon Marchi
2020-10-23 12:42     ` 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=87ft66144u.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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