Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michal Ludvig <mludvig@suse.cz>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [RFA] Avoid segfault in decode_line_2
Date: Thu, 24 Jul 2003 06:27:00 -0000	[thread overview]
Message-ID: <3F1F7C61.2070903@suse.cz> (raw)
In-Reply-To: <16158.58830.541858.789928@localhost.redhat.com>

Elena Zannoni told me that:
> Elena Zannoni writes:
>  > Michal Ludvig writes:
>  >  > Hi all,
>  >  > this patch fixes a problem that I met while debugging a testsuite 
>  >  > failure on amd64:
>  > 
>  > Yes, but, could you change this to use an if (values.sals[i].symtab)
>  > before the printf_filtered and avoid the conditional expression? You
>  > will end up getting rid of the if() for the No symtab?.. case as well,
>  > since that can be folded into a single printf.
>  > 
>  > elena
> 
> 
> I checked in the following:
> 
> 2003-07-23  Michal Ludvig  <mludvig@suse.cz>
> 	    Elena Zannoni  <ezannoni@redhat.com>
> 
>  	* linespec.c (decode_line_2): Avoid crash if 
>  	find_function_start_sal() returns empty record.

Thanks!
(And sorry, I forgot to do it... :-)

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz


      reply	other threads:[~2003-07-24  6:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-11  7:06 Michal Ludvig
2003-07-18 13:18 ` Elena Zannoni
2003-07-23 19:38   ` Elena Zannoni
2003-07-24  6:27     ` Michal Ludvig [this message]

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=3F1F7C61.2070903@suse.cz \
    --to=mludvig@suse.cz \
    --cc=ezannoni@redhat.com \
    --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