[Touch-packages] [Bug 1365664] Re: gdb source test suites are failing in Ubuntu14.10

2014-09-10 Thread Ulrich Weigand
Moving section headers to the end sounds good. However, maybe we should make the bfd_from_remote_memory change too, in order to cope with kernels already in the field? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in

[Touch-packages] [Bug 1365664] Re: gdb source test suites are failing in Ubuntu14.10

2014-09-09 Thread Ulrich Weigand
Hmmm ... usually, the section headers come at the very end of the file. It's a bit strange that there is section data *after* the headers in this case; maybe that's what confuses GDB/BFD. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1365664] Re: gdb source test suites are failing in Ubuntu14.10

2014-09-09 Thread Ulrich Weigand
On second glance, looks I'm wrong: .symtab and .strtab actually do come *after* the section headers in normal executables too. So I guess the best thing to do would be to fix bfd_from_remote_memory to actually include enough memory to cover all sections, even those after the section headers.

[Touch-packages] [Bug 1365664] Re: gdb source test suites are failing in Ubuntu14.10

2014-09-08 Thread Ulrich Weigand
Anton Blanchard wrote: I wonder if the gdb complaint about the kernel VDSO is causing the test to fail. The warning is almost certainly a result of this kernel patch: powerpc: Use unstripped VDSO image for more accurate profiling data Whether or not this complaint is causing that test to