Re: GDB 6.6 branch FROZEN

H. J. Lu
2006-12-02T18:34:46Z

On Sat, Dec 02, 2006 at 10:02:59AM -0800, Joel Brobecker wrote:
> > Any possibility to fix the regression from gdb 6.4, PR tui/2173?
> > I am enclosing the patch here.
>
> I am not opposed, but I don't know readline very well. I'll pass
> for this pre-release, but can you send the question on gdb-patches
> and ask if the patch is safe enough for the branch? I'll defer
> to the judgment of the global maintainers.
>

Here are some info

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215816
http://sources.redhat.com/ml/gdb-patches/2006-11/msg00327.html

bash-3.1$ gdb gdb
GNU gdb 6.6.50.20061202-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-unknown-linux-gnu"...
Using host libthread_db library "/lib64/libthread_db.so.1".
Setting up the environment for debugging gdb.
Breakpoint 1 at 0x448c00: file /export/gnu/src/gdb/gdb/gdb/utils.c,
line 817.
Breakpoint 2 at 0x47caf0: file
/export/gnu/src/gdb/gdb/gdb/cli/cli-cmds.c, line 200.
(top-gdb) b main
Breakpoint 3 at 0x4414f0: file /export/gnu/src/gdb/gdb/gdb/gdb.c, line
28.
(top-gdb) define foo
Type commands for definition of "foo".
End with a line saying just "end".
>Quit
(top-gdb) command 1
Type commands for when breakpoint 1 is hit, one per line.
End with a line saying just "end".
>define foo
>end
(top-gdb)

So arrow works and

(gdb) define foo
> <Control-C>

works.

H.J.