I was unable to build from source with nopt and nostrip to help with gdb. However, using just cups-dbg, I have this gdb session:- -------------------------------------------------------------- # gdb lpinfo ...
(gdb) break httpStatus Function "httpStatus" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (httpStatus) pending. (gdb) run -m Starting program: /usr/sbin/lpinfo -m [Thread debugging using libthread_db enabled] Breakpoint 1, httpStatus (status=HTTP_ERROR) at http-support.c:1258 1258 { (gdb) bt #0 httpStatus (status=HTTP_ERROR) at http-support.c:1258 #1 0xb7fa2acc in _cupsSetHTTPError (status=HTTP_ERROR) at request.c:1085 #2 0xb7fa2de4 in cupsGetResponse (http=<optimized out>, resource=0xb7fff745 "/") at request.c:488 #3 0xb7fa3138 in cupsDoIORequest (http=0xb800f250, request=0xb8002918, resource=0xb7fff745 "/", infile=-1, outfile=-1) at request.c:270 #4 0xb7fa33ab in cupsDoRequest (http=0x0, request=0xb8002918, resource=0xb7fff745 "/") at request.c:337 #5 0xb7ffeb80 in show_models (exclude_schemes=0x0, include_schemes=0x0, product=0x0, make_model=0x0, language=0x0, device_id=0x0, long_status=0) at lpinfo.c:399 #6 main (argc=2, argv=0xbffffd74) at lpinfo.c:116 (gdb) ---------------------------------------------------------- It seems then that the switch statement in httpStatus in http-support.c needs at least one extra branch for HTTP_ERROR. I suppose that I need to examine request.c next to try to understand how the error arises. ael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org