This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 09/15] PIE: symbol-less (exec-file only) executables
Jan Kratochvil wrote:
--- src/gdb/exec.c 2010/01/01 07:31:31 1.92
+++ src/gdb/exec.c 2010/01/14 21:01:24 1.93
@@ -674,8 +674,36 @@
wrap_here (" ");
printf_filtered (_("file type %s.\n"), bfd_get_target (abfd));
if (abfd == exec_bfd)
- printf_filtered (_("\tEntry point: %s\n"),
- paddress (gdbarch, bfd_get_start_address (abfd)));
+ {
+ bfd_vma displacement;
My version of GCC seems not smart enough to decide if this is always
set, and complains
that it might be uninitialized. Presumably harmless just to init it to 0.
Stan