On Thu, 2004-02-26 at 16:55, Sergey Vlasov wrote:
> 
> $ gdb mpg123
> (gdb) set args xxx.mp3

Or gdb --args mpg123 xxx.mp3 ;)

> (gdb) set env LD_PRELOAD /home/user/src/alsa-cvs/alsa-oss/alsa/.libs/libaoss.so
> (gdb) run
> 
> This way LD_PRELOAD will be set only for the debugged process, and not for
> the debugger itself - hopefully the debugger will not crash and will
> provide some useful info.

Indeed, thanks. I've actually used something like this before, but I was
in such a hurry that I didn't think of it.


-- 
Earthling Michel DÃnzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to