Re: Using GDB for ALSA How to?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-09-01 13:19:54 -0700, William Estrada <MrUmunhum@xxxxxxxxxxx> 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

-- 
      Jan-Benedict Glaw      jbglaw@xxxxxxxxxx              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert Pine)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux