public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [RFA/doco] Document that the GNAT runtime should not be stripped
@ 2007-01-05 13:54 Joel Brobecker
  2007-01-05 13:56 ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2007-01-05 13:54 UTC (permalink / raw)
  To: gcc-patches

Hello,

A feature we recently contributed to GDB allows the debugger to stop
the program execution when an exception is raised. This feature requires
that the GNAT runtime not be stripped of its debugging information.
This issue was brought to our attention by Daniel J, who used the Debian
version of GNAT where the GNAT runtime is stripped.

I therefore suggest the following addition to the install guide.

2007-01-05  Joel Brobecker  <brobecker@adacore.com>

        * doc/install.texi (Final install): Document the fact that
        the GNAT runtime should not be stripped.

Would that be OK to apply?

Thank you,
-- 
Joel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 13:54 [RFA/doco] Document that the GNAT runtime should not be stripped Joel Brobecker
@ 2007-01-05 13:56 ` Joel Brobecker
  2007-01-05 14:07   ` Gerald Pfeifer
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2007-01-05 13:56 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

[humpf, as usual, I forgot the patch - sorry]

Hello,

A feature we recently contributed to GDB allows the debugger to stop
the program execution when an exception is raised. This feature requires
that the GNAT runtime not be stripped of its debugging information.
This issue was brought to our attention by Daniel J, who used the Debian
version of GNAT where the GNAT runtime is stripped.

I therefore suggest the following addition to the install guide.

2007-01-05  Joel Brobecker  <brobecker@adacore.com>

        * doc/install.texi (Final install): Document the fact that
        the GNAT runtime should not be stripped.

Would that be OK to apply?

Thank you,
-- 
Joel

[-- Attachment #2: doc.diff --]
[-- Type: text/plain, Size: 673 bytes --]

Index: install.texi
===================================================================
--- install.texi	(revision 120469)
+++ install.texi	(working copy)
@@ -2062,7 +2062,10 @@
 @end smallexample
 
 We strongly recommend to install into a target directory where there is
-no previous version of GCC present.
+no previous version of GCC present.  Also, the GNAT runtime should not
+be stripped, as this would break certain features of the debugger that
+depend on this debugging information (catching Ada exceptions for
+instance).
 
 That step completes the installation of GCC; user level binaries can
 be found in @file{@var{prefix}/bin} where @var{prefix} is the value

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 13:56 ` Joel Brobecker
@ 2007-01-05 14:07   ` Gerald Pfeifer
  2007-01-05 14:45     ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Gerald Pfeifer @ 2007-01-05 14:07 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gcc-patches

[-- Attachment #1: Type: TEXT/PLAIN, Size: 386 bytes --]

On Fri, 5 Jan 2007, Joel Brobecker wrote:
> [humpf, as usual, I forgot the patch - sorry]

Yeah, I was wondering. :-)

> 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
> 
>         * doc/install.texi (Final install): Document the fact that
>         the GNAT runtime should not be stripped.

Okay.  If you want to apply this to active release branches, that's
fine as well.

Gerald

[-- Attachment #2: Type: TEXT/PLAIN, Size: 673 bytes --]

Index: install.texi
===================================================================
--- install.texi	(revision 120469)
+++ install.texi	(working copy)
@@ -2062,7 +2062,10 @@
 @end smallexample
 
 We strongly recommend to install into a target directory where there is
-no previous version of GCC present.
+no previous version of GCC present.  Also, the GNAT runtime should not
+be stripped, as this would break certain features of the debugger that
+depend on this debugging information (catching Ada exceptions for
+instance).
 
 That step completes the installation of GCC; user level binaries can
 be found in @file{@var{prefix}/bin} where @var{prefix} is the value

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 14:07   ` Gerald Pfeifer
@ 2007-01-05 14:45     ` Joel Brobecker
  2007-01-05 16:31       ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2007-01-05 14:45 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: gcc-patches

> > 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
> > 
> >         * doc/install.texi (Final install): Document the fact that
> >         the GNAT runtime should not be stripped.
> 
> Okay.  If you want to apply this to active release branches, that's
> fine as well.

Thank you! It's a good idea to apply this to the release branch too,
so I'm checking it out. I will commit there as soon as the checkout
is complete.

Thanks again,
-- 
Joel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 14:45     ` Joel Brobecker
@ 2007-01-05 16:31       ` Joel Brobecker
  2007-01-05 16:36         ` Ian Lance Taylor
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2007-01-05 16:31 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: gcc-patches

> > Okay.  If you want to apply this to active release branches, that's
> > fine as well.
> 
> Thank you! It's a good idea to apply this to the release branch too,
> so I'm checking it out. I will commit there as soon as the checkout
> is complete.

Actually, the commit attempt failed. Maybe I used the wrong branch?
svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch/gcc

It's not terribly important that this patch makes it to the release
branch, however.

-- 
Joel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 16:31       ` Joel Brobecker
@ 2007-01-05 16:36         ` Ian Lance Taylor
  2007-01-05 17:28           ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Lance Taylor @ 2007-01-05 16:36 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Gerald Pfeifer, gcc-patches

Joel Brobecker <brobecker@adacore.com> writes:

> > > Okay.  If you want to apply this to active release branches, that's
> > > fine as well.
> > 
> > Thank you! It's a good idea to apply this to the release branch too,
> > so I'm checking it out. I will commit there as soon as the checkout
> > is complete.
> 
> Actually, the commit attempt failed. Maybe I used the wrong branch?
> svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch/gcc

That's the right branch, but I think that in order to commit a change
you need to use svn+ssh:, not svn:.

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFA/doco] Document that the GNAT runtime should not be stripped
  2007-01-05 16:36         ` Ian Lance Taylor
@ 2007-01-05 17:28           ` Joel Brobecker
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Brobecker @ 2007-01-05 17:28 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Gerald Pfeifer, gcc-patches

> > Actually, the commit attempt failed. Maybe I used the wrong branch?
> > svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch/gcc
> 
> That's the right branch, but I think that in order to commit a change
> you need to use svn+ssh:, not svn:.

Duh! Of course. I was so focused on the branch name that I overlooked
this. Thanks!

Patch also checked in the branch.

Thank you,
-- 
Joel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-05 17:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05 13:54 [RFA/doco] Document that the GNAT runtime should not be stripped Joel Brobecker
2007-01-05 13:56 ` Joel Brobecker
2007-01-05 14:07   ` Gerald Pfeifer
2007-01-05 14:45     ` Joel Brobecker
2007-01-05 16:31       ` Joel Brobecker
2007-01-05 16:36         ` Ian Lance Taylor
2007-01-05 17:28           ` Joel Brobecker

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).