Subject: Re: XF430 debugging advice needed
To: David Hopper <dhop@nwlink.com>
From: Martin Husemann <martin@duskware.de>
List: tech-x11
Date: 03/02/2003 23:17:14
On Sun, Mar 02, 2003 at 02:13:12PM -0800, David Hopper wrote:

> pciBusInfo[bus] = (pciBusInfo_t *) 0x120849d70
> 
> (gdb) display pciBusInfo[bus]->funcs->pciReadLong
> 5:  pciBusInfo[bus]->funcs->pciReadLong = (CARD32 (*)()) Error accessing 
> memory address 0x0: Invalid argument.

I'd guess that either pciBusInfo[bus]->funcs or 
pciBusInfo[bus]->funcs->pciReadLong is NULL;

Ask gdb to print them...

Martin