gdb: remove SYMTAB_LANGUAGE macro, add getter/setter

Add a getter and a setter for a symtab's language.  Remove the
corresponding macro and adjust all callers.

Change-Id: I9f4d840b11c19f80f39bac1bce020fdd1739e11f
This commit is contained in:
Simon Marchi
2021-11-20 08:47:30 -05:00
parent 5b6074611e
commit 1ee2e9f930
11 changed files with 33 additions and 22 deletions

View File

@ -1638,7 +1638,7 @@ info_frame_command_core (struct frame_info *fi, bool selected_frame_p)
if (s)
printf_filtered (" source language %s.\n",
language_str (s->language));
language_str (s->language ()));
{
/* Address of the argument list for this frame, or 0. */