This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: RFA: pie warning patch


>>>>> "Thiago" == Thiago Jung Bauermann <thiago.bauermann@gmail.com> writes:

Thiago> Awesome BFD-fu. This tip has greatly simplified the patch, and IIUC it
Thiago> even takes care of the endianness issue that Paul mentioned, right?

Yes.

Thiago> 2009-08-02  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
Thiago> gdb/
Thiago> 	* linux-tdep.c (check_is_pie_binary,
Thiago> 	_initialize_linux_tdep): New functions.
Thiago> gdb/testsuite/
Thiago> 	* gdb.base/pie-support.exp: New file.
Thiago> 	* gdb.base/pie-support.c: New file.

Thiago> +  if (elf_tdata (exec_bfd)->elf_header->e_type == ET_DYN)
Thiago> +    warning (_("\
Thiago> +The current binary is a PIE (Position Independent Executable), which\n\
Thiago> +GDB does NOT currently support. Most debugger features will fail if used\n\
Thiago> +in this session.\n"));

Two spaces after the "." ending the first sentence.

This is ok with that change.

Tom


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