On Mon, 2008-09-01 23:13:26 +0200, Jan-Benedict Glaw <jbglaw@xxxxxxxxxx> wrote: > On Mon, 2008-09-01 13:33:28 -0700, William Estrada <MrUmunhum@xxxxxxxxxxx> wrote: > > Jan-Benedict Glaw wrote: > > > 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? So... Looking at it, snd_pcm_t is willfully specified as a hidden struct, the real definition is only used where *really* needed, that is: inside libasound2. It's in pcm_local.h, to not allow an arbitrary user to easily fiddle with the lib's internal state. As you want to peek into it, I guess you're facing a problem somewhere. It would probably help if you describe your actual problem. MfG, JBG -- Jan-Benedict Glaw jbglaw@xxxxxxxxxx +49-172-7608481 Signature of: The real problem with C++ for kernel modules is: the second : the language just sucks. -- Linus Torvalds
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel