public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: Elena Zannoni <ezannoni@cygnus.com>
Cc: <tromey@redhat.com>, <gdb-patches@sources.redhat.com>,
	Insight Maling List <insight@sources.redhat.com>
Subject: Re: Patch ping
Date: Wed, 10 Oct 2001 10:01:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0112070927200.19497-100000@makita.cygnus.com> (raw)
In-Reply-To: <15376.60482.801783.728261@krustylu.cygnus.com>

My bad...

On Fri, 7 Dec 2001, Elena Zannoni wrote:

> Tom Tromey writes:
>  > This patch has been unreviewed for a month:
>  >
>  >     http://sources.redhat.com/ml/gdb-patches/2001-11/msg00108.html
>  >
>  > Tom
>
> Yes, I didn't forget.  I was waiting for some comments on the insight
> changes. I am cc-ing that list.

I really don't know what to say. The only thing I know about this
function is from its comment:

   /* The lookup_symtab() in symtab.c doesn't work correctly */
   /* It will not work will full pathnames and if multiple */
   /* source files have the same basename, it will return */
   /* the first one instead of the correct one. */
   /* symtab->fullname will be NULL if the file is not available. */

I've created a simple testcase which looks like this:

$ ls *
foo*  foo.c

a:
foo.c

b:
foo.c

c:
foo.c

So we have four filenames called foo.c. Now if I change full_lookup_symtab
to skip what it does and ONLY call lookup_symtab, I cannot load any source
file from Insight. It just doesn't find any.

After applying this patch, everything seems to work again.

So, yes, please do check it in. We'll worry about any fallout later.

(Sorry for draggin' my *** so long on this.)
Keith


WARNING: multiple messages have this Message-ID
From: Keith Seitz <keiths@cygnus.com>
To: Elena Zannoni <ezannoni@cygnus.com>
Cc: <tromey@redhat.com>, <gdb-patches@sources.redhat.com>,
	Insight Maling List <insight@sources.redhat.com>
Subject: Re: Patch ping
Date: Fri, 07 Dec 2001 10:00:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0112070927200.19497-100000@makita.cygnus.com> (raw)
Message-ID: <20011207100000.wZOZcDu-xo0074M2Hy_GC6nF4GH2z7n8GYIOCyrrjD8@z> (raw)
In-Reply-To: <15376.60482.801783.728261@krustylu.cygnus.com>

My bad...

On Fri, 7 Dec 2001, Elena Zannoni wrote:

> Tom Tromey writes:
>  > This patch has been unreviewed for a month:
>  >
>  >     http://sources.redhat.com/ml/gdb-patches/2001-11/msg00108.html
>  >
>  > Tom
>
> Yes, I didn't forget.  I was waiting for some comments on the insight
> changes. I am cc-ing that list.

I really don't know what to say. The only thing I know about this
function is from its comment:

   /* The lookup_symtab() in symtab.c doesn't work correctly */
   /* It will not work will full pathnames and if multiple */
   /* source files have the same basename, it will return */
   /* the first one instead of the correct one. */
   /* symtab->fullname will be NULL if the file is not available. */

I've created a simple testcase which looks like this:

$ ls *
foo*  foo.c

a:
foo.c

b:
foo.c

c:
foo.c

So we have four filenames called foo.c. Now if I change full_lookup_symtab
to skip what it does and ONLY call lookup_symtab, I cannot load any source
file from Insight. It just doesn't find any.

After applying this patch, everything seems to work again.

So, yes, please do check it in. We'll worry about any fallout later.

(Sorry for draggin' my *** so long on this.)
Keith


  reply	other threads:[~2001-12-07 18:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87snan6n7u.fsf@creche.redhat.com>
2001-10-10  9:28 ` Elena Zannoni
2001-10-10 10:01   ` Keith Seitz [this message]
2001-12-07 10:00     ` Keith Seitz
2001-10-11 10:35   ` Tom Tromey
2001-12-08 19:57     ` Tom Tromey
2001-12-07  8:14   ` Elena Zannoni
2001-10-17  9:52 Tom Tromey
2001-10-17 13:25 ` Keith Seitz
2001-10-17 16:29   ` Tom Tromey
2002-01-05 12:59 Tom Tromey
2002-01-07  9:32 ` Keith Seitz
2002-01-08 11:33   ` Tom Tromey
2006-01-23 17:58 Andrew STUBBS
2006-01-24  1:35 ` Keith Seitz
2006-01-24 11:33   ` Andrew STUBBS
2012-04-16  9:16 Roland Schwingel

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=Pine.GSO.4.33.0112070927200.19497-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=ezannoni@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=insight@sources.redhat.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).