This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Should the assertion:
gdbarch_find_by_info (gdbarch_info (gdbarch)) == gdbarch
always hold? At present architectures like the MIPS make this very hard - keying off information found in the BFD and not the corresponding info struct.
This, however, I'd really like. I remember why I wanted it now. Take a look at the end of osabi.c:set_osabi - I am not especially confident that that code works. It seems to me that the above assertion makes it much more likely to work.
- fill in "gdbarch_info" Setting osabi et.al. based on the bfd et.al.
- create the architecture from "gdbarch_info" but with _no_ bfd.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |