This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/17937] New: new_objfile event for "real" objfile should happen before new_objfile event for its separate debug file
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 06 Feb 2015 18:34:21 +0000
- Subject: [Bug python/17937] New: new_objfile event for "real" objfile should happen before new_objfile event for its separate debug file
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17937
Bug ID: 17937
Summary: new_objfile event for "real" objfile should happen
before new_objfile event for its separate debug file
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
I noticed this while debugging pr 17936.
It's arguable that the new_objfile event for the "real" objfile should happen
*before* the new_objfile event for the separate debug file.
Currently the new_objfile event for the separate debug file happens first.
It's unclear whether the real objfile is fully constructed at this point,
so the objfile.owner attribute of the separate debug file may refer to
an incomplete objfile at this point.
There's certainly no attempt to ensure it is fully constructed by then.
--
You are receiving this mail because:
You are on the CC list for the bug.