Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-19 Thread Klaus Zeitler
Nick == Nick Roberts [EMAIL PROTECTED] writes: Nick Nick I can suggest two workarounds: Nick Nick 1) Specify the core file later: Nick NickRun gdb (like this): gdb --annotate=3 emacs Nick NickThen in the GUD buffer: Nick Nick(gdb) core

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-19 Thread Nick Roberts
Not sure what you mean with old behaviour. gdb --fullname which is what Emacs 21 (and earlier) uses, although the fullname option was never visible in the command in the minibuffer. Should I see a difference (as long I don't set

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-19 Thread Klaus Zeitler
Nick == Nick Roberts [EMAIL PROTECTED] writes: Nick Nick Are you suggesting that I remove one so that the user isn't confused? The problem is that both commands gdb and gdba print the same command in the mini-buffer. I think a user would accept/understand that M-x gdb - gdb --annotate=3

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-17 Thread Klaus Zeitler
Maybe I spoke too soon. There's either a new or a similar problem. When I try to use the up command in gdb, I get: error in process filter: gdb-display-source-buffer: Wrong type argument: stringp, nil error in process filter: Wrong type argument: stringp, nil Note: this happens only when I

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-17 Thread Klaus Zeitler
Klaus == Klaus Zeitler [EMAIL PROTECTED] writes: Klaus Klaus emacs backtrace shows: Klaus Debugger entered--Lisp error: (wrong-type-argument stringp nil) Klaus get-buffer-window(nil) Klaus gdb-display-source-buffer(#buffer aMOEthernetPort.cpp) Klaus

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-17 Thread Klaus Zeitler
Oops sorry, a cut-and-paste error. I tried to say: (gud-find-file /vobs/.../aMOEthernetPort.cpp) returned: #buffer aMOEthernetPort.cpp Klaus -- -- | Klaus Zeitler Lucent Technologies | | Email: [EMAIL PROTECTED] |

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-17 Thread Nick Roberts
Klaus Zeitler writes: Klaus == Klaus Zeitler [EMAIL PROTECTED] writes: Klaus Klaus emacs backtrace shows: Klaus Debugger entered--Lisp error: (wrong-type-argument stringp nil) Klaus get-buffer-window(nil) Klaus gdb-display-source-buffer(#buffer

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-16 Thread Klaus Zeitler
Nick == Nick Roberts [EMAIL PROTECTED] writes: Nick Nick I've fixed this. GUD tooltips work better if you compile with -g3 Nick (assuming thats possible on Solaris). Then you can look at macro Nick definitions with them when the program is not executing Works like a charm

Re: gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-16 Thread Klaus Zeitler
Nick == Nick Roberts [EMAIL PROTECTED] writes: Nick Nick Thats odd. Does macro expansion really work? No it doesn't, I had never tried. I was only talking about examining variables. Nick Have you compiled all the files with -g3? Yes. I even checked the production log file.

gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-15 Thread Klaus Zeitler
Whith gud-tooltip-mode turned on I get, when I move the pointer over a variable: error in process filter: gdb-prompt: Wrong number of arguments: #[(expr) =c4r=c5=c6!q=88eb=88=c7=c8=c9=ca#=83 =86+ In GNU Emacs 22.0.50.13 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2006-05-15 on sfsws4 X

gud-tooltip-mode: gdb-prompt: Wrong number of arguments

2006-05-15 Thread Nick Roberts
Whith gud-tooltip-mode turned on I get, when I move the pointer over a variable: error in process filter: gdb-prompt: Wrong number of arguments: #[(expr) =c4r=c5=c6!q=88eb=88=c7=c8=c9=ca#=83 =86+ I've fixed this. GUD tooltips work better if you compile with -g3 (assuming thats