* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
@ 2001-03-21 15:59 Michael Elizabeth Chastain
2001-03-21 15:59 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Michael Elizabeth Chastain @ 2001-03-21 15:59 UTC (permalink / raw)
To: ac131313, shebs; +Cc: gdb, ischis2
Another argument for separation of gdb.texinfo and gdbint.texinfo:
gdb.texinfo is in some sense a public interface which is meant to be
stable. But information in gdbint.texinfo is not a public interface
and can change at any moment.
For example, someone could re-implement the symbol table with tries
instead of hash tables (I would really like this!). That would affect
gdbint.texinfo, but it would not affect gdb.texinfo.
Maybe "public"/"private" are not the right words but there is a
definite difference here.
Michael
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
2001-03-21 15:59 Merging manuals (was Re: How do you use GDB to debug GDB) Michael Elizabeth Chastain
@ 2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` J.T. Conklin
2001-03-21 15:59 ` Kevin Buettner
2001-03-21 15:59 ` Merging manuals (was Re: How do you use GDB to debug GDB) Andrew Cagney
2 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2001-03-21 15:59 UTC (permalink / raw)
To: Michael Elizabeth Chastain; +Cc: ac131313, shebs, gdb, ischis2
On Tue, 20 Mar 2001, Michael Elizabeth Chastain wrote:
> gdb.texinfo is in some sense a public interface which is meant to be
> stable. But information in gdbint.texinfo is not a public interface
> and can change at any moment.
As Andrew says, ``humor me''.
IMHO, we have a looong way to go before we could claim that any of our
documents are complete enough to make the interface stability
consideration enter our radar screens. Try to diff gdb.texinfo from
v5.0 against the current version and see for yourself: it's still very
much in a fluid phase. And rightly so: we still have a lot to do to
to make it exhaustive and well-indexed (I'm still finding myself
looking for index entries that aren't there too often).
> For example, someone could re-implement the symbol table with tries
> instead of hash tables (I would really like this!). That would affect
> gdbint.texinfo, but it would not affect gdb.texinfo.
I'd be happy if I could assume such reimplementation will be
documented as part of the redesign; right now, most changes are not
accompanied with documentation. Heck, I'd be happy if the _current_
design of symbol tables were documented. While Michael happened to
pick up one of the more documented aspects of GDB internals, even
symtabs docs leaves a lot to be desired. For example, minsyms are not
documented at all.
In other words, there are more omissions in gdbint.texinfo than there
is information. I don't think the rate of change matters, given this.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
2001-03-21 15:59 ` Eli Zaretskii
@ 2001-03-21 15:59 ` J.T. Conklin
0 siblings, 0 replies; 10+ messages in thread
From: J.T. Conklin @ 2001-03-21 15:59 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Michael Elizabeth Chastain, ac131313, shebs, gdb, ischis2
>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> writes:
Eli> On Tue, 20 Mar 2001, Michael Elizabeth Chastain wrote:
>> gdb.texinfo is in some sense a public interface which is meant to be
>> stable. But information in gdbint.texinfo is not a public interface
>> and can change at any moment.
Eli> As Andrew says, ``humor me''.
Wouldn't Andrew say ``humour me'' :-)
--jtc
--
J.T. Conklin
RedBack Networks
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
2001-03-21 15:59 Merging manuals (was Re: How do you use GDB to debug GDB) Michael Elizabeth Chastain
2001-03-21 15:59 ` Eli Zaretskii
@ 2001-03-21 15:59 ` Kevin Buettner
2001-03-21 15:59 ` Fernando Nasser
2001-03-21 15:59 ` Merging manuals (was Re: How do you use GDB to debug GDB) Andrew Cagney
2 siblings, 1 reply; 10+ messages in thread
From: Kevin Buettner @ 2001-03-21 15:59 UTC (permalink / raw)
To: Michael Elizabeth Chastain, ac131313, shebs; +Cc: gdb, ischis2
On Mar 20, 12:16pm, Michael Elizabeth Chastain wrote:
> Another argument for separation of gdb.texinfo and gdbint.texinfo:
>
> gdb.texinfo is in some sense a public interface which is meant to be
> stable. But information in gdbint.texinfo is not a public interface
> and can change at any moment.
I find Michael's argument compelling. I think the manuals should be
kept separate.
Kevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
2001-03-21 15:59 ` Kevin Buettner
@ 2001-03-21 15:59 ` Fernando Nasser
2001-03-21 15:59 ` GCC is depreciating multi-line strings Stephen Smith
0 siblings, 1 reply; 10+ messages in thread
From: Fernando Nasser @ 2001-03-21 15:59 UTC (permalink / raw)
To: Kevin Buettner; +Cc: Michael Elizabeth Chastain, ac131313, shebs, gdb, ischis2
Kevin Buettner wrote:
>
> On Mar 20, 12:16pm, Michael Elizabeth Chastain wrote:
>
> > Another argument for separation of gdb.texinfo and gdbint.texinfo:
> >
> > gdb.texinfo is in some sense a public interface which is meant to be
> > stable. But information in gdbint.texinfo is not a public interface
> > and can change at any moment.
>
> I find Michael's argument compelling. I think the manuals should be
> kept separate.
>
So do I.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 10+ messages in thread
* GCC is depreciating multi-line strings
2001-03-21 15:59 ` Fernando Nasser
@ 2001-03-21 15:59 ` Stephen Smith
2001-03-21 15:59 ` Andrew Cagney
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Smith @ 2001-03-21 15:59 UTC (permalink / raw)
To: gdb
I don't know if the maintainers on this list have been following the discussion on the gcc mailing list regarding
multiline strings being depreciated.
All I know is that while I have been perusing the code looking for where to add my hook, for managing shared libraries
using the remote protocol,
I have seen quite a few.
Just wanted you all to know.
sps
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: GCC is depreciating multi-line strings
2001-03-21 15:59 ` GCC is depreciating multi-line strings Stephen Smith
@ 2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Christopher Faylor
0 siblings, 2 replies; 10+ messages in thread
From: Andrew Cagney @ 2001-03-21 15:59 UTC (permalink / raw)
To: Stephen Smith; +Cc: gdb
Um, I'm slightly confused. What exactly is ment by multi-line strings?
I've found this link and am still looking :-)
http://gcc.gnu.org/ml/gcc/2001-03/msg00855.html
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: GCC is depreciating multi-line strings
2001-03-21 15:59 ` Andrew Cagney
@ 2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Christopher Faylor
1 sibling, 0 replies; 10+ messages in thread
From: Andrew Cagney @ 2001-03-21 15:59 UTC (permalink / raw)
To: Stephen Smith, gdb
Andrew Cagney wrote:
>
> Um, I'm slightly confused. What exactly is ment by multi-line strings?
> I've found this link and am still looking :-)
>
> http://gcc.gnu.org/ml/gcc/2001-03/msg00855.html
Ok, there are the following:
illegal:
"blah
blah"
k&r
"blah\n\
blah"
iso-c
"blah\n"
"blah"
GDB should only be using the latter two with new code prefering the last
one. I think, for the most part, it is. Code using the first can
obviously be fixed :-)
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: GCC is depreciating multi-line strings
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Andrew Cagney
@ 2001-03-21 15:59 ` Christopher Faylor
1 sibling, 0 replies; 10+ messages in thread
From: Christopher Faylor @ 2001-03-21 15:59 UTC (permalink / raw)
To: gdb
On Tue, Mar 20, 2001 at 06:04:47PM -0500, Andrew Cagney wrote:
>Um, I'm slightly confused. What exactly is ment by multi-line strings?
>I've found this link and am still looking :-)
>
> http://gcc.gnu.org/ml/gcc/2001-03/msg00855.html
Cygwin has been bit by this recent change.
a = "This is
the multiline string
that has been deprecated.";
gcc stores that as three separate lines.
The "correct" way to do this is:
a = "This is\n\
the multiline string\n\
which has not been deprecated.";
This is also ok, of course:
a = "abc\
def";
It is equivalent to:
a = "abcdef";
The reason for deprecating the non \ usage is that it is not portable.
If gdb uses this construct, I have a hard time believing that this could
be true.
A quick grep seems to show that gdb is doing the right thing so I really
don't think that this is an issue.
cgf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Merging manuals (was Re: How do you use GDB to debug GDB)
2001-03-21 15:59 Merging manuals (was Re: How do you use GDB to debug GDB) Michael Elizabeth Chastain
2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` Kevin Buettner
@ 2001-03-21 15:59 ` Andrew Cagney
2 siblings, 0 replies; 10+ messages in thread
From: Andrew Cagney @ 2001-03-21 15:59 UTC (permalink / raw)
To: Michael Elizabeth Chastain; +Cc: shebs, gdb
Michael Elizabeth Chastain wrote:
>
> Another argument for separation of gdb.texinfo and gdbint.texinfo:
>
> gdb.texinfo is in some sense a public interface which is meant to be
> stable. But information in gdbint.texinfo is not a public interface
> and can change at any moment.
>
> For example, someone could re-implement the symbol table with tries
> instead of hash tables (I would really like this!). That would affect
> gdbint.texinfo, but it would not affect gdb.texinfo.
Kind of.
GDB's user guide changes (well should also) as GDB evolves. That is
because the ``public'' interface isn't frozen, changing between
releases.
The reason for making it all part of the one mega document is that it
would stop us sticking our head in the sand and ignore the fact that
half of it is now crap^D^D^D^D out of date :-/
For what it is worth, I don't really care. I just know what one of the
5.1 tick items is.
enjoy,
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-03-21 15:59 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-21 15:59 Merging manuals (was Re: How do you use GDB to debug GDB) Michael Elizabeth Chastain
2001-03-21 15:59 ` Eli Zaretskii
2001-03-21 15:59 ` J.T. Conklin
2001-03-21 15:59 ` Kevin Buettner
2001-03-21 15:59 ` Fernando Nasser
2001-03-21 15:59 ` GCC is depreciating multi-line strings Stephen Smith
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59 ` Christopher Faylor
2001-03-21 15:59 ` Merging manuals (was Re: How do you use GDB to debug GDB) Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox