------- Additional Comments From pluto at pld-linux dot org  2005-04-09 02:29 
-------
(In reply to comment #24)
> (In reply to comment #15)

please ignore previous post.
gcc passes params in the right way but something is wrong.

with the original sourcecode gdb shows stack frame with
invalid parameters (name, xmluiFile):

#4  0x4008b10c in KonqMainWindow (this=0x812afc0, [EMAIL PROTECTED],
    openInitialURL=false, name=0x2e <Address 0x2e out of bounds>,
    [EMAIL PROTECTED]) at konq_mainwindow.cc:218

if I access xmluiFile at the begin of this cstr, eg.
qDebug("name=%p, xmlui=%s", name, xmluiFile.ascii());
gdb will show a stack frame with correct params:

#4  0x4008b130 in KonqMainWindow (this=0x812afc0, [EMAIL PROTECTED],
    openInitialURL=false, name=0x0, [EMAIL PROTECTED])
    at konq_mainwindow.cc:218

disassembler shows only s/eax/edx/ in several places.
is this a gdb-6.3 bug?
i give up.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19317

Reply via email to