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:
parent
5b6074611e
commit
1ee2e9f930
11 changed files with 33 additions and 22 deletions
|
@ -722,7 +722,8 @@ info_source_command (const char *ignore, int from_tty)
|
|||
printf_filtered (_("Contains %d line%s.\n"), (int) offsets->size (),
|
||||
offsets->size () == 1 ? "" : "s");
|
||||
|
||||
printf_filtered (_("Source language is %s.\n"), language_str (s->language));
|
||||
printf_filtered (_("Source language is %s.\n"),
|
||||
language_str (s->language ()));
|
||||
printf_filtered (_("Producer is %s.\n"),
|
||||
(cust->producer ()) != nullptr
|
||||
? cust->producer () : _("unknown"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue