summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-04 22:39:38 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-05-04 22:39:39 -0400
commitc3236f84c1735f0c80fabda1ce955fc3e2a73d3e (patch)
treee0199a7bfa60ad236699365cc46c4c9ee9ae23fe
parentdc7148375d70a95aa66328276a08a50914482aef (diff)
downloadbinutils-gdb-c3236f84c1735f0c80fabda1ce955fc3e2a73d3e.tar.gz
gdb: remove TYPE_INCOMPLETE
The "HP platforms" comment prompted me to check if this was still used somewhere. Apparently it's not, so remove it. gdb/ChangeLog: * gdbtypes.h (TYPE_INCOMPLETE): Remove. * gdbtypes.c (recursive_dump_type): Remove use of TYPE_INCOMPLETE.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbtypes.c4
-rw-r--r--gdb/gdbtypes.h10
3 files changed, 6 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9a611ae939d..ff528ba9ebe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-04 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_INCOMPLETE): Remove.
+ * gdbtypes.c (recursive_dump_type): Remove use of
+ TYPE_INCOMPLETE.
+
2020-05-03 Tom Tromey <tom@tromey.com>
* breakpoint.c (catch_command, tcatch_command): Remove.
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 93ef8774a91..9a6a6dd74b1 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -5080,10 +5080,6 @@ recursive_dump_type (struct type *type, int spaces)
{
puts_filtered (" TYPE_PROTOTYPED");
}
- if (TYPE_INCOMPLETE (type))
- {
- puts_filtered (" TYPE_INCOMPLETE");
- }
if (TYPE_VARARGS (type))
{
puts_filtered (" TYPE_VARARGS");
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 8899fb15119..e231f495ab7 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -246,16 +246,6 @@ DEF_ENUM_FLAGS_TYPE (enum type_instance_flag_value, type_instance_flags);
#define TYPE_PROTOTYPED(t) (TYPE_MAIN_TYPE (t)->flag_prototyped)
-/* * This flag is used to indicate that processing for this type
- is incomplete.
-
- (Mostly intended for HP platforms, where class methods, for
- instance, can be encountered before their classes in the debug
- info; the incomplete type has to be marked so that the class and
- the method can be assigned correct types.) */
-
-#define TYPE_INCOMPLETE(t) (TYPE_MAIN_TYPE (t)->flag_incomplete)
-
/* * FIXME drow/2002-06-03: Only used for methods, but applies as well
to functions. */