Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Thomas Maier <balagi@justmail.de>
Cc: gdb-patches@sources.redhat.com
Subject: Re: gdb 6.3 C++ breakpoint in constructor/destructor patch
Date: Sun, 01 May 2005 21:56:00 -0000	[thread overview]
Message-ID: <20050501215608.GA13059@nevyn.them.org> (raw)
In-Reply-To: <opsp36yr1riudtyh@a3efe.a.pppool.de>

On Sun, May 01, 2005 at 10:53:05PM +0200, Thomas Maier wrote:
> Ok, hmm, then the code in find_line_symtab() must not return one symtab,
> which is used to find one or more references to the lineno, it must return
> a list of symtabs with references to this lineno. Means, a similar search
> over all symtabs which is already done in find_line_symtab().
> Would that be enough to handle the file:lineno case?
> 
> (If yes it think a new function like find_multi_line_symtab() is the best
> way to do it, then in decode_all_digits() fill in the sals with the found
> symtabs + linenos)

It's a representation problem.  I found it much more effective to have
decode_line_1 only return one symtab_and_line structure, and then
expand them to multiple PCs later, regardless of whether the symtab
returned was the only relevant one.  Otherwise, things like "list" will
get confused.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-05-01 21:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01 18:33 Thomas Maier
2005-05-01 19:05 ` Daniel Jacobowitz
2005-05-01 20:54   ` Thomas Maier
2005-05-01 21:56     ` Daniel Jacobowitz [this message]
2005-05-03 17:46       ` Thomas Maier

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=20050501215608.GA13059@nevyn.them.org \
    --to=drow@false.org \
    --cc=balagi@justmail.de \
    --cc=gdb-patches@sources.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