public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [patch] Initialize 'gprof' in BoardCfg ()
@ 2003-10-27 18:58 Dave Brolley
  0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2003-10-27 18:58 UTC (permalink / raw)
  To: sid

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

I've committed the attached patch which initializes the 'gprof' member 
of BoardCfg. This fixes a Segmentation Fault in code which assumes it 
has been initialized if not NULL.

Dave


[-- Attachment #2: sid-main.patch.txt --]
[-- Type: text/plain, Size: 534 bytes --]

Index: commonCfg.cxx
===================================================================
RCS file: /cvs/src/src/sid/main/dynamic/commonCfg.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -c -p -r1.5 -r1.6
*** commonCfg.cxx	21 Oct 2003 21:39:04 -0000	1.5
--- commonCfg.cxx	27 Oct 2003 18:55:34 -0000	1.6
*************** BoardCfg::BoardCfg (const string name, 
*** 869,874 ****
--- 869,875 ----
    cpu (NULL),
    gdb (NULL),
    gloss (NULL),
+   gprof (NULL),
    main_mapper (NULL),
    icache (NULL),
    dcache (NULL),

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

only message in thread, other threads:[~2003-10-27 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27 18:58 [patch] Initialize 'gprof' in BoardCfg () Dave Brolley

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).