This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug record/20869] New: "record full" while target is running breaks run control
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 25 Nov 2016 18:17:08 +0000
- Subject: [Bug record/20869] New: "record full" while target is running breaks run control
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20869
Bug ID: 20869
Summary: "record full" while target is running breaks run
control
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: record
Assignee: unassigned at sourceware dot org
Reporter: simon.marchi at ericsson dot com
Target Milestone: ---
A simple test to reproduce:
$ ./gdb -nx /bin/sleep
GNU gdb (GDB) 7.12.50.20161125-git
...
Reading symbols from /bin/sleep...(no debugging symbols found)...done.
(gdb) r 123456 &
Starting program: /bin/sleep 123456
(gdb) i th
Id Target Id Frame
* 1 process 23909 "sleep" (running)
At this point, the process' state according to /proc/$pid/status is:
State: S (sleeping)
Then, we enable record and try to interrupt:
(gdb) record
(gdb) interrupt
(gdb) i th
Id Target Id Frame
* 1 process 23909 "sleep" (running)
(gdb)
At this point, the process' state is:
State: t (tracing stop)
So it seems like the inferior received the signal and stopped correctly, but
gdb missed the event or doesn't do anything about it.
--
You are receiving this mail because:
You are on the CC list for the bug.