14 Apr 2004 04:30
Debugging cdparanoia in C
Ruben I Safir <ruben <at> mrbrklyn.com>
2004-04-14 02:30:05 GMT
2004-04-14 02:30:05 GMT
Hello i've been working with paranoiaIII in order to make a new interface in GTK for ripping ogg files from cdda and I'm very stuck on the cdrom interface. I've tried to compile the program with degugging symbol on from the CVS archive, both using the make debug command and adding -g and -ggbd into the make files. Specifically, I wanted to learn the interface to the cdrom discovery routines in your libraries, especially cdrom_drive *cdda_find_a_cdrom(int messagedest,char **messages) in scan_devices.c. I just can't get a handle on any lines for degugging. I can't break on the function, I can't seem to even get main() to give me line numbers for stepping. I'm a moderate C programmer with some experience, mostly with ANSI business logic, using programs of my own creation. when I run: gdb /home/ruben/paranoia-III/cdparanoia I get the following session ---------------------------------------------------------- (gdb) set arg -Q (gdb) break main Breakpoint 1 at 0x804904b (gdb) run Starting program: /home/ruben/paranoia-III/cdparanoia -Q Breakpoint 1, 0x0804904b in main () (gdb) step Single stepping until exit from function main,(Continue reading)
RSS Feed