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


On Mon, Dec 9, 2013 at 4:44 AM, Alexander Ivchenko <aivchenk@gmail.com> wrote:
>> 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.
>

Please open a bug report with a testcase to show
the actual problem with GDB.  I will take a look.

Thanks.

-- 
H.J.


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