[U-Boot] [PATCH] arc: introduce "mdbtrick" target
Wolfgang Denk
wd at denx.de
Fri Dec 26 11:00:26 CET 2014
Dear Alexey,
In message <1419587516-30541-1-git-send-email-abrodkin at synopsys.com> you wrote:
> MetaWare debugger doesn't support PIE (position-independent executable)
> so the only way to load U-Boot in MDB is to fake it by:
> 1. Reset PIE flag in ELF header
> 2. Strip all debug information from elf
>
> Even though it could be done manually but having this automated way
> is very convenient. User may build U-Boot that will be loaded on target
> via MDB saying "make mdbtrick".
I wonder if such manipulation helps? Are you really able to debug PIE
code on the target just by fooling the debugger about it like this?
I would expect that it would fail to work if it really doesn't support
PIE?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent. They only think they are.
More information about the U-Boot
mailing list