bugDDD - Bugs: bug #55842, Current execution marker doesn't...

 
 

bug #55842: Current execution marker doesn't move when step command is executed using gdb.execute() api(python scripting gdb)

Submitter:  Harshit Monish <harshitm>
Submitted:  Wed 06 Mar 2019 06:50:32 AM UTC
   
 
Category:  Gdb integration Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.3.11
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Dec 2022 07:24:50 PM UTC, comment #1: 

fixed

Stefan Eickeler <eickeler>
Group administrator
Wed 06 Mar 2019 06:50:32 AM UTC, original submission:  

The current execution marker doesn't move when a step command is executed through gdb.execute() application which is part of scripting gdb with python. The current execution marker get's stuck whereas the execution in the background still goes on. Whereas if i execute step command from gdb command line terminal, it moves properly. Same behavior is with continue, next, stepi, nexti, run commands. Code snippet:-
################
python
import gdb
gdb.execute("step")
end
################

This code snippet i am running on the gdb command line and the current execution marker in the source code doesn't move.

Current execution marker doesn't move when step command is executed using gdb.execute() api(python scripting gdb)

Harshit Monish <harshitm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #46444:  Capture2.PNG added by harshitm (45KiB - image/png - attached the screenshot of the execution along with the log file.)
file #46442:  Capture1.PNG added by harshitm (41KiB - image/png - attached the screenshot of the execution along with the log file.)
file #46443:  Capture3.PNG added by harshitm (45KiB - image/png - attached the screenshot of the execution along with the log file.)
file #46445:  log added by harshitm (18KiB - application/octet-stream - attached the screenshot of the execution along with the log file.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eickeler (Updated the item)
  • -email is unavailable- added by harshitm (Submitted the item)
  • -email is unavailable- added by harshitm (It will be great if i can get involved to solve this bug, it's quite critical to us)
  • -email is unavailable- added by harshitm (It will be great if i can get involved to solve this bug, it's quite critical to us)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-28 eickeler StatusNone Fixed
    2022-12-28 eickeler Open/ClosedOpen Closed
    2019-03-06 harshitm Attached File- Added Capture1.PNG, #46442
        Attached File- Added Capture3.PNG, #46443
        Attached File- Added Capture2.PNG, #46444
        Attached File- Added log, #46445
        Carbon-Copy- Added harshitm
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code