Date: Fri, 14 Jan 2000 17:59:09 -0800 From: Ken Marx <kmarx@bigshed.com> To: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: gdb lineno ambiguity (more) Message-ID: <387FD46D.B208DD35@bigshed.com>
next in thread | raw e-mail | index | archive | help
Hi, A bit more info on this: I tried different 'spelling's of the commands. Mixing and matching has some non-deterministic effect: -------------<snip> (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<type>). (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<type>). (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) -------------<snip> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387FD46D.B208DD35>