This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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  <>
 > 	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

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
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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"...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]