microsoft / microsoft/MIEngine

Target process isn't killed during stop debugigng on Linux+GDB

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug general-linux-support
Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

On the version of GDB that I have on Linux (Ubuntu 7.7.1-0ubuntu5~14.04.2), gdb doesn't support an -exec-abort command. I went through all the mi commands using strings on it. It appears that the only way to kill the process is to use the non-mi 'kill' command.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing stop debugging on Ubuntu with GDB 7.7.1 and inspect the existing handling of target termination. Confirm the fix works without relying on the unsupported -exec-abort command and that the target process is killed when debugging stops.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.