This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: cli/1616: readline macro expansion doesn't work correctly
- From: jimb at redhat dot com
- To: dick dot streefland at altium dot nl, gdb-prs at sources dot redhat dot com, nobody at sources dot redhat dot com
- Date: 24 Oct 2005 17:05:58 -0000
- Subject: Re: cli/1616: readline macro expansion doesn't work correctly
- Reply-to: jimb at redhat dot com, dick dot streefland at altium dot nl, gdb-prs at sources dot redhat dot com, nobody at sources dot redhat dot com, gdb-gnats at sources dot redhat dot com
Synopsis: readline macro expansion doesn't work correctly
State-Changed-From-To: open->analyzed
State-Changed-By: jimb
State-Changed-When: Mon Oct 24 17:05:58 2005
State-Changed-Why:
This patch doesn't look right. If readline has seen the complete key sequence to invoke the keyboard macro, it should immediately run the macro, and update the line on the screen. GDB shouldn't have to call rl_callback_read_char again.
I think GDB is using the readline interface correctly; it's readline that has the bug.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1616