Bug 18066

Summary: argument "word" seems broken in Command.complete (text, word)
Product: gdb Reporter: rage4pwn
Component: pythonAssignee: Not yet assigned to anyone <unassigned>
Severity: normal CC: sergiodj
Priority: P2    
Version: 7.9   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: How To

Description rage4pwn 2015-03-01 11:43:32 UTC
Created attachment 8157 [details]
How To

The word argument is supposed to return the last argument of the commandline.
But it returns the first 8 characters of the commandline padded with null bytes.
Comment 1 Sergio Durigan Junior 2015-05-01 22:17:36 UTC
This bug has been solved by the following commit:


I am closing it.  Please reopen if you still see the issue.