Change current_language to be a macro
authorTom Tromey <tom@tromey.com>
Wed, 29 Mar 2023 02:30:01 +0000 (20:30 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 9 Jan 2024 01:40:22 +0000 (18:40 -0700)
commitc83a2802182b3da5d1080425ded0700b3af27f6b
tree4970e49f90ed92221859b55a8747ddb7006477ea
parent245703b3ce7522ddbf9290267129878ad8c6c725
Change current_language to be a macro

This changes the 'current_language' global to be a macro that wraps a
function call.  This change will let a subsequent patch introduce lazy
language setting.
gdb/language.c
gdb/language.h