diff options
author | Pierre Muller <muller@sourceware.org> | 2009-03-25 10:50:57 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-03-25 10:50:57 +0000 |
commit | 67c296a2d728a49ac5c587b816dab1c895c149e5 (patch) | |
tree | f4bc407bc726fdfd0df1fbdfd153df48a3994072 /gdb/ChangeLog | |
parent | 1a6d2f2ff64b0e66af70b192e4e228a0ef55e443 (diff) | |
download | gdb-67c296a2d728a49ac5c587b816dab1c895c149e5.zip gdb-67c296a2d728a49ac5c587b816dab1c895c149e5.tar.gz gdb-67c296a2d728a49ac5c587b816dab1c895c149e5.tar.bz2 |
Fix completer problem for filename completion on the first try.
* gdb/completer.h (gdb_completion_word_break_characters): New function.
* gdb/completer.c: Include gdb_assert.h.
(complete_line_internal_reason): New enum.
(complete_line_internal): Change last argument type to
complete_line_internal_reason.
Modify function to handle the different complete_line_internal_reason
argument values.
(complete_line): Adapt to change in complete_line_internal.
(command_completer): Ditto.
(gdb_completion_word_break_characters): Implement new function.
* top.c (init_main): Set rl_completion_word_break_hook to
gdb_completion_word_break_characters.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bbeaff9..ba5fb9f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,23 @@ 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr> + Fix completer problem for filename completion on the first try. + + * gdb/completer.h (gdb_completion_word_break_characters): New function. + * gdb/completer.c: Include gdb_assert.h. + (complete_line_internal_reason): New enum. + (complete_line_internal): Change last argument type to + complete_line_internal_reason. + Modify function to handle the different complete_line_internal_reason + argument values. + (complete_line): Adapt to change in complete_line_internal. + (command_completer): Ditto. + (gdb_completion_word_break_characters): Implement new function. + * top.c (init_main): Set rl_completion_word_break_hook to + gdb_completion_word_break_characters. + + +2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr> + ARI fix: "strlen d_name" rule. * linux-nat.c (linux_nat_xfer_osdata): Use NAMELEN macro. |