Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb-patches@sourceware.org
Cc: Andrew STUBBS <andrew.stubbs@st.com>, Jim Blandy <jimb@red-bean.com>
Subject: Re: [RFC] Alternate approach to keeping convenience variables
Date: Fri, 27 Jan 2006 17:53:00 -0000	[thread overview]
Message-ID: <u7j8leevl.fsf@gnu.org> (raw)
In-Reply-To: <20060122213118.GH27224@nevyn.them.org> (message from Daniel 	Jacobowitz on Sun, 22 Jan 2006 16:31:18 -0500)

> Date: Sun, 22 Jan 2006 16:31:18 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Andrew STUBBS <andrew.stubbs@st.com>, Jim Blandy <jimb@red-bean.com>
> 
> This version of the patch addresses all the comments I've received,
> except for:
> 
>   - TYPE_ZALLOC.  I think this is more appropriate as a macro,
>     personally, though I wouldn't argue too loudly if someone wanted to
>     functionify it at the same time as TYPE_ALLOC.
> 
>     GDB developers seem to have developed an allergy to C macros that
>     I just don't understand.  They're not _inherently_ obfuscating
>     or evil!  They can be both useful and elegant.

FWIW, I never understood the ``macros are bad, m'kay?'' policy,
either.

>   - gdbint; I couldn't find a vaguely appropriate place to add a
>     description of this, and I don't think it's such a fascinating
>     approach that it's worth creating a new section for.

At this point, I wouldn't bother about the structure of
gdbint.texinfo, just about getting the information in there.  The
structure is a mess anyhow; in particular, there are too few nodes and
too many sections that lack a node.

But it is useless to try to fix structure when the full extent of the
information is not known even approximately.

So, if you have time, just add a section somewhere, even if it is
short.  I think it's important to document this piece of information.

> I noticed in the course of updating gdb.texinfo that there are still a
> whole lot of references to VxWorks.  GDB no longer supports VxWorks,
> and current versions of VxWorks don't speak a compatible protocol to
> the one that GDB used to support, anyway.  Ripping this out will be a
> little more work than I have time for at the moment though.

Thanks for the heads-up, I will try to remember to do that when I have
my next Rainy Day(tm).

> Index: src/gdb/doc/gdb.texinfo
> ===================================================================
> --- src.orig/gdb/doc/gdb.texinfo	2005-12-03 07:44:31.000000000 -0500
> +++ src/gdb/doc/gdb.texinfo	2006-01-22 16:20:46.000000000 -0500
> @@ -10821,11 +10821,11 @@ table and program to run from the same f
>  @code{symbol-file} with no argument clears out @value{GDBN} information on your
>  program's symbol table.
>  
> -The @code{symbol-file} command causes @value{GDBN} to forget the contents
> -of its convenience variables, the value history, and all breakpoints and
> -auto-display expressions.  This is because they may contain pointers to
> -the internal data recording symbols and data types, which are part of
> -the old symbol table data being discarded inside @value{GDBN}.
> +The @code{symbol-file} command causes @value{GDBN} to forget the contents of
> +some breakpoints and auto-display expressions.  This is because they may
> +contain pointers to the internal data recording symbols and data types,
> +which are part of the old symbol table data being discarded inside
> +@value{GDBN}.
>  
>  @code{symbol-file} does not repeat if you press @key{RET} again after
>  executing it once.

This part is approved.

I also skimmed the other parts of the patch and didn't see anything I
would disapprove.


  parent reply	other threads:[~2006-01-27 17:53 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 22:05 [PATCH] keeping convenience variables (take 2) Andrew STUBBS
2005-11-22  4:58 ` Eli Zaretskii
2005-11-22  8:43 ` Jim Blandy
2005-11-22 19:27   ` Andrew STUBBS
2005-12-10  4:46     ` [RFC] Alternate approach to keeping convenience variables Daniel Jacobowitz
2005-12-10  5:07       ` Jim Blandy
2005-12-10  8:24         ` Daniel Jacobowitz
2005-12-10 22:20           ` Jim Blandy
2005-12-11 18:12             ` Eli Zaretskii
2005-12-11 19:17       ` Eli Zaretskii
2006-01-23 22:29         ` Jim Blandy
2006-01-24 11:44           ` Andrew STUBBS
2006-01-24 18:41             ` Jim Blandy
2006-01-24 18:43               ` Daniel Jacobowitz
2006-01-24 19:16                 ` Jim Blandy
2006-01-24 19:24                   ` Daniel Jacobowitz
2006-01-25  0:13                     ` Jim Blandy
2006-01-24 19:45                   ` Andrew STUBBS
2006-01-04 12:17       ` Andrew STUBBS
2006-01-04 17:00         ` Jim Blandy
2006-01-04 17:48           ` Andrew STUBBS
2006-01-04 18:37             ` Jim Blandy
2006-01-22 21:04               ` Daniel Jacobowitz
2006-01-22 21:31       ` Daniel Jacobowitz
2006-01-23 22:46         ` Jim Blandy
2006-01-27 17:53         ` Eli Zaretskii [this message]
2006-01-27 18:12           ` Jim Blandy
2006-01-27 18:29             ` Eli Zaretskii
2006-01-27 18:41           ` Joel Brobecker
2006-02-01 23:14         ` Daniel Jacobowitz
2006-02-02  4:18           ` Eli Zaretskii
2006-02-06 22:14             ` Daniel Jacobowitz

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=u7j8leevl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=andrew.stubbs@st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jimb@red-bean.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