[alsa-devel] Using GDB for ALSA How to?

William Estrada MrUmunhum at popdial.com
Mon Sep 1 22:33:28 CEST 2008


Yes, the device is opened. Is that what you mean??


Jan-Benedict Glaw wrote:
> On Mon, 2008-09-01 13:19:54 -0700, William Estrada <MrUmunhum at popdial.com> wrote:
>   
>>   I am trying to use GDB with my ALSA program. I wish to display (print) 
>> a handle for
>> an snd_pcm_t pointer. I am getting the following error:
>>     
>>> (gdb) p Device
>>> $9 = (snd_pcm_t *) 0x92be458
>>> (gdb) p *Device
>>> $10 = <incomplete type>
>>>       
>>   How do I display the snd_pcm_t structure?
>>     
>
> My guess is that this pointer is simply uninitialized. Did you check
> that it was properly prepared?
>
> MfG, JBG
>
>   


-- 
William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum




More information about the Alsa-devel mailing list