Bug 18060 - eflags.TF left set after exiting from record mode
Summary: eflags.TF left set after exiting from record mode
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: record (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 23:24 UTC by dje
Modified: 2015-02-28 00:22 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dje 2015-02-27 23:24:19 UTC
Not sure how I did this, I can't recreate it with toy programs.
I was playing with recording gdb, and after doing "record stop"
I did "continue" and got a SIGTRAP.
It didn't appear to be a case of an int3 left in the instruction stream.
It turned out to be due to eflags.TF being set.
Comment 1 Pedro Alves 2015-02-28 00:22:45 UTC
I'd suspect your recording session stepped into a signal handler while recording, and then you tripped on the kernel bug behind Bug 17511.

A kernel patch for that bug just made it to the mm tree this week...