[commit] Report an invalid interpreter using error

Andrew Cagney ac131313@redhat.com
Thu Mar 20 22:29:00 GMT 2003


I some how (details in next patch) managed to create a GDB with no 
interpreter!  It would start up with:

$ gdb
Interpreter "console" unrecognized
$

Debugging it proved interesting.  It turned out that the message wasn't 
being reported via error(), warning() or complaint().  The attached 
`fixes' that part of the problem by using error().  Hopefully this will 
make the next persons debugging life easier :-)

committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030320/7f44de15/attachment.ksh>


More information about the Gdb-patches mailing list