Bug #1578
closed
Confusing gdb detach message
Added by hasso about 15 years ago.
Updated almost 10 years ago.
Description
(gdb) ^Dquit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /pfs/@@-1:00003/pkg/bin/myprog, process 1354
Hasso Tepper wrote:
(gdb) ^Dquit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /pfs/@@-1:00003/pkg/bin/myprog, process 1354
Is your /usr a symlink or a null mount? Works properly here with a null
mount.
cheers
simon
null mount:
/pfs/@@-1:00003 on /usr (null, local)
Still reproduceable with the latest master. Execute the app
from /usr/pkg/bin/* (a lot of X apps normally), attach dgb to it (gdb -p) and
then quit from gdb.
- Description updated (diff)
- Category set to Userland
- Status changed from New to Closed
- Assignee deleted (
0)
- Target version set to 4.2
Hi,
Seems things are a bit better now:
(gdb) attach 197023
Attaching to process 197023
Reading symbols from /pfs/@@-1:00003/pkg/bin/myprog...done.
Reading symbols from /lib/libc.so.8...done.
Loaded symbols for /lib/libc.so.8
Reading symbols from /libexec/ld-elf.so.2...done.
Loaded symbols for /libexec/ld-elf.so.2
0x00000008008ba74c in nanosleep () at nanosleep.S:2
warning: Source file is more recent than executable.
2 RSYSCALL
(gdb) quit
A debugging session is active.
Inferior 1 [process 197023] will be detached.
Quit anyway? (y or n) y
Detaching from program: /pfs/@-1:00003/pkg/bin/myprog, process 197023
andromeda# df -hT .
Filesystem Type Size Used Avail Capacity Mounted on
/pfs/
@-1:00003 null 94G 46G 48G 49% /usr
[1] + Exit 255 ./myprog
Closing this one.
Cheers,
Antonio Huete
Also available in: Atom
PDF