Re: [PATCH v4 06/10] gdb/solib-rocm: move per-inferior data to rocm_solib_ops
Tom Tromey <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Simon" == Simon Marchi <[email protected]> writes: Simon> Move the data currently stored in an inferior registry directly into Simon> rocm_solib_ops. This changes the storage of this data from "per Simon> inferior" to "per program-space", but it should be equivalent, since Simon> there is usually a 1:1 mapping between those two. The only time there Simon> isn't a 1:1 mapping is during a vfork, before the exec/exit, but no ROCm Simon> activity happens during that slice of time. I don't really know the rocm code, but this seems fine to me. Approved-By: Tom Tromey <[email protected]> Tom