Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: gcc@gcc.gnu.org
Cc: gdb@sources.redhat.com
Subject: sharing libcpp between GDB and GCC
Date: Mon, 25 Mar 2002 15:40:00 -0000	[thread overview]
Message-ID: <20020325234047.127345EA11@zwingli.cygnus.com> (raw)


At the moment, libcpp lives in the `gcc' directory of its source tree,
and it shares GCC's makefile and configure script.

I assume there's general agreement that, if GDB and GCC are going to
share libcpp, we'll want to pull libcpp out into its own top-level
directory, with its own makefile and configure script, and move its
header files into the top-level #include directory.  Is that so?

There are two approaches we could take; I'm not sure which is best.

- The GCC folks could do this extraction, ensuring that GCC continues
  to work.  Then we can copy that directory over into GDB's
  repository, and begin the libcpp/GDB integration.

- Or, the GDB folks could make their own libcpp directory and drop my
  simple-minded expander into it, along with its header file, ensuring
  that GDB continues to work.  Then, we wipe that out and replace it
  with libcpp, and do the libcpp/GDB integration as part of the same
  commit.

I think I prefer the former.  In the latter case, one has to do the
simple-minded-to-libcpp replacement simultaneously with the libcpp/GDB
adaptation, or else GDB will cease to work.  In the former case, we
can have libcpp sitting in GDB's repository, while GDB continues to
use the simple-minded expander, and do the libcpp/GDB reconciliation
(whatever is necessary) as a separate step.

Are the GCC folks willing to tackle this?  Do you agree that this
seems to be the next logical step?

(I've got some weird reverse-caffeine headache or something, so if
this is totally stupid, please be kind.)


             reply	other threads:[~2002-03-25 23:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-25 15:40 Jim Blandy [this message]
2002-03-25 20:07 ` Zack Weinberg
2002-03-25 23:18   ` Neil Booth
2002-03-26 14:29   ` gcc development schedule [Re: sharing libcpp between GDB and GCC] Richard Henderson
2002-03-26 14:37     ` David Edelsohn
2002-03-26 21:32       ` Andreas Jaeger
2002-03-26 15:17     ` Neil Booth
2002-03-26 15:30       ` Tom Lord
2002-03-26 15:40         ` David Edelsohn
2002-03-26 16:03           ` Tom Lord
2002-03-26 16:41             ` Tim Hollebeek
2002-03-26 22:23               ` Eli Zaretskii
2002-03-26 22:43                 ` Tom Lord
2002-03-27  7:18                   ` mike stump
2002-03-27  9:00                     ` law
2002-03-27 10:13                       ` Neil Booth
2002-03-26 22:45                 ` Tom Lord
2002-03-26 23:11                 ` Daniel Berlin
2002-03-26 23:53                   ` Tom Lord
2002-03-27  4:32                     ` Fergus Henderson
2002-03-27  6:30                     ` Andrew Cagney
2002-03-27  6:43                       ` Gianni Mariani
2002-03-26 22:39         ` Andreas Jaeger
2002-03-26 22:54           ` Tom Lord
2002-03-26 15:31       ` Zack Weinberg

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=20020325234047.127345EA11@zwingli.cygnus.com \
    --to=jimb@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@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