aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-03-29 08:25:13 -0600
committerTom Tromey <tromey@adacore.com>2021-03-29 09:36:11 -0600
commit9f67fc596b36ba46f31b2854655b5cbeffd91da9 (patch)
tree8b5e3b8b2787c057ecb8f0b526d91a36b51b4389 /gdb/language.h
parent9b8ffbf410f4482a51a443872758aa51ae20426f (diff)
downloadgdb-9f67fc596b36ba46f31b2854655b5cbeffd91da9.zip
gdb-9f67fc596b36ba46f31b2854655b5cbeffd91da9.tar.gz
gdb-9f67fc596b36ba46f31b2854655b5cbeffd91da9.tar.bz2
Remove parameter from language_info
I noticed that language_info is only ever called with a value of '1'. This patch removes the parameter. 2021-03-29 Tom Tromey <tromey@adacore.com> * top.c (check_frame_language_change): Update. * language.c (language_info): Remove parameter. * language.h (language_info): Remove parameter.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 5afb833..21ed47b 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -733,7 +733,10 @@ struct symbol *
(LANG)->la_language == language_cplus || \
(LANG)->la_language == language_objc)
-extern void language_info (int);
+/* Print out the current language settings: language, range and
+ type checking. */
+
+extern void language_info ();
extern enum language set_language (enum language);