From owner-freebsd-questions Fri Jan 14 17:48:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from oberon.dnai.com (oberon.dnai.com [207.181.194.97]) by hub.freebsd.org (Postfix) with ESMTP id 1A83214F3A for ; Fri, 14 Jan 2000 17:48:19 -0800 (PST) (envelope-from kmarx@bigshed.com) Received: from bigshed.com (dnai-216-15-97-193.cust.dnai.com [216.15.97.193]) by oberon.dnai.com (8.9.3/8.9.3) with ESMTP id RAA51621 for ; Fri, 14 Jan 2000 17:48:14 -0800 (PST) Message-ID: <387FD46D.B208DD35@bigshed.com> Date: Fri, 14 Jan 2000 17:59:09 -0800 From: Ken Marx X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: gdb lineno ambiguity (more) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, A bit more info on this: I tried different 'spelling's of the commands. Mixing and matching has some non-deterministic effect: ------------- (gdb) l 292 Internal: static symbol `292' found in copyToRam.cpp psymtab but not in symtab. 292 may be an inlined function, or may be a template function (if a template, try specifying an instantiation: 292). (gdb) list 292 Internal: static symbol `292' found in loglog.cpp psymtab but not in symtab. 292 may be an inlined function, or may be a template function (if a template, try specifying an instantiation: 292). (gdb) li 292 Ambiguous command "li 292": lib, list. (gdb) list 292 287 while (1) 288 { 289 AdaptError estat; 290 291 estat = getClientMsg( pStream, pInMsgBuf, sizeof( pInMsgBuf ) ); 292 if (estat != AdptOK ) 293 { 294 if (estat == AdptClientEOF) 295 { 296 return (AdptOK); (gdb) ------------- This happens even if I remove my ~/.gdbinit file. Once it starts working (for that line number anyway) it seems to work for all spellings. thx, k. -- Ken Marx, kmarx@bigshed.com We're in a crisis situation here, but let's right size and take a lateral view across the startup mentality, etc. - http://cgi.bigshed.com/~kmarx/cgi-bin/speak.cgi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message