Bug 18066 - argument "word" seems broken in Command.complete (text, word)
Summary: argument "word" seems broken in Command.complete (text, word)
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: python (show other bugs)
Version: 7.9
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 11:43 IST by rage4pwn
Modified: 2015-05-01 22:17 IST (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
How To (307 bytes, text/x-python)
2015-03-01 11:43 IST, rage4pwn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rage4pwn 2015-03-01 11:43:32 IST
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 IST
This bug has been solved by the following commit:

6d62641c832525382336c1b04731d85cb6c398e7

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