From c94add5202fc59bd71e05fc7c45472a697769da0 Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Fri, 14 Jun 2019 15:57:09 -0700 Subject: [PATCH] pubish sdist and wheel to pypi; increment version --- README.md | 2 +- docs/gdbcontroller.html | 50 +++++++++++++++++++++++++++-------------- docs/gdbmiparser.html | 36 ++++++++++++++--------------- docs/index.html | 30 +++++++++++++++++++------ makefile | 2 +- pygdbmi/__init__.py | 2 +- 6 files changed, 77 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 77187eb..2396de4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ pygdbmi - Get Structured Output from GDB's Machine Interface - + diff --git a/docs/gdbcontroller.html b/docs/gdbcontroller.html index 2a31c2a..6746256 100644 --- a/docs/gdbcontroller.html +++ b/docs/gdbcontroller.html @@ -3,7 +3,7 @@ - + pygdbmi.gdbcontroller API documentation @@ -17,7 +17,7 @@
-

pygdbmi.gdbcontroller module

+

Module pygdbmi.gdbcontroller

GdbController class to programatically run gdb and get structured output

@@ -559,7 +559,10 @@

Args

Print verbose output if True

Returns

-

New GdbController object

+
+
New GdbController object
+
 
+
Source code
class GdbController:
@@ -960,11 +963,8 @@ 

Methods

def exit(self)
-
-
Terminate gdb process
-
Returns : None
-
 
-
+

Terminate gdb process +Returns: None

Source code
def exit(self):
@@ -992,12 +992,21 @@ 

Args

after timeout_sec

Returns

-

List of parsed GDB responses, returned from gdbmiparser.parse_response, with the -additional key 'stream' which is either 'stdout' or 'stderr'

+
+
List of parsed GDB responses, returned from gdbmiparser.parse_response, with the
+
 
+
additional key 'stream' which is either 'stdout' or 'stderr'
+
 
+

Raises

-

GdbTimeoutError if response is not received within timeout_sec -ValueError if select returned unexpected file number -NoGdbProcessError if there is no gdb subprocess running

+
+
GdbTimeoutError if response is not received within timeout_sec
+
 
+
ValueError if select returned unexpected file number
+
 
+
NoGdbProcessError if there is no gdb subprocess running
+
 
+
Source code
def get_gdb_response(
@@ -1198,10 +1207,17 @@ 

Args

this can be false, and the reading thread read the output.

Returns

-

List of parsed gdb responses if read_response is True, otherwise []

+
+
List of parsed gdb responses if read_response is True, otherwise []
+
 
+

Raises

-

NoGdbProcessError if there is no gdb subprocess running -TypeError if mi_cmd_to_write is not valid

+
+
NoGdbProcessError if there is no gdb subprocess running
+
 
+
TypeError if mi_cmd_to_write is not valid
+
 
+
Source code
def write(
@@ -1358,7 +1374,7 @@ 

-

Generated by pdoc 0.5.5.dev14+gca359aa.

+

Generated by pdoc 0.6.2.

diff --git a/docs/gdbmiparser.html b/docs/gdbmiparser.html index 11eeaec..fa7492c 100644 --- a/docs/gdbmiparser.html +++ b/docs/gdbmiparser.html @@ -3,7 +3,7 @@ - + pygdbmi.gdbmiparser API documentation @@ -17,7 +17,7 @@
-

pygdbmi.gdbmiparser module

+

Module pygdbmi.gdbmiparser

Python parser for gdb's machine interface interpreter.

@@ -409,12 +409,9 @@

Functions

def assert_match(actual_char_or_str, expected_char_or_str)
-
-
If values don't match, print them and raise a ValueError, otherwise,
-
continue
-
Raises : ValueError if arguments do not match
-
 
-
+

If values don't match, print them and raise a ValueError, otherwise, +continue +Raises: ValueError if arguments do not match

Source code
def assert_match(actual_char_or_str, expected_char_or_str):
@@ -443,10 +440,16 @@ 

Args

String output from gdb

Returns

-

dict with the following keys: -type (either 'notify', 'result', 'console', 'log', 'target', 'done'), -message (str or None), -payload (str, list, dict, or None)

+
+
dict with the following keys:
+
 
+
type (either 'notify', 'result', 'console', 'log', 'target', 'done'),
+
 
+
message (str or None),
+
 
+
payload (str, list, dict, or None)
+
 
+
Source code
def parse_response(gdb_mi_text):
@@ -518,11 +521,8 @@ 

Returns

def response_is_finished(gdb_mi_text)
-
-
Return true if the gdb mi response is ending
-
Returns : True if gdb response is finished
-
 
-
+

Return true if the gdb mi response is ending +Returns: True if gdb response is finished

Source code
def response_is_finished(gdb_mi_text):
@@ -562,7 +562,7 @@ 

Index

diff --git a/docs/index.html b/docs/index.html index 42a65f3..5708572 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,9 +3,11 @@ - + pygdbmi API documentation - + @@ -17,7 +19,7 @@
-

pygdbmi module

+

Module pygdbmi

@@ -28,7 +30,7 @@

- + Code style: black @@ -168,7 +170,7 @@

Authors

.. include:: ../README.md """ __title__ = "pygdbmi" -__version__ = "0.9.0.1" +__version__ = "0.9.0.2" __author__ = "Chad Smith" __copyright__ = "Copyright Chad Smith" __pdoc__ = {"StringStream": False, "printcolor": False}

@@ -197,7 +199,21 @@

Sub-modules

diff --git a/makefile b/makefile index 6241326..2c12e99 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,7 @@ build: clean python setup.py --quiet sdist bdist_wheel twine check dist/* -publish: test build +publish: build twine upload dist/* testpublish: test clean diff --git a/pygdbmi/__init__.py b/pygdbmi/__init__.py index 9e8a131..5288bcd 100644 --- a/pygdbmi/__init__.py +++ b/pygdbmi/__init__.py @@ -2,7 +2,7 @@ .. include:: ../README.md """ __title__ = "pygdbmi" -__version__ = "0.9.0.1" +__version__ = "0.9.0.2" __author__ = "Chad Smith" __copyright__ = "Copyright Chad Smith" __pdoc__ = {"StringStream": False, "printcolor": False}