Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	David Carlton <carlton@math.stanford.edu>,
	gdb-patches@sources.redhat.com, Jim Blandy <jimb@redhat.com>,
	Fernando Nasser <fnasser@redhat.com>
Subject: Re: [rfc] clean up linespec.c
Date: Thu, 07 Nov 2002 09:45:00 -0000	[thread overview]
Message-ID: <15818.42419.4927.908878@localhost.redhat.com> (raw)
In-Reply-To: <20021107174003.GA872@nevyn.them.org>

Daniel Jacobowitz writes:
 > On Thu, Nov 07, 2002 at 12:30:26PM -0500, Elena Zannoni wrote:
 > >  > It turns out that decode_line_1 isn't quite as crazy a function as I'd
 > >  > feared.  There's a reasonable flow of control underneath (well, at
 > >  > least there is once you get rid of the unnecessary goto's), though
 > >  > admittedly the C++ part of the function is still pretty complicated,
 > >  > and the function will always consist of a bunch of special cases.
 > >  > 
 > > 
 > > Having c++ separated in functions, is a first step in moving C++
 > > support to its own files.....:-)
 > 
 > :)
 > 
 > >  > I hope I didn't break anything, though my only real evidence for that
 > >  > is that I didn't get any new regressions on the testsuite.  (I have no
 > >  > idea how comprehensive the testsuite's coverage of linespec is.)
 > > 
 > > ah, gcov data would be useful here... :-)
 > 
 > Gcov data is good and all, but it's a required-but-not-sufficient for
 > coverage testing.  I've been doing some coverage tests on
 > c-typeprint.c, and I would never have found the char *constvarname bug
 > that was fixed recently.
 > 

Yeah, also things get complicated because gdb has so many different
targets that trigger so many different code paths, that you are never
sure if some code is really never covered.

 > It's still impressively useful though :)
 > 

true.

Elena


 > 
 > -- 
 > Daniel Jacobowitz
 > MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-11-07 17:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 17:16 David Carlton
2002-11-06 17:40 ` Daniel Jacobowitz
2002-11-07 12:51   ` David Carlton
2002-11-07  9:34 ` Elena Zannoni
2002-11-07  9:39   ` Daniel Jacobowitz
2002-11-07  9:45     ` Elena Zannoni [this message]
2002-11-07 12:49   ` David Carlton

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=15818.42419.4927.908878@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=carlton@math.stanford.edu \
    --cc=drow@mvista.com \
    --cc=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@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