This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix testsuite annotate-quit race (PR 544)
> > I'm running some stress tests with this patch. So far it hasn't
> > failed once.
>
> Checked in as so.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
> 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
>
> PR gdb/544
> Suggested by Jan Kratochvil:
> * top.c (gdb_rl_operate_and_get_next_completion): Call
> rl_redisplay_function.
> (gdb_rl_redisplay): New.
> (init_main): Set rl_redisplay_function.
This change breaks things for Emacs (I have this strange feeling of deja
vu...).
Did your stress tests include running Gdb on a dumb terminal?
I haven't the faintest idea what the problem is and everything seems fine on
an xterm:
nickrob@kahikatea:~$ src-head/build/gdb/gdb -ann=3 myprog
GNU gdb 6.8.50.20080323-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
^Z^Zpre-prompt
(gdb)
^Z^Zprompt
but if I do the same from within Emacs, the annotations don't appear.
If you've not got Emacs 22.1, you can see it in an earlier version by doing
M-x shell and "gdb -ann=3" in the *shell* buffer.
--
Nick http://www.inet.net.nz/~nickrob