Sorry to bother this list, but I have received no response from
either the regular xemacs list nor the xemacs newsgroup (the two
don't seem to be coupled anymore). I still haven't been able to
figure out how to fix this problem.
Thanks.
-Jay
---------- Forwarded message ----------
Date: Fri, 10 Mar 2000 16:34:18 -0700 (MST)
From: Jay A. St. Pierre <Jay.St.Pierre(a)Colorado.EDU>
To: xemacs(a)xemacs.org
Subject: XEmacs 21.1.9 and GUD (debug package)
I just compiled and installed XEmacs 21.1.9 on RedHat 6.1 (i686),
Solaris 2.6 (sparc), and Solaris 2.7. When I run gdb on a piece of C
code, I don't get the debug icons I used to get under XEmacs 20.4, and
in general something seems to be broken about it. When I "run" the
program I'm debugging in the gdb/GUD window, I get:
(1) (error/warning) Error in process filter: (error toolbar spec must
be list or nil t.c)
I tried doing this with setting "Debug on Error" under the
Options->General Options menu, and I get the long list of messages
attached to the bottom of this post.
This behaves the same under every installation of XEmacs 2.1.9. The
same procedures performed with XEmacs 20.4 (which is still available on
all the machines) did not have any problems. Although I didn't install
the sumo tarballs, I double checked that I have the debug package and
its dependecies installed, and I have the latest versions.
Can anybody offer any help? Thanks
-Jay
==============================================================
== result of invoking "run" under the *gdb* buffer
== with "Debug on Error" set
Signaling: (error "toolbar spec must be list or nil" #<buffer
"t.c">)
check-valid-instantiator(#<buffer "t.c"> toolbar)
canonicalize-spec(#<buffer "t.c"> toolbar nil)
byte-code("..." [spec-list nil result rest noerror throw
cann-spec-list t signal error "Invalid list format"
canonicalize-spec specifier-type res2] 5)
canonicalize-spec-list((#<buffer "t.c"> [eos::toolbar-stop-at-icon
gdb-break t "Stop at selected
position"] [eos::toolbar-stop-in-icon gdb-break t "Stop in function
whose name is selected"]
[eos::toolbar-clear-at-icon gdbsrc-delete t "Clear at selected
position"] [eos::toolbar-evaluate-icon
gdb-print-c-sexp t "Evaluate selected expression; shows in separate
XEmacs frame"]
[eos::toolbar-evaluate-star-icon gdb-*print-c-sexp t "Evaluate selected
expression as a pointer; shows
in separate XEmacs frame"] [eos::toolbar-run-icon gdbsrc-run t "Run
current program"]
[eos::toolbar-cont-icon gdbsrc-cont t "Continue current program"]
[eos::toolbar-step-into-icon
gdbsrc-step t "Step into (aka step)"] [eos::toolbar-step-over-icon
gdbsrc-next t "Step over (aka next)"]
[eos::toolbar-up-icon gdbsrc-up t "Stack Up (towards \"cooler\" - less
recently visited - frames)"]
[eos::toolbar-down-icon gdbsrc-down t "Stack Down (towards \"warmer\" -
more recently visited -
frames)"] [eos::toolbar-fix-icon nil nil "Fix (not available with gdb)"]
[eos::toolbar-build-icon
toolbar-compile t "Build (aka make -NYI)"]) toolbar)
set-specifier(#<toolbar-specifier global=([toolbar-file-icon
toolbar-open t "Open a file"]
[toolbar-folder-icon toolbar-dired t "Edit a directory"]
[toolbar-disk-icon toolbar-save t "Save buffer"]
[toolbar-printer-icon toolbar-print t "Print buffer"] [toolbar-cut-icon
toolbar-cut t "Kill region"] ...)
fallback=((nil)) 0x156> (#<buffer "t.c"> [eos::toolbar-stop-at-icon
gdb-break t "Stop at selected
position"] [eos::toolbar-stop-in-icon gdb-break t "Stop in function
whose name is selected"]
[eos::toolbar-clear-at-icon gdbsrc-delete t "Clear at selected
position"] [eos::toolbar-evaluate-icon
gdb-print-c-sexp t "Evaluate selected expression; shows in separate
XEmacs frame"]
[eos::toolbar-evaluate-star-icon gdb-*print-c-sexp t "Evaluate selected
expression as a pointer; shows
in separate XEmacs frame"] [eos::toolbar-run-icon gdbsrc-run t "Run
current program"]
[eos::toolbar-cont-icon gdbsrc-cont t "Continue current program"]
[eos::toolbar-step-into-icon
gdbsrc-step t "Step into (aka step)"] [eos::toolbar-step-over-icon
gdbsrc-next t "Step over (aka next)"]
[eos::toolbar-up-icon gdbsrc-up t "Stack Up (towards \"cooler\" - less
recently visited - frames)"]
[eos::toolbar-down-icon gdbsrc-down t "Stack Down (towards \"warmer\" -
more recently visited -
frames)"] [eos::toolbar-fix-icon nil nil "Fix (not available with gdb)"]
[eos::toolbar-build-icon
toolbar-compile t "Build (aka make -NYI)"]))
gdbsrc-mode(1)
(and gdbsrc-active-p (not gdbsrc-mode) (not (eq ...
current-gdb-buffer)) (gdbsrc-mode 1))
)
(save-excursion (let* (... ...) (setq gdbsrc-last-src-buffer buf)
(select-window win) (set-window-point
win ...) (set-buffer buf)) (and gdbsrc-active-p (not gdbsrc-mode) (not
...) (gdbsrc-mode 1)))
)
(progn (setq select-method (quote source)) (setq ad-return-value
(ad-Orig-gdb-display-line true-file
line select-method)) (save-excursion (let* ... ... ... ... ...) (and
gdbsrc-active-p ... ... ...)))
)
(let (ad-return-value) (progn (setq select-method ...) (setq
ad-return-value ...) (save-excursion ... ...))
ad-return-value)
)
gdb-display-line("/home/stpierr/tmp/brian/t.c" 5)
gdb-display-frame(nil t)
gdb-filter-insert(#<process "gdb-t-sun-gcc" pid 5451 state:run>
"(gdb)
")
gdb-filter-scan-input(#<process "gdb-t-sun-gcc" pid 5451 state:run>
"(gdb) ")
gdb-filter-accumulate-marker(#<process "gdb-t-sun-gcc" pid 5451
state:run>
"yy/home/stpierr/tmp/brian/t.c:5:37:beg:0x10a58\n(gdb) ")
ad-Orig-gdb-filter(#<process "gdb-t-sun-gcc" pid 5451 state:run>
"37:beg:0x10a58\n(gdb) ")
(setq ad-return-value (ad-Orig-gdb-filter proc string))
)
(let (ad-return-value) (setq ad-return-value (ad-Orig-gdb-filter proc
string)) (let* (... win) (and ... ... ...
... ... ...)) ad-return-value)
)
gdb-filter(#<process "gdb-t-sun-gcc" pid 5451 state:run>
"37:beg:0x10a58\n(gdb) ")