On 07/22/2017 08:29 PM, David Edelsohn wrote:
This patch mirrors the earlier patch to copy debug_section_label into
dl_section_ref and append the adjustment when necessary.  With this
patch, GDB is able to report correct macro information.

Bootstrapped on powerpc-ibm-aix7.2.0.0

Debug related patches need to be tested with gdb testsuite runs, it isn't clear if you did that. However, this one looks simple enough that it looks OK anyways.

Using XCOFF_DEBUGGING_INFO in dwarf2out.c looks funny to me, but I see that this is already done in multiple other places. doc/tm.texi incidentally says that defining XCOFF_DEBUGGING_INFO enables generation of a DBX variant debug info, which is obviously not correct in this case. Perhaps we should just update doc/tm.texi to reflect reality?

Okay?

OK.

Jim

Reply via email to