This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: [gold, strip] Question about the changed offset when stripping


> However, after updating to gdbserver 7.6 I was able to load the debug
> info.. Also if I firstly just objcopy the linked binary (thus, erasing
> the padding between .got.plt and .bss) and then strip

sorry: I've accidentally sent it before finishing. I meant that if I
firstly objcopy the linked binary (thus, erasing
 the padding between .got.plt and .bss) and then strip it, then
gdbserver<->gdb are successfully loading the debug info even for
gdbserver < 7.6.
That's cause in this case the addresses of all remained sections in
stripped and not stripped binaries are the same.

--Alexander


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]