Remove parameter from language_info
authorTom Tromey <tromey@adacore.com>
Mon, 29 Mar 2021 14:25:13 +0000 (08:25 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 29 Mar 2021 15:36:11 +0000 (09:36 -0600)
commit9f67fc596b36ba46f31b2854655b5cbeffd91da9
tree8b5e3b8b2787c057ecb8f0b526d91a36b51b4389
parent9b8ffbf410f4482a51a443872758aa51ae20426f
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.
gdb/ChangeLog
gdb/language.c
gdb/language.h
gdb/top.c