public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-entryval: tailcall-frame.c:280: error: ‘prev_pc’ may be used uninitialized in this function
@ 2010-09-27 14:36 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-09-27 14:36 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

The branch, archer-jankratochvil-entryval has been updated
       via  875a6477d56158de21f0ac335dd6edc33a195178 (commit)
      from  564cc0f4463c0065d474ef481c48a79f4a97d8da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 875a6477d56158de21f0ac335dd6edc33a195178
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Sep 27 16:36:29 2010 +0200

    tailcall-frame.c:280: error: ‘prev_pc’ may be used uninitialized in this function

-----------------------------------------------------------------------

Summary of changes:
 gdb/tailcall-frame.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/tailcall-frame.c b/gdb/tailcall-frame.c
index 38146cd..f6f070e 100644
--- a/gdb/tailcall-frame.c
+++ b/gdb/tailcall-frame.c
@@ -277,7 +277,8 @@ const struct frame_unwind *
 tail_call_sniffer_first (const struct frame_unwind *unwinder,
 			 struct frame_info *this_frame, void **this_cache)
 {
-  CORE_ADDR prev_pc, this_pc, pc;
+  CORE_ADDR prev_pc = 0;	/* GCC warning.  */
+  CORE_ADDR this_pc, pc;
   struct gdbarch *prev_gdbarch;
   struct call_site_chain *chain = NULL;
   struct frame_info *fi;


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-27 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-27 14:36 [SCM] archer-jankratochvil-entryval: tailcall-frame.c:280: error: ‘prev_pc’ may be used uninitialized in this function jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).