bpo-15817: Expose command documentation to gdb help by smontanaro · Pull Request #6384 · python/cpython (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits2 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

smontanaro

@smontanaro

@smontanaro smontanaro changed the titletweaks to issue15817 issue15817

Apr 5, 2018

@smontanaro smontanaro changed the titleissue15817 tweaks to bpo-15817

Apr 5, 2018

serhiy-storchaka

@@ -148,7 +160,9 @@ define pystackv
select-frame 0
end
# generally useful macro to print a Unicode string
document pu
Generally useful macro to print a Unicode string

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation.

@smontanaro

@smontanaro

Inconsistent indentation.

Thanks. Fixed.

@ned-deily ned-deily changed the titletweaks to bpo-15817 bpo-15817: Expose command documentation to gdb help

Apr 5, 2018

zware pushed a commit that referenced this pull request

Sep 9, 2019

@The-Compiler @zware

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in GH-6384.

zware pushed a commit to zware/cpython that referenced this pull request

Sep 9, 2019

@The-Compiler @zware

…onGH-15021)

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in pythonGH-6384. (cherry picked from commit 1f86fdc)

Co-authored-by: Florian Bruhin me@the-compiler.org

@zware zware mentioned this pull request

Sep 9, 2019

zware added a commit that referenced this pull request

Sep 9, 2019

@zware

…5021) (#15744)

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in GH-6384. (cherry picked from commit 1f86fdc)

Authored-by: Florian Bruhin me@the-compiler.org

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019

@The-Compiler @lisroach

…5021)

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in pythonGH-6384.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020

@The-Compiler @DinoV

…5021)

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in pythonGH-6384.

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020

@The-Compiler @websurfer5

…5021)

The gdb manual[1] says the following for "document":

The command commandname must already be defined.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html

And indeed when trying to use the gdbinit file with gdb 8.3, I get:

.../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help".

Fix this by moving all documentation blocks after the define blocks.

This was introduced in pythonGH-6384.