The only first-party games Nintendo released for the N64 in 2001, the final year of its life, were Pokemon Stadium 2, Dr. Mario 64 and Paper Mario, plus Animal Crossing in Japan, which isn't that horrible but is weak. 2000 was awesome for the N64 though, so I guess you can debate how wide you consider the window to be for the end of a console's life.
For the Gamecube, it was really bad, in 2006 they published Baten Kaitos Origins and Odama, and Twilight Princess if that counts. Their 2005 holiday lineup was…Mario Party 7, Super Mario Strikers, and DDR Mario Mix. Yeesh. Though yeah since Gamecube did get a lot of multi-plats from the PS2 and Xbox it wasn't as noticeable. Super Paper Mario, Twilight Princess, and Kirby's Return to Dreamland all got moved over from the Gamecube to the Wii, with the latter taking a trip through development hell first.
The Wii just had a lot of holes in its schedule in general, but that's partly because Nintendo got fat and lazy from Mario Kart Wii and NSMBWii. Those games printed money and went onto become two of the best selling of all time.
I don't mind not supporting a system at the end of its life, so long as the library leading up to that point was awesome, because they should be pouring everything into the new system so that it actually has some games in its launch window...but when the system is being abandoned more than two years out from the next one coming along, then yeah, that's pretty bad.