aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-10-05 19:15:11 +0200
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-10-05 19:15:11 +0200
commitd13b8493cbd2891b5886e6176d468eb63c73606a (patch)
tree9a90b34c185a32994f620a0fd1e4db2fe7b309f6 /gdb/ax.h
parent3b4b2f160d288b85a1379d24fd0f4de19062f3fd (diff)
downloadfsf-binutils-gdb-d13b8493cbd2891b5886e6176d468eb63c73606a.zip
fsf-binutils-gdb-d13b8493cbd2891b5886e6176d468eb63c73606a.tar.gz
fsf-binutils-gdb-d13b8493cbd2891b5886e6176d468eb63c73606a.tar.bz2
Remove unused "union agent_val" from ax.h
The ax.h header file contains a use of DOUBLEST in the type "union agent_val". However, that type is never used anywhere, so it can be simply removed. gdb/ChangeLog: 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com> * ax.h: Do not include "doublest.h". (union agent_val): Remove.
Diffstat (limited to 'gdb/ax.h')
-rw-r--r--gdb/ax.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/ax.h b/gdb/ax.h
index 621ba17..066c5ee 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -19,7 +19,6 @@
#ifndef AGENTEXPR_H
#define AGENTEXPR_H
-#include "doublest.h" /* For DOUBLEST. */
#include "vec.h"
/* It's sometimes useful to be able to debug programs that you can't
@@ -80,17 +79,6 @@ enum agent_flaws
/* Agent expression data structures. */
-/* The type of an element of the agent expression stack.
- The bytecode operation indicates which element we should access;
- the value itself has no typing information. GDB generates all
- bytecode streams, so we don't have to worry about type errors. */
-
-union agent_val
- {
- LONGEST l;
- DOUBLEST d;
- };
-
/* A buffer containing a agent expression. */
struct agent_expr
{