Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [rfc] clean up linespec.c
Date: Wed, 06 Nov 2002 17:40:00 -0000	[thread overview]
Message-ID: <20021107014154.GA17037@nevyn.them.org> (raw)
In-Reply-To: <ro1u1iub2mv.fsf@jackfruit.Stanford.EDU>

On Wed, Nov 06, 2002 at 05:16:24PM -0800, David Carlton wrote:
> For various reasons, I've been cleaning up linespec.c on a branch; I
> find the resulting version of linespec.c enough more
> legible/maintainable that I suspect I'm not the only person who would
> find it useful.
> 
> The cleanups consist almost entirely of refactoring rather than
> changing the behavior: I've broken up large functions into multiple
> small functions, renamed variable names to make their use clearer, and
> the like.  Since I was already touching so much of the code, I also
> fixed up stylistic niceties: using NULL where appropriate, deleting
> unnecessary casts, fixing comments to end in a period followed by two
> spaces, and stuff like that.

Great.  When you're done with this I may spend some time on it; I have
this pipe-dream of (changing the function's behavior slightly and)
simplifying it by adding an actual parser.  I think it could be done.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-11-07  1:40 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 [this message]
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
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=20021107014154.GA17037@nevyn.them.org \
    --to=drow@mvista.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