Project

General

Profile

Actions

Bug #1465

closed

gdb does not remove breakpoints on detach

Added by corecode about 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

how to reproduce:

% sleep 100 &
[1] 4279
% gdb sleep 4279
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-dragonfly"...
Attaching to program: /bin/sleep, process 4279
0x0804900f in nanosleep () at nanosleep.S:2
2 RSYSCALL
(gdb) n
^C
Program received signal SIGINT, Interrupt.
0x0804900f in nanosleep () at nanosleep.S:2
2 RSYSCALL
Current language: auto; currently asm
(gdb) q
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /bin/sleep, process 4279
[1] + trace trap (core dumped) sleep 100


Files

signature.asc (901 Bytes) signature.asc corecode, 02/22/2014 01:21 PM
Actions

Also available in: Atom PDF