aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-06 12:26:05 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-05-06 12:26:05 -0400
commit0d4bf016945ee220b95d91674e5375eb652972d4 (patch)
tree1d3abca6037b3048585d804b628097e6e06a5453
parentac4a4f1cd7dceeeb17d0b8c077c874f2247acbf0 (diff)
downloadgdb-0d4bf016945ee220b95d91674e5375eb652972d4.zip
gdb-0d4bf016945ee220b95d91674e5375eb652972d4.tar.gz
gdb-0d4bf016945ee220b95d91674e5375eb652972d4.tar.bz2
gdb: remove main_type::flag_static
It is not used. gdb/ChangeLog: * gdbtypes.h (struct main_type) <flag_static>: Remove.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdbtypes.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27cdbc8..1eb8c11 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-05-06 Simon Marchi <simon.marchi@efficios.com>
+ * gdbtypes.h (struct main_type) <flag_static>: Remove.
+
+2020-05-06 Simon Marchi <simon.marchi@efficios.com>
+
* amd64-tdep.c (amd64_analyze_prologue): Check for `endbr64`
instruction, skip it if it's there.
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 4e95a60..d9bfa56 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -763,7 +763,6 @@ struct main_type
unsigned int flag_nosign : 1;
unsigned int flag_stub : 1;
unsigned int flag_target_stub : 1;
- unsigned int flag_static : 1;
unsigned int flag_prototyped : 1;
unsigned int flag_varargs : 1;
unsigned int flag_vector : 1;