GNU bug report logs -
#3650
M-x gdb unusable on Windows
Previous Next
Reported by: Jason Rumney <jasonr <at> gnu.org>
Date: Mon, 22 Jun 2009 14:10:05 UTC
Severity: normal
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Jason Rumney writes:
> Jason Rumney wrote:
> > Kenichi Handa wrote:
> >
> >> By the way, I also installed gdb-6.8-mingw-3.tar.bz2. But,
> >> with "M-x gdb", pp and pr commands doesn't work. They print
> >> nothing. They do work when gdb is invoked from command
> >> line. Do you know what is wrong?
Are you sure they print nothing or is it just that the output isn't
being flushed? The commentary in gdb-ui.el has some advice about using
Emacs and GDB on Windows:
;; If you are using Emacs and GDB on Windows you will need to flush the buffer
;; explicitly in your program if you want timely display of I/O in Emacs.
;; Alternatively you can make the output stream unbuffered, for example, by
;; using a macro:
;; #ifdef UNBUFFERED
;; setvbuf (stdout, (char *) NULL, _IONBF, 0);
;; #endif
;; and compiling with -DUNBUFFERED while debugging.
> > I've often had problems in the past using debuggers under Emacs on
> > Windows (under Emacs 21 and early 22 development versions though, so I
> > haven't tried the new gdb-ui extensively), so I always use the command
> > line.
>
> I just tried it, and it seems to be even worse than I remembered.
Perhaps you mean:
I just tried it, and I can't get it to work.
Asking on this list if others are successfully using it will probably answer
the question as to whether the problem is at your end or not. Saying it
is unusable is a bit cheap.
> Problem 1 is that ...
What version of Emacs are you using?
--
Nick http://www.inet.net.nz/~nickrob
This bug report was last modified 3 years and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.