bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2 bugs (or maybe absent feature ) report - part 1: ddd not able to execu


From: Anglade Pierre-Matthieu
Subject: 2 bugs (or maybe absent feature ) report - part 1: ddd not able to execute a function call via a function pointer
Date: Tue, 1 Mar 2005 13:00:52 +0100

DDD CONF:
 GNU DDD 3.3.10 (i686-pc-linux-gnu)
 Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
 Copyright (C) 1999-2001 Universität Passau, Germany.
 Copyright (C) 2001 Universität des Saarlandes, Germany.
 Copyright (C) 2001-2004 Free Software Foundation, Inc.
 
 Compiled with GCC 3.3.1 (SuSE Linux), GNU libc 2.3
 Requires X11R6, Xt11R6, Motif 2.2.2 (Motif Version 2.2.2)
 Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
 Built 2005-02-24 by Pierre-Matthieu Anglade <anglade@rackham.cecam.fr>.

DEBUGGER:
 GNU gdb 5.3.92

COMPILER:
 gcc version 3.3.1 (SuSE Linux)

BUG:
ddd seems not able to execute a function through it's adress:
when I write: print mystructpointer->f(x)
where f is a pointer to a function ddd return either 
- a "random" value (in the sens it as nothing to see with the real
value obtained by executing functionPointedToByMystructPointerf(x)
- or  = nan(0x8000000000000)

Regards,

PM Anglade

PS: I'm not sure this one is really a bug of ddd.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]