This is the mail archive of the gdb-patches@sourceware.org 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] |
Ok, so your problem is that the core file is marked as "UNIX - System V", so there's no way to tell that this is a HP-UX core file.
What I'd do, is create BFD sections out of those HP_CORE_XXX program headers, and then in GDB, check for one of those sections. There's one program header that looks particularly promising: HP_CORE_KERNEL. That one contains the string HP-UX. That'd certainly convince me that this is a HP-UX core file.
Actually I think it makes sense to modify your BFD patch such that it gives all HP_CORE_XXX program headers a sensible name:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |