emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong type argument: stringp, nil


From: Nick Roberts
Subject: Wrong type argument: stringp, nil
Date: Sat, 15 Apr 2006 08:43:54 +1200

 > When I try to use gdb to debug my C programming. It said "Wrong type  
 > argument: stringp, nil

Are you sure you're not trying to debug as *Pascal* program?

 > Recent messages:
 > error in process filter: gdb-set-window-buffer: Wrong type argument:  
 > stringp, nil
 > error in process filter: Wrong type argument: stringp, nil
 > p139.pas has auto save data; consider M-x recover-this-file
   ^^^^^^^^
 > Fontifying p139.pas... (regexps..........)
 > p139.pas has auto save data; consider M-x recover-this-file
 > Fontifying p139.pas... (regexps..........)
 > p139.pas has auto save data; consider M-x recover-this-file
 > error in process filter: gdb-set-window-buffer: Wrong type argument:  
 > stringp, nil
 > error in process filter: Wrong type argument: stringp, nil
 > Loading emacsbug...done


 > In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.5.0)
 > of 2006-03-11 on mini.local
 > X server distributor `Apple Computers', version 10.4.6

Apple have their own version of GDB.  In the past we have had reports from
users of 10.2 and 10.3, but not 10.4.  I've not used MacOSX but there are
several things you could try:

1) Download a copy of FSF GDB from Fink, if this is possible.

2) Set the variable debug-on-error to t (this can be done from the menu bar
   (Options item), start gdb in Emacs (M-x gdb) and post the backtrace to this
   list.

3) Set the variable gdb-enable-debug to t, start gdb in Emacs and post the
   value of gdb-debug-ring to this list (this variable records the full
   communication between Emacs and GDB).

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]