summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-04 23:59:26 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-04 23:59:26 +0000
commit1f306dd5deed7121ca03c2443df2b89a63797a00 (patch)
tree09a11efc73f5ab1037377ee6a2ad1cd370646f9a
parentc20ef709c57de74d5f7955d173d9a67ebdea5c50 (diff)
downloadgdb-1f306dd5deed7121ca03c2443df2b89a63797a00.tar.gz
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. * utils.c (init_page_info): Delete reference to MPW in comments. * main.c (captured_main): Delete #ifdef MPW. Index: doc/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete descrption of IS_TRAPPED_INTERNALVAR.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/TODO4
-rw-r--r--gdb/doc/ChangeLog3
-rw-r--r--gdb/doc/gdbint.texinfo9
-rw-r--r--gdb/main.c5
-rw-r--r--gdb/utils.c4
-rw-r--r--gdb/values.c19
7 files changed, 13 insertions, 39 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eb94d4c03cd..a587a81dee4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2003-02-04 Andrew Cagney <ac131313@redhat.com>
+ * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
+ * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
+
+ * utils.c (init_page_info): Delete reference to MPW in comments.
+ * main.c (captured_main): Delete #ifdef MPW.
+
+2003-02-04 Andrew Cagney <ac131313@redhat.com>
+
* NEWS: Note that the m32r-*-elf* is obsolete.
* monitor.c (monitor_expect): Obsolete reference to m32r.
* configure.tgt: Mark m32r-*-elf* as obsolete.
diff --git a/gdb/TODO b/gdb/TODO
index 5dc2ee76b13..2a9c665e223 100644
--- a/gdb/TODO
+++ b/gdb/TODO
@@ -175,10 +175,6 @@ Deprecate, if not delete, the following:
The size of the cache can be computed
on the fly.
- IS_TRAPPED_INTERNALVAR
- The pseudo registers should eventually make
- this redundant.
-
--
Obsolete the targets:
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ca3a59cb50c..abd5de9a7b2 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,8 @@
2003-02-04 Andrew Cagney <ac131313@redhat.com>
+ * gdbint.texinfo (Target Architecture Definition): Delete
+ descrption of IS_TRAPPED_INTERNALVAR.
+
From Keith Seitz <keiths@redhat.com>:
* gdb.texinfo (Interpreters): New chapter. Refer the command-line
option "-i"/"--interpreter" to this chapter. Include index
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 78ee789cef6..375aeb4a325 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -41,7 +41,7 @@ Software Foundation raise funds for GNU development.''
@page
@tex
\def\$#1${{#1}} % Kluge: collect RCS revision info without $...$
-\xdef\manvers{\$Revision: 1.122 $} % For use in headers, footers too
+\xdef\manvers{\$Revision: 1.123 $} % For use in headers, footers too
{\parskip=0pt
\hfill Cygnus Solutions\par
\hfill \manvers\par
@@ -3437,13 +3437,6 @@ method like @code{INTEGER_TO_ADDRESS} certainly makes it possible for
@xref{Target Architecture Definition, , Pointers Are Not Always
Addresses}.
-@item IS_TRAPPED_INTERNALVAR (@var{name})
-@findex IS_TRAPPED_INTERNALVAR
-This is an ugly hook to allow the specification of special actions that
-should occur as a side-effect of setting the value of a variable
-internal to @value{GDBN}. Currently only used by the h8500. Note that this
-could be either a host or target conditional.
-
@item NEED_TEXT_START_END
@findex NEED_TEXT_START_END
Define this if @value{GDBN} should determine the start and end addresses of the
diff --git a/gdb/main.c b/gdb/main.c
index 7da4ac4a325..6c4feaef2e9 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -167,11 +167,6 @@ captured_main (void *data)
START_PROGRESS (argv[0], 0);
-#ifdef MPW
- /* Do all Mac-specific setup. */
- mac_init ();
-#endif /* MPW */
-
/* This needs to happen before the first use of malloc. */
init_malloc (NULL);
diff --git a/gdb/utils.c b/gdb/utils.c
index 77855aeebca..6d9e42906eb 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1603,8 +1603,6 @@ init_page_info (void)
chars_per_line = 80;
#if !defined (_WIN32)
- /* No termcap under MPW, although might be cool to do something
- by looking at worksheet or console window sizes. */
/* Initialize the screen height and width from termcap. */
{
char *termtype = getenv ("TERM");
@@ -1640,7 +1638,7 @@ init_page_info (void)
}
}
}
-#endif /* MPW */
+#endif
#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
diff --git a/gdb/values.c b/gdb/values.c
index a9948622360..0ce7dfdccd6 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -423,11 +423,6 @@ value_of_internalvar (struct internalvar *var)
{
struct value *val;
-#ifdef IS_TRAPPED_INTERNALVAR
- if (IS_TRAPPED_INTERNALVAR (var->name))
- return VALUE_OF_TRAPPED_INTERNALVAR (var);
-#endif
-
val = value_copy (var->value);
if (VALUE_LAZY (val))
value_fetch_lazy (val);
@@ -442,11 +437,6 @@ set_internalvar_component (struct internalvar *var, int offset, int bitpos,
{
register char *addr = VALUE_CONTENTS (var->value) + offset;
-#ifdef IS_TRAPPED_INTERNALVAR
- if (IS_TRAPPED_INTERNALVAR (var->name))
- SET_TRAPPED_INTERNALVAR (var, newval, bitpos, bitsize, offset);
-#endif
-
if (bitsize)
modify_field (addr, value_as_long (newval),
bitpos, bitsize);
@@ -459,11 +449,6 @@ set_internalvar (struct internalvar *var, struct value *val)
{
struct value *newval;
-#ifdef IS_TRAPPED_INTERNALVAR
- if (IS_TRAPPED_INTERNALVAR (var->name))
- SET_TRAPPED_INTERNALVAR (var, val, 0, 0, 0);
-#endif
-
newval = value_copy (val);
newval->modifiable = 1;
@@ -517,10 +502,6 @@ show_convenience (char *ignore, int from_tty)
for (var = internalvars; var; var = var->next)
{
-#ifdef IS_TRAPPED_INTERNALVAR
- if (IS_TRAPPED_INTERNALVAR (var->name))
- continue;
-#endif
if (!varseen)
{
varseen = 1;