Disclosed are compounds of Formula (I)N-oxides, or salts thereof, wherein G, A, R1, R5, and n are defined herein. Also disclosed are methods of using such compounds as inhibitors of signaling through Toll-like receptor 7, or 8, or 9, and pharmaceutical compositions comprising such compounds. These compounds are useful in treating inflammatory and autoimmune diseases.本文揭示式(I)化合物其N-氧化物或鹽,其中G、A、R1、R5及n係在本文中定義。亦揭示使用此等化合物作為透過類鐸受體(Toll-like receptor)7或8或9之信號傳導之抑制劑之方法,及包含此等化合物之醫藥組合物。此等化合物可用於治療發炎性及自體免疫疾病。