This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/16281] New: python frame comparison should take inferior into account (including restarted inferior)
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 01 Dec 2013 22:09:42 +0000
- Subject: [Bug python/16281] New: python frame comparison should take inferior into account (including restarted inferior)
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16281
Bug ID: 16281
Summary: python frame comparison should take inferior into
account (including restarted inferior)
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: xdje42 at gmail dot com
python's frame comparison support just calls frame_id_eq, but that can return
true for the "same" frame in different inferiors.
repro:
bash$ gdb hello
(gdb) start
(gdb) py f1 = gdb.selected_frame ()
(gdb) add-infer -exec hello
(gdb) infer 2
(gdb) start
(gdb) py f2 = gdb.selected_frame ()
(gdb) py print f1 == f2
True
--
You are receiving this mail because:
You are on the CC list for the bug.